Searched refs:ioUsage (Results 1 – 2 of 2) sorted by relevance
539 if (!usage.ioUsage.exceedsThreshold()) { in latestIoOveruseStats()709 private boolean isRecurringOveruseLocked(PackageResourceUsage ioUsage) { in isRecurringOveruseLocked() argument1148 public final PackageIoUsage ioUsage; field in WatchdogPerfHandler.PackageResourceUsage1157 this.ioUsage = new PackageIoUsage(); in PackageResourceUsage()1181 ioUsage.update(internalStats); in updateLocked()1189 if (!ioUsage.hasUsage()) { in getIoOveruseStats()1192 return ioUsage.getStatsBuilder().setKillableOnOveruse( in getIoOveruseStats()1227 ioUsage.resetStats(); in resetStats()
583 const IoUsage& ioUsage, in UserPackageIoUsage() argument587 writtenBytes.garageModeBytes = ioUsage.sumWriteBytes(); in UserPackageIoUsage()589 writtenBytes.foregroundBytes = ioUsage.metrics[WRITE_BYTES][FOREGROUND]; in UserPackageIoUsage()590 writtenBytes.backgroundBytes = ioUsage.metrics[WRITE_BYTES][BACKGROUND]; in UserPackageIoUsage()