Searched refs:CacheTracker (Results 1 – 4 of 4) sorted by relevance
36 CacheTracker::CacheTracker(userid_t userId, appid_t appId, const std::string& quotaDevice) : in CacheTracker() function in android::installd::CacheTracker41 CacheTracker::~CacheTracker() { in ~CacheTracker()44 std::string CacheTracker::toString() { in toString()49 void CacheTracker::addDataPath(const std::string& dataPath) { in addDataPath()53 void CacheTracker::loadStats() { in loadStats()72 bool CacheTracker::loadQuotaStats() { in loadQuotaStats()102 void CacheTracker::loadItemsFrom(const std::string& path) { in loadItemsFrom()168 void CacheTracker::loadItems() { in loadItems()194 void CacheTracker::ensureItems() { in ensureItems()203 int CacheTracker::getCacheRatio() { in getCacheRatio()
40 class CacheTracker {42 CacheTracker(userid_t userId, appid_t appId, const std::string& quotaDevice);43 ~CacheTracker();72 DISALLOW_COPY_AND_ASSIGN(CacheTracker);
10 "CacheTracker.cpp",
949 std::unordered_map<uid_t, std::shared_ptr<CacheTracker>> trackers; in freeCache()972 auto tracker = std::shared_ptr<CacheTracker>(new CacheTracker( in freeCache()997 auto cmp = [](std::shared_ptr<CacheTracker> left, std::shared_ptr<CacheTracker> right) { in freeCache()1000 std::priority_queue<std::shared_ptr<CacheTracker>, in freeCache()1001 std::vector<std::shared_ptr<CacheTracker>>, decltype(cmp)> queue(cmp); in freeCache()1012 std::shared_ptr<CacheTracker> active; in freeCache()