diff options
author | 2020-05-27 04:15:54 +0000 | |
---|---|---|
committer | 2020-05-27 04:15:54 +0000 | |
commit | 4e5ff2eb7da32370cd4e6094b79a4d013d34f685 (patch) | |
tree | b22b930595063019003ee2b9534de9e9950e8239 /services/incremental/BinderIncrementalService.cpp | |
parent | 7912eb5ef81fd557f8fdcf9df9a07c2c79f19d59 (diff) | |
parent | 8ef61aebee68d4d8578cdfc6e6331286c3476bef (diff) |
Merge "Lifecycle: detecting blocked and unhealthy." into rvc-dev
Diffstat (limited to 'services/incremental/BinderIncrementalService.cpp')
-rw-r--r-- | services/incremental/BinderIncrementalService.cpp | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/services/incremental/BinderIncrementalService.cpp b/services/incremental/BinderIncrementalService.cpp index 847667427593..6018b9e0b2e0 100644 --- a/services/incremental/BinderIncrementalService.cpp +++ b/services/incremental/BinderIncrementalService.cpp @@ -118,14 +118,18 @@ binder::Status BinderIncrementalService::openStorage(const std::string& path, } binder::Status BinderIncrementalService::createStorage( - const std::string& path, const content::pm::DataLoaderParamsParcel& params, - const ::android::sp<::android::content::pm::IDataLoaderStatusListener>& listener, - int32_t createMode, int32_t* _aidl_return) { + const ::std::string& path, const ::android::content::pm::DataLoaderParamsParcel& params, + int32_t createMode, + const ::android::sp<::android::content::pm::IDataLoaderStatusListener>& statusListener, + const ::android::os::incremental::StorageHealthCheckParams& healthCheckParams, + const ::android::sp<::android::os::incremental::IStorageHealthListener>& healthListener, + int32_t* _aidl_return) { *_aidl_return = mImpl.createStorage(path, const_cast<content::pm::DataLoaderParamsParcel&&>(params), - listener, - android::incremental::IncrementalService::CreateOptions( - createMode)); + android::incremental::IncrementalService::CreateOptions(createMode), + statusListener, + const_cast<StorageHealthCheckParams&&>(healthCheckParams), + healthListener); return ok(); } |