Searched refs:mMockHandler2 (Results 1 – 1 of 1) sorted by relevance
621 ICarPropertyEventListener mMockHandler2 = mock(ICarPropertyEventListener.class); in testRegisterUnregisterForContinuousProperty() local626 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() local720 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()