summaryrefslogtreecommitdiff
path: root/aidl/android/gsi/IGsiService.aidl
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-03-06 02:38:51 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-03-06 02:38:51 +0000
commit0ef6790f24b327335710d7e78d29f68e6f96ecd0 (patch)
treed1fec92b4633593f6cf07274176ec2ced4800499 /aidl/android/gsi/IGsiService.aidl
parentd39f7d46f1ea805964bf06faf3f5a03d547da0a1 (diff)
parent0e18806d28f8d8ff72aff4db698afb97f79e3301 (diff)
downloadgsid-0ef6790f24b327335710d7e78d29f68e6f96ecd0.tar.gz
Provide oneway method for methods required by system_server am: 0e18806d28
Change-Id: Id1fb87678be56a3fe9949a5d70e1ef30adede5b9
Diffstat (limited to 'aidl/android/gsi/IGsiService.aidl')
-rw-r--r--aidl/android/gsi/IGsiService.aidl13
1 files changed, 13 insertions, 0 deletions
diff --git a/aidl/android/gsi/IGsiService.aidl b/aidl/android/gsi/IGsiService.aidl
index 65050fe..5503493 100644
--- a/aidl/android/gsi/IGsiService.aidl
+++ b/aidl/android/gsi/IGsiService.aidl
@@ -18,6 +18,7 @@ package android.gsi;
import android.gsi.AvbPublicKey;
import android.gsi.GsiProgress;
+import android.gsi.IGsiServiceCallback;
import android.gsi.IImageService;
import android.os.ParcelFileDescriptor;
@@ -86,6 +87,12 @@ interface IGsiService {
int enableGsi(boolean oneShot, @utf8InCpp String dsuSlot);
/**
+ * Asynchronous enableGsi
+ * @param result callback for result
+ */
+ oneway void enableGsiAsync(boolean oneShot, @utf8InCpp String dsuSlot, IGsiServiceCallback result);
+
+ /**
* @return True if Gsi is enabled
*/
boolean isGsiEnabled();
@@ -110,6 +117,12 @@ interface IGsiService {
boolean removeGsi();
/**
+ * Asynchronous removeGsi
+ * @param result callback for result
+ */
+ oneway void removeGsiAsync(IGsiServiceCallback result);
+
+ /**
* Disables a GSI install. The image and userdata will be retained, but can
* be re-enabled at any time with setGsiBootable.
*/