Home
last modified time | relevance | path

Searched refs:bgBytes (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/cpp/watchdog/server/src/
DUidIoStatsCollector.h67 const auto& [fgBytes, bgBytes] = in sumReadBytes()
69 return (std::numeric_limits<int64_t>::max() - fgBytes) > bgBytes in sumReadBytes()
70 ? (fgBytes + bgBytes) in sumReadBytes()
74 const auto& [fgBytes, bgBytes] = in sumWriteBytes()
76 return (std::numeric_limits<int64_t>::max() - fgBytes) > bgBytes in sumWriteBytes()
77 ? (fgBytes + bgBytes) in sumWriteBytes()
/packages/services/Car/cpp/watchdog/server/tests/
DOveruseConfigurationTestUtils.cpp107 PerStateBytes toPerStateBytes(const int64_t fgBytes, const int64_t bgBytes, in toPerStateBytes() argument
111 perStateBytes.backgroundBytes = bgBytes; in toPerStateBytes()
126 const int64_t bgBytes, in toPerStateIoOveruseThreshold() argument
128 return toPerStateIoOveruseThreshold(name, toPerStateBytes(fgBytes, bgBytes, garageModeBytes)); in toPerStateIoOveruseThreshold()
138 const int64_t bgBytes, in toPerStateIoOveruseThreshold() argument
140 return toPerStateIoOveruseThreshold(type, toPerStateBytes(fgBytes, bgBytes, garageModeBytes)); in toPerStateIoOveruseThreshold()
DOveruseConfigurationTestUtils.h59 const int64_t bgBytes,
68 toPerStateIoOveruseThreshold(const std::string& name, const int64_t fgBytes, const int64_t bgBytes,
79 const int64_t fgBytes, const int64_t bgBytes, const int64_t garageModeBytes);
DIoOveruseMonitorTest.cpp89 PerStateBytes constructPerStateBytes(const int64_t fgBytes, const int64_t bgBytes, in constructPerStateBytes() argument
93 perStateBytes.backgroundBytes = bgBytes; in constructPerStateBytes()
DPerformanceProfilerTest.cpp900 MATCHER_P4(StorageIoStatsProtoEq, fgBytes, fgFsync, bgBytes, byFsync, "") {
903 Property("bg_bytes", &StorageIoStats::bg_bytes, bgBytes),
/packages/services/Car/service/src/com/android/car/watchdog/
DOveruseConfigurationCache.java495 private static PerStateBytes constructPerStateBytes(long fgBytes, long bgBytes, long gmBytes) { in constructPerStateBytes() argument
498 backgroundBytes = bgBytes; in constructPerStateBytes()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java1101 long fgBytes, long bgBytes, long gmBytes) { in constructPerStateBytes() argument
1105 perStateBytes.backgroundBytes = bgBytes; in constructPerStateBytes()
DWatchdogPerfHandlerUnitTest.java4836 long fgBytes, long bgBytes, long gmBytes) { in constructPerStateIoOveruseThreshold() argument
4841 threshold.perStateWriteBytes.backgroundBytes = bgBytes; in constructPerStateIoOveruseThreshold()
5012 long fgBytes, long bgBytes, long gmBytes) { in constructPerStateBytes() argument
5016 perStateBytes.backgroundBytes = bgBytes; in constructPerStateBytes()