Lines Matching refs:space
1557 int64_t space; in collectQuotaStats() local
1560 if ((space = GetOccupiedSpaceForUid(uuid, uid)) != -1) { in collectQuotaStats()
1561 stats->dataSize += space; in collectQuotaStats()
1566 if ((space = GetOccupiedSpaceForGid(uuid, cacheGid)) != -1) { in collectQuotaStats()
1567 stats->cacheSize += space; in collectQuotaStats()
1573 if ((space = GetOccupiedSpaceForGid(uuid, sharedGid)) != -1) { in collectQuotaStats()
1574 stats->codeSize += space; in collectQuotaStats()
1581 space = get_occupied_app_space_external(uuid, userId, appId); in collectQuotaStats()
1583 if (space != -1) { in collectQuotaStats()
1584 extStats->dataSize += space; in collectQuotaStats()
1591 stats->dataSize -= space; in collectQuotaStats()
1595 space = get_occupied_app_cache_space_external(uuid, userId, appId); in collectQuotaStats()
1596 if (space != -1) { in collectQuotaStats()
1597 extStats->dataSize += space; // cache counts for "data" in collectQuotaStats()
1598 extStats->cacheSize += space; in collectQuotaStats()
1604 stats->dataSize -= space; in collectQuotaStats()
1882 int64_t space; in getExternalSizesForUserWithQuota() local
1886 if ((space = GetOccupiedSpaceForUid(uuid, uid)) != -1) { in getExternalSizesForUserWithQuota()
1887 sizes.totalSize = space; in getExternalSizesForUserWithQuota()
1891 if ((space = GetOccupiedSpaceForGid(uuid, audioGid)) != -1) { in getExternalSizesForUserWithQuota()
1892 sizes.audioSize = space; in getExternalSizesForUserWithQuota()
1896 if ((space = GetOccupiedSpaceForGid(uuid, videoGid)) != -1) { in getExternalSizesForUserWithQuota()
1897 sizes.videoSize = space; in getExternalSizesForUserWithQuota()
1901 if ((space = GetOccupiedSpaceForGid(uuid, imageGid)) != -1) { in getExternalSizesForUserWithQuota()
1902 sizes.imageSize = space; in getExternalSizesForUserWithQuota()
1905 if ((space = GetOccupiedSpaceForGid(uuid, AID_MEDIA_OBB)) != -1) { in getExternalSizesForUserWithQuota()
1906 sizes.obbSize = space; in getExternalSizesForUserWithQuota()
1911 if ((space = GetOccupiedSpaceForProjectId(uuid, defaultProjectId)) != -1) { in getExternalSizesForUserWithQuota()
1914 totalSize += space; in getExternalSizesForUserWithQuota()
1918 if ((space = GetOccupiedSpaceForProjectId(uuid, audioProjectId)) != -1) { in getExternalSizesForUserWithQuota()
1919 sizes.audioSize = space; in getExternalSizesForUserWithQuota()
1920 totalSize += space; in getExternalSizesForUserWithQuota()
1924 if ((space = GetOccupiedSpaceForProjectId(uuid, videoProjectId)) != -1) { in getExternalSizesForUserWithQuota()
1925 sizes.videoSize = space; in getExternalSizesForUserWithQuota()
1926 totalSize += space; in getExternalSizesForUserWithQuota()
1930 if ((space = GetOccupiedSpaceForProjectId(uuid, imageProjectId)) != -1) { in getExternalSizesForUserWithQuota()
1931 sizes.imageSize = space; in getExternalSizesForUserWithQuota()
1932 totalSize += space; in getExternalSizesForUserWithQuota()