Lines Matching refs:extStats
2362 int32_t appId, struct stats* stats, struct stats* extStats) { in collectQuotaStats() argument
2367 if (extStats != nullptr) { in collectQuotaStats()
2371 extStats->dataSize += space; in collectQuotaStats()
2377 extStats->dataSize += space; // cache counts for "data" in collectQuotaStats()
2378 extStats->cacheSize += space; in collectQuotaStats()
2619 struct stats extStats; in getAppSize() local
2621 memset(&extStats, 0, sizeof(extStats)); in getAppSize()
2634 calculate_tree_size(obbCodePath, &extStats.codeSize); in getAppSize()
2649 collectQuotaStats(uuidString, userId, appId, &stats, &extStats); in getAppSize()
2694 collectManualStats(extPath, &extStats); in getAppSize()
2696 calculate_tree_size(mediaPath, &extStats.dataSize); in getAppSize()
2715 ret.push_back(extStats.codeSize); in getAppSize()
2716 ret.push_back(extStats.dataSize); in getAppSize()
2717 ret.push_back(extStats.cacheSize); in getAppSize()
2842 struct stats extStats; in getUserSize() local
2844 memset(&extStats, 0, sizeof(extStats)); in getUserSize()
2876 extStats.dataSize += sizes.totalSize; in getUserSize()
2877 extStats.codeSize += sizes.obbSize; in getUserSize()
2889 int64_t dataSize = extStats.dataSize; in getUserSize()
2892 collectQuotaStats(uuidString, userId, appId, &stats, &extStats); in getUserSize()
2899 extStats.dataSize = dataSize; in getUserSize()
2931 collectManualExternalStatsForUser(dataMediaPath, &extStats); in getUserSize()
2934 LOG(DEBUG) << "Measured external data " << extStats.dataSize << " cache " in getUserSize()
2935 << extStats.cacheSize << " code " << extStats.codeSize; in getUserSize()
2951 ret.push_back(extStats.codeSize); in getUserSize()
2952 ret.push_back(extStats.dataSize); in getUserSize()
2953 ret.push_back(extStats.cacheSize); in getUserSize()
3002 struct stats extStats; in getExternalSize() local
3003 memset(&extStats, 0, sizeof(extStats)); in getExternalSize()
3006 collectQuotaStats(uuidString, userId, appId, nullptr, &extStats); in getExternalSize()
3009 appSize = extStats.dataSize; in getExternalSize()