summaryrefslogtreecommitdiff
path: root/services/incremental/BinderIncrementalService.h
diff options
context:
space:
mode:
authorAlex Buynytskyy <alexbuy@google.com>2020-05-08 16:18:52 -0700
committerAlex Buynytskyy <alexbuy@google.com>2020-05-26 19:34:39 +0000
commit8ef61aebee68d4d8578cdfc6e6331286c3476bef (patch)
tree3c82e665300c8ad0451179d39a377fa88dcbe63a /services/incremental/BinderIncrementalService.h
parent12416fba4a9f98d697a6dfb27a7da6bc58dc570d (diff)
Lifecycle: detecting blocked and unhealthy.
Part 1: interfaces and PM implementation. Bug: 153874006 Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest Change-Id: I312dd919d2bb552bea3d72fb49fd1579882da14b
Diffstat (limited to 'services/incremental/BinderIncrementalService.h')
-rw-r--r--services/incremental/BinderIncrementalService.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/services/incremental/BinderIncrementalService.h b/services/incremental/BinderIncrementalService.h
index 5a7d5da56f18..af1136344246 100644
--- a/services/incremental/BinderIncrementalService.h
+++ b/services/incremental/BinderIncrementalService.h
@@ -41,8 +41,11 @@ public:
binder::Status openStorage(const std::string& path, int32_t* _aidl_return) final;
binder::Status createStorage(
const ::std::string& path, const ::android::content::pm::DataLoaderParamsParcel& params,
- const ::android::sp<::android::content::pm::IDataLoaderStatusListener>& listener,
- int32_t createMode, int32_t* _aidl_return) final;
+ int32_t createMode,
+ const ::android::sp<::android::content::pm::IDataLoaderStatusListener>& statusListener,
+ const ::android::os::incremental::StorageHealthCheckParams& healthCheckParams,
+ const ::android::sp<IStorageHealthListener>& healthListener,
+ int32_t* _aidl_return) final;
binder::Status createLinkedStorage(const std::string& path, int32_t otherStorageId,
int32_t createMode, int32_t* _aidl_return) final;
binder::Status makeBindMount(int32_t storageId, const std::string& sourcePath,
@@ -55,8 +58,7 @@ public:
binder::Status makeDirectories(int32_t storageId, const std::string& path,
int32_t* _aidl_return) final;
binder::Status makeFile(int32_t storageId, const std::string& path,
- const ::android::os::incremental::IncrementalNewFileParams& params,
- int32_t* _aidl_return) final;
+ const IncrementalNewFileParams& params, int32_t* _aidl_return) final;
binder::Status makeFileFromRange(int32_t storageId, const std::string& targetPath,
const std::string& sourcePath, int64_t start, int64_t end,
int32_t* _aidl_return) final;