Searched refs:projectId (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/jni/ |
D | android_os_storage_StorageManager.cpp | 32 jstring path, jlong projectId) { in android_os_storage_StorageManager_setQuotaProjectId() argument 43 if (projectId > UINT32_MAX) { in android_os_storage_StorageManager_setQuotaProjectId() 44 LOG(ERROR) << "Invalid project id: " << projectId; in android_os_storage_StorageManager_setQuotaProjectId() 62 fsx.fsx_projid = projectId; in android_os_storage_StorageManager_setQuotaProjectId()
|
/frameworks/native/cmds/installd/ |
D | QuotaUtils.cpp | 104 int64_t GetOccupiedSpaceForProjectId(const std::string& uuid, int projectId) { in GetOccupiedSpaceForProjectId() argument 110 if (quotactl(QCMD(Q_GETQUOTA, PRJQUOTA), device.c_str(), projectId, in GetOccupiedSpaceForProjectId() 113 PLOG(ERROR) << "Failed to quotactl " << device << " for Project ID " << projectId; in GetOccupiedSpaceForProjectId() 118 LOG(DEBUG) << "quotactl() for Project ID " << projectId << " " << dq.dqb_curspace; in GetOccupiedSpaceForProjectId()
|
D | QuotaUtils.h | 39 int64_t GetOccupiedSpaceForProjectId(const std::string& uuid, int projectId);
|
D | utils.cpp | 1086 long projectId = uid - AID_APP_START + PROJECT_ID_EXT_DATA_START; in get_occupied_app_space_external() local 1087 return GetOccupiedSpaceForProjectId(uuid, projectId); in get_occupied_app_space_external() 1103 long projectId = uid - AID_APP_START + PROJECT_ID_EXT_CACHE_START; in get_occupied_app_cache_space_external() local 1104 return GetOccupiedSpaceForProjectId(uuid, projectId); in get_occupied_app_cache_space_external()
|
D | InstalldNativeService.cpp | 1876 static long getProjectIdForUser(int userId, long projectId) { in getProjectIdForUser() argument 1877 return userId * PER_USER_RANGE + projectId; in getProjectIdForUser() 1942 long projectId = uid - AID_APP_START + PROJECT_ID_EXT_DATA_START; in getExternalSizesForUserWithQuota() local 1943 totalAppDataSize += GetOccupiedSpaceForProjectId(uuid, projectId); in getExternalSizesForUserWithQuota()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 2445 private static native boolean setQuotaProjectId(String path, long projectId); in setQuotaProjectId() argument 2447 private static long getProjectIdForUser(int userId, int projectId) { in getProjectIdForUser() argument 2449 return userId * PER_USER_RANGE + projectId; in getProjectIdForUser() 2479 long projectId; in updateExternalStorageFileQuotaType() local 2497 projectId = getProjectIdForUser(userId, PROJECT_ID_EXT_DEFAULT); in updateExternalStorageFileQuotaType() 2500 projectId = getProjectIdForUser(userId, PROJECT_ID_EXT_MEDIA_AUDIO); in updateExternalStorageFileQuotaType() 2503 projectId = getProjectIdForUser(userId, PROJECT_ID_EXT_MEDIA_VIDEO); in updateExternalStorageFileQuotaType() 2506 projectId = getProjectIdForUser(userId, PROJECT_ID_EXT_MEDIA_IMAGE); in updateExternalStorageFileQuotaType() 2511 if (!setQuotaProjectId(filePath, projectId)) { in updateExternalStorageFileQuotaType()
|