Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/property/
DCarPropertyServiceClientUnitTest.java103 private ICarPropertyEventListener mICarPropertyEventListener; field in CarPropertyServiceClientUnitTest
113 when(mICarPropertyEventListener.asBinder()).thenReturn(mListenerBinder); in setup()
114 mCarPropertyServiceClient = new CarPropertyServiceClient(mICarPropertyEventListener, in setup()
197 verify(mICarPropertyEventListener, never()).onEvent(any()); in testOnEvent_listenerNotCalledIfNoPropertyAdded()
208 verify(mICarPropertyEventListener, never()).onEvent(any()); in testOnEvent_listenerNotCalledIfBinderDead()
219 verify(mICarPropertyEventListener).onEvent(mCarPropertyEventListCaptor.capture()); in testOnEvent_listenerCalledForErrorEvents()
231 verify(mICarPropertyEventListener).onEvent(mCarPropertyEventListCaptor.capture()); in testOnEvent_listenerCalledForChangeEvents()
246 verify(mICarPropertyEventListener).onEvent(mCarPropertyEventListCaptor.capture()); in testOnEvent_listenerCalledForMultipleProperties()
261 verify(mICarPropertyEventListener).onEvent(mCarPropertyEventListCaptor.capture()); in testOnEvent_listenerNotCalledForStaleCarPropertyValues()
279 verify(mICarPropertyEventListener).onEvent(mCarPropertyEventListCaptor.capture()); in testOnEvent_listenerNotCalledForCarPropertyValuesBeforeNextUpdateTime()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java97 private ICarPropertyEventListener mICarPropertyEventListener; field in CarPropertyServiceUnitTest
151 when(mICarPropertyEventListener.asBinder()).thenReturn(mIBinder); in setUp()
1322 () -> mService.setProperty(null, mICarPropertyEventListener)); in setProperty_throwsExceptionBecauseOfNullCarPropertyValue()
1336 mICarPropertyEventListener)); in setProperty_throwsExceptionBecauseOfUnsupportedPropertyId()
1343 Integer.MAX_VALUE), mICarPropertyEventListener)); in setProperty_throwsExceptionBecausePropertyIsNotWritable()
1350 mICarPropertyEventListener)); in setProperty_throwsSecurityExceptionIfPlatformDoesNotHavePermissionToWrite()
1359 mICarPropertyEventListener)); in setProperty_throwsSecurityExceptionIfAppDoesNotHavePermissionToWrite()
1366 Integer.MAX_VALUE), mICarPropertyEventListener)); in setProperty_throwsExceptionBecauseOfUnsupportedAreaId()
1373 mICarPropertyEventListener)); in setProperty_throwsExceptionBecauseOfNullSetValue()
1380 mICarPropertyEventListener)); in setProperty_throwsExceptionBecauseOfSetValueTypeMismatch()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarDrivingStateService.java136 mPropertyService.unregisterListenerSafe(property, mICarPropertyEventListener); in release()
141 mPropertyService.unregisterListenerSafe(property, mICarPropertyEventListener); in release()
216 mICarPropertyEventListener); in subscribeToProperties()
222 mICarPropertyEventListener); in subscribeToProperties()
336 private final ICarPropertyEventListener mICarPropertyEventListener = field in CarDrivingStateService
DCarNightService.java73 private final ICarPropertyEventListener mICarPropertyEventListener = field in CarNightService
215 mICarPropertyEventListener); in init()
DCarUxRestrictionsManagerService.java353 PROPERTY_UPDATE_RATE, mICarPropertyEventListener); in init()
951 private final ICarPropertyEventListener mICarPropertyEventListener = field in CarUxRestrictionsManagerService