Home
last modified time | relevance | path

Searched refs:CarPropertyConfig (Results 1 – 25 of 32) sorted by relevance

12

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarPropertyConfigTest.java19 import android.car.hardware.CarPropertyConfig;
32 private CarPropertyConfig<Float> createFloatPropertyConfig() { in createFloatPropertyConfig()
33 CarPropertyConfig<Float> config = CarPropertyConfig in createFloatPropertyConfig()
55 CarPropertyConfig<Float> config = createFloatPropertyConfig(); in testWriteReadFloat()
58 CarPropertyConfig<Float> configRead = readFromParcel(); in testWriteReadFloat()
76 CarPropertyConfig<Integer> config = CarPropertyConfig in testWriteReadIntegerValue()
82 CarPropertyConfig<Integer> configRead = readFromParcel(); in testWriteReadIntegerValue()
99 CarPropertyConfig<Long> config = CarPropertyConfig in testWriteReadLongValue()
105 CarPropertyConfig<Long> configRead = readFromParcel(); in testWriteReadLongValue()
120 CarPropertyConfig<Integer[]> config = CarPropertyConfig in testWriteReadIntegerArray()
[all …]
DCarHvacManagerTest.java19 import android.car.hardware.CarPropertyConfig;
44 List<CarPropertyConfig> properties = mHvacManager.getPropertyList(); in testAllHvacProperties()
48 for (CarPropertyConfig property : properties) { in testAllHvacProperties()
63 private void assertTypeAndZone(CarPropertyConfig property) { in assertTypeAndZone()
106 …private void checkTypeAndGlobal(Class clazz, boolean global, CarPropertyConfig<Integer> property) { in checkTypeAndGlobal()
114 private void checkIntMinMax(CarPropertyConfig<Integer> property) { in checkIntMinMax()
139 private void checkFloatMinMax(CarPropertyConfig<Float> property) { in checkFloatMinMax()
DCarCabinManagerTest.java19 import android.car.hardware.CarPropertyConfig;
43 List<CarPropertyConfig> properties = mCabinManager.getPropertyList(); in testAllCabinProperties()
47 for (CarPropertyConfig property : properties) { in testAllCabinProperties()
56 private void assertTypeAndZone(CarPropertyConfig property) { in assertTypeAndZone()
115 private void checkIntMinMax(CarPropertyConfig<Integer> property) { in checkIntMinMax()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java21 import android.car.hardware.CarPropertyConfig;
87 private List<CarPropertyConfig> mCarPropertyConfigs;
212 for (CarPropertyConfig prop : mCarPropertyConfigs) { in onCreateView()
289 private void configureOutsideTemp(View v, CarPropertyConfig prop) { in configureOutsideTemp()
293 private void configureDualOn(View v, CarPropertyConfig prop) { in configureDualOn()
304 private void configureAcOn(View v, CarPropertyConfig prop) { in configureAcOn()
315 private void configureAutoModeOn(View v, CarPropertyConfig prop) { in configureAutoModeOn()
327 private void configureFanPosition(View v, CarPropertyConfig prop) { in configureFanPosition()
379 private void configureFanSpeed(View v, CarPropertyConfig prop) { in configureFanSpeed()
420 private void configureTempSetpoint(View v, CarPropertyConfig prop) { in configureTempSetpoint()
[all …]
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java47 public final class CarPropertyConfig<T> implements Parcelable { class
59 private CarPropertyConfig(int access, int areaType, int changeMode, in CarPropertyConfig() method in CarPropertyConfig
353 private CarPropertyConfig(Parcel in) { in CarPropertyConfig() method in CarPropertyConfig
381 public static final Creator<CarPropertyConfig> CREATOR = new Creator<CarPropertyConfig>() {
383 public CarPropertyConfig createFromParcel(Parcel in) {
384 return new CarPropertyConfig(in);
388 public CarPropertyConfig[] newArray(int size) {
389 return new CarPropertyConfig[size];
619 public CarPropertyConfig<T> build() {
620 return new CarPropertyConfig<>(mAccess, mAreaType, mChangeMode, mConfigArray,
DCarVendorExtensionManager.java113 List<CarPropertyConfig> configs = mPropertyManager.getPropertyList(); in registerCallback()
114 for (CarPropertyConfig c : configs) { in registerCallback()
126 List<CarPropertyConfig> configs = mPropertyManager.getPropertyList(); in unregisterCallback()
127 for (CarPropertyConfig c : configs) { in unregisterCallback()
138 public List<CarPropertyConfig> getProperties() { in getProperties()
DCarSensorManager.java327 List<CarPropertyConfig> carPropertyConfigList = getPropertyList(); in getSupportedSensors()
340 public List<CarPropertyConfig> getPropertyList() { in getPropertyList()
507 List<CarPropertyConfig> propertyConfigs = mCarPropertyMgr.getPropertyList(); in getSensorConfig()
508 for (CarPropertyConfig p : propertyConfigs) { in getSensorConfig()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java26 import android.car.hardware.CarPropertyConfig;
61 private final SparseArray<CarPropertyConfig> mConfigMap = new SparseArray<>();
105 List<CarPropertyConfig> configs = mService.getPropertyList(); in CarPropertyManager()
106 for (CarPropertyConfig carPropertyConfig : configs) { in CarPropertyManager()
180 CarPropertyConfig config = mConfigMap.get(propertyId); in registerCallback()
185 if (config.getChangeMode() == CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE) { in registerCallback()
294 public List<CarPropertyConfig> getPropertyList() { in getPropertyList()
295 List<CarPropertyConfig> configs = new ArrayList<>(mConfigMap.size()); in getPropertyList()
308 public List<CarPropertyConfig> getPropertyList(@NonNull ArraySet<Integer> propertyIds) { in getPropertyList()
309 List<CarPropertyConfig> configs = new ArrayList<>(); in getPropertyList()
[all …]
DICarProperty.aidl19 import android.car.hardware.CarPropertyConfig;
32 List<CarPropertyConfig> getPropertyList() = 2; in getPropertyList()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DE2ePerformanceTest.java26 import android.car.hardware.CarPropertyConfig;
179 CarPropertyConfig<Float> cfg = findHvacPropConfig(Float.class, PROP, mgr); in benchmarkSetGetFromSingleClientMultipleThreads()
206 private long stressTestHvacProperties(CarHvacManager mgr, CarPropertyConfig<Float> cfg, in stressTestHvacProperties()
229 CarPropertyConfig<Float> cfg, int areaId, CountDownLatch counter) { in invokeSetAndGetForHvacFloat()
249 private <T> CarPropertyConfig<T> findHvacPropConfig( in findHvacPropConfig()
251 for (CarPropertyConfig<?> cfg : mgr.getPropertyList()) { in findHvacPropConfig()
253 return (CarPropertyConfig<T>) cfg; in findHvacPropConfig()
/packages/services/Car/car-lib/src/android/car/hardware/hvac/
DCarHvacManager.java23 import android.car.hardware.CarPropertyConfig;
319 List<CarPropertyConfig> configs = getPropertyList(); in registerCallback()
320 for (CarPropertyConfig c : configs) { in registerCallback()
335 List<CarPropertyConfig> configs = getPropertyList(); in unregisterCallback()
336 for (CarPropertyConfig c : configs) { in unregisterCallback()
354 public List<CarPropertyConfig> getPropertyList() { in getPropertyList()
/packages/services/Car/car-lib/src/android/car/hardware/cabin/
DCarCabinManager.java23 import android.car.hardware.CarPropertyConfig;
494 List<CarPropertyConfig> configs = getPropertyList(); in registerCallback()
495 for (CarPropertyConfig c : configs) { in registerCallback()
509 List<CarPropertyConfig> configs = getPropertyList(); in unregisterCallback()
510 for (CarPropertyConfig c : configs) { in unregisterCallback()
523 public List<CarPropertyConfig> getPropertyList() { in getPropertyList()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java26 import android.car.hardware.CarPropertyConfig;
50 private final Map<Integer, CarPropertyConfig> mConfigs = new HashMap<>();
85 public List<CarPropertyConfig> getPropertyList() throws RemoteException { in getPropertyList()
115 CarPropertyConfig.Builder<?> builder = CarPropertyConfig in addProperty()
126 public CarPropertyController addProperty(CarPropertyConfig<?> config, in addProperty()
DCarPropertyController.java20 import android.car.hardware.CarPropertyConfig;
42 CarPropertyController addProperty(CarPropertyConfig<?> config, in addProperty()
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java24 import android.car.hardware.CarPropertyConfig;
52 private final Map<Integer, CarPropertyConfig<?>> mProps =
130 public Map<Integer, CarPropertyConfig<?>> getPropertyList() { in getPropertyList()
227 CarPropertyConfig cfg = mProps.get(propId); in subscribeProperty()
292 CarPropertyConfig config = CarPropertyUtils.toCarPropertyConfig(p, p.prop); in takeSupportedProperties()
349 for (CarPropertyConfig prop : mProps.values()) { in dump()
DCarPropertyUtils.java23 import android.car.hardware.CarPropertyConfig;
137 static CarPropertyConfig<?> toCarPropertyConfig(VehiclePropConfig p, int propertyId) { in toCarPropertyConfig()
147 return CarPropertyConfig in toCarPropertyConfig()
158 CarPropertyConfig.Builder builder = CarPropertyConfig in toCarPropertyConfig()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java22 import android.car.hardware.CarPropertyConfig;
57 private Map<Integer, CarPropertyConfig<?>> mConfigs;
298 public List<CarPropertyConfig> getPropertyList() { in getPropertyList()
299 List<CarPropertyConfig> returnList = new ArrayList<CarPropertyConfig>(); in getPropertyList()
300 for (CarPropertyConfig c : mConfigs.values()) { in getPropertyList()
DCarDrivingStateService.java26 import android.car.hardware.CarPropertyConfig;
119 List<CarPropertyConfig> configs = mPropertyService.getPropertyList(); in checkPropertySupport()
122 for (CarPropertyConfig config : configs) { in checkPropertySupport()
411 List<CarPropertyConfig> properyList = mPropertyService.getPropertyList(); in getSupportedGears()
412 for (CarPropertyConfig p : properyList) { in getSupportedGears()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyInfo.java19 import android.car.hardware.CarPropertyConfig;
23 public final CarPropertyConfig mConfig;
27 PropertyInfo(CarPropertyConfig config) { in PropertyInfo()
DPropertyListAdapter.java21 import android.car.hardware.CarPropertyConfig;
92 CarPropertyConfig c = mPropInfo.get(position).mConfig; in getView()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarVendorExtensionManagerTest.java25 import android.car.hardware.CarPropertyConfig;
124 List<CarPropertyConfig> configs = mManager.getProperties(); in testPropertyList()
127 SparseArray<CarPropertyConfig> configById = new SparseArray<>(configs.size()); in testPropertyList()
128 for (CarPropertyConfig config : configs) { in testPropertyList()
132 CarPropertyConfig prop1 = configById.get(CUSTOM_GLOBAL_INT_PROP_ID); in testPropertyList()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacPolicy.java18 import android.car.hardware.CarPropertyConfig;
32 public HvacPolicy(Context context, List<CarPropertyConfig> properties) { in HvacPolicy()
34 for (CarPropertyConfig config : properties) { in HvacPolicy()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DSensorsTestFragment.java25 import android.car.hardware.CarPropertyConfig;
103 private List<CarPropertyConfig> mPropertyList;
184 for (CarPropertyConfig property : mPropertyList) { in initSensors()
187 == CarPropertyConfig.VEHICLE_PROPERTY_CHANGE_MODE_ONCHANGE) { in initSensors()
255 for (CarPropertyConfig property : mPropertyList) { in refreshSensorInfoText()
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DCarUnitsManager.java23 import android.car.hardware.CarPropertyConfig;
108 List<CarPropertyConfig> configs = mCarPropertyManager.getPropertyList(propertyIdSet); in getUnitsSupportedByProperty()
/packages/services/Car/car-lib/api/
Dbaseline.txt3 …ensorManager.getPropertyList() references hidden type class android.car.hardware.CarPropertyConfig.
25 …Class android.car.hardware.CarPropertyConfig is hidden but was referenced (as return type paramete…

12