Home
last modified time | relevance | path

Searched refs:CacheTracker (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/cmds/installd/
DCacheTracker.cpp36 CacheTracker::CacheTracker(userid_t userId, appid_t appId, const std::string& uuid) in CacheTracker() function in android::installd::CacheTracker
45 CacheTracker::~CacheTracker() { in ~CacheTracker()
48 std::string CacheTracker::toString() { in toString()
53 void CacheTracker::addDataPath(const std::string& dataPath) { in addDataPath()
57 void CacheTracker::loadStats() { in loadStats()
76 bool CacheTracker::loadQuotaStats() { in loadQuotaStats()
97 void CacheTracker::loadItemsFrom(const std::string& path) { in loadItemsFrom()
164 void CacheTracker::loadItems() { in loadItems()
190 void CacheTracker::ensureItems() { in ensureItems()
199 int CacheTracker::getCacheRatio() { in getCacheRatio()
DCacheTracker.h40 class CacheTracker {
42 CacheTracker(userid_t userId, appid_t appId, const std::string& uuid);
43 ~CacheTracker();
72 DISALLOW_COPY_AND_ASSIGN(CacheTracker);
DAndroid.bp15 "CacheTracker.cpp",
DInstalldNativeService.cpp1366 std::unordered_map<uid_t, std::shared_ptr<CacheTracker>> trackers; in freeCache()
1389 auto tracker = std::shared_ptr<CacheTracker>(new CacheTracker( in freeCache()
1414 auto cmp = [](std::shared_ptr<CacheTracker> left, std::shared_ptr<CacheTracker> right) { in freeCache()
1417 std::priority_queue<std::shared_ptr<CacheTracker>, in freeCache()
1418 std::vector<std::shared_ptr<CacheTracker>>, decltype(cmp)> queue(cmp); in freeCache()
1429 std::shared_ptr<CacheTracker> active; in freeCache()