Home
last modified time | relevance | path

Searched refs:mPropertyIds (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/car/src/android/car/cts/
DCarPropertyManagerTest.java59 private ArraySet<Integer> mPropertyIds = new ArraySet<>(); field in CarPropertyManagerTest
108 mPropertyIds.add(VehiclePropertyIds.PERF_VEHICLE_SPEED); in setUp()
109 mPropertyIds.add(VehiclePropertyIds.GEAR_SELECTION); in setUp()
110 mPropertyIds.add(VehiclePropertyIds.NIGHT_MODE); in setUp()
117 List<CarPropertyConfig> requiredConfigs = mCarPropertyManager.getPropertyList(mPropertyIds); in testGetPropertyList()
119 assertEquals(mPropertyIds.size(), requiredConfigs.size()); in testGetPropertyList()
126 List<CarPropertyConfig> configs = mCarPropertyManager.getPropertyList(mPropertyIds); in testGetProperty()
160 List<CarPropertyConfig> configs = mCarPropertyManager.getPropertyList(mPropertyIds); in testIsPropertyAvailable()
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DTestPropertyMapper.java27 private final HashMap<String, Integer> mPropertyIds = new HashMap<>(); field in TestPropertyMapper
35 return mPropertyIds.getOrDefault(name, 0); in getId()
129 if (mPropertyIds.containsKey(name)) { in map()
134 return mPropertyIds.computeIfAbsent(name, n -> mNextId++); in map()