Searched refs:cb1 (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchTimerQueueTest.cpp | 335 CountingCallback cb1(mDispatch); in TEST_F() local 338 mDispatch.schedule(cb1, 250, mPeriod); in TEST_F() 345 ASSERT_THAT(cb1.mCalls.size(), Eq(1)); in TEST_F() 346 EXPECT_THAT(cb1.mCalls[0], Eq(1063)); in TEST_F() 363 CountingCallback cb1(mDispatch); in TEST_F() local 366 mDispatch.schedule(cb1, 250, mPeriod); in TEST_F() 367 mDispatch.cancel(cb1); in TEST_F() 376 CountingCallback cb1(mDispatch); in TEST_F() local 379 mDispatch.schedule(cb1, 200, 1000); in TEST_F() 380 mDispatch.schedule(cb1, 300, 1000); in TEST_F() [all …]
|
/frameworks/base/cmds/statsd/tests/external/ |
D | StatsPullerManager_test.cpp | 91 shared_ptr<FakePullAtomCallback> cb1 = SharedRefBase::make<FakePullAtomCallback>(uid1); in createPullerManagerAndRegister() local 92 pullerManager->RegisterPullAtomCallback(uid1, pullTagId1, coolDownNs, timeoutNs, {}, cb1, true); in createPullerManagerAndRegister() 95 pullerManager->RegisterPullAtomCallback(uid1, pullTagId2, coolDownNs, timeoutNs, {}, cb1, true); in createPullerManagerAndRegister()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | HalDeviceManagerTest.java | 579 HalDeviceManager.InterfaceRttControllerLifecycleCallback cb1 = mock( in testAndTriggerRttLifecycleCallbacksMultiModeChip() local 584 InOrder io1 = inOrder(cb1); in testAndTriggerRttLifecycleCallbacksMultiModeChip() 608 mDut.registerRttControllerLifecycleCallback(cb1, mHandler); in testAndTriggerRttLifecycleCallbacksMultiModeChip() 611 io1.verify(cb1).onNewRttController(mRttControllerMock); in testAndTriggerRttLifecycleCallbacksMultiModeChip() 615 mDut.registerRttControllerLifecycleCallback(cb1, mHandler); in testAndTriggerRttLifecycleCallbacksMultiModeChip() 632 io1.verify(cb1).onRttControllerDestroyed(); in testAndTriggerRttLifecycleCallbacksMultiModeChip() 648 io1.verify(cb1).onNewRttController(mRttControllerMock); in testAndTriggerRttLifecycleCallbacksMultiModeChip() 651 verifyNoMoreInteractions(cb1, cb2); in testAndTriggerRttLifecycleCallbacksMultiModeChip()
|
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/ |
D | WifiNl80211ManagerTest.java | 789 WifiNl80211Manager.SendMgmtFrameCallback cb1 = mock( in testSendMgmtFrameCalledTwiceBeforeFinished() local 795 Runnable::run, cb1); in testSendMgmtFrameCalledTwiceBeforeFinished() 796 verify(cb1, never()).onFailure(anyInt()); in testSendMgmtFrameCalledTwiceBeforeFinished()
|