Add a mount with metadata encryption service
Don't use the FDE flow to support metadata encryption; just provide a
vold service which directly mounts the volume and use that.
Bug: 63927601
Test: Boot Taimen to SUW with and without metadata encryption.
Change-Id: Ifc6a012c02c0ea66893020ed1d0da4cba6914aed
diff --git a/binder/android/os/IVold.aidl b/binder/android/os/IVold.aidl
index 9facaf7..a664dfa 100644
--- a/binder/android/os/IVold.aidl
+++ b/binder/android/os/IVold.aidl
@@ -26,7 +26,6 @@
void monitor();
void reset();
void shutdown();
- void mountAll();
void onUserAdded(int userId, int userSerial);
void onUserRemoved(int userId);
@@ -79,6 +78,8 @@
void mountDefaultEncrypted();
void initUser0();
boolean isConvertibleToFbe();
+ void mountFstab(@utf8InCpp String mountPoint);
+ void encryptFstab(@utf8InCpp String mountPoint);
void createUserKey(int userId, int userSerial, boolean ephemeral);
void destroyUserKey(int userId);