Home
last modified time | relevance | path

Searched refs:garageModeBytes (Results 1 – 21 of 21) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DInternalPerStateBytesSubject.java66 check("garageModeBytes").that(mActual.garageModeBytes).isEqualTo(expected.garageModeBytes); in isEqualTo()
75 && actual.garageModeBytes == expected.garageModeBytes; in isEquals()
85 .append(", Garage mode bytes: ").append(perStateBytes.garageModeBytes) in toStringBuilder()
DWatchdogStorageUnitTest.java1073 writtenBytes.garageModeBytes = 100; in createDatabaseAndUpgradeToVersion()
1077 remainingWriteBytes.garageModeBytes = 200; in createDatabaseAndUpgradeToVersion()
1081 forgivenWriteBytes.garageModeBytes = 300; in createDatabaseAndUpgradeToVersion()
1121 writtenBytes.garageModeBytes); in insertIoUsageStats()
1127 remainingWriteBytes.garageModeBytes); in insertIoUsageStats()
1133 forgivenWriteBytes.garageModeBytes); in insertIoUsageStats()
DInternalIoOveruseConfigurationSubject.java145 x.perStateWriteBytes.garageModeBytes)) in toPerStateThresholdStrings()
DCarWatchdogServiceUnitTest.java1106 perStateBytes.garageModeBytes = gmBytes; in constructPerStateBytes()
1392 && actual.garageModeBytes == expected.garageModeBytes; in isInternalPerStateBytesEquals()
DWatchdogPerfHandlerUnitTest.java4842 threshold.perStateWriteBytes.garageModeBytes = gmBytes; in constructPerStateIoOveruseThreshold()
5017 perStateBytes.garageModeBytes = gmBytes; in constructPerStateBytes()
/packages/services/Car/cpp/watchdog/server/tests/
DOveruseConfigurationTestUtils.cpp108 const int64_t garageModeBytes) { in toPerStateBytes() argument
112 perStateBytes.garageModeBytes = garageModeBytes; in toPerStateBytes()
127 const int64_t garageModeBytes) { in toPerStateIoOveruseThreshold() argument
128 return toPerStateIoOveruseThreshold(name, toPerStateBytes(fgBytes, bgBytes, garageModeBytes)); in toPerStateIoOveruseThreshold()
139 const int64_t garageModeBytes) { in toPerStateIoOveruseThreshold() argument
140 return toPerStateIoOveruseThreshold(type, toPerStateBytes(fgBytes, bgBytes, garageModeBytes)); in toPerStateIoOveruseThreshold()
DOveruseConfigurationTestUtils.h60 const int64_t garageModeBytes);
69 const int64_t garageModeBytes);
79 const int64_t fgBytes, const int64_t bgBytes, const int64_t garageModeBytes);
DPerformanceProfilerTest.cpp707 .garageModeBytes = 0, in getResourceStatsForSampledStats()
712 .garageModeBytes = 0, in getResourceStatsForSampledStats()
739 .garageModeBytes = 0, in getResourceStatsForSampledStats()
744 .garageModeBytes = 0, in getResourceStatsForSampledStats()
777 .garageModeBytes = 0, in getResourceStatsForSampledStats()
782 .garageModeBytes = 0, in getResourceStatsForSampledStats()
809 .garageModeBytes = 0, in getResourceStatsForSampledStats()
814 .garageModeBytes = 0, in getResourceStatsForSampledStats()
833 .garageModeBytes = 0, in getResourceStatsForSampledStats()
838 .garageModeBytes = 0, in getResourceStatsForSampledStats()
DIoOveruseMonitorTest.cpp94 perStateBytes.garageModeBytes = gmBytes; in constructPerStateBytes()
/packages/services/Car/car-lib/src/android/car/watchdog/
DPerStateBytes.java76 long garageModeBytes) { in PerStateBytes() argument
79 this.mGarageModeBytes = garageModeBytes; in PerStateBytes()
146 long garageModeBytes = in.readLong(); in PerStateBytes() local
150 this.mGarageModeBytes = garageModeBytes; in PerStateBytes()
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.cpp101 result.garageModeBytes = sum(lhs.garageModeBytes, rhs.garageModeBytes); in sum()
112 result.garageModeBytes = sub(lhs.garageModeBytes, rhs.garageModeBytes); in diff()
133 sum(perStateBytes.backgroundBytes, perStateBytes.garageModeBytes)); in totalPerStateBytes()
152 int32_t garageModeOveruses = div(writtenBytes.garageModeBytes, threshold.garageModeBytes); in calculateOveruseAndForgivenBytes()
158 forgivenWriteBytes.garageModeBytes = mul(garageModeOveruses, threshold.garageModeBytes); in calculateOveruseAndForgivenBytes()
369 exceedsWarnThreshold(remainingWriteBytes.garageModeBytes, in onPeriodicCollection()
370 threshold.garageModeBytes))) { in onPeriodicCollection()
781 writtenBytes.garageModeBytes = uidIoStats.sumWriteBytes(); in UserPackageIoUsage()
DIoOveruseConfigs.h61 threshold.perStateWriteBytes.garageModeBytes = std::numeric_limits<int64_t>::max(); in defaultThreshold()
DIoOveruseConfigs.cpp90 thresholds.perStateWriteBytes.garageModeBytes); in toString()
100 thresholds.perStateWriteBytes.garageModeBytes <= 0) { in containsValidThresholds()
DPerformanceProfiler.cpp199 ioUsageStats.readBytes.garageModeBytes = ioReadsStatsView.totalBytes(); in constructUidResourceUsageStats()
200 ioUsageStats.writtenBytes.garageModeBytes = ioWritesStatsView.totalBytes(); in constructUidResourceUsageStats()
236 totalIoReads.garageModeBytes = in constructSystemSummaryUsageStats()
239 totalIoWrites.garageModeBytes = in constructSystemSummaryUsageStats()
DOveruseConfigurationXmlHelper.cpp254 perStateBytes.garageModeBytes = megaBytes * kOneMegaByte; in readPerStateBytes()
533 writeStateElement(kStateIdGarageMode, perStateBytes.garageModeBytes / kOneMegaByte); in writePerStateBytes()
/packages/services/Car/service/src/com/android/car/watchdog/
DOveruseConfigurationCache.java175 perStateBytes.garageModeBytes); in dumpProto()
191 perStateBytes.garageModeBytes); in dumpProto()
209 perStateBytes.garageModeBytes); in dumpProto()
228 perStateBytes.garageModeBytes); in dumpProto()
492 + perStateBytes.garageModeBytes + '}'); in dumpPerStateBytes()
499 garageModeBytes = gmBytes; in constructPerStateBytes()
507 garageModeBytes = perStateBytes.garageModeBytes;
DWatchdogStorage.java949 COLUMN_WRITTEN_GARAGE_MODE_BYTES, ioOveruseStats.writtenBytes.garageModeBytes); in getContentValues()
955 ioOveruseStats.remainingWriteBytes.garageModeBytes); in getContentValues()
960 values.put(COLUMN_FORGIVEN_GARAGE_MODE_WRITE_BYTES, forgivenWriteBytes.garageModeBytes); in getContentValues()
1001 ioOveruseStats.writtenBytes.garageModeBytes = cursor.getLong(7); in queryStats()
1005 ioOveruseStats.remainingWriteBytes.garageModeBytes = cursor.getLong(10); in queryStats()
1009 forgivenWriteBytes.garageModeBytes = cursor.getLong(13); in queryStats()
DWatchdogPerfHandler.java2139 threshold.backgroundBytes, threshold.garageModeBytes), in constructCarWatchdogIoOveruseStatsLocked()
2141 writtenBytes.backgroundBytes, writtenBytes.garageModeBytes)); in constructCarWatchdogIoOveruseStatsLocked()
2519 perStateBytes.garageModeBytes); in dumpPerStateBytes()
2554 internalPerStateBytes.backgroundBytes, internalPerStateBytes.garageModeBytes); in toPerStateBytes()
2563 internalPerStateBytes.backgroundBytes), internalPerStateBytes.garageModeBytes); in totalPerStateBytes()
2686 threshold.perStateWriteBytes.garageModeBytes = perStateBytes.getGarageModeBytes(); in toPerStateIoOveruseThreshold()
2896 long foregroundBytes, long backgroundBytes, long garageModeBytes) { in constructCarWatchdogPerStateBytes() argument
2905 if (garageModeBytes != 0) { in constructCarWatchdogPerStateBytes()
2906 perStateBytesBuilder.setGarageModeBytes(garageModeBytes); in constructCarWatchdogPerStateBytes()
3187 || remaining.garageModeBytes == 0; in exceedsThreshold()
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/
DPerStateBytes.aidl38 long garageModeBytes;
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/current/android/automotive/watchdog/
DPerStateBytes.aidl39 long garageModeBytes;
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/3/android/automotive/watchdog/
DPerStateBytes.aidl39 long garageModeBytes;