Home
last modified time | relevance | path

Searched refs:forgivenWriteBytes (Results 1 – 16 of 16) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.cpp145 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 …]
DIoOveruseMonitor.h213 PerStateBytes forgivenWriteBytes = {}; member
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogStorage.java936 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()
DWatchdogPerfHandler.java845 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/
DIoUsageStats.aidl33 PerStateBytes forgivenWriteBytes;
DPackageIoOveruseStats.aidl39 PerStateBytes forgivenWriteBytes;
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/
DIoUsageStats.aidl37 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
DPackageIoOveruseStats.aidl38 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/
DIoUsageStats.aidl37 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
DPackageIoOveruseStats.aidl38 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/
DIoUsageStats.aidl37 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
DPackageIoOveruseStats.aidl38 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogServiceHelperTest.cpp63 stats.ioUsageStats.forgivenWriteBytes.foregroundBytes = 1100; in sampleUserPackageIoUsageStats()
64 stats.ioUsageStats.forgivenWriteBytes.backgroundBytes = 1200; in sampleUserPackageIoUsageStats()
65 stats.ioUsageStats.forgivenWriteBytes.garageModeBytes = 1300; in sampleUserPackageIoUsageStats()
DIoOveruseMonitorTest.cpp119 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/
DWatchdogStorageUnitTest.java886 PerStateBytes forgivenWriteBytes, int totalOveruses, int forgivenOveruses, in constructIoUsageStatsEntry() argument
890 writtenBytes, totalOveruses), forgivenWriteBytes, forgivenOveruses, in constructIoUsageStatsEntry()
DCarWatchdogServiceUnitTest.java4917 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()