diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-28 16:07:05 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-28 16:07:05 +0000 |
commit | 625208e9567f79a9924ac22b306a686d973b382e (patch) | |
tree | 78cadbb95d8ecf7a181d8934e05dc1185ea606b4 /aidl/android | |
parent | 7117da69dfe1be9cec5a6d7b19fe0aa757b36c48 (diff) | |
parent | 1f83bd3f4e0fdd6fc4dbe7a41f0052ae29598bf6 (diff) | |
download | gsid-625208e9567f79a9924ac22b306a686d973b382e.tar.gz |
Snap for 8512216 from 1f83bd3f4e0fdd6fc4dbe7a41f0052ae29598bf6 to tm-frc-art-releaset_frc_art_330443060android13-frc-art-release
Change-Id: Ie56f960fcbc4bd88544fb31d7bab4b414dd553f7
Diffstat (limited to 'aidl/android')
-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); |