Lines Matching refs:usage
48 bool parseUidIoStats(const std::string& data, UidIoUsage* usage) { in parseUidIoStats() argument
50 if (fields.size() < 11 || !ParseUint(fields[0], &usage->uid) || in parseUidIoStats()
51 !ParseInt(fields[3], &usage->ios.metrics[READ_BYTES][FOREGROUND]) || in parseUidIoStats()
52 !ParseInt(fields[4], &usage->ios.metrics[WRITE_BYTES][FOREGROUND]) || in parseUidIoStats()
53 !ParseInt(fields[7], &usage->ios.metrics[READ_BYTES][BACKGROUND]) || in parseUidIoStats()
54 !ParseInt(fields[8], &usage->ios.metrics[WRITE_BYTES][BACKGROUND]) || in parseUidIoStats()
55 !ParseInt(fields[9], &usage->ios.metrics[FSYNC_COUNT][FOREGROUND]) || in parseUidIoStats()
56 !ParseInt(fields[10], &usage->ios.metrics[FSYNC_COUNT][BACKGROUND])) { in parseUidIoStats()
140 UidIoUsage usage; in getUidIoUsagesLocked() local
147 if (!parseUidIoStats(std::move(ioStats[i]), &usage)) { in getUidIoUsagesLocked()
150 uidIoUsages[usage.uid] = usage; in getUidIoUsagesLocked()