/aosp12/packages/services/Car/car-test-lib/src/android/car/test/util/ |
H A D | VehicleHalTestingHelper.java | 18 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()
|
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
H A D | VehiclePropConfigIndex.h | 37 const std::vector<VehiclePropConfig>& properties) in VehiclePropConfigIndex() 45 const VehiclePropConfig& getConfig(int32_t property) const { in getConfig() 49 const std::vector<VehiclePropConfig>& getAllConfigs() const { in getAllConfigs() 54 typedef KeyedVector<int32_t, const VehiclePropConfig*> PropConfigMap; 57 ImmutablePropConfigMap(const std::vector<VehiclePropConfig>& configs) { in ImmutablePropConfigMap() 69 const std::vector<VehiclePropConfig> mConfigs;
|
H A D | VehiclePropertyStore.h | 50 VehiclePropConfig propConfig; 67 void registerProperty(const VehiclePropConfig& config, TokenFunction tokenFunc = nullptr); 82 std::vector<VehiclePropConfig> getAllConfigs() const; 83 const VehiclePropConfig* getConfigOrNull(int32_t propId) const; 84 const VehiclePropConfig* getConfigOrDie(int32_t propId) const;
|
H A D | VehicleHalManager.h | 98 const VehiclePropConfig* getPropConfigOrNull(int32_t prop) const; 100 bool checkWritePermission(const VehiclePropConfig &config) const; 101 bool checkReadPermission(const VehiclePropConfig &config) const; 109 void cmdDumpOneProperty(int fd, int rowNumber, const VehiclePropConfig& config); 126 static bool isSubscribable(const VehiclePropConfig& config, 129 static float checkSampleRate(const VehiclePropConfig& config,
|
/aosp12/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
H A D | VehiclePropConfigBuilder.java | 21 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()
|
/aosp12/packages/services/Car/vehicle-hal-support-lib/test/com/android/car/vehiclehal/test/ |
H A D | MockedVehicleHal.java | 29 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 …]
|
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
H A D | ProtoMessageConverter.h | 36 void toProto(vhal_proto::VehiclePropConfig* protoCfg, const VehiclePropConfig& cfg); 38 void fromProto(VehiclePropConfig* cfg, const vhal_proto::VehiclePropConfig& protoCfg);
|
H A D | VehicleEmulator.cpp | 80 std::vector<VehiclePropConfig> configs = mHal->listProperties(); in doGetConfig() 89 vhal_proto::VehiclePropConfig* protoCfg = respMsg.add_config(); in doGetConfig() 99 std::vector<VehiclePropConfig> configs = mHal->listProperties(); in doGetConfigAll() 105 vhal_proto::VehiclePropConfig* protoCfg = respMsg.add_config(); in doGetConfigAll() 219 void VehicleEmulator::populateProtoVehicleConfig(vhal_proto::VehiclePropConfig* protoCfg, in populateProtoVehicleConfig() 220 const VehiclePropConfig& cfg) { in populateProtoVehicleConfig()
|
H A D | EmulatedVehicleHal.h | 55 std::vector<VehiclePropConfig> listProperties() override; 79 void initObd2LiveFrame(const VehiclePropConfig& propConfig); 80 void initObd2FreezeFrame(const VehiclePropConfig& propConfig);
|
H A D | ProtoMessageConverter.cpp | 73 void toProto(vhal_proto::VehiclePropConfig* protoCfg, const VehiclePropConfig& cfg) { in toProto() 124 void fromProto(VehiclePropConfig* cfg, const vhal_proto::VehiclePropConfig& protoCfg) { in fromProto()
|
/aosp12/packages/services/Car/service/src/com/android/car/hal/ |
H A D | DiagnosticHalService.java | 29 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 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() 328 VehiclePropConfig config; in getPropConfig() [all …]
|
H A D | PropertyHalService.java | 33 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 …]
|
H A D | EvsHalService.java | 29 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()
|
H A D | VehicleHal.java | 37 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 215 ArrayList<VehiclePropConfig> configs; in fetchAllPropConfigs() 228 for (VehiclePropConfig p : configs) { in fetchAllPropConfigs() 380 VehiclePropConfig config; in subscribeProperty() 417 VehiclePropConfig config; in unsubscribeProperty() 600 static boolean isPropertySubscribable(VehiclePropConfig config) { in isPropertySubscribable() 720 for (VehiclePropConfig config : mAllProperties.values()) { in dumpPropertyValueByCommend() 724 VehiclePropConfig config = mAllProperties.get(propId); in dumpPropertyValueByCommend() 777 List<VehiclePropConfig> configList; in dumpPropertyConfigs() 784 for (VehiclePropConfig config : configList) { in dumpPropertyConfigs() [all …]
|
H A D | PowerHalService.java | 31 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()
|
H A D | TimeHalService.java | 31 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 103 public void takeProperties(Collection<VehiclePropConfig> properties) { in takeProperties() 104 for (VehiclePropConfig property : properties) { in takeProperties()
|
/aosp12/hardware/interfaces/automotive/vehicle/2.0/vts/functional/ |
H A D | VtsHalAutomotiveVehicleV2_0TargetTest.cpp | 129 hidl_vec<VehiclePropConfig> propConfigs; in TEST_P() 130 mVehicle->getAllPropConfigs([&isCalled, &propConfigs](const hidl_vec<VehiclePropConfig>& cfgs) { in TEST_P() 147 properties, [&isCalled](StatusCode status, const hidl_vec<VehiclePropConfig>& cfgs) { in TEST_P() 161 properties, [&isCalled](StatusCode status, const hidl_vec<VehiclePropConfig>& cfgs) { in TEST_P() 187 hidl_vec<VehiclePropConfig> propConfigs; in TEST_P() 200 [&propConfigs](const hidl_vec<VehiclePropConfig>& cfgs) { propConfigs = cfgs; }); in TEST_P() 201 for (const VehiclePropConfig& cfg : propConfigs) { in TEST_P()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
H A D | EvsHalServiceTest.java | 33 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()
|
H A D | VehicleHalTest.java | 34 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 84 private final ArrayList<VehiclePropConfig> mConfigs = new ArrayList<>(); 98 VehiclePropConfig powerHalConfig = new VehiclePropConfig(); in setUp() 108 VehiclePropConfig propertyHalConfig = new VehiclePropConfig(); in setUp()
|
/aosp12/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
H A D | DiagnosticJsonReader.java | 22 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 34 public DiagnosticJsonReader(VehiclePropConfig liveConfig, VehiclePropConfig freezeConfig) { in DiagnosticJsonReader()
|
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
H A D | VehiclePropertyStore.cpp | 38 void VehiclePropertyStore::registerProperty(const VehiclePropConfig& config, in registerProperty() 124 std::vector<VehiclePropConfig> VehiclePropertyStore::getAllConfigs() const { in getAllConfigs() 126 std::vector<VehiclePropConfig> configs; in getAllConfigs() 134 const VehiclePropConfig* VehiclePropertyStore::getConfigOrNull(int32_t propId) const { in getConfigOrNull() 140 const VehiclePropConfig* VehiclePropertyStore::getConfigOrDie(int32_t propId) const { in getConfigOrDie()
|
H A D | VehicleHalManager.cpp | 80 hidl_vec<VehiclePropConfig> hidlConfigs; in getAllPropConfigs() 84 const_cast<VehiclePropConfig *>(halConfig.data()), in getAllPropConfigs() 94 std::vector<VehiclePropConfig> configs; in getPropConfigs() 101 _hidl_cb(StatusCode::INVALID_ARG, hidl_vec<VehiclePropConfig>()); in getPropConfigs() 328 void VehicleHalManager::cmdDumpOneProperty(int fd, int rowNumber, const VehiclePropConfig& config) { in cmdDumpOneProperty() 494 float VehicleHalManager::checkSampleRate(const VehiclePropConfig &config, in checkSampleRate() 517 bool VehicleHalManager::isSubscribable(const VehiclePropConfig& config, in isSubscribable() 532 bool VehicleHalManager::checkWritePermission(const VehiclePropConfig &config) const { in checkWritePermission() 541 bool VehicleHalManager::checkReadPermission(const VehiclePropConfig &config) const { in checkReadPermission() 558 const VehiclePropConfig* VehicleHalManager::getPropConfigOrNull( in getPropConfigOrNull()
|
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/tests/ |
H A D | ProtoMessageConverter_test.cpp | 35 void CheckPropConfigConversion(const VehiclePropConfig& config) { in CheckPropConfigConversion() 36 vhal_proto::VehiclePropConfig protoCfg; in CheckPropConfigConversion() 37 VehiclePropConfig tmpConfig; in CheckPropConfigConversion()
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/vhal/ |
H A D | VehicleHalFragment.java | 23 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()
|
/aosp12/packages/services/Car/cpp/security/vehicle_binding_util/tests/ |
H A D | VehicleBindingIntegrationTedt.cpp | 28 using android::hardware::automotive::vehicle::V2_0::VehiclePropConfig; 41 hidl_vec<VehiclePropConfig> /*propConfigs*/) { in isSeedVhalPropertySupported() argument
|