summaryrefslogtreecommitdiff
path: root/services/incremental/IncrementalService.h
diff options
context:
space:
mode:
authorYurii Zubrytskyi <zyy@google.com>2020-04-07 18:20:18 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-04-07 18:20:18 +0000
commitc3fcae21aed258f3ede1412a565faca73123125f (patch)
tree7704209de74850d8385142333dcf0fad6f7e09e6 /services/incremental/IncrementalService.h
parent53c55f826006c5345d269351445c8381a96b81f7 (diff)
parent3787c9f5c6e85b027864b6f1a8c8fa1947daa5e4 (diff)
Merge "[incfs] Add time measurement for native libs extraction" into rvc-dev
Diffstat (limited to 'services/incremental/IncrementalService.h')
-rw-r--r--services/incremental/IncrementalService.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/services/incremental/IncrementalService.h b/services/incremental/IncrementalService.h
index 58002974e180..9b156464f480 100644
--- a/services/incremental/IncrementalService.h
+++ b/services/incremental/IncrementalService.h
@@ -157,6 +157,8 @@ public:
};
private:
+ static const bool sEnablePerfLogging;
+
struct IncFsMount {
struct Bind {
StorageId storage;
@@ -227,8 +229,10 @@ private:
void deleteStorage(IncFsMount& ifs);
void deleteStorageLocked(IncFsMount& ifs, std::unique_lock<std::mutex>&& ifsLock);
MountMap::iterator getStorageSlotLocked();
- std::string normalizePathToStorage(const IfsMountPtr incfs, StorageId storage,
+ std::string normalizePathToStorage(const IfsMountPtr& incfs, StorageId storage,
std::string_view path);
+ std::string normalizePathToStorageLocked(IncFsMount::StorageMap::iterator storageIt,
+ std::string_view path);
binder::Status applyStorageParams(IncFsMount& ifs, bool enableReadLogs);