summaryrefslogtreecommitdiff
path: root/services/incremental/BinderIncrementalService.h
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2020-08-20 08:40:29 -0700
committer Songchun Fan <schfan@google.com> 2020-08-22 04:17:02 +0000
commit374f7654dfb00692f6b3c2f6c68997e3ca54092a (patch)
tree209eec3efa43e43f1795f95905ae61eec575e3a7 /services/incremental/BinderIncrementalService.h
parent1581527cbd46ac3411fdf0c7068f40c04a9926fd (diff)
[IncrementalService] getLoadingProgress (v1)
This is to unblock Launcher's work on progress ring. Currently it uses incfs getFilledBlocks(). Will switch to the new incfs progress reporting API once it is ready. Test: unit test Test: adb shell dumpsys incremental BUG: 165799231 Change-Id: Icd68124806454f888826294da36f109bca9771ac
Diffstat (limited to 'services/incremental/BinderIncrementalService.h')
-rw-r--r--services/incremental/BinderIncrementalService.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/incremental/BinderIncrementalService.h b/services/incremental/BinderIncrementalService.h
index 10154946d3ee..8b40350468ce 100644
--- a/services/incremental/BinderIncrementalService.h
+++ b/services/incremental/BinderIncrementalService.h
@@ -66,8 +66,7 @@ public:
int32_t destStorageId, const std::string& destPath,
int32_t* _aidl_return) final;
binder::Status unlink(int32_t storageId, const std::string& path, int32_t* _aidl_return) final;
- binder::Status isFileRangeLoaded(int32_t storageId, const std::string& path, int64_t start,
- int64_t end, bool* _aidl_return) final;
+ binder::Status getLoadingProgress(int32_t storageId, float* _aidl_return) final;
binder::Status getMetadataByPath(int32_t storageId, const std::string& path,
std::vector<uint8_t>* _aidl_return) final;
binder::Status getMetadataById(int32_t storageId, const std::vector<uint8_t>& id,