Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/
DCarPropertyEventCallbackControllerUnitTest.java88 private CarPropertyManager.CarPropertyEventCallback mCarPropertyEventCallback; field in CarPropertyEventCallbackControllerUnitTest
102 assertThat(mCarPropertyEventCallbackController.add(mCarPropertyEventCallback, in add_registerCalledAfterFirstAdd()
111 assertThat(mCarPropertyEventCallbackController.add(mCarPropertyEventCallback, in add_registerCalledIfSecondRateIsBiggerWithSameCallback()
113 assertThat(mCarPropertyEventCallbackController.add(mCarPropertyEventCallback, in add_registerCalledIfSecondRateIsBiggerWithSameCallback()
126 assertThat(mCarPropertyEventCallbackController.add(mCarPropertyEventCallback, in add_registerCalledIfSecondRateIsSmallerWithSameCallback()
128 assertThat(mCarPropertyEventCallbackController.add(mCarPropertyEventCallback, in add_registerCalledIfSecondRateIsSmallerWithSameCallback()
141 assertThat(mCarPropertyEventCallbackController.add(mCarPropertyEventCallback, in add_registerCalledIfSecondRateIsBiggerWithDifferentCallback()
156 assertThat(mCarPropertyEventCallbackController.add(mCarPropertyEventCallback, in add_registerNotCalledIfSecondRateIsSmallerWithDifferentCallback()
169 assertThat(mCarPropertyEventCallbackController.add(mCarPropertyEventCallback, in add_returnsFalseIfRegistrationCallbackReturnsFalse()
180 assertThat(mCarPropertyEventCallbackController.add(mCarPropertyEventCallback, in add_registersAgainIfTheFirstCallbackReturnsFalse()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyManagerUnitTest.java93 private CarPropertyManager.CarPropertyEventCallback mCarPropertyEventCallback; field in CarPropertyManagerUnitTest
175 assertThat(mCarPropertyManager.registerCallback(mCarPropertyEventCallback, in registerCallback_returnsFalseIfPropertyIdNotSupportedInVehicle()
184 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, CONTINUOUS_PROPERTY, in registerCallback_registersWithServiceOnFirstCallback()
194 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, CONTINUOUS_PROPERTY, in registerCallback_registersWithMaxUpdateRateOnFirstCallback()
204 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, CONTINUOUS_PROPERTY, in registerCallback_registersWithMinUpdateRateOnFirstCallback()
214 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, ON_CHANGE_PROPERTY, in registerCallback_registersWithOnChangeRateForOnChangeProperty()
223 assertThat(mCarPropertyManager.registerCallback(mCarPropertyEventCallback, STATIC_PROPERTY, in registerCallback_registersWithOnChangeRateForStaticProperty()
235 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, ON_CHANGE_PROPERTY, in registerCallback_returnsFalseForRemoteException()
246 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, ON_CHANGE_PROPERTY, in registerCallback_recoversAfterFirstRemoteException()
249 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, ON_CHANGE_PROPERTY, in registerCallback_recoversAfterFirstRemoteException()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnitsBasePreferenceController.java48 carPropertyManager.registerCallback(mCarPropertyEventCallback,
75 protected final CarPropertyManager.CarPropertyEventCallback mCarPropertyEventCallback = field in UnitsBasePreferenceController
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/
DUnitsBasePreferenceControllerTest.java159 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
170 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitAbbreviationAsSummary()
DUnitsVolumePreferenceControllerTest.java112 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsPressurePreferenceControllerTest.java114 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsFuelConsumptionPreferenceControllerTest.java116 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsTemperaturePreferenceControllerTest.java113 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsEnergyConsumptionPreferenceControllerTest.java117 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsDistancePreferenceControllerTest.java112 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
DUnitsSpeedPreferenceControllerTest.java114 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DSensorsTestFragment.java112 private final CarPropertyManager.CarPropertyEventCallback mCarPropertyEventCallback = field in SensorsTestFragment
200 mCarPropertyManager.unregisterCallback(mCarPropertyEventCallback); in onPause()
229 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, in initCarSensor()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DClusterViewModel.java114 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, in registerCarPropertiesListener()
123 private CarPropertyManager.CarPropertyEventCallback mCarPropertyEventCallback = field in ClusterViewModel
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/
DClusterViewModel.java111 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, in registerCarPropertiesListener()
120 private CarPropertyEventCallback mCarPropertyEventCallback = new CarPropertyEventCallback() { field in ClusterViewModel