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

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

Completed in 95 milliseconds