diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-08 16:04:44 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-08 16:04:44 +0000 |
commit | a30ad120e68fead17d11efa782e37dd4e840e1fc (patch) | |
tree | fff470c5da67fffdcc44c43193b6bffd85a39801 /aidl/android/gsi/IGsiService.aidl | |
parent | 5512e2cf5f9037fbf9c6ed814ede308b99e10af0 (diff) | |
parent | 5e06a0a2fb83f921ad8c9a25c7b70c241dc675e8 (diff) | |
download | gsid-a30ad120e68fead17d11efa782e37dd4e840e1fc.tar.gz |
Snap for 8426163 from 5e06a0a2fb83f921ad8c9a25c7b70c241dc675e8 to mainline-tzdata2-releaseandroid-mainline-12.0.0_r112aml_tz2_305400500aml_tz2_305400300aml_tz2_305400100aml_tz2_304500300aml_tz2_303900110aml_tz2_303900102aml_tz2_303800002aml_tz2_303800001aml_tz2_303200001android12-mainline-tzdata2-releaseaml_tz2_305400100
Change-Id: Id650c5f6089116c6c50d24ba465f9a0f66aa05f9
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(); } |