/packages/services/Car/cpp/watchdog/server/src/ |
D | IoOveruseMonitor.cpp | 145 PerStateBytes forgivenWriteBytes; in calculateOveruseAndForgivenBytes() local 146 forgivenWriteBytes.foregroundBytes = mul(foregroundOveruses, threshold.foregroundBytes); in calculateOveruseAndForgivenBytes() 147 forgivenWriteBytes.backgroundBytes = mul(backgroundOveruses, threshold.backgroundBytes); in calculateOveruseAndForgivenBytes() 148 forgivenWriteBytes.garageModeBytes = mul(garageModeOveruses, threshold.garageModeBytes); in calculateOveruseAndForgivenBytes() 150 return std::make_tuple(totalOveruses, forgivenWriteBytes); in calculateOveruseAndForgivenBytes() 283 diff(dailyIoUsage->writtenBytes, dailyIoUsage->forgivenWriteBytes); in onPeriodicCollection() 284 const auto [currentOveruses, forgivenWriteBytes] = in onPeriodicCollection() 287 dailyIoUsage->forgivenWriteBytes = in onPeriodicCollection() 288 sum(dailyIoUsage->forgivenWriteBytes, forgivenWriteBytes); in onPeriodicCollection() 293 stats.forgivenWriteBytes = dailyIoUsage->forgivenWriteBytes; in onPeriodicCollection() [all …]
|
D | IoOveruseMonitor.h | 213 PerStateBytes forgivenWriteBytes = {}; member
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | WatchdogStorage.java | 936 android.automotive.watchdog.PerStateBytes forgivenWriteBytes = in getContentValues() local 938 values.put(COLUMN_FORGIVEN_FOREGROUND_WRITE_BYTES, forgivenWriteBytes.foregroundBytes); in getContentValues() 939 values.put(COLUMN_FORGIVEN_BACKGROUND_WRITE_BYTES, forgivenWriteBytes.backgroundBytes); in getContentValues() 940 values.put(COLUMN_FORGIVEN_GARAGE_MODE_WRITE_BYTES, forgivenWriteBytes.garageModeBytes); in getContentValues() 986 PerStateBytes forgivenWriteBytes = new PerStateBytes(); in queryStats() local 987 forgivenWriteBytes.foregroundBytes = cursor.getLong(11); in queryStats() 988 forgivenWriteBytes.backgroundBytes = cursor.getLong(12); in queryStats() 989 forgivenWriteBytes.garageModeBytes = cursor.getLong(13); in queryStats() 992 ioOveruseStats, forgivenWriteBytes, in queryStats()
|
D | WatchdogPerfHandler.java | 845 stats.ioOveruseStats, stats.forgivenWriteBytes); in latestIoOveruseStatsInternal() 934 stats.ioUsageStats.forgivenWriteBytes = entry.ioUsage.getForgivenWriteBytes(); in getTodayIoUsageStats() 1412 android.automotive.watchdog.PerStateBytes forgivenWriteBytes) { in cacheAndFetchUsageLocked() argument 1420 usage.update(uid, internalStats, forgivenWriteBytes, defaultKillableState); in cacheAndFetchUsageLocked() 2687 android.automotive.watchdog.PerStateBytes forgivenWriteBytes, in update() argument 2707 ioUsage.update(internalStats, forgivenWriteBytes); in update() 2780 android.automotive.watchdog.PerStateBytes forgivenWriteBytes, int forgivenOveruses, in PackageIoUsage() argument 2783 mForgivenWriteBytes = forgivenWriteBytes; in PackageIoUsage() 2854 android.automotive.watchdog.PerStateBytes forgivenWriteBytes) { in update() argument 2856 mForgivenWriteBytes = forgivenWriteBytes; in update()
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | IoUsageStats.aidl | 33 PerStateBytes forgivenWriteBytes;
|
D | PackageIoOveruseStats.aidl | 39 PerStateBytes forgivenWriteBytes;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/ |
D | IoUsageStats.aidl | 37 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
|
D | PackageIoOveruseStats.aidl | 38 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/ |
D | IoUsageStats.aidl | 37 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
|
D | PackageIoOveruseStats.aidl | 38 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/ |
D | IoUsageStats.aidl | 37 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
|
D | PackageIoOveruseStats.aidl | 38 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | WatchdogServiceHelperTest.cpp | 63 stats.ioUsageStats.forgivenWriteBytes.foregroundBytes = 1100; in sampleUserPackageIoUsageStats() 64 stats.ioUsageStats.forgivenWriteBytes.backgroundBytes = 1200; in sampleUserPackageIoUsageStats() 65 stats.ioUsageStats.forgivenWriteBytes.garageModeBytes = 1300; in sampleUserPackageIoUsageStats()
|
D | IoOveruseMonitorTest.cpp | 119 stats.forgivenWriteBytes = forgiven; in constructPackageIoOveruseStats() 129 const PerStateBytes& forgivenWriteBytes, in constructUserPackageIoUsageStats() argument 135 stats.ioUsageStats.forgivenWriteBytes = forgivenWriteBytes; in constructUserPackageIoUsageStats()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | WatchdogStorageUnitTest.java | 886 PerStateBytes forgivenWriteBytes, int totalOveruses, int forgivenOveruses, in constructIoUsageStatsEntry() argument 890 writtenBytes, totalOveruses), forgivenWriteBytes, forgivenOveruses, in constructIoUsageStatsEntry()
|
D | CarWatchdogServiceUnitTest.java | 4917 boolean shouldNotify, android.automotive.watchdog.PerStateBytes forgivenWriteBytes, in constructPackageIoOveruseStats() argument 4922 stats.forgivenWriteBytes = forgivenWriteBytes; in constructPackageIoOveruseStats() 4939 android.automotive.watchdog.PerStateBytes forgivenWriteBytes, int totalOveruses) { in constructUserPackageIoUsageStats() argument 4945 stats.ioUsageStats.forgivenWriteBytes = forgivenWriteBytes; in constructUserPackageIoUsageStats() 4955 && isInternalPerStateBytesEquals(actual.ioUsageStats.forgivenWriteBytes, in isUserPackageIoUsageStatsEquals() 4956 expected.ioUsageStats.forgivenWriteBytes) in isUserPackageIoUsageStatsEquals()
|