Searched refs:ioUsage (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | IoUsageStatsEntrySubject.java | 81 && actual.ioUsage.getTotalTimesKilled() == expected.ioUsage.getTotalTimesKilled() in isEquals() 82 && actual.ioUsage.getForgivenOveruses() == expected.ioUsage.getForgivenOveruses() in isEquals() 83 && InternalPerStateBytesSubject.isEquals(actual.ioUsage.getForgivenWriteBytes(), in isEquals() 84 expected.ioUsage.getForgivenWriteBytes()) in isEquals() 85 && isEqualsIoOveruseStats(actual.ioUsage.getInternalIoOveruseStats(), in isEquals() 86 expected.ioUsage.getInternalIoOveruseStats()); in isEquals() 121 toStringBuilder(builder, entry.ioUsage); in toStringBuilder() 126 WatchdogPerfHandler.PackageIoUsage ioUsage) { in toStringBuilder() argument 128 toStringBuilder(builder, ioUsage.getInternalIoOveruseStats()); in toStringBuilder() 130 InternalPerStateBytesSubject.toStringBuilder(builder, ioUsage.getForgivenWriteBytes()); in toStringBuilder() [all …]
|
D | CarWatchdogServiceUnitTest.java | 1121 entry.ioUsage.getInternalIoOveruseStats(), in mockWatchdogStorage() 1122 entry.ioUsage.getForgivenWriteBytes(), in mockWatchdogStorage() 1123 entry.ioUsage.getForgivenOveruses(), in mockWatchdogStorage() 1124 entry.ioUsage.getTotalTimesKilled()))); in mockWatchdogStorage()
|
D | WatchdogStorageUnitTest.java | 1037 WatchdogPerfHandler.PackageIoUsage ioUsage = new WatchdogPerfHandler.PackageIoUsage( in constructIoUsageStatsEntry() local 1041 return new WatchdogStorage.IoUsageStatsEntry(userId, packageName, ioUsage); in constructIoUsageStatsEntry()
|
D | WatchdogPerfHandlerUnitTest.java | 4674 entry.ioUsage.getInternalIoOveruseStats(), in mockWatchdogStorage() 4675 entry.ioUsage.getForgivenWriteBytes(), in mockWatchdogStorage() 4676 entry.ioUsage.getForgivenOveruses(), in mockWatchdogStorage() 4677 entry.ioUsage.getTotalTimesKilled()))); in mockWatchdogStorage()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | WatchdogPerfHandler.java | 961 if (!usage.ioUsage.exceedsThreshold()) { in latestIoOveruseStatsInternal() 968 if (usage.ioUsage.getNotForgivenOveruses() > mRecurringOveruseTimes) { in latestIoOveruseStatsInternal() 972 usage.ioUsage.forgiveOveruses(); in latestIoOveruseStatsInternal() 1054 entry.ioUsage.getInternalIoOveruseStats(); in getTodayIoUsageStats() 1056 stats.ioUsageStats.forgivenWriteBytes = entry.ioUsage.getForgivenWriteBytes(); in getTodayIoUsageStats() 1361 usage.ioUsage.overwrite(entry.ioUsage); in readFromDatabase() 1384 usage.ioUsage.setHistoricalNotForgivenOveruses(entry.notForgivenOveruses); in syncHistoricalNotForgivenOveruses() 1409 if (!usage.ioUsage.hasUsage()) { in writeToDatabase() 1412 if (usage.ioUsage.shouldForgiveHistoricalOveruses()) { in writeToDatabase() 1421 usage.genericPackageName, usage.ioUsage)); in writeToDatabase() [all …]
|
D | WatchdogStorage.java | 481 entry.ioUsage.getInternalIoOveruseStats(); in saveIoUsageStats() 829 public final WatchdogPerfHandler.PackageIoUsage ioUsage; field in WatchdogStorage.IoUsageStatsEntry 832 String packageName, WatchdogPerfHandler.PackageIoUsage ioUsage) { in IoUsageStatsEntry() argument 835 this.ioUsage = ioUsage; in IoUsageStatsEntry() 937 entry.ioUsage.getInternalIoOveruseStats(); in getContentValues() 942 values.put(COLUMN_NUM_FORGIVEN_OVERUSES, entry.ioUsage.getForgivenOveruses()); in getContentValues() 943 values.put(COLUMN_NUM_TIMES_KILLED, entry.ioUsage.getTotalTimesKilled()); in getContentValues() 957 entry.ioUsage.getForgivenWriteBytes(); in getContentValues()
|