Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java620 ICarPropertyEventListener mMockHandler1 = mock(ICarPropertyEventListener.class); in testRegisterUnregisterForContinuousProperty() local
625 when(mMockHandler1.asBinder()).thenReturn(mBinder1); in testRegisterUnregisterForContinuousProperty()
633 mService.registerListener(SPEED_ID, /* updateRateHz= */ 10, mMockHandler1); in testRegisterUnregisterForContinuousProperty()
636 verify(mMockHandler1, timeout(5000)).onEvent(any()); in testRegisterUnregisterForContinuousProperty()
668 mService.unregisterListener(SPEED_ID, mMockHandler1); in testRegisterUnregisterForContinuousProperty()
675 ICarPropertyEventListener mMockHandler1 = mock(ICarPropertyEventListener.class); in testRegisterForMultipleProperties() local
678 when(mMockHandler1.asBinder()).thenReturn(mBinder1); in testRegisterForMultipleProperties()
689 mMockHandler1); in testRegisterForMultipleProperties() local
690 verify(mMockHandler1, timeout(5000)).onEvent(any()); in testRegisterForMultipleProperties()
702 mService.unregisterListener(HVAC_TEMP, mMockHandler1); in testRegisterForMultipleProperties()
[all …]