/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | InternalPerStateBytesSubject.java | 64 check("foregroundBytes").that(mActual.foregroundBytes).isEqualTo(expected.foregroundBytes); in isEqualTo() 73 return actual.foregroundBytes == expected.foregroundBytes in isEquals() 83 return builder.append("{Foreground bytes: ").append(perStateBytes.foregroundBytes) in toStringBuilder()
|
D | WatchdogStorageUnitTest.java | 1071 writtenBytes.foregroundBytes = 100; in createDatabaseAndUpgradeToVersion() 1075 remainingWriteBytes.foregroundBytes = 200; in createDatabaseAndUpgradeToVersion() 1079 forgivenWriteBytes.foregroundBytes = 300; in createDatabaseAndUpgradeToVersion() 1117 writtenBytes.foregroundBytes); in insertIoUsageStats() 1123 remainingWriteBytes.foregroundBytes); in insertIoUsageStats() 1129 forgivenWriteBytes.foregroundBytes); in insertIoUsageStats()
|
D | InternalIoOveruseConfigurationSubject.java | 144 x.perStateWriteBytes.foregroundBytes, x.perStateWriteBytes.backgroundBytes, in toPerStateThresholdStrings()
|
D | CarWatchdogServiceUnitTest.java | 1104 perStateBytes.foregroundBytes = fgBytes; in constructPerStateBytes() 1390 return actual.foregroundBytes == expected.foregroundBytes in isInternalPerStateBytesEquals()
|
D | WatchdogPerfHandlerUnitTest.java | 4840 threshold.perStateWriteBytes.foregroundBytes = fgBytes; in constructPerStateIoOveruseThreshold() 5015 perStateBytes.foregroundBytes = fgBytes; in constructPerStateBytes()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | IoOveruseMonitor.cpp | 99 result.foregroundBytes = sum(lhs.foregroundBytes, rhs.foregroundBytes); in sum() 110 result.foregroundBytes = sub(lhs.foregroundBytes, rhs.foregroundBytes); in diff() 132 return sum(perStateBytes.foregroundBytes, in totalPerStateBytes() 150 int32_t foregroundOveruses = div(writtenBytes.foregroundBytes, threshold.foregroundBytes); in calculateOveruseAndForgivenBytes() 156 forgivenWriteBytes.foregroundBytes = mul(foregroundOveruses, threshold.foregroundBytes); in calculateOveruseAndForgivenBytes() 365 (exceedsWarnThreshold(remainingWriteBytes.foregroundBytes, in onPeriodicCollection() 366 threshold.foregroundBytes) || in onPeriodicCollection() 783 writtenBytes.foregroundBytes = uidIoStats.metrics[WRITE_BYTES][FOREGROUND]; in UserPackageIoUsage()
|
D | IoOveruseConfigs.h | 59 threshold.perStateWriteBytes.foregroundBytes = std::numeric_limits<int64_t>::max(); in defaultThreshold()
|
D | IoOveruseConfigs.cpp | 88 thresholds.name.c_str(), thresholds.perStateWriteBytes.foregroundBytes, in toString() 98 if (thresholds.perStateWriteBytes.foregroundBytes <= 0 || in containsValidThresholds()
|
D | PerformanceProfiler.cpp | 202 ioUsageStats.readBytes.foregroundBytes = ioReadsStatsView.bytes[UidState::FOREGROUND]; in constructUidResourceUsageStats() 204 ioUsageStats.writtenBytes.foregroundBytes = ioWritesStatsView.bytes[UidState::FOREGROUND]; in constructUidResourceUsageStats() 243 totalIoReads.foregroundBytes = in constructSystemSummaryUsageStats() 247 totalIoWrites.foregroundBytes = in constructSystemSummaryUsageStats()
|
D | OveruseConfigurationXmlHelper.cpp | 248 perStateBytes.foregroundBytes = megaBytes * kOneMegaByte; in readPerStateBytes() 521 perStateBytes.foregroundBytes / kOneMegaByte); in writePerStateBytes()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | OveruseConfigurationCache.java | 171 perStateBytes.foregroundBytes); in dumpProto() 187 perStateBytes.foregroundBytes); in dumpProto() 205 perStateBytes.foregroundBytes); in dumpProto() 224 perStateBytes.foregroundBytes); in dumpProto() 490 writer.println("{Foreground bytes: " + perStateBytes.foregroundBytes in dumpPerStateBytes() 497 foregroundBytes = fgBytes; in constructPerStateBytes() 505 foregroundBytes = perStateBytes.foregroundBytes;
|
D | WatchdogStorage.java | 945 COLUMN_WRITTEN_FOREGROUND_BYTES, ioOveruseStats.writtenBytes.foregroundBytes); in getContentValues() 951 ioOveruseStats.remainingWriteBytes.foregroundBytes); in getContentValues() 958 values.put(COLUMN_FORGIVEN_FOREGROUND_WRITE_BYTES, forgivenWriteBytes.foregroundBytes); in getContentValues() 999 ioOveruseStats.writtenBytes.foregroundBytes = cursor.getLong(5); in queryStats() 1003 ioOveruseStats.remainingWriteBytes.foregroundBytes = cursor.getLong(8); in queryStats() 1007 forgivenWriteBytes.foregroundBytes = cursor.getLong(11); in queryStats()
|
D | WatchdogPerfHandler.java | 2138 constructCarWatchdogPerStateBytes(threshold.foregroundBytes, in constructCarWatchdogIoOveruseStatsLocked() 2140 constructCarWatchdogPerStateBytes(writtenBytes.foregroundBytes, in constructCarWatchdogIoOveruseStatsLocked() 2515 perStateBytes.foregroundBytes); in dumpPerStateBytes() 2553 return new PerStateBytes(internalPerStateBytes.foregroundBytes, in toPerStateBytes() 2562 return sum.apply(sum.apply(internalPerStateBytes.foregroundBytes, in totalPerStateBytes() 2684 threshold.perStateWriteBytes.foregroundBytes = perStateBytes.getForegroundModeBytes(); in toPerStateIoOveruseThreshold() 2896 long foregroundBytes, long backgroundBytes, long garageModeBytes) { in constructCarWatchdogPerStateBytes() argument 2899 if (foregroundBytes != 0) { in constructCarWatchdogPerStateBytes() 2900 perStateBytesBuilder.setForegroundBytes(foregroundBytes); in constructCarWatchdogPerStateBytes() 3186 return remaining.foregroundBytes == 0 || remaining.backgroundBytes == 0 in exceedsThreshold()
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/ |
D | PerStateBytes.aidl | 28 long foregroundBytes;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/current/android/automotive/watchdog/ |
D | PerStateBytes.aidl | 37 long foregroundBytes;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/3/android/automotive/watchdog/ |
D | PerStateBytes.aidl | 37 long foregroundBytes;
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | PerformanceProfilerTest.cpp | 705 .foregroundBytes = int32Multiplier(1'000), in getResourceStatsForSampledStats() 710 .foregroundBytes = int32Multiplier(300), in getResourceStatsForSampledStats() 737 .foregroundBytes = 0, in getResourceStatsForSampledStats() 742 .foregroundBytes = 0, in getResourceStatsForSampledStats() 775 .foregroundBytes = 0, in getResourceStatsForSampledStats() 780 .foregroundBytes = 0, in getResourceStatsForSampledStats() 807 .foregroundBytes = int32Multiplier(300), in getResourceStatsForSampledStats() 812 .foregroundBytes = int32Multiplier(1'000), in getResourceStatsForSampledStats() 831 .foregroundBytes = 0, in getResourceStatsForSampledStats() 836 .foregroundBytes = 0, in getResourceStatsForSampledStats()
|
D | IoOveruseMonitorTest.cpp | 85 int32_t foregroundBytes; member 92 perStateBytes.foregroundBytes = fgBytes; in constructPerStateBytes() 1130 EXPECT_NE(actual.writtenBytes.foregroundBytes, 0); in TEST_F() 1144 EXPECT_EQ(actual.writtenBytes.foregroundBytes, 0); in TEST_F()
|
D | OveruseConfigurationTestUtils.cpp | 110 perStateBytes.foregroundBytes = fgBytes; in toPerStateBytes()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarShellCommand.java | 3579 long foregroundBytes = Objects.requireNonNull( 3581 writer.printf("foregroundModeBytes = %d \n", foregroundBytes);
|