diff options
author | Howard Chen <howardsoc@google.com> | 2020-02-26 12:48:41 +0800 |
---|---|---|
committer | Howard Chen <howardsoc@google.com> | 2020-03-03 08:19:17 +0000 |
commit | 7885d3c1167c1ec0230c85e4a78628b7c9f34e59 (patch) | |
tree | d1fec92b4633593f6cf07274176ec2ced4800499 /gsi_service.h | |
parent | 0a5a944d4264a2ba0dbb451394d00bd74f71d3f1 (diff) | |
download | gsid-7885d3c1167c1ec0230c85e4a78628b7c9f34e59.tar.gz |
Provide oneway method for methods required by system_server
Bug: 149790245
Bug: 149716497
Test: adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
-d file:///storage/emulated/0/Download/system.raw.gz \
--el KEY_SYSTEM_SIZE $(du -b system.raw|cut -f1) \
--el KEY_USERDATA_SIZE 8589934592
Change-Id: I472566bd84591422ef67c9838b9c94a0a6f1e8aa
Diffstat (limited to 'gsi_service.h')
-rw-r--r-- | gsi_service.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gsi_service.h b/gsi_service.h index a853e2b..0f9880c 100644 --- a/gsi_service.h +++ b/gsi_service.h @@ -69,8 +69,11 @@ class GsiService : public BinderService<GsiService>, public BnGsiService { binder::Status commitGsiChunkFromAshmem(int64_t bytes, bool* _aidl_return) override; binder::Status cancelGsiInstall(bool* _aidl_return) override; binder::Status enableGsi(bool oneShot, const std::string& dsuSlot, int* _aidl_return) override; + binder::Status enableGsiAsync(bool oneShot, const ::std::string& dsuSlot, + const sp<IGsiServiceCallback>& resultCallback) override; binder::Status isGsiEnabled(bool* _aidl_return) override; binder::Status removeGsi(bool* _aidl_return) override; + binder::Status removeGsiAsync(const sp<IGsiServiceCallback>& resultCallback) override; binder::Status disableGsi(bool* _aidl_return) override; binder::Status isGsiInstalled(bool* _aidl_return) override; binder::Status isGsiRunning(bool* _aidl_return) override; |