/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | InternalPerStateBytesSubject.java | 66 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()
|
D | WatchdogStorageUnitTest.java | 1073 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()
|
D | InternalIoOveruseConfigurationSubject.java | 145 x.perStateWriteBytes.garageModeBytes)) in toPerStateThresholdStrings()
|
D | CarWatchdogServiceUnitTest.java | 1106 perStateBytes.garageModeBytes = gmBytes; in constructPerStateBytes() 1392 && actual.garageModeBytes == expected.garageModeBytes; in isInternalPerStateBytesEquals()
|
D | WatchdogPerfHandlerUnitTest.java | 4842 threshold.perStateWriteBytes.garageModeBytes = gmBytes; in constructPerStateIoOveruseThreshold() 5017 perStateBytes.garageModeBytes = gmBytes; in constructPerStateBytes()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | OveruseConfigurationTestUtils.cpp | 108 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()
|
D | OveruseConfigurationTestUtils.h | 60 const int64_t garageModeBytes); 69 const int64_t garageModeBytes); 79 const int64_t fgBytes, const int64_t bgBytes, const int64_t garageModeBytes);
|
D | PerformanceProfilerTest.cpp | 707 .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()
|
D | IoOveruseMonitorTest.cpp | 94 perStateBytes.garageModeBytes = gmBytes; in constructPerStateBytes()
|
/packages/services/Car/car-lib/src/android/car/watchdog/ |
D | PerStateBytes.java | 76 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/ |
D | IoOveruseMonitor.cpp | 101 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()
|
D | IoOveruseConfigs.h | 61 threshold.perStateWriteBytes.garageModeBytes = std::numeric_limits<int64_t>::max(); in defaultThreshold()
|
D | IoOveruseConfigs.cpp | 90 thresholds.perStateWriteBytes.garageModeBytes); in toString() 100 thresholds.perStateWriteBytes.garageModeBytes <= 0) { in containsValidThresholds()
|
D | PerformanceProfiler.cpp | 199 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()
|
D | OveruseConfigurationXmlHelper.cpp | 254 perStateBytes.garageModeBytes = megaBytes * kOneMegaByte; in readPerStateBytes() 533 writeStateElement(kStateIdGarageMode, perStateBytes.garageModeBytes / kOneMegaByte); in writePerStateBytes()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | OveruseConfigurationCache.java | 175 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;
|
D | WatchdogStorage.java | 949 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()
|
D | WatchdogPerfHandler.java | 2139 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/ |
D | PerStateBytes.aidl | 38 long garageModeBytes;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/current/android/automotive/watchdog/ |
D | PerStateBytes.aidl | 39 long garageModeBytes;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/3/android/automotive/watchdog/ |
D | PerStateBytes.aidl | 39 long garageModeBytes;
|