Home
last modified time | relevance | path

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

/packages/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/
DHidlVehiclePropConfigBuilder.java43 mConfig.changeMode = VehiclePropertyChangeMode.ON_CHANGE; in HidlVehiclePropConfigBuilder()
51 newConfig.changeMode = propConfig.changeMode; in clone()
78 public HidlVehiclePropConfigBuilder setChangeMode(int changeMode) { in setChangeMode() argument
79 mConfig.changeMode = changeMode; in setChangeMode()
DAidlVehiclePropConfigBuilder.java42 mConfig.changeMode = VehiclePropertyChangeMode.ON_CHANGE; in AidlVehiclePropConfigBuilder()
52 newConfig.changeMode = propConfig.changeMode; in clone()
90 public AidlVehiclePropConfigBuilder setChangeMode(int changeMode) { in setChangeMode() argument
91 mConfig.changeMode = changeMode; in setChangeMode()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVhalConfigParserUnitTest.java410 int changeMode = mFakeVhalConfigParser.parseJsonConfig(tempFile) in testParseChangeModeFieldOverride() local
411 .get(VehicleProperty.PERF_VEHICLE_SPEED_DISPLAY).getConfig().changeMode; in testParseChangeModeFieldOverride()
413 assertThat(changeMode).isEqualTo(VehiclePropertyChangeMode.ON_CHANGE); in testParseChangeModeFieldOverride()
414 assertThat(changeMode).isNotEqualTo(ChangeModeForVehicleProperty.values in testParseChangeModeFieldOverride()
424 int changeMode = mFakeVhalConfigParser.parseJsonConfig(tempFile) in testParseChangeModeFieldNotSpecifiedDefaultChangeModeValueExist() local
425 .get(VehicleProperty.PERF_VEHICLE_SPEED_DISPLAY).getConfig().changeMode; in testParseChangeModeFieldNotSpecifiedDefaultChangeModeValueExist()
427 assertThat(changeMode).isEqualTo(ChangeModeForVehicleProperty.values in testParseChangeModeFieldNotSpecifiedDefaultChangeModeValueExist()
768 vehiclePropConfig.changeMode = VehiclePropertyChangeMode.STATIC; in testParseJsonConfig()
790 assertThat(expectConfigDeclaration.getConfig().changeMode).isEqualTo(0); in testParseJsonConfig()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java65 private CarPropertyConfig(int access, int areaType, int changeMode, in CarPropertyConfig() argument
71 mChangeMode = changeMode; in CarPropertyConfig()
685 public Builder<T> setChangeMode(int changeMode) {
686 mChangeMode = changeMode;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyTestFragment.java346 int changeMode = info.mConfig.getChangeMode(); in onItemSelected() local
354 if (changeMode == CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_STATIC) { in onItemSelected()
357 } else if (changeMode == CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE) { in onItemSelected()
360 } else if (changeMode == CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_CONTINUOUS) { in onItemSelected()
454 && (changeMode != CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_CONTINUOUS in onItemSelected()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java978 int changeMode = mPropConfigsByPropId.get(propId).getChangeMode(); in subscribe() local
979 switch (changeMode) { in subscribe()
993 Slogf.w(TAG, "This change mode: %d is not supported.", changeMode); in subscribe()
1075 int changeMode = mPropConfigsByPropId.get(propId).getChangeMode(); in unsubscribe() local
1076 switch (changeMode) { in unsubscribe()
1087 Slogf.w(TAG, "This change mode: %d is not supported.", changeMode); in unsubscribe()
DFakeVhalConfigParser.java348 vehiclePropConfig.changeMode = parseIntValue(reader, fieldName, errors); in parseEachProperty()
405 vehiclePropConfig.changeMode = ChangeModeForVehicleProperty.values in parseEachProperty()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVehicleHalTestingHelper.java49 config.changeMode = VehiclePropertyChangeMode.ON_CHANGE; in newSubscribableConfig()
DHalPropConfigTest.java104 hidlConfig.changeMode = TEST_CHANGE_MODE; in getTestHidlPropConfig()
116 aidlConfig.changeMode = TEST_CHANGE_MODE; in getTestVendorAidlPropConfig()
129 aidlConfig.changeMode = TEST_CHANGE_MODE; in getTestAidlPropConfig()
457 aidlVehiclePropConfig.changeMode = VehiclePropertyChangeMode.STATIC; in toCarPropertyConfig_aidlSkipsSupportedEnumValuesIfNonOnChangeProperty()
DVehicleHalTest.java230 powerHalConfig.changeMode = VehiclePropertyChangeMode.ON_CHANGE;
238 propertyHalConfig.changeMode = VehiclePropertyChangeMode.STATIC;
246 writeOnlyConfig.changeMode = VehiclePropertyChangeMode.ON_CHANGE;
254 propertyHalConfig.changeMode = VehiclePropertyChangeMode.CONTINUOUS;
298 continuousPropConfig.changeMode = VehiclePropertyChangeMode.CONTINUOUS;
309 staticPropConfig.changeMode = VehiclePropertyChangeMode.STATIC;
320 continuousPropConfig.changeMode = VehiclePropertyChangeMode.CONTINUOUS;
/packages/services/Car/service/src/com/android/car/hal/
DHidlHalPropConfig.java68 return mConfig.changeMode; in getChangeMode()
DAidlHalPropConfig.java82 return mConfig.changeMode; in getChangeMode()
/packages/services/Car/service/src/com/android/car/hal/property/
DHalPropertyDebugUtils.java333 public static String toChangeModeString(int changeMode) { in toChangeModeString() argument
334 return toDebugString(VehiclePropertyChangeMode.class, changeMode); in toChangeModeString()
/packages/services/Car/cpp/vhal/client/src/
DHidlHalPropConfig.cpp55 return toInt(mPropConfig.changeMode); in getChangeMode()
DAidlHalPropConfig.cpp59 return toInt(mPropConfig.changeMode); in getChangeMode()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1263 method TIRAMISU_0 Builder<T> setChangeMode(int changeMode);