Lines Matching refs:extStats
1548 int32_t appId, struct stats* stats, struct stats* extStats) { in collectQuotaStats() argument
1571 if (extStats != nullptr) { in collectQuotaStats()
1576 extStats->dataSize += space; in collectQuotaStats()
1589 extStats->dataSize += space; // cache counts for "data" in collectQuotaStats()
1590 extStats->cacheSize += space; in collectQuotaStats()
1767 struct stats extStats; in getAppSize() local
1769 memset(&extStats, 0, sizeof(extStats)); in getAppSize()
1782 calculate_tree_size(obbCodePath, &extStats.codeSize); in getAppSize()
1795 collectQuotaStats(uuidString, userId, appId, &stats, &extStats); in getAppSize()
1827 collectManualStats(extPath, &extStats); in getAppSize()
1829 calculate_tree_size(mediaPath, &extStats.dataSize); in getAppSize()
1848 ret.push_back(extStats.codeSize); in getAppSize()
1849 ret.push_back(extStats.dataSize); in getAppSize()
1850 ret.push_back(extStats.cacheSize); in getAppSize()
1974 struct stats extStats; in getUserSize() local
1976 memset(&extStats, 0, sizeof(extStats)); in getUserSize()
2008 extStats.dataSize += sizes.totalSize; in getUserSize()
2009 extStats.codeSize += sizes.obbSize; in getUserSize()
2021 int64_t dataSize = extStats.dataSize; in getUserSize()
2024 collectQuotaStats(uuidString, userId, appId, &stats, &extStats); in getUserSize()
2031 extStats.dataSize = dataSize; in getUserSize()
2036 calculate_tree_size(obbPath, &extStats.codeSize); in getUserSize()
2061 collectManualExternalStatsForUser(dataMediaPath, &extStats); in getUserSize()
2063 LOG(DEBUG) << "Measured external data " << extStats.dataSize << " cache " in getUserSize()
2064 << extStats.cacheSize; in getUserSize()
2080 ret.push_back(extStats.codeSize); in getUserSize()
2081 ret.push_back(extStats.dataSize); in getUserSize()
2082 ret.push_back(extStats.cacheSize); in getUserSize()
2130 struct stats extStats; in getExternalSize() local
2131 memset(&extStats, 0, sizeof(extStats)); in getExternalSize()
2134 collectQuotaStats(uuidString, userId, appId, nullptr, &extStats); in getExternalSize()
2137 appSize = extStats.dataSize; in getExternalSize()