Searched refs:cb2 (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchTimerQueueTest.cpp | 670 CountingCallback cb2(mDispatch); in TEST_F() local 677 EXPECT_EQ(mDispatch.schedule(cb2, 100, 2000), ScheduleResult::Scheduled); in TEST_F() 681 EXPECT_THAT(cb2.mCalls.size(), Eq(0)); in TEST_F() 710 CountingCallback cb2(mDispatch); in TEST_F() local 713 EXPECT_EQ(mDispatch.schedule(cb2, 100, 2000), ScheduleResult::Scheduled); in TEST_F() 718 EXPECT_EQ(mDispatch.cancel(cb2), CancelResult::Cancelled); in TEST_F() 723 EXPECT_THAT(cb2.mCalls.size(), Eq(0)); in TEST_F() 732 CountingCallback cb2(mDispatch); in TEST_F() local 735 EXPECT_EQ(mDispatch.schedule(cb2, 100, 2000), ScheduleResult::Scheduled); in TEST_F() 743 EXPECT_THAT(cb2.mCalls.size(), Eq(0)); in TEST_F() [all …]
|
/frameworks/base/cmds/statsd/tests/external/ |
D | StatsPullerManager_test.cpp | 93 shared_ptr<FakePullAtomCallback> cb2 = SharedRefBase::make<FakePullAtomCallback>(uid2); in createPullerManagerAndRegister() local 94 pullerManager->RegisterPullAtomCallback(uid2, pullTagId1, coolDownNs, timeoutNs, {}, cb2, true); in createPullerManagerAndRegister()
|
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/ |
D | WifiNl80211ManagerTest.java | 791 WifiNl80211Manager.SendMgmtFrameCallback cb2 = mock( in testSendMgmtFrameCalledTwiceBeforeFinished() local 802 Runnable::run, cb2); in testSendMgmtFrameCalledTwiceBeforeFinished() 803 verify(cb2).onFailure(WifiNl80211Manager.SEND_MGMT_FRAME_ERROR_ALREADY_STARTED); in testSendMgmtFrameCalledTwiceBeforeFinished()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | HalDeviceManagerTest.java | 581 HalDeviceManager.InterfaceRttControllerLifecycleCallback cb2 = mock( in testAndTriggerRttLifecycleCallbacksMultiModeChip() local 585 InOrder io2 = inOrder(cb2); in testAndTriggerRttLifecycleCallbacksMultiModeChip() 614 mDut.registerRttControllerLifecycleCallback(cb2, mHandler); in testAndTriggerRttLifecycleCallbacksMultiModeChip() 617 io2.verify(cb2).onNewRttController(mRttControllerMock); in testAndTriggerRttLifecycleCallbacksMultiModeChip() 633 io2.verify(cb2).onRttControllerDestroyed(); in testAndTriggerRttLifecycleCallbacksMultiModeChip() 649 io2.verify(cb2).onNewRttController(mRttControllerMock); in testAndTriggerRttLifecycleCallbacksMultiModeChip() 651 verifyNoMoreInteractions(cb1, cb2); in testAndTriggerRttLifecycleCallbacksMultiModeChip()
|