Home
last modified time | relevance | path

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

12

/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
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()
125 public VehiclePropConfig build() { in build()
/packages/services/Car/vehicle-hal-support-lib/test/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 …]
/packages/services/Car/car-test-lib/src/android/car/test/util/
DVehicleHalTestingHelper.java18 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
30 public static VehiclePropConfig newConfig(int prop) { in newConfig()
31 VehiclePropConfig config = new VehiclePropConfig(); in newConfig()
41 public static VehiclePropConfig newSubscribableConfig(int prop) { in newSubscribableConfig()
42 VehiclePropConfig config = newConfig(prop); in newSubscribableConfig()
/packages/services/Car/service/src/com/android/car/hal/
DDiagnosticHalService.java29 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
117 protected final SparseArray<VehiclePropConfig> mVehiclePropertyToConfig = new SparseArray<>();
120 protected final SparseArray<VehiclePropConfig> mSensorTypeToConfig = new SparseArray<>();
133 public void takeProperties(Collection<VehiclePropConfig> properties) { in takeProperties()
137 for (VehiclePropConfig vp : properties) { in takeProperties()
162 protected int getTokenForProperty(VehiclePropConfig propConfig) { in getTokenForProperty()
249 VehiclePropConfig propConfig; in requestDiagnosticStart()
278 VehiclePropConfig propConfig; in requestDiagnosticStop()
306 VehiclePropConfig propConfig; in getCurrentDiagnosticValue()
327 private VehiclePropConfig getPropConfig(int halPropId) { in getPropConfig()
[all …]
DPropertyHalService.java33 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
68 private final SparseArray<VehiclePropConfig> mHalPropIdToVehiclePropConfig =
159 VehiclePropConfig p = mHalPropIdToVehiclePropConfig.valueAt(i); in getPropertyList()
188 VehiclePropConfig propConfig; in getProperty()
289 VehiclePropConfig propConfig; in setProperty()
317 VehiclePropConfig cfg = mHalPropIdToVehiclePropConfig.get(halPropId); in subscribeProperty()
386 public void takeProperties(Collection<VehiclePropConfig> allProperties) { in takeProperties()
387 for (VehiclePropConfig p : allProperties) { in takeProperties()
402 VehiclePropConfig customizePermission; in takeProperties()
437 VehiclePropConfig propConfig; in onHalEvents()
[all …]
DVehicleHal.java36 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
114 private final HashMap<Integer, VehiclePropConfig> mAllProperties = new HashMap<>();
200 ArrayList<VehiclePropConfig> configs; in fetchAllPropConfigs()
213 for (VehiclePropConfig p : configs) { in fetchAllPropConfigs()
233 ArrayList<VehiclePropConfig> configsForService = new ArrayList<>(mAllServices.size()); in init()
242 VehiclePropConfig config = mAllProperties.get(propId); in init()
249 VehiclePropConfig config = mAllProperties.get(prop); in init()
361 VehiclePropConfig config; in subscribeProperty()
398 VehiclePropConfig config; in unsubscribeProperty()
574 static boolean isPropertySubscribable(VehiclePropConfig config) { in isPropertySubscribable()
[all …]
DPowerHalService.java31 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
196 private final HashMap<Integer, VehiclePropConfig> mProperties = new HashMap<>();
303 VehiclePropConfig prop = mProperties.get(DISPLAY_BRIGHTNESS); in sendDisplayBrightness()
356 VehiclePropConfig config; in isConfigFlagSet()
377 for (VehiclePropConfig config : mProperties.values()) { in init()
382 VehiclePropConfig brightnessProperty = mProperties.get(DISPLAY_BRIGHTNESS); in init()
408 public void takeProperties(Collection<VehiclePropConfig> properties) { in takeProperties()
413 for (VehiclePropConfig config : properties) { in takeProperties()
DEvsHalService.java29 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
58 private final SparseArray<VehiclePropConfig> mProperties = new SparseArray();
111 VehiclePropConfig config = mProperties.valueAt(i); in init()
133 public void takeProperties(Collection<VehiclePropConfig> configs) { in takeProperties()
139 for (VehiclePropConfig config : configs) { in takeProperties()
DHalServiceBase.java21 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
82 public abstract void takeProperties(@NonNull Collection<VehiclePropConfig> properties); in takeProperties()
DClusterHalService.java30 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
148 public void takeProperties(@NonNull Collection<VehiclePropConfig> properties) { in takeProperties()
150 for (VehiclePropConfig property : properties) { in takeProperties()
DInputHalService.java35 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
191 public void takeProperties(Collection<VehiclePropConfig> properties) { in takeProperties()
192 for (VehiclePropConfig property : properties) { in takeProperties()
DUserHalService.java52 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
119 private SparseArray<VehiclePropConfig> mProperties;
166 VehiclePropConfig config = mProperties.valueAt(i); in init()
223 public void takeProperties(Collection<VehiclePropConfig> properties) { in takeProperties()
228 SparseArray<VehiclePropConfig> supportedProperties = new SparseArray<>(5); in takeProperties()
229 for (VehiclePropConfig config : properties) { in takeProperties()
DHalClient.java25 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
84 ArrayList<VehiclePropConfig> getAllPropConfigs() throws RemoteException { in getAllPropConfigs()
DCarPropertyUtils.java27 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
259 static CarPropertyConfig<?> toCarPropertyConfig(VehiclePropConfig p, int propertyId) { in toCarPropertyConfig()
DVmsHalService.java31 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
182 public void takeProperties(Collection<VehiclePropConfig> properties) { in takeProperties()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DEvsHalServiceTest.java33 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
60 private static final VehiclePropConfig EVS_SERVICE_REQUEST =
82 Set<VehiclePropConfig> offeredProps = ImmutableSet.of( in takesEvsServiceRequestProperty()
140 private void subscribeListener(Collection<VehiclePropConfig> properties) { in subscribeListener()
145 for (VehiclePropConfig config : properties) { in subscribeListener()
DVehicleHalTest.java34 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
75 private final ArrayList<VehiclePropConfig> mConfigs = new ArrayList<>();
88 VehiclePropConfig powerHalConfig = new VehiclePropConfig(); in setUp()
98 VehiclePropConfig propertyHalConfig = new VehiclePropConfig(); in setUp()
DVmsHalServiceTest.java38 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
105 VehiclePropConfig propConfig = new VehiclePropConfig(); in initHalService()
157 VehiclePropConfig propConfig = new VehiclePropConfig(); in testCoreId_IntegerOverflow()
174 VehiclePropConfig vmsPropConfig = new VehiclePropConfig(); in testTakeSupportedProperties()
177 VehiclePropConfig otherPropConfig = new VehiclePropConfig(); in testTakeSupportedProperties()
DInputHalServiceTest.java40 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig;
72 private static final VehiclePropConfig HW_KEY_INPUT_CONFIG =
74 private static final VehiclePropConfig HW_ROTARY_INPUT_CONFIG =
76 private static final VehiclePropConfig HW_CUSTOM_INPUT_CONFIG =
110 Set<VehiclePropConfig> offeredProps = ImmutableSet.of( in takesKeyInputProperty()
124 Set<VehiclePropConfig> offeredProps = ImmutableSet.of( in takesRotaryInputProperty()
138 Set<VehiclePropConfig> offeredProps = ImmutableSet.of( in takesCustomInputProperty()
152 Set<VehiclePropConfig> offeredProps = ImmutableSet.of( in takesKeyAndRotaryAndCustomInputProperty()
/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;
84 final List<VehiclePropConfig> propConfigList; in onResume()
104 public final VehiclePropConfig config;
106 HalPropertyInfo(VehiclePropConfig config) { in HalPropertyInfo()
/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/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/tools/emulator/
DVehicleHalProto_pb2.py578 VehiclePropConfig = _reflection.GeneratedProtocolMessageType('VehiclePropConfig', (_message.Message… variable
583 _sym_db.RegisterMessage(VehiclePropConfig)

12