Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java621 ICarPropertyEventListener mMockHandler2 = mock(ICarPropertyEventListener.class); in testRegisterUnregisterForContinuousProperty() local
626 when(mMockHandler2.asBinder()).thenReturn(mBinder2); in testRegisterUnregisterForContinuousProperty()
646 mService.registerListener(SPEED_ID, /* updateRateHz= */ 20, mMockHandler2); in testRegisterUnregisterForContinuousProperty()
649 verify(mMockHandler2, timeout(5000)).onEvent(any()); in testRegisterUnregisterForContinuousProperty()
659 mService.unregisterListener(SPEED_ID, mMockHandler2); in testRegisterUnregisterForContinuousProperty()
715 ICarPropertyEventListener mMockHandler2 = mock(ICarPropertyEventListener.class); in testRegisterUnregisterForOnChangeProperty() local
720 when(mMockHandler2.asBinder()).thenReturn(mBinder2); in testRegisterUnregisterForOnChangeProperty()
742 mMockHandler2); in testRegisterUnregisterForOnChangeProperty()
745 verify(mMockHandler2, timeout(5000)).onEvent(any()); in testRegisterUnregisterForOnChangeProperty()
755 mService.unregisterListener(HVAC_TEMP, mMockHandler2); in testRegisterUnregisterForOnChangeProperty()