Home
last modified time | relevance | path

Searched refs:packageIoOveruseStats (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DIoOveruseMonitorTest.cpp397 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 …]
DWatchdogServiceHelperTest.cpp539 .packageIoOveruseStats = expectedIoOveruseStats, in TEST_F()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DWatchdogPerfHandlerUnitTest.java521 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 …]
DCarWatchdogServiceUnitTest.java669 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/
DResourceOveruseStats.aidl36 List<android.automotive.watchdog.internal.PackageIoOveruseStats> packageIoOveruseStats;
DICarWatchdogServiceForSystem.aidl40 …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/
DResourceOveruseStats.aidl36 List<android.automotive.watchdog.internal.PackageIoOveruseStats> packageIoOveruseStats;
DICarWatchdogServiceForSystem.aidl40 …seStats(in List<android.automotive.watchdog.internal.PackageIoOveruseStats> packageIoOveruseStats); in latestIoOveruseStats() argument
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/
DResourceOveruseStats.aidl28 List<PackageIoOveruseStats> packageIoOveruseStats;
DICarWatchdogServiceForSystem.aidl68 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/
DICarWatchdogServiceForSystem.aidl40 …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/
DICarWatchdogServiceForSystem.aidl40 …seStats(in List<android.automotive.watchdog.internal.PackageIoOveruseStats> packageIoOveruseStats); in latestIoOveruseStats() argument
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java924 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()
DWatchdogPerfHandler.java923 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/
DIoOveruseMonitor.cpp394 resourceStats->resourceOveruseStats->packageIoOveruseStats = mLatestIoOveruseStats; in onPeriodicCollection()