Home
last modified time | relevance | path

Searched refs:mTestListener (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsCallSessionListenerTests.java55 ImsCallSessionListener mTestListener = new ImsCallSessionListener(mMockListener); in testListenerMayHandoverDeprecated() local
56 mTestListener.callSessionMayHandover(ServiceState.RIL_RADIO_TECHNOLOGY_LTE, in testListenerMayHandoverDeprecated()
66 ImsCallSessionListener mTestListener = new ImsCallSessionListener(mMockListener); in testListenerHandoverDeprecated() local
67 mTestListener.callSessionHandover(ServiceState.RIL_RADIO_TECHNOLOGY_LTE, in testListenerHandoverDeprecated()
78 ImsCallSessionListener mTestListener = new ImsCallSessionListener(mMockListener); in testListenerHandoverFailedDeprecated() local
79 mTestListener.callSessionHandoverFailed(ServiceState.RIL_RADIO_TECHNOLOGY_LTE, in testListenerHandoverFailedDeprecated()
88 ImsCallSessionListener mTestListener = new ImsCallSessionListener(mMockListener); in testCallSessionDtmfReceived() local
89 mTestListener.callSessionDtmfReceived('A'); in testCallSessionDtmfReceived()
90 mTestListener.callSessionDtmfReceived('a'); in testCallSessionDtmfReceived()
93 mTestListener.callSessionDtmfReceived('B'); in testCallSessionDtmfReceived()
[all …]
/frameworks/native/services/inputflinger/tests/
DInputProcessor_test.cpp60 TestInputListener mTestListener; member in android::InputProcessorTest
63 void SetUp() override { mProcessor = std::make_unique<InputProcessor>(mTestListener); } in SetUp()
76 ASSERT_NO_FATAL_FAILURE(mTestListener.assertNotifyConfigurationChangedWasCalled(&outArgs)); in TEST_F()
88 ASSERT_NO_FATAL_FAILURE(mTestListener.assertNotifyKeyWasCalled(testing::Eq(args))); in TEST_F()
98 ASSERT_NO_FATAL_FAILURE(mTestListener.assertNotifyMotionWasCalled(testing::Eq(motionArgs))); in TEST_F()
111 ASSERT_NO_FATAL_FAILURE(mTestListener.assertNotifySwitchWasCalled(&outArgs)); in TEST_F()
124 ASSERT_NO_FATAL_FAILURE(mTestListener.assertNotifyDeviceResetWasCalled(&outArgs)); in TEST_F()
DUnwantedInteractionBlocker_test.cpp407 TestInputListener mTestListener; member in android::UnwantedInteractionBlockerTest
411 mBlocker = std::make_unique<UnwantedInteractionBlocker>(mTestListener, in SetUp()
426 ASSERT_NO_FATAL_FAILURE(mTestListener.assertNotifyConfigurationChangedWasCalled(&outArgs)); in TEST_F()
442 ASSERT_NO_FATAL_FAILURE(mTestListener.assertNotifyKeyWasCalled(testing::Eq(args))); in TEST_F()
454 ASSERT_NO_FATAL_FAILURE(mTestListener.assertNotifyMotionWasCalled(testing::Eq(motionArgs))); in TEST_F()
467 ASSERT_NO_FATAL_FAILURE(mTestListener.assertNotifySwitchWasCalled(&outArgs)); in TEST_F()
480 ASSERT_NO_FATAL_FAILURE(mTestListener.assertNotifyDeviceResetWasCalled(&outArgs)); in TEST_F()
574 mTestListener.assertNotifyMotionWasCalled(WithMotionAction(DOWN)); in TEST_F()
579 mTestListener.assertNotifyMotionWasCalled(WithMotionAction(MOVE)); in TEST_F()
584 mTestListener.assertNotifyMotionWasCalled(WithMotionAction(CANCEL)); in TEST_F()
[all …]
DInputDeviceMetricsCollector_test.cpp88 TestInputListener mTestListener; member in android::InputDeviceMetricsCollectorTest
89 InputDeviceMetricsCollector mMetricsCollector{mTestListener, *this, USAGE_TIMEOUT};
147 mTestListener.assertNotifyMotionWasCalled(); in TEST_F()
153 mTestListener.assertNotifyMotionWasCalled(); in TEST_F()
167 mTestListener.assertNotifyMotionWasCalled(); in TEST_F()
174 mTestListener.assertNotifyMotionWasCalled(); in TEST_F()
DPointerChoreographer_test.cpp118 TestInputListener mTestListener; member in android::PointerChoreographerTest
122 TestPointerChoreographer mChoreographer{mTestListener, mMockPolicy,
215 mTestListener.assertNotifyInputDevicesChangedWasCalled(); in TEST_F()
218 mTestListener.assertNotifyConfigurationChangedWasCalled(); in TEST_F()
221 mTestListener.assertNotifyKeyWasCalled(); in TEST_F()
224 mTestListener.assertNotifyMotionWasCalled(); in TEST_F()
227 mTestListener.assertNotifySensorWasCalled(); in TEST_F()
230 mTestListener.assertNotifySwitchWasCalled(); in TEST_F()
233 mTestListener.assertNotifyDeviceResetWasCalled(); in TEST_F()
236 mTestListener.assertNotifyCaptureWasCalled(); in TEST_F()
[all …]
DInputReader_test.cpp1423 std::unique_ptr<TestInputListener> mTestListener; member in android::InputReaderIntegrationTest
1445 mTestListener.reset(); in TearDown()
1469 mTestListener = std::make_unique<TestInputListener>(EVENT_HAPPENED_TIMEOUT, in setupInputReader()
1473 *mTestListener); in setupInputReader()
1480 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyInputDevicesChangedWasCalled()); in setupInputReader()
1481 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyConfigurationChangedWasCalled()); in setupInputReader()
1501 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyConfigurationChangedWasNotCalled()); in TEST_F()
1506 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyConfigurationChangedWasNotCalled()); in TEST_F()
1515 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyConfigurationChangedWasCalled()); in TEST_F()
1526 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyConfigurationChangedWasCalled()); in TEST_F()
[all …]