Home
last modified time | relevance | path

Searched refs:fgBytes (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
110 perStateBytes.foregroundBytes = fgBytes; in toPerStateBytes()
125 const int64_t fgBytes, in toPerStateIoOveruseThreshold() argument
128 return toPerStateIoOveruseThreshold(name, toPerStateBytes(fgBytes, bgBytes, garageModeBytes)); in toPerStateIoOveruseThreshold()
137 const int64_t fgBytes, in toPerStateIoOveruseThreshold() argument
140 return toPerStateIoOveruseThreshold(type, toPerStateBytes(fgBytes, bgBytes, garageModeBytes)); in toPerStateIoOveruseThreshold()
DOveruseConfigurationTestUtils.h58 aidl::android::automotive::watchdog::PerStateBytes toPerStateBytes(const int64_t fgBytes,
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
92 perStateBytes.foregroundBytes = fgBytes; in constructPerStateBytes()
DPerformanceProfilerTest.cpp900 MATCHER_P4(StorageIoStatsProtoEq, fgBytes, fgFsync, bgBytes, byFsync, "") {
901 return ExplainMatchResult(AllOf(Property("fg_bytes", &StorageIoStats::fg_bytes, fgBytes),
/packages/services/Car/service/src/com/android/car/watchdog/
DOveruseConfigurationCache.java495 private static PerStateBytes constructPerStateBytes(long fgBytes, long bgBytes, long gmBytes) { in constructPerStateBytes() argument
497 foregroundBytes = fgBytes; 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
1104 perStateBytes.foregroundBytes = fgBytes; in constructPerStateBytes()
DWatchdogPerfHandlerUnitTest.java4836 long fgBytes, long bgBytes, long gmBytes) { in constructPerStateIoOveruseThreshold() argument
4840 threshold.perStateWriteBytes.foregroundBytes = fgBytes; in constructPerStateIoOveruseThreshold()
5012 long fgBytes, long bgBytes, long gmBytes) { in constructPerStateBytes() argument
5015 perStateBytes.foregroundBytes = fgBytes; in constructPerStateBytes()