Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DThermalManagerServiceTest.java87 private IThermalStatusListener mStatusListener2; field in ThermalManagerServiceTest
215 assertTrue(mService.mService.registerThermalStatusListener(mStatusListener2)); in setUp()
222 verify(mStatusListener2, timeout(CALLBACK_TIMEOUT_MILLI_SEC) in setUp()
238 verify(mStatusListener2, timeout(CALLBACK_TIMEOUT_MILLI_SEC) in setUp()
246 reset(mStatusListener2); in resetListenerMock()
250 doReturn(mock(IBinder.class)).when(mStatusListener2).asBinder(); in resetListenerMock()
269 assertTrue(mService.mService.registerThermalStatusListener(mStatusListener2)); in testRegister()
280 verify(mStatusListener2, timeout(CALLBACK_TIMEOUT_MILLI_SEC) in testRegister()
296 verify(mStatusListener2, timeout(CALLBACK_TIMEOUT_MILLI_SEC) in testNotify()
308 verify(mStatusListener2, timeout(CALLBACK_TIMEOUT_MILLI_SEC) in testNotify()
[all …]