Home
last modified time | relevance | path

Searched refs:getResourceOveruseConfigurations (Results 1 – 25 of 27) sorted by relevance

12

/packages/services/Car/cpp/watchdog/car-watchdog-lib/src/android/car/watchdoglib/
DCarWatchdogDaemonHelper.java274 public List<ResourceOveruseConfiguration> getResourceOveruseConfigurations() in getResourceOveruseConfigurations() method in CarWatchdogDaemonHelper
278 configurations.addAll(daemon.getResourceOveruseConfigurations()); in getResourceOveruseConfigurations()
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogInternalHandlerTest.cpp644 EXPECT_CALL(*mMockIoOveruseMonitor, getResourceOveruseConfigurations(Pointer(&configs))) in TEST_F()
647 auto status = mWatchdogInternalHandler->getResourceOveruseConfigurations(&configs); in TEST_F()
654 EXPECT_CALL(*mMockIoOveruseMonitor, getResourceOveruseConfigurations(_)).Times(0); in TEST_F()
658 ASSERT_FALSE(mWatchdogInternalHandler->getResourceOveruseConfigurations(&configs).isOk()) in TEST_F()
DMockIoOveruseMonitor.h45 android::base::Result<void>, getResourceOveruseConfigurations,
DMockWatchdogInternalHandler.h73 ndk::ScopedAStatus, getResourceOveruseConfigurations,
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/
DICarWatchdog.aidl44 …roid.automotive.watchdog.internal.ResourceOveruseConfiguration> getResourceOveruseConfigurations(); in getResourceOveruseConfigurations() method
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/
DICarWatchdog.aidl126 List<ResourceOveruseConfiguration> getResourceOveruseConfigurations(); in getResourceOveruseConfigurations() method
/packages/services/Car/car-lib/src/android/car/watchdog/
DICarWatchdogService.aidl57 List<ResourceOveruseConfiguration> getResourceOveruseConfigurations( in getResourceOveruseConfigurations() method
DCarWatchdogManager.java742 public List<ResourceOveruseConfiguration> getResourceOveruseConfigurations( in getResourceOveruseConfigurations() method in CarWatchdogManager
745 return mService.getResourceOveruseConfigurations(resourceOveruseFlag); in getResourceOveruseConfigurations()
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/
DICarWatchdog.aidl44 …roid.automotive.watchdog.internal.ResourceOveruseConfiguration> getResourceOveruseConfigurations(); in getResourceOveruseConfigurations() method
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/
DICarWatchdog.aidl44 …roid.automotive.watchdog.internal.ResourceOveruseConfiguration> getResourceOveruseConfigurations(); in getResourceOveruseConfigurations() method
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/
DICarWatchdog.aidl44 …roid.automotive.watchdog.internal.ResourceOveruseConfiguration> getResourceOveruseConfigurations(); in getResourceOveruseConfigurations() method
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.h84 virtual android::base::Result<void> getResourceOveruseConfigurations(
201 android::base::Result<void> getResourceOveruseConfigurations(
DWatchdogInternalHandler.cpp402 ScopedAStatus WatchdogInternalHandler::getResourceOveruseConfigurations( in getResourceOveruseConfigurations() function in android::automotive::watchdog::WatchdogInternalHandler
410 if (auto result = mIoOveruseMonitor->getResourceOveruseConfigurations(configs); !result.ok()) { in getResourceOveruseConfigurations()
DWatchdogInternalHandler.h110 ndk::ScopedAStatus getResourceOveruseConfigurations(
DIoOveruseMonitor.cpp583 Result<void> IoOveruseMonitor::getResourceOveruseConfigurations( in getResourceOveruseConfigurations() function in android::automotive::watchdog::IoOveruseMonitor
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogManagerUnitTest.java635 when(mService.getResourceOveruseConfigurations(FLAG_RESOURCE_OVERUSE_IO)) in testGetResourceOveruseConfigurations()
638 assertThat(mCarWatchdogManager.getResourceOveruseConfigurations(FLAG_RESOURCE_OVERUSE_IO)) in testGetResourceOveruseConfigurations()
644 when(mService.getResourceOveruseConfigurations(FLAG_RESOURCE_OVERUSE_IO)) in testFailsGetResourceOveruseConfigurations()
647 assertThat(mCarWatchdogManager.getResourceOveruseConfigurations(FLAG_RESOURCE_OVERUSE_IO)) in testFailsGetResourceOveruseConfigurations()
DWatchdogPerfHandlerUnitTest.java310 when(mMockCarWatchdogDaemonHelper.getResourceOveruseConfigurations()).thenReturn( in setUp()
876 verify(mMockCarWatchdogDaemonHelper, times(2)).getResourceOveruseConfigurations(); in testSetResourceOveruseConfigurations()
1050 mWatchdogPerfHandler.getResourceOveruseConfigurations(FLAG_RESOURCE_OVERUSE_IO); in testGetResourceOveruseConfigurations()
1061 () -> mWatchdogPerfHandler.getResourceOveruseConfigurations( in testGetResourceOveruseConfigurationsWithDisconnectedDaemon()
1065 verify(mMockCarWatchdogDaemonHelper).getResourceOveruseConfigurations(); in testGetResourceOveruseConfigurationsWithDisconnectedDaemon()
1073 mWatchdogPerfHandler.getResourceOveruseConfigurations(FLAG_RESOURCE_OVERUSE_IO); in testGetResourceOveruseConfigurationsWithReconnectedDaemon()
1093 when(mMockCarWatchdogDaemonHelper.getResourceOveruseConfigurations()).thenReturn( in testConcurrentSetGetResourceOveruseConfigurationsWithReconnectedDaemon()
1103 mWatchdogPerfHandler.getResourceOveruseConfigurations(FLAG_RESOURCE_OVERUSE_IO); in testConcurrentSetGetResourceOveruseConfigurationsWithReconnectedDaemon()
1112 () -> mWatchdogPerfHandler.getResourceOveruseConfigurations(0)); in testFailsGetResourceOveruseConfigurationsOnInvalidArgs()
DCarWatchdogServiceUnitTest.java755 mCarWatchdogService.getResourceOveruseConfigurations(FLAG_RESOURCE_OVERUSE_IO); in testGetResourceOveruseConfigurations()
757 verify(mMockWatchdogPerfHandler).getResourceOveruseConfigurations( in testGetResourceOveruseConfigurations()
/packages/services/Car/tests/carservice_unit_test/src/android/car/watchdoglib/
DCarWatchdogDaemonHelperTest.java212 when(mFakeCarWatchdog.getResourceOveruseConfigurations()).thenReturn(expected); in testIndirectCall_getResourceOveruseConfigurations()
215 mCarWatchdogDaemonHelper.getResourceOveruseConfigurations(); in testIndirectCall_getResourceOveruseConfigurations()
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java538 public List<ResourceOveruseConfiguration> getResourceOveruseConfigurations( in getResourceOveruseConfigurations() method in CarWatchdogService
542 return mWatchdogPerfHandler.getResourceOveruseConfigurations(resourceOveruseFlag); in getResourceOveruseConfigurations()
DWatchdogPerfHandler.java892 public List<ResourceOveruseConfiguration> getResourceOveruseConfigurations( in getResourceOveruseConfigurations() method in WatchdogPerfHandler
906 internalConfigs = mCarWatchdogDaemonHelper.getResourceOveruseConfigurations(); in getResourceOveruseConfigurations()
1288 internalConfigs = mCarWatchdogDaemonHelper.getResourceOveruseConfigurations(); in fetchAndSyncResourceOveruseConfigurations()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java3590 mCarWatchdogService.getResourceOveruseConfigurations(resourceOveruseFlag)) {
/packages/services/Car/car-lib/api/
Dsystem-lint-baseline.txt742 NullableCollection: android.car.watchdog.CarWatchdogManager#getResourceOveruseConfigurations(int):
743 …Return type of method android.car.watchdog.CarWatchdogManager.getResourceOveruseConfigurations(int…
4894 UnflaggedApi: android.car.watchdog.CarWatchdogManager#getResourceOveruseConfigurations(int):
4895 …h @FlaggedApi: method android.car.watchdog.CarWatchdogManager.getResourceOveruseConfigurations(int)
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt2832 …method TIRAMISU_0 List<ResourceOveruseConfiguration> getResourceOveruseConfigurations(int resource…
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt2842 …util.List<android.car.watchdog.ResourceOveruseConfiguration> getResourceOveruseConfigurations(int);

12