Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/network/
H A DGlobalSettingsChangeListenerTest.java45 private TestListener mTestListener; field in GlobalSettingsChangeListenerTest
63 doNothing().when(mLifecycle).addObserver(mTestListener); in setUp()
74 mTestListener.onChange(false); in whenChanged_onChangedBeenCalled()
76 verify(mTestListener, times(1)).onChanged(SETTINGS_FIELD); in whenChanged_onChangedBeenCalled()
81 mTestListener.notifyChangeBasedOn(mLifecycle); in whenNotifyChangeBasedOnLifecycle_onStopEvent_onChangedNotCalled()
82 mTestListener.onStart(); in whenNotifyChangeBasedOnLifecycle_onStopEvent_onChangedNotCalled()
84 mTestListener.onChange(false); in whenNotifyChangeBasedOnLifecycle_onStopEvent_onChangedNotCalled()
87 mTestListener.onStop(); in whenNotifyChangeBasedOnLifecycle_onStopEvent_onChangedNotCalled()
89 mTestListener.onChange(false); in whenNotifyChangeBasedOnLifecycle_onStopEvent_onChangedNotCalled()
92 mTestListener.onStart(); in whenNotifyChangeBasedOnLifecycle_onStopEvent_onChangedNotCalled()
[all …]
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
H A DImsCallSessionListenerTests.java67 mTestListener.callSessionHandover(ServiceState.RIL_RADIO_TECHNOLOGY_LTE, in testListenerHandoverDeprecated()
89 mTestListener.callSessionDtmfReceived('A'); in testCallSessionDtmfReceived()
90 mTestListener.callSessionDtmfReceived('a'); in testCallSessionDtmfReceived()
93 mTestListener.callSessionDtmfReceived('B'); in testCallSessionDtmfReceived()
94 mTestListener.callSessionDtmfReceived('b'); in testCallSessionDtmfReceived()
97 mTestListener.callSessionDtmfReceived('0'); in testCallSessionDtmfReceived()
100 mTestListener.callSessionDtmfReceived('*'); in testCallSessionDtmfReceived()
102 mTestListener.callSessionDtmfReceived('#'); in testCallSessionDtmfReceived()
106 mTestListener.callSessionDtmfReceived('P'); in testCallSessionDtmfReceived()
119 mTestListener.callSessionRtpHeaderExtensionsReceived(headers); in testCallSessionRtpExtensionHeadersReceived()
[all …]
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputClassifier_test.cpp60 sp<TestInputListener> mTestListener; member in android::InputClassifierTest
63 mTestListener = new TestInputListener(); in SetUp()
64 mClassifier = new InputClassifier(mTestListener); in SetUp()
69 mTestListener.clear(); in TearDown()
83 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyConfigurationChangedWasCalled(&outArgs)); in TEST_F()
96 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyKeyWasCalled(&outArgs)); in TEST_F()
109 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyMotionWasCalled(&args)); in TEST_F()
123 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifySwitchWasCalled(&outArgs)); in TEST_F()
136 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyDeviceResetWasCalled(&outArgs)); in TEST_F()
H A DInputReader_test.cpp2134 sp<TestInputListener> mTestListener; member in android::InputReaderIntegrationTest
2140 mTestListener = new TestInputListener(2000ms /*eventHappenedTimeout*/, in SetUp()
2155 mTestListener.clear(); in TearDown()
2224 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2232 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyKeyWasCalled(&keyArgs)); in TEST_F()
2297 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyMotionWasCalled(&args)); in TEST_F()
2302 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyMotionWasCalled(&args)); in TEST_F()
2307 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyMotionWasCalled(&args)); in TEST_F()
2319 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyMotionWasCalled(&args)); in TEST_F()
2327 ASSERT_NO_FATAL_FAILURE(mTestListener->assertNotifyMotionWasCalled(&args)); in TEST_F()
[all …]