Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
H A DPlatformCompatTest.java63 CompatChange.ChangeListener mListener1, mListener2; field in PlatformCompatTest
176 mPlatformCompat.registerListener(1, mListener1); in testRegisterListenerToSameIdThrows()
178 mPlatformCompat.registerListener(2, mListener1); in testRegisterListenerToSameIdThrows()
198 mPlatformCompat.registerListener(1, mListener1); in testListenerCalledOnSetOverrides()
199 mPlatformCompat.registerListener(2, mListener1); in testListenerCalledOnSetOverrides()
213 mPlatformCompat.registerListener(1, mListener1); in testListenerNotCalledOnWrongPackage()
240 reset(mListener1); in testListenerCalledOnSetOverridesTwoListeners()
282 reset(mListener1); in testListenerCalledOnSetOverridesForTestTwoListeners()
309 reset(mListener1); in testListenerCalledOnClearOverrides()
331 reset(mListener1); in testListenerCalledOnClearOverridesMultipleOverrides()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/animation/
H A DAnimatorSetCallsTest.java48 private CountListener mListener1; field in AnimatorSetCallsTest
85 mListener1.assertValues( in startEndCalledOnChildren()
105 mListener1.assertValues( in cancelCalledOnChildren()
122 mListener1.assertValues( in startEndReversedCalledOnChildren()
142 mListener1.assertValues( in pauseResumeCalledOnChildren()
156 mListener1.assertValues( in pauseResumeCalledOnChildren()
228 mListener1.assertValues( in pauseResumeSeekingAnimators()
239 mListener1.assertValues( in pauseResumeSeekingAnimators()
252 mListener1.assertValues( in pauseResumeSeekingAnimators()
263 mListener1.assertValues( in pauseResumeSeekingAnimators()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/
H A DGnssMeasurementsProviderTest.java77 private @Mock IGnssMeasurementsListener mListener1; field in GnssMeasurementsProviderTest
90 doReturn(mBinder1).when(mListener1).asBinder(); in setUp()
112 mTestProvider.addListener(ACTIVE_REQUEST, IDENTITY, mListener1); in testAddListener_active()
119 mTestProvider.removeListener(mListener1); in testAddListener_active()
126 mTestProvider.addListener(PASSIVE_REQUEST, IDENTITY, mListener1); in testAddListener_passive()
131 mTestProvider.removeListener(mListener1); in testAddListener_passive()
140 mTestProvider.addListener(PASSIVE_REQUEST, IDENTITY, mListener1); in testReregister_aidlV3Plus()
157 mTestProvider.removeListener(mListener1); in testReregister_aidlV3Plus()
166 mTestProvider.addListener(PASSIVE_REQUEST, IDENTITY, mListener1); in testReregister_preAidlV3()
183 mTestProvider.removeListener(mListener1); in testReregister_preAidlV3()
/aosp14/frameworks/base/core/tests/coretests/src/android/os/
H A DPowerManagerTest.java217 mPm.addThermalStatusListener(mExec, mListener1); in testThermalStatusCallback()
218 verify(mListener1, timeout(CALLBACK_TIMEOUT_MILLI_SEC) in testThermalStatusCallback()
220 reset(mListener1); in testThermalStatusCallback()
224 verify(mListener1, timeout(CALLBACK_TIMEOUT_MILLI_SEC) in testThermalStatusCallback()
226 reset(mListener1); in testThermalStatusCallback()
229 mPm.addThermalStatusListener(mListener1); in testThermalStatusCallback()
241 verify(mListener1, timeout(CALLBACK_TIMEOUT_MILLI_SEC) in testThermalStatusCallback()
245 reset(mListener1); in testThermalStatusCallback()
248 mPm.removeThermalStatusListener(mListener1); in testThermalStatusCallback()
251 mPm.removeThermalStatusListener(mListener1); in testThermalStatusCallback()
[all …]