diff options
Diffstat (limited to 'aidl')
-rw-r--r-- | aidl/android/gsi/IGsiService.aidl | 6 | ||||
-rw-r--r-- | aidl/android/gsi/IImageService.aidl | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/aidl/android/gsi/IGsiService.aidl b/aidl/android/gsi/IGsiService.aidl index c889987..3b5d6c0 100644 --- a/aidl/android/gsi/IGsiService.aidl +++ b/aidl/android/gsi/IGsiService.aidl @@ -74,8 +74,10 @@ interface IGsiService { boolean commitGsiChunkFromAshmem(long bytes); /** - * Complete a GSI installation and mark it as bootable. The caller is - * responsible for rebooting the device as soon as possible. + * Mark a completed DSU installation as bootable. The caller is responsible + * for rebooting the device as soon as possible. + * + * Could leave the installation in "disabled" state if failure. * * @param oneShot If true, the GSI will boot once and then disable itself. * It can still be re-enabled again later with setGsiBootable. diff --git a/aidl/android/gsi/IImageService.aidl b/aidl/android/gsi/IImageService.aidl index c8c5a9d..363a919 100644 --- a/aidl/android/gsi/IImageService.aidl +++ b/aidl/android/gsi/IImageService.aidl @@ -135,6 +135,11 @@ interface IImageService { void removeDisabledImages(); /** + * Return whether an image is disabled. + */ + boolean isImageDisabled(@utf8InCpp String name); + + /** * Return the block device path of a mapped image, or an empty string if not mapped. */ @utf8InCpp String getMappedImageDevice(@utf8InCpp String name); |