diff options
Diffstat (limited to 'aidl/android/gsi/IGsiService.aidl')
-rw-r--r-- | aidl/android/gsi/IGsiService.aidl | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/aidl/android/gsi/IGsiService.aidl b/aidl/android/gsi/IGsiService.aidl index c889987..5503493 100644 --- a/aidl/android/gsi/IGsiService.aidl +++ b/aidl/android/gsi/IGsiService.aidl @@ -90,7 +90,6 @@ interface IGsiService { * Asynchronous enableGsi * @param result callback for result */ - @SuppressWarnings(value={"mixed-oneway"}) oneway void enableGsiAsync(boolean oneShot, @utf8InCpp String dsuSlot, IGsiServiceCallback result); /** @@ -121,7 +120,6 @@ interface IGsiService { * Asynchronous removeGsi * @param result callback for result */ - @SuppressWarnings(value={"mixed-oneway"}) oneway void removeGsiAsync(IGsiServiceCallback result); /** @@ -181,16 +179,6 @@ interface IGsiService { int createPartition(in @utf8InCpp String name, long size, boolean readOnly); /** - * Complete the current partition installation. A partition installation is - * complete after all pending bytes are written successfully. - * Returns an error if current installation still have pending bytes. - * Returns an error if there is any internal filesystem error. - * - * @return 0 on success, an error code on failure. - */ - int closePartition(); - - /** * Wipe a partition. This will not work if the GSI is currently running. * The partition will not be removed, but the first block will be zeroed. * @@ -224,16 +212,10 @@ interface IGsiService { * 2. Open a new partition installer. * 3. Create and map the new partition. * - * In other words, getAvbPublicKey() should be called after - * createPartition() is called and before closePartition() is called. + * In other words, getAvbPublicKey() works between two createPartition() calls. * * @param dst Output the AVB public key. * @return 0 on success, an error code on failure. */ int getAvbPublicKey(out AvbPublicKey dst); - - /** - * Returns the suggested scratch partition size for overlayFS. - */ - long suggestScratchSize(); } |