/aosp12/packages/services/Car/cpp/watchdog/server/tests/ |
H A D | WatchdogServiceHelperTest.cpp | 469 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getTodayIoUsageStats(_)) in TEST_F() 473 Status status = mWatchdogServiceHelper->getTodayIoUsageStats(&actualStats); in TEST_F() 481 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getTodayIoUsageStats(_)).Times(0); in TEST_F() 484 Status status = mWatchdogServiceHelper->getTodayIoUsageStats(&actualStats); in TEST_F() 495 EXPECT_CALL(*mMockCarWatchdogServiceForSystem, getTodayIoUsageStats(_)) in TEST_F() 499 Status status = mWatchdogServiceHelper->getTodayIoUsageStats(&actualStats); in TEST_F()
|
H A D | MockCarWatchdogServiceForSystem.h | 56 MOCK_METHOD(android::binder::Status, getTodayIoUsageStats,
|
H A D | MockWatchdogServiceHelper.h | 64 MOCK_METHOD(android::binder::Status, getTodayIoUsageStats,
|
H A D | IoOveruseMonitorTest.cpp | 736 EXPECT_CALL(*mMockWatchdogServiceHelper, getTodayIoUsageStats(_)) in TEST_F() 801 EXPECT_CALL(*mMockWatchdogServiceHelper, getTodayIoUsageStats(_)) in TEST_F() 819 EXPECT_CALL(*mMockWatchdogServiceHelper, getTodayIoUsageStats(_)) in TEST_F() 1079 EXPECT_CALL(*mMockWatchdogServiceHelper, getTodayIoUsageStats(_)) in TEST_F()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
H A D | WatchdogStorageUnitTest.java | 133 IoUsageStatsEntrySubject.assertThat(mService.getTodayIoUsageStats()) in testSaveAndGetIoOveruseStats() 154 IoUsageStatsEntrySubject.assertThat(mService.getTodayIoUsageStats()) in testSaveAndGetIoOveruseStatsWithOffsettedStartTime() 180 mService.getTodayIoUsageStats(), "I/O usage stats fetched from database") in testOverwriteIoOveruseStats() 199 mService.getTodayIoUsageStats(), "Cached in memory I/O usage stats") in testOverwriteIoOveruseStats() 209 IoUsageStatsEntrySubject.assertWithMessage(mService.getTodayIoUsageStats(), in testOverwriteIoOveruseStats() 476 IoUsageStatsEntrySubject.assertThat(mService.getTodayIoUsageStats()) in testDeleteUserPackage() 498 IoUsageStatsEntrySubject.assertThat(mService.getTodayIoUsageStats()) in testDeleteUserPackageWithNonexistentPackage() 544 IoUsageStatsEntrySubject.assertThat(mService.getTodayIoUsageStats()) in testSyncUsers() 586 IoUsageStatsEntrySubject.assertThat(mService.getTodayIoUsageStats()) in testSyncUsersWithNoDataForDeletedUser()
|
H A D | CarWatchdogServiceUnitTest.java | 2211 when(mMockWatchdogStorage.getTodayIoUsageStats()).thenReturn(ioUsageStatsEntries); in testGetTodayIoUsageStats() 2214 mWatchdogServiceForSystemImpl.getTodayIoUsageStats(); in testGetTodayIoUsageStats() 3595 when(mMockWatchdogStorage.getTodayIoUsageStats()).thenReturn(mIoUsageStatsEntries); in mockWatchdogStorage() 3717 verify(mMockWatchdogStorage, times(wantedInvocations)).getTodayIoUsageStats(); in verifyDatabaseInit()
|
/aosp12/packages/services/Car/cpp/watchdog/server/src/ |
H A D | WatchdogServiceHelper.h | 73 virtual android::binder::Status getTodayIoUsageStats( 116 android::binder::Status getTodayIoUsageStats(
|
H A D | WatchdogServiceHelper.cpp | 218 Status WatchdogServiceHelper::getTodayIoUsageStats( in getTodayIoUsageStats() function in android::automotive::watchdog::WatchdogServiceHelper 226 return service->getTodayIoUsageStats(userPackageIoUsageStats); in getTodayIoUsageStats()
|
H A D | IoOveruseMonitor.cpp | 441 if (const auto status = mWatchdogServiceHelper->getTodayIoUsageStats(&userPackageIoUsageStats); in syncTodayIoUsageStatsLocked()
|
/aosp12/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
H A D | ICarWatchdogServiceForSystem.aidl | 78 List<UserPackageIoUsageStats> getTodayIoUsageStats(); in getTodayIoUsageStats() method
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/android/car/watchdoglib/ |
H A D | CarWatchdogDaemonHelperTest.java | 269 public List<UserPackageIoUsageStats> getTodayIoUsageStats() { in getTodayIoUsageStats() method in CarWatchdogDaemonHelperTest.ICarWatchdogServiceForSystemImpl
|
/aosp12/packages/services/Car/service/src/com/android/car/watchdog/ |
H A D | CarWatchdogService.java | 766 public List<UserPackageIoUsageStats> getTodayIoUsageStats() { in getTodayIoUsageStats() method in CarWatchdogService.ICarWatchdogServiceForSystemImpl 772 return service.mWatchdogPerfHandler.getTodayIoUsageStats(); in getTodayIoUsageStats()
|
H A D | WatchdogPerfHandler.java | 887 public List<UserPackageIoUsageStats> getTodayIoUsageStats() { in getTodayIoUsageStats() method in WatchdogPerfHandler 889 List<WatchdogStorage.IoUsageStatsEntry> entries = mWatchdogStorage.getTodayIoUsageStats(); in getTodayIoUsageStats() 1068 mWatchdogStorage.getTodayIoUsageStats(); in readFromDatabase()
|
H A D | WatchdogStorage.java | 159 public List<IoUsageStatsEntry> getTodayIoUsageStats() { in getTodayIoUsageStats() method in WatchdogStorage
|