Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/android/car/watchdoglib/
DCarWatchdogDaemonHelperTest.java334 mCarWatchdogDaemonHelper.onTodayIoUsageStatsFetched(testUserPackageIoUsageStats); in testOnTodayIoUsageStatsFetched()
336 verify(mFakeCarWatchdog).onTodayIoUsageStatsFetched(testUserPackageIoUsageStats); in testOnTodayIoUsageStatsFetched()
344 () -> mCarWatchdogDaemonHelper.onTodayIoUsageStatsFetched(Collections.emptyList())); in testOnTodayIoUsageStatsFetched_DaemonVersionTooLow()
/packages/services/Car/cpp/watchdog/car-watchdog-lib/src/android/car/watchdoglib/
DCarWatchdogDaemonHelper.java349 public void onTodayIoUsageStatsFetched(List<UserPackageIoUsageStats> userPackageIoUsageStats) in onTodayIoUsageStatsFetched() method in CarWatchdogDaemonHelper
352 (daemon) -> daemon.onTodayIoUsageStatsFetched(userPackageIoUsageStats), in onTodayIoUsageStatsFetched()
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogInternalHandlerTest.cpp741 EXPECT_CALL(*mMockIoOveruseMonitor, onTodayIoUsageStatsFetched(userPackageIoUsageStats)) in TEST_F()
744 auto status = mWatchdogInternalHandler->onTodayIoUsageStatsFetched(userPackageIoUsageStats); in TEST_F()
750 EXPECT_CALL(*mMockIoOveruseMonitor, onTodayIoUsageStatsFetched(_)).Times(0); in TEST_F()
752 ASSERT_FALSE(mWatchdogInternalHandler->onTodayIoUsageStatsFetched({}).isOk()) in TEST_F()
DMockIoOveruseMonitor.h49 MOCK_METHOD(android::base::Result<void>, onTodayIoUsageStatsFetched,
DIoOveruseMonitorTest.cpp403 ASSERT_RESULT_OK(mIoOveruseMonitor->onTodayIoUsageStatsFetched(/*userPackageIoUsageStats=*/{})); in TEST_F()
729 ASSERT_RESULT_OK(mIoOveruseMonitor->onTodayIoUsageStatsFetched(/*userPackageIoUsageStats=*/{})); in TEST_F()
858 ASSERT_RESULT_OK(mIoOveruseMonitor->onTodayIoUsageStatsFetched(todayIoUsageStats)); in TEST_F()
911 ASSERT_RESULT_OK(mIoOveruseMonitor->onTodayIoUsageStatsFetched(todayIoUsageStats)); in TEST_F()
1208 ASSERT_RESULT_OK(mIoOveruseMonitor->onTodayIoUsageStatsFetched(todayIoUsageStats)); in TEST_F()
DMockWatchdogInternalHandler.h84 MOCK_METHOD(ndk::ScopedAStatus, onTodayIoUsageStatsFetched,
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/
DICarWatchdog.aidl194 void onTodayIoUsageStatsFetched(in List<UserPackageIoUsageStats> userPackageIoUsageStats); in onTodayIoUsageStatsFetched() method
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/
DICarWatchdog.aidl49 …void onTodayIoUsageStatsFetched(in List<android.automotive.watchdog.internal.UserPackageIoUsageSta… in onTodayIoUsageStatsFetched() method
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/
DICarWatchdog.aidl49 …void onTodayIoUsageStatsFetched(in List<android.automotive.watchdog.internal.UserPackageIoUsageSta… in onTodayIoUsageStatsFetched() method
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.h88 virtual android::base::Result<void> onTodayIoUsageStatsFetched(
206 android::base::Result<void> onTodayIoUsageStatsFetched(
DWatchdogInternalHandler.cpp462 ScopedAStatus WatchdogInternalHandler::onTodayIoUsageStatsFetched( in onTodayIoUsageStatsFetched() function in android::automotive::watchdog::WatchdogInternalHandler
468 if (auto result = mIoOveruseMonitor->onTodayIoUsageStatsFetched(userPackageIoUsageStats); in onTodayIoUsageStatsFetched()
DWatchdogInternalHandler.h122 ndk::ScopedAStatus onTodayIoUsageStatsFetched(
DIoOveruseMonitor.cpp496 Result<void> IoOveruseMonitor::onTodayIoUsageStatsFetched( in onTodayIoUsageStatsFetched() function in android::automotive::watchdog::IoOveruseMonitor
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DWatchdogPerfHandlerUnitTest.java1150 .onTodayIoUsageStatsFetched(userPackageIoUsageStatsCaptor.capture()); in testAsyncFetchTodayIoUsageStats()
1190 .when(mMockCarWatchdogDaemonHelper).onTodayIoUsageStatsFetched(any()); in testAsyncFetchTodayIoUsageStatsWithDaemonRemoteException()
1195 timeout(MAX_WAIT_TIME_MILLS)).onTodayIoUsageStatsFetched(any()); in testAsyncFetchTodayIoUsageStatsWithDaemonRemoteException()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogPerfHandler.java1036 mCarWatchdogDaemonHelper.onTodayIoUsageStatsFetched(todayIoUsageStats); in asyncFetchTodayIoUsageStats()