Home
last modified time | relevance | path

Searched refs:cacheGid (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/cmds/installd/
DCacheTracker.cpp73 int cacheGid = multiuser_get_cache_gid(mUserId, mAppId); in loadQuotaStats() local
75 if (!mQuotaDevice.empty() && cacheGid != -1 && extCacheGid != -1) { in loadQuotaStats()
77 if (quotactl(QCMD(Q_GETQUOTA, GRPQUOTA), mQuotaDevice.c_str(), cacheGid, in loadQuotaStats()
80 PLOG(ERROR) << "Failed to quotactl " << mQuotaDevice << " for GID " << cacheGid; in loadQuotaStats()
90 PLOG(ERROR) << "Failed to quotactl " << mQuotaDevice << " for GID " << cacheGid; in loadQuotaStats()
DInstalldNativeService.cpp354 int32_t cacheGid = multiuser_get_cache_gid(userId, appId); in createAppData() local
358 if (cacheGid == -1) { in createAppData()
359 cacheGid = uid; in createAppData()
367 prepare_app_cache_dir(path, "cache", 02771, uid, cacheGid) || in createAppData()
368 prepare_app_cache_dir(path, "code_cache", 02771, uid, cacheGid)) { in createAppData()
398 prepare_app_cache_dir(path, "cache", 02771, uid, cacheGid) || in createAppData()
399 prepare_app_cache_dir(path, "code_cache", 02771, uid, cacheGid)) { in createAppData()
1157 int cacheGid = multiuser_get_cache_gid(userId, appId); in collectQuotaStats() local
1158 if (cacheGid != -1) { in collectQuotaStats()
1159 if (quotactl(QCMD(Q_GETQUOTA, GRPQUOTA), device.c_str(), cacheGid, in collectQuotaStats()
[all …]