/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/ |
D | CarPropertyEventCallbackControllerUnitTest.java | 88 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/ |
D | CarPropertyManagerUnitTest.java | 93 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/ |
D | UnitsBasePreferenceController.java | 48 carPropertyManager.registerCallback(mCarPropertyEventCallback, 75 protected final CarPropertyManager.CarPropertyEventCallback mCarPropertyEventCallback = field in UnitsBasePreferenceController
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/ |
D | UnitsBasePreferenceControllerTest.java | 159 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue() 170 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitAbbreviationAsSummary()
|
D | UnitsVolumePreferenceControllerTest.java | 112 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
|
D | UnitsPressurePreferenceControllerTest.java | 114 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
|
D | UnitsFuelConsumptionPreferenceControllerTest.java | 116 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
|
D | UnitsTemperaturePreferenceControllerTest.java | 113 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
|
D | UnitsEnergyConsumptionPreferenceControllerTest.java | 117 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
|
D | UnitsDistancePreferenceControllerTest.java | 112 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
|
D | UnitsSpeedPreferenceControllerTest.java | 114 mPreferenceController.mCarPropertyEventCallback.onChangeEvent(mCarPropertyValue); in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/ |
D | SensorsTestFragment.java | 112 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/ |
D | ClusterViewModel.java | 114 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, in registerCarPropertiesListener() 123 private CarPropertyManager.CarPropertyEventCallback mCarPropertyEventCallback = field in ClusterViewModel
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | ClusterViewModel.java | 111 mCarPropertyManager.registerCallback(mCarPropertyEventCallback, in registerCarPropertiesListener() 120 private CarPropertyEventCallback mCarPropertyEventCallback = new CarPropertyEventCallback() { field in ClusterViewModel
|