summaryrefslogtreecommitdiff
path: root/aidl/android/gsi/IGsiService.aidl
diff options
context:
space:
mode:
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.
*/