Home
last modified time | relevance | path

Searched refs:VehicleAreaConfig (Results 1 – 17 of 17) sorted by relevance

/packages/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/
DAidlVehiclePropConfigBuilder.java20 import android.hardware.automotive.vehicle.VehicleAreaConfig;
44 mConfig.areaConfigs = new VehicleAreaConfig[0]; in AidlVehiclePropConfigBuilder()
57 newConfig.areaConfigs = new VehicleAreaConfig[propConfig.areaConfigs.length]; in clone()
62 private void addAreaConfig(VehicleAreaConfig config) { in addAreaConfig()
64 VehicleAreaConfig[] newConfigs = duplicateAreaConfig(mConfig.areaConfigs, oldLength + 1); in addAreaConfig()
72 for (VehicleAreaConfig areaConfig : mConfig.areaConfigs) { in setAccess()
80 for (VehicleAreaConfig areaConfig : mConfig.areaConfigs) { in setAccessPerAreaId()
127 VehicleAreaConfig area = new VehicleAreaConfig(); in addAreaConfig()
136 VehicleAreaConfig area = new VehicleAreaConfig(); in addAreaConfig()
147 VehicleAreaConfig area = new VehicleAreaConfig(); in addAreaConfig()
[all …]
DHidlVehiclePropConfigBuilder.java20 import android.hardware.automotive.vehicle.V2_0.VehicleAreaConfig;
56 for (VehicleAreaConfig area : propConfig.areaConfigs) { in clone()
57 VehicleAreaConfig newArea = new VehicleAreaConfig(); in clone()
99 VehicleAreaConfig area = new VehicleAreaConfig(); in addAreaConfig()
107 VehicleAreaConfig area = new VehicleAreaConfig(); in addAreaConfig()
117 VehicleAreaConfig area = new VehicleAreaConfig(); in addAreaConfig()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DHalPropConfigTest.java31 import android.hardware.automotive.vehicle.VehicleAreaConfig;
121 aidlConfig.areaConfigs = new VehicleAreaConfig[0]; in getTestVendorAidlPropConfig()
134 aidlConfig.areaConfigs = new VehicleAreaConfig[0]; in getTestAidlPropConfig()
138 private static android.hardware.automotive.vehicle.V2_0.VehicleAreaConfig
140 android.hardware.automotive.vehicle.V2_0.VehicleAreaConfig hidlAreaConfig = in getTestHidlAreaConfig()
141 new android.hardware.automotive.vehicle.V2_0.VehicleAreaConfig(); in getTestHidlAreaConfig()
152 private static VehicleAreaConfig getTestAidlAreaConfig() { in getTestAidlAreaConfig()
153 VehicleAreaConfig aidlAreaConfig = new VehicleAreaConfig(); in getTestAidlAreaConfig()
167 private static VehicleAreaConfig getTestInvalidAidlAreaConfig() { in getTestInvalidAidlAreaConfig()
168 VehicleAreaConfig aidlAreaConfig = new VehicleAreaConfig(); in getTestInvalidAidlAreaConfig()
[all …]
DVehicleHalTest.java48 import android.hardware.automotive.vehicle.VehicleAreaConfig;
211 config.areaConfigs = new VehicleAreaConfig[AREA_IDS_LIST.length];
214 VehicleAreaConfig areaConfig = new VehicleAreaConfig();
1827 VehicleAreaConfig areaConfig = new VehicleAreaConfig();
1832 VehicleAreaConfig.class, mConfigs.get(0).areaConfigs, areaConfig, true);
1858 VehicleAreaConfig areaConfig = new VehicleAreaConfig();
1863 VehicleAreaConfig.class, mConfigs.get(0).areaConfigs, areaConfig, true);
1907 VehicleAreaConfig areaConfig = new VehicleAreaConfig();
1912 VehicleAreaConfig.class, mConfigs.get(0).areaConfigs, areaConfig, true);
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVhalConfigParserUnitTest.java26 import android.hardware.automotive.vehicle.VehicleAreaConfig;
598 VehicleAreaConfig vehicleAreaConfig = new VehicleAreaConfig(); in testParseAreaConfigValueHasNoAccessLevel()
603 vehiclePropConfig.areaConfigs = new VehicleAreaConfig[]{vehicleAreaConfig}; in testParseAreaConfigValueHasNoAccessLevel()
626 VehicleAreaConfig vehicleAreaConfig = new VehicleAreaConfig(); in testParseAreaConfigValueHasAccessLevel()
631 vehiclePropConfig.areaConfigs = new VehicleAreaConfig[]{vehicleAreaConfig}; in testParseAreaConfigValueHasAccessLevel()
654 VehicleAreaConfig vehicleAreaConfig = new VehicleAreaConfig(); in testParseAreaConfig_PropertyConfigHasAccessLevel()
659 vehiclePropConfig.areaConfigs = new VehicleAreaConfig[]{vehicleAreaConfig}; in testParseAreaConfig_PropertyConfigHasAccessLevel()
682 VehicleAreaConfig vehicleAreaConfig = new VehicleAreaConfig(); in testParseAreaConfig_PropertyAndAreaConfigHasAccessLevel()
687 vehiclePropConfig.areaConfigs = new VehicleAreaConfig[]{vehicleAreaConfig}; in testParseAreaConfig_PropertyAndAreaConfigHasAccessLevel()
754 VehicleAreaConfig vehicleAreaConfig1 = new VehicleAreaConfig(); in testParseJsonConfig()
[all …]
DFakeVehicleStubUnitTest.java40 import android.hardware.automotive.vehicle.VehicleAreaConfig;
1740 VehicleAreaConfig vehicleAreaConfig = new VehicleAreaConfig(); in createConfig()
1742 propConfigValue.areaConfigs = new VehicleAreaConfig[]{vehicleAreaConfig}; in createConfig()
/packages/services/Car/cpp/vhal/client/src/
DHidlHalPropConfig.cpp26 using ::android::hardware::automotive::vehicle::V2_0::VehicleAreaConfig;
34 VehicleAreaConfig globalAreaConfig; in HidlHalPropConfig()
39 for (VehicleAreaConfig& areaConfig : mPropConfig.areaConfigs) { in HidlHalPropConfig()
78 HidlHalAreaConfig::HidlHalAreaConfig(VehicleAreaConfig&& areaConfig, int32_t access) { in HidlHalAreaConfig()
DAidlHalPropConfig.cpp26 using ::aidl::android::hardware::automotive::vehicle::VehicleAreaConfig;
35 VehicleAreaConfig globalAreaConfig; in AidlHalPropConfig()
40 for (VehicleAreaConfig& areaConfig : mPropConfig.areaConfigs) { in AidlHalPropConfig()
82 AidlHalAreaConfig::AidlHalAreaConfig(VehicleAreaConfig&& areaConfig, int32_t access) { in AidlHalAreaConfig()
/packages/services/Car/service/src/com/android/car/hal/
DAidlHalAreaConfig.java19 import android.hardware.automotive.vehicle.VehicleAreaConfig;
25 private final VehicleAreaConfig mConfig;
27 public AidlHalAreaConfig(VehicleAreaConfig config) { in AidlHalAreaConfig()
DHidlHalAreaConfig.java21 import android.hardware.automotive.vehicle.V2_0.VehicleAreaConfig;
27 private final VehicleAreaConfig mConfig;
30 public HidlHalAreaConfig(VehicleAreaConfig config, int access) { in HidlHalAreaConfig()
DAidlHalPropConfig.java22 import android.hardware.automotive.vehicle.VehicleAreaConfig;
32 private static final VehicleAreaConfig[] sEmptyAreaConfig = new VehicleAreaConfig[0];
DHidlHalPropConfig.java21 import android.hardware.automotive.vehicle.V2_0.VehicleAreaConfig;
40 mConfig.areaConfigs = new ArrayList<VehicleAreaConfig>(); in HidlHalPropConfig()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVhalConfigParser.java27 import android.hardware.automotive.vehicle.VehicleAreaConfig;
422 VehicleAreaConfig areaConfig = new VehicleAreaConfig(); in parseEachProperty()
426 vehiclePropConfig.areaConfigs = new VehicleAreaConfig[]{areaConfig}; in parseEachProperty()
446 private VehicleAreaConfig[] parseAreaConfigs(JsonReader reader, in parseAreaConfigs()
450 List<VehicleAreaConfig> areaConfigs = new ArrayList<>(); in parseAreaConfigs()
455 Pair<VehicleAreaConfig, RawPropValues> result = parseAreaConfig(reader, index, in parseAreaConfigs()
476 return areaConfigs.toArray(new VehicleAreaConfig[areaConfigs.size()]); in parseAreaConfigs()
487 private Pair<VehicleAreaConfig, RawPropValues> parseAreaConfig(JsonReader reader, in parseAreaConfig()
490 VehicleAreaConfig areaConfig = new VehicleAreaConfig(); in parseAreaConfig()
DFakeVehicleStub.java28 import android.hardware.automotive.vehicle.VehicleAreaConfig;
642 VehicleAreaConfig[] areaConfigs = configDeclaration.getConfig().areaConfigs; in extractPropValues()
/packages/services/Car/cpp/vhal/client/include/
DHidlHalPropConfig.h35 ::android::hardware::automotive::vehicle::V2_0::VehicleAreaConfig&& areaConfig,
57 ::android::hardware::automotive::vehicle::V2_0::VehicleAreaConfig mAreaConfig;
DAidlHalPropConfig.h36 ::aidl::android::hardware::automotive::vehicle::VehicleAreaConfig&& areaConfig,
58 ::aidl::android::hardware::automotive::vehicle::VehicleAreaConfig mAreaConfig;
/packages/services/Car/tools/emulator/
DVehicleHalProto_pb2.py571 VehicleAreaConfig = _reflection.GeneratedProtocolMessageType('VehicleAreaConfig', (_message.Message… variable
576 _sym_db.RegisterMessage(VehicleAreaConfig)