Home
last modified time | relevance | path

Searched refs:addResourceOveruseListener (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogManagerUnitTest.java354 mCarWatchdogManager.addResourceOveruseListener( in testAddResourceOveruseListener()
385 mCarWatchdogManager.addResourceOveruseListener( in testMultipleAddResourceOveruseListener()
391 mCarWatchdogManager.addResourceOveruseListener( in testMultipleAddResourceOveruseListener()
426 mCarWatchdogManager.addResourceOveruseListener( in testReAddResourceOveruseListener()
428 mCarWatchdogManager.addResourceOveruseListener( in testReAddResourceOveruseListener()
433 mCarWatchdogManager.addResourceOveruseListener( in testReAddResourceOveruseListener()
437 verify(mService, times(2)).addResourceOveruseListener(eq(FLAG_RESOURCE_OVERUSE_IO), in testReAddResourceOveruseListener()
448 mCarWatchdogManager.addResourceOveruseListener(mExecutor, FLAG_RESOURCE_OVERUSE_IO, in testRemoveRemovedResourceOveruseListener()
776 verify(mService, times(1)).addResourceOveruseListener(eq(resourceOveruseFlag), in captureListenerImplOnAdd()
DWatchdogPerfHandlerUnitTest.java356 mWatchdogPerfHandler.addResourceOveruseListener(/* resourceOveruseFlag= */ 0, in testAddResourceOveruseListenerThrowsWithInvalidFlag()
715 mWatchdogPerfHandler.addResourceOveruseListener(FLAG_RESOURCE_OVERUSE_IO, in testResourceOveruseListener()
747 mWatchdogPerfHandler.addResourceOveruseListener(FLAG_RESOURCE_OVERUSE_IO, in testDuplicateAddResourceOveruseListener()
751 () -> mWatchdogPerfHandler.addResourceOveruseListener( in testDuplicateAddResourceOveruseListener()
773 mWatchdogPerfHandler.addResourceOveruseListener(FLAG_RESOURCE_OVERUSE_IO, in testAddMultipleResourceOveruseListeners()
775 mWatchdogPerfHandler.addResourceOveruseListener(FLAG_RESOURCE_OVERUSE_IO, in testAddMultipleResourceOveruseListeners()
2994 mWatchdogPerfHandler.addResourceOveruseListener( in testLatestIoOveruseStats()
3096 mWatchdogPerfHandler.addResourceOveruseListener( in testLatestIoOveruseStatsWithSharedUid()
DCarWatchdogServiceUnitTest.java694 mCarWatchdogService.addResourceOveruseListener(FLAG_RESOURCE_OVERUSE_IO, mockListener); in testAddResourceOveruseListener()
696 verify(mMockWatchdogPerfHandler).addResourceOveruseListener(eq(FLAG_RESOURCE_OVERUSE_IO), in testAddResourceOveruseListener()
/packages/services/Car/cpp/watchdog/vts/
DVtsAidlWatchdogTargetTest.cpp160 watchdogServer->addResourceOveruseListener({ResourceType::IO}, mockListener); in TEST_P()
171 ASSERT_FALSE(watchdogServer->addResourceOveruseListener({}, mockListener).isOk()) in TEST_P()
176 ASSERT_FALSE(watchdogServer->addResourceOveruseListener({ResourceType::IO}, nullptr).isOk()) in TEST_P()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/watchdog/
DCarWatchdogTestFragment.java166 IoOveruseListener listener = addResourceOveruseListener(); in onCreateView()
221 IoOveruseListener listener = addResourceOveruseListener(); in recurringIoOveruseTest()
334 private IoOveruseListener addResourceOveruseListener() { in addResourceOveruseListener() method in CarWatchdogTestFragment
336 mCarWatchdogManager.addResourceOveruseListener( in addResourceOveruseListener()
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogBinderMediatorTest.cpp232 auto status = mWatchdogBinderMediator->addResourceOveruseListener({ResourceType::IO}, listener); in TEST_F()
242 ASSERT_FALSE(mWatchdogBinderMediator->addResourceOveruseListener({}, listener).isOk()) in TEST_F()
246 mWatchdogBinderMediator->addResourceOveruseListener({ResourceType::IO}, nullptr).isOk()) in TEST_F()
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/
DICarWatchdog.aidl142 void addResourceOveruseListener(in ResourceType[] resourceTypes, in addResourceOveruseListener() method
/packages/services/Car/car-lib/src/android/car/watchdog/
DICarWatchdogService.aidl42 void addResourceOveruseListener( in addResourceOveruseListener() method
DCarWatchdogManager.java488 public void addResourceOveruseListener( in addResourceOveruseListener() method in CarWatchdogManager
852 mService.addResourceOveruseListener( in addResourceOveruseListenerImpl()
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/3/android/automotive/watchdog/
DICarWatchdog.aidl68 …void addResourceOveruseListener(in android.automotive.watchdog.ResourceType[] resourceTypes, in an… in addResourceOveruseListener() method
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/current/android/automotive/watchdog/
DICarWatchdog.aidl68 …void addResourceOveruseListener(in android.automotive.watchdog.ResourceType[] resourceTypes, in an… in addResourceOveruseListener() method
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogBinderMediator.h90 ndk::ScopedAStatus addResourceOveruseListener(
DWatchdogBinderMediator.cpp175 ScopedAStatus WatchdogBinderMediator::addResourceOveruseListener( in addResourceOveruseListener() function in android::automotive::watchdog::WatchdogBinderMediator
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java465 public void addResourceOveruseListener( in addResourceOveruseListener() method in CarWatchdogService
468 mWatchdogPerfHandler.addResourceOveruseListener(resourceOveruseFlag, listener); in addResourceOveruseListener()
DWatchdogPerfHandler.java644 public void addResourceOveruseListener( in addResourceOveruseListener() method in WatchdogPerfHandler
/packages/services/Car/car-lib/api/
Dcurrent.txt1071 …method public void addResourceOveruseListener(@NonNull java.util.concurrent.Executor, int, @NonNul…
Dlint-baseline.txt1870 UnflaggedApi: android.car.watchdog.CarWatchdogManager#addResourceOveruseListener(java.util.concurre…
1871 …th @FlaggedApi: method android.car.watchdog.CarWatchdogManager.addResourceOveruseListener(java.uti…
/packages/services/Car/car-lib-module/api/
Dcurrent.txt1071 …method public void addResourceOveruseListener(@NonNull java.util.concurrent.Executor, int, @NonNul…
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt2825 …method TIRAMISU_0 void addResourceOveruseListener(Executor executor, int resourceOveruseFlag, Reso…