Home
last modified time | relevance | path

Searched refs:VehiclePropConfig (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/service/src/com/android/car/hal/
DDiagnosticHalService.java27 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
102 protected final SparseArray<VehiclePropConfig> mVehiclePropertyToConfig = new SparseArray<>();
105 protected final SparseArray<VehiclePropConfig> mSensorTypeToConfig = new SparseArray<>();
113 public Collection<VehiclePropConfig> takeSupportedProperties( in takeSupportedProperties()
114 Collection<VehiclePropConfig> allProperties) { in takeSupportedProperties()
118 LinkedList<VehiclePropConfig> supportedProperties = new LinkedList<VehiclePropConfig>(); in takeSupportedProperties()
119 for (VehiclePropConfig vp : allProperties) { in takeSupportedProperties()
146 protected int getTokenForProperty(VehiclePropConfig propConfig) { in getTokenForProperty()
232 VehiclePropConfig propConfig; in requestDiagnosticStart()
261 VehiclePropConfig propConfig; in requestDiagnosticStop()
[all …]
DVehicleHal.java31 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
86 private final HashMap<Integer, VehiclePropConfig> mAllProperties = new HashMap<>();
141 Set<VehiclePropConfig> properties; in init()
150 for (VehiclePropConfig p : properties) { in init()
156 Collection<VehiclePropConfig> taken = service.takeSupportedProperties(properties); in init()
164 for (VehiclePropConfig p: taken) { in init()
251 VehiclePropConfig config; in subscribeProperty()
283 VehiclePropConfig config; in unsubscribeProperty()
310 public Collection<VehiclePropConfig> getAllPropConfigs() { in getAllPropConfigs()
404 static boolean isPropertySubscribable(VehiclePropConfig config) { in isPropertySubscribable()
[all …]
DPowerHalService.java29 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
169 private final HashMap<Integer, VehiclePropConfig> mProperties = new HashMap<>();
310 VehiclePropConfig config = mProperties.get(VehicleProperty.AP_POWER_STATE_REQ); in isConfigFlagSet()
329 for (VehiclePropConfig config : mProperties.values()) { in init()
334 VehiclePropConfig brightnessProperty = mProperties.get(DISPLAY_BRIGHTNESS); in init()
352 public synchronized Collection<VehiclePropConfig> takeSupportedProperties( in takeSupportedProperties()
353 Collection<VehiclePropConfig> allProperties) { in takeSupportedProperties()
354 for (VehiclePropConfig config : allProperties) { in takeSupportedProperties()
DInputHalService.java22 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
109 public Collection<VehiclePropConfig> takeSupportedProperties( in takeSupportedProperties()
110 Collection<VehiclePropConfig> allProperties) { in takeSupportedProperties()
111 List<VehiclePropConfig> supported = new LinkedList<>(); in takeSupportedProperties()
112 for (VehiclePropConfig p: allProperties) { in takeSupportedProperties()
DPropertyHalService.java27 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
278 public Collection<VehiclePropConfig> takeSupportedProperties( in takeSupportedProperties()
279 Collection<VehiclePropConfig> allProperties) { in takeSupportedProperties()
280 List<VehiclePropConfig> taken = new LinkedList<>(); in takeSupportedProperties()
282 for (VehiclePropConfig p : allProperties) { in takeSupportedProperties()
DHalServiceBase.java21 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
60 public Collection<VehiclePropConfig> takeSupportedProperties( in takeSupportedProperties()
61 Collection<VehiclePropConfig> allProperties) { in takeSupportedProperties()
DVmsHalService.java34 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
236 public Collection<VehiclePropConfig> takeSupportedProperties( in takeSupportedProperties()
237 Collection<VehiclePropConfig> allProperties) { in takeSupportedProperties()
238 for (VehiclePropConfig p : allProperties) { in takeSupportedProperties()
DHalClient.java25 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
68 ArrayList<VehiclePropConfig> getAllPropConfigs() throws RemoteException { in getAllPropConfigs()
DCarPropertyUtils.java27 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
137 static CarPropertyConfig<?> toCarPropertyConfig(VehiclePropConfig p, int propertyId) { in toCarPropertyConfig()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DMockedVehicleHal.java29 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
59 private final Map<Integer, VehiclePropConfig> mConfigs = new HashMap<>();
62 public synchronized void addProperties(VehiclePropConfig... configs) { in addProperties()
63 for (VehiclePropConfig config : configs) { in addProperties()
68 public synchronized void addProperty(VehiclePropConfig config, in addProperty()
74 public synchronized void addStaticProperty(VehiclePropConfig config, in addStaticProperty()
138 public synchronized ArrayList<VehiclePropConfig> getAllPropConfigs() { in getAllPropConfigs()
144 ArrayList<VehiclePropConfig> res = new ArrayList<>(); in getPropConfigs()
146 VehiclePropConfig config = mConfigs.get(prop); in getPropConfigs()
266 private final VehiclePropConfig mConfig;
[all …]
DVehiclePropConfigBuilder.java21 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
32 private final VehiclePropConfig mConfig;
40 mConfig = new VehiclePropConfig(); in VehiclePropConfigBuilder()
46 private VehiclePropConfig clone(VehiclePropConfig propConfig) { in clone()
47 VehiclePropConfig newConfig = new VehiclePropConfig(); in clone()
117 public VehiclePropConfig build() { in build()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVmsHalServiceTest.java33 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
96 VehiclePropConfig propConfig = new VehiclePropConfig(); in setUp()
154 VehiclePropConfig propConfig = new VehiclePropConfig(); in testCoreId_IntegerOverflow()
171 VehiclePropConfig vmsPropConfig = new VehiclePropConfig(); in testTakeSupportedProperties()
174 VehiclePropConfig otherPropConfig = new VehiclePropConfig(); in testTakeSupportedProperties()
DInputHalServiceTest.java30 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
66 private static final VehiclePropConfig HW_KEY_INPUT_CONFIG =
100 Set<VehiclePropConfig> offeredProps = ImmutableSet.of( in takesKeyInputProperty()
105 Collection<VehiclePropConfig> takenProps = in takesKeyInputProperty()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
DDiagnosticJsonReader.java22 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
34 public DiagnosticJsonReader(VehiclePropConfig liveConfig, VehiclePropConfig freezeConfig) { in DiagnosticJsonReader()
DDiagnosticEventBuilder.java19 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
101 public DiagnosticEventBuilder(VehiclePropConfig propConfig) { in DiagnosticEventBuilder()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vhal/
DVehicleHalFragment.java23 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
77 final List<VehiclePropConfig> propConfigList; in onResume()
97 public final VehiclePropConfig config;
99 HalPropertyInfo(VehiclePropConfig config) { in HalPropertyInfo()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarVendorExtensionManagerTest.java30 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
93 private static final VehiclePropConfig mConfigs[] = new VehiclePropConfig[] {
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DUtils.java24 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
46 .anyMatch((VehiclePropConfig config) -> config.prop == prop); in isVhalPropertyAvailable()
/packages/services/Car/tools/emulator/
DVehicleHalProto_pb2.py547 class VehiclePropConfig(_message.Message): class