/packages/services/Car/cpp/watchdog/server/tests/ |
D | IoOveruseMonitorTest.cpp | 397 EXPECT_THAT(actualResourceStats.resourceOveruseStats->packageIoOveruseStats, in TEST_F() 400 << toString(actualResourceStats.resourceOveruseStats->packageIoOveruseStats); in TEST_F() 413 actualResourceStats.resourceOveruseStats->packageIoOveruseStats.clear(); in TEST_F() 456 EXPECT_THAT(actualResourceStats.resourceOveruseStats->packageIoOveruseStats, in TEST_F() 459 << toString(actualResourceStats.resourceOveruseStats->packageIoOveruseStats); in TEST_F() 470 actualResourceStats.resourceOveruseStats->packageIoOveruseStats.clear(); in TEST_F() 499 EXPECT_THAT(actualResourceStats.resourceOveruseStats->packageIoOveruseStats, in TEST_F() 502 << toString(actualResourceStats.resourceOveruseStats->packageIoOveruseStats); in TEST_F() 570 EXPECT_THAT(actualResourceStats.resourceOveruseStats->packageIoOveruseStats, in TEST_F() 573 << toString(actualResourceStats.resourceOveruseStats->packageIoOveruseStats); in TEST_F() [all …]
|
D | WatchdogServiceHelperTest.cpp | 539 .packageIoOveruseStats = expectedIoOveruseStats, in TEST_F()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | WatchdogPerfHandlerUnitTest.java | 521 List<PackageIoOveruseStats> packageIoOveruseStats = Arrays.asList( in testWriteToDatabaseForSaveIoUsageStatsWithForgive() local 535 pushLatestIoOveruseStatsAndWait(packageIoOveruseStats); in testWriteToDatabaseForSaveIoUsageStatsWithForgive() 540 packageIoOveruseStats.get(0).ioOveruseStats, in testWriteToDatabaseForSaveIoUsageStatsWithForgive() 545 packageIoOveruseStats.get(1).ioOveruseStats, in testWriteToDatabaseForSaveIoUsageStatsWithForgive() 574 List<PackageIoOveruseStats> packageIoOveruseStats = Arrays.asList( in testWriteToDatabaseForSaveIoUsageStatsWithoutForgive() local 588 pushLatestIoOveruseStatsAndWait(packageIoOveruseStats); in testWriteToDatabaseForSaveIoUsageStatsWithoutForgive() 593 packageIoOveruseStats.get(0).ioOveruseStats, in testWriteToDatabaseForSaveIoUsageStatsWithoutForgive() 598 packageIoOveruseStats.get(1).ioOveruseStats, in testWriteToDatabaseForSaveIoUsageStatsWithoutForgive() 836 List<PackageIoOveruseStats> packageIoOveruseStats = Collections.singletonList( in testResourceOveruseListenerForSystem() local 847 pushLatestIoOveruseStatsAndWait(packageIoOveruseStats); in testResourceOveruseListenerForSystem() [all …]
|
D | CarWatchdogServiceUnitTest.java | 669 List<PackageIoOveruseStats> packageIoOveruseStats = Collections.singletonList( in testOnLatestResourceOveruseStats() local 685 resourceStats.resourceOveruseStats.packageIoOveruseStats = packageIoOveruseStats; in testOnLatestResourceOveruseStats() 689 verify(mMockWatchdogPerfHandler).latestIoOveruseStats(eq(packageIoOveruseStats)); in testOnLatestResourceOveruseStats()
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/ |
D | ResourceOveruseStats.aidl | 36 List<android.automotive.watchdog.internal.PackageIoOveruseStats> packageIoOveruseStats;
|
D | ICarWatchdogServiceForSystem.aidl | 40 …seStats(in List<android.automotive.watchdog.internal.PackageIoOveruseStats> packageIoOveruseStats); in latestIoOveruseStats() argument
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/ |
D | ResourceOveruseStats.aidl | 36 List<android.automotive.watchdog.internal.PackageIoOveruseStats> packageIoOveruseStats;
|
D | ICarWatchdogServiceForSystem.aidl | 40 …seStats(in List<android.automotive.watchdog.internal.PackageIoOveruseStats> packageIoOveruseStats); in latestIoOveruseStats() argument
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | ResourceOveruseStats.aidl | 28 List<PackageIoOveruseStats> packageIoOveruseStats;
|
D | ICarWatchdogServiceForSystem.aidl | 68 oneway void latestIoOveruseStats(in List<PackageIoOveruseStats> packageIoOveruseStats); in latestIoOveruseStats() argument
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/ |
D | ICarWatchdogServiceForSystem.aidl | 40 …seStats(in List<android.automotive.watchdog.internal.PackageIoOveruseStats> packageIoOveruseStats); in latestIoOveruseStats() argument
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/ |
D | ICarWatchdogServiceForSystem.aidl | 40 …seStats(in List<android.automotive.watchdog.internal.PackageIoOveruseStats> packageIoOveruseStats); in latestIoOveruseStats() argument
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 924 public void latestIoOveruseStats(List<PackageIoOveruseStats> packageIoOveruseStats) { in latestIoOveruseStats() argument 925 if (packageIoOveruseStats.isEmpty()) { in latestIoOveruseStats() 934 service.mWatchdogPerfHandler.latestIoOveruseStats(packageIoOveruseStats); in latestIoOveruseStats() 952 || stats.resourceOveruseStats.packageIoOveruseStats.isEmpty()) { in onLatestResourceStats() 957 stats.resourceOveruseStats.packageIoOveruseStats); in onLatestResourceStats()
|
D | WatchdogPerfHandler.java | 923 public void latestIoOveruseStats(List<PackageIoOveruseStats> packageIoOveruseStats) { in latestIoOveruseStats() argument 927 mServiceHandler.post(() -> latestIoOveruseStatsInternal(packageIoOveruseStats)); in latestIoOveruseStats() 930 private void latestIoOveruseStatsInternal(List<PackageIoOveruseStats> packageIoOveruseStats) { in latestIoOveruseStatsInternal() argument 931 int[] uids = new int[packageIoOveruseStats.size()]; in latestIoOveruseStatsInternal() 932 for (int i = 0; i < packageIoOveruseStats.size(); ++i) { in latestIoOveruseStatsInternal() 933 uids[i] = packageIoOveruseStats.get(i).uid; in latestIoOveruseStatsInternal() 942 for (int i = 0; i < packageIoOveruseStats.size(); ++i) { in latestIoOveruseStatsInternal() 943 PackageIoOveruseStats stats = packageIoOveruseStats.get(i); in latestIoOveruseStatsInternal()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | IoOveruseMonitor.cpp | 394 resourceStats->resourceOveruseStats->packageIoOveruseStats = mLatestIoOveruseStats; in onPeriodicCollection()
|