/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | HalPropConfigTest.java | 32 import android.hardware.automotive.vehicle.VehiclePropConfig; 98 private static android.hardware.automotive.vehicle.V2_0.VehiclePropConfig 100 android.hardware.automotive.vehicle.V2_0.VehiclePropConfig hidlConfig = in getTestHidlPropConfig() 101 new android.hardware.automotive.vehicle.V2_0.VehiclePropConfig(); in getTestHidlPropConfig() 112 private static VehiclePropConfig getTestVendorAidlPropConfig() { in getTestVendorAidlPropConfig() 113 VehiclePropConfig aidlConfig = new VehiclePropConfig(); in getTestVendorAidlPropConfig() 125 private static VehiclePropConfig getTestAidlPropConfig() { in getTestAidlPropConfig() 126 VehiclePropConfig aidlConfig = new VehiclePropConfig(); in getTestAidlPropConfig() 184 VehiclePropConfig aidlConfig = getTestAidlPropConfig(); in testAidlHalPropConfigWithNoArea() 199 VehiclePropConfig aidlConfig = getTestAidlPropConfig(); in testAidlHalPropConfigWithArea() [all …]
|
D | VehicleHalTestingHelper.java | 18 import android.hardware.automotive.vehicle.VehiclePropConfig; 31 VehiclePropConfig config = new VehiclePropConfig(); in newConfig() 44 VehiclePropConfig config = new VehiclePropConfig(); in newSubscribableConfig()
|
D | HalPropValueTest.java | 23 import android.hardware.automotive.vehicle.VehiclePropConfig; 469 TEST_MGR_PROP, new AidlHalPropConfig(new VehiclePropConfig())); in testToCarPropertyValueFromHidlBool() 491 TEST_MGR_PROP, new AidlHalPropConfig(new VehiclePropConfig())); in testToCarPropertyValueFromHidlInt32() 510 TEST_MGR_PROP, new AidlHalPropConfig(new VehiclePropConfig())); in testToCarPropertyValueFromHidlInt32Vec() 528 TEST_MGR_PROP, new AidlHalPropConfig(new VehiclePropConfig())); in testToCarPropertyValueFromHidlFloat() 547 TEST_MGR_PROP, new AidlHalPropConfig(new VehiclePropConfig())); in testToCarPropertyValueFromHidlFloatVec() 565 TEST_MGR_PROP, new AidlHalPropConfig(new VehiclePropConfig())); in testToCarPropertyValueFromHidlInt64() 584 TEST_MGR_PROP, new AidlHalPropConfig(new VehiclePropConfig())); in testToCarPropertyValueFromHidlInt64Vec() 603 TEST_MGR_PROP, new AidlHalPropConfig(new VehiclePropConfig())); in testToCarPropertyValueFromHidlBytes() 621 TEST_MGR_PROP, new AidlHalPropConfig(new VehiclePropConfig())); in testToCarPropertyValueFromHidlString() [all …]
|
D | VehicleHalTest.java | 49 import android.hardware.automotive.vehicle.VehiclePropConfig; 151 private final ArrayList<VehiclePropConfig> mConfigs = new ArrayList<>(); 153 private void initHalServices(VehiclePropConfig powerHalConfig, in initHalServices() 154 List<VehiclePropConfig> propertyHalConfigs) throws Exception { in initHalServices() 163 for (VehiclePropConfig propertyHalConfig : propertyHalConfigs) { in initHalServices() 191 private static Answer<Void> checkConfigs(ArrayList<VehiclePropConfig> configs) { in checkConfigs() 196 ArrayList<VehiclePropConfig> aidlConfigs = new ArrayList<VehiclePropConfig>(); in checkConfigs() 198 aidlConfigs.add((VehiclePropConfig) (halConfig.toVehiclePropConfig())); in checkConfigs() 206 private static HalPropConfig[] toHalPropConfigs(List<VehiclePropConfig> configs) { 209 VehiclePropConfig config = configs.get(i); [all …]
|
D | DiagnosticHalServiceTest.java | 34 import android.hardware.automotive.vehicle.VehiclePropConfig; 69 private VehiclePropConfig mFreezeFrameConfig; 70 private VehiclePropConfig mLiveFrameConfig; 78 VehiclePropConfig freezeFrameConfig = new VehiclePropConfig(); in setUp() 87 VehiclePropConfig liveFrameConfig = new VehiclePropConfig(); in setUp() 96 VehiclePropConfig freezeFrameInfoConfig = new VehiclePropConfig(); in setUp() 99 VehiclePropConfig freezeFrameClearConfig = new VehiclePropConfig(); in setUp()
|
D | DiagnosticJsonReaderTest.java | 29 import android.hardware.automotive.vehicle.VehiclePropConfig; 86 VehiclePropConfig liveFrameConfig = new VehiclePropConfig(); in buildDiagnosticJsonReader() 91 VehiclePropConfig freezeFrameConfig = new VehiclePropConfig(); in buildDiagnosticJsonReader()
|
D | VmsHalServiceTest.java | 42 import android.hardware.automotive.vehicle.VehiclePropConfig; 111 VehiclePropConfig propConfig = new VehiclePropConfig(); in initHalService() 165 VehiclePropConfig propConfig = new VehiclePropConfig(); in testCoreId_IntegerOverflow() 183 VehiclePropConfig vmsPropConfig = new VehiclePropConfig(); in testTakeSupportedProperties() 187 VehiclePropConfig otherPropConfig = new VehiclePropConfig(); in testTakeSupportedProperties()
|
/packages/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/ |
D | HidlVehiclePropConfigBuilder.java | 21 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 32 private final VehiclePropConfig mConfig; 40 mConfig = new VehiclePropConfig(); in HidlVehiclePropConfigBuilder() 46 private VehiclePropConfig clone(VehiclePropConfig propConfig) { in clone() 47 VehiclePropConfig newConfig = new VehiclePropConfig(); in clone() 125 public VehiclePropConfig build() { in build()
|
D | AidlVehiclePropConfigBuilder.java | 21 import android.hardware.automotive.vehicle.VehiclePropConfig; 32 private final VehiclePropConfig mConfig; 34 private AidlVehiclePropConfigBuilder(VehiclePropConfig propConfig) { in AidlVehiclePropConfigBuilder() 39 mConfig = new VehiclePropConfig(); in AidlVehiclePropConfigBuilder() 47 private VehiclePropConfig clone(VehiclePropConfig propConfig) { in clone() 48 VehiclePropConfig newConfig = new VehiclePropConfig(); in clone() 189 public VehiclePropConfig build() { in build() 223 public static AidlVehiclePropConfigBuilder newBuilder(VehiclePropConfig config) { in newBuilder()
|
D | DiagnosticJsonReader.java | 22 import android.hardware.automotive.vehicle.VehiclePropConfig; 35 public DiagnosticJsonReader(VehiclePropConfig liveConfig, VehiclePropConfig freezeConfig) { in DiagnosticJsonReader()
|
D | DiagnosticEventBuilder.java | 21 import android.hardware.automotive.vehicle.VehiclePropConfig; 105 public DiagnosticEventBuilder(VehiclePropConfig propConfig) { in DiagnosticEventBuilder()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/hal/test/ |
D | HidlMockedVehicleHal.java | 29 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 75 private final Map<Integer, VehiclePropConfig> mConfigs = new HashMap<>(); 80 public void addProperties(VehiclePropConfig... configs) { in addProperties() 82 for (VehiclePropConfig config : configs) { in addProperties() 88 public void addProperty(VehiclePropConfig config, VehicleHalPropertyHandler handler) { in addProperty() 95 public void addStaticProperty(VehiclePropConfig config, VehiclePropValue value) { in addStaticProperty() 168 public ArrayList<VehiclePropConfig> getAllPropConfigs() { in getAllPropConfigs() 177 ArrayList<VehiclePropConfig> res = new ArrayList<>(); in getPropConfigs() 179 VehiclePropConfig config = mConfigs.get(prop); in getPropConfigs() 354 private final VehiclePropConfig mConfig; [all …]
|
D | AidlMockedVehicleHal.java | 38 import android.hardware.automotive.vehicle.VehiclePropConfig; 99 private final SparseArray<VehiclePropConfig> mConfigs = new SparseArray<>(); 103 public void addProperties(VehiclePropConfig... configs) { in addProperties() 104 for (VehiclePropConfig config : configs) { in addProperties() 109 public void addProperty(VehiclePropConfig config, VehicleHalPropertyHandler handler) { in addProperty() 116 public void addStaticProperty(VehiclePropConfig config, VehiclePropValue value) { in addStaticProperty() 197 propConfigs.payloads = new VehiclePropConfig[mConfigs.size()]; in getAllPropConfigs() 218 propConfigs.payloads = new VehiclePropConfig[count]; in getPropConfigs() 478 private final VehiclePropConfig mConfig; 484 public DefaultPropertyHandler(VehiclePropConfig config, VehiclePropValue initialValue) { in DefaultPropertyHandler()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | HidlVehicleStubUnitTest.java | 42 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 148 ArrayList<VehiclePropConfig> hidlConfigs = new ArrayList<VehiclePropConfig>(); in testGetAllPropConfigsHidl() 149 VehiclePropConfig hidlConfig = new VehiclePropConfig(); in testGetAllPropConfigsHidl() 177 SparseArray<VehiclePropConfig> expectedConfigsById = new SparseArray<>(); in testGetAllPropConfigsHidlMultipleRequests() 180 VehiclePropConfig config = new VehiclePropConfig(); in testGetAllPropConfigsHidlMultipleRequests() 202 ArrayList<VehiclePropConfig> configs = new ArrayList<>(); in testGetAllPropConfigsHidlMultipleRequests() 238 VehiclePropConfig config = new VehiclePropConfig(); in testGetAllPropConfigsHidlMultipleRequestsNoConfig() 254 VehiclePropConfig config = new VehiclePropConfig(); in testGetAllPropConfigsHidlMultipleRequestsInvalidConfig() 271 VehiclePropConfig config = new VehiclePropConfig(); in testGetAllPropConfigsHidlMultipleRequestsGetValueInvalidArg() 293 callback.onValues(StatusCode.OK, new ArrayList<VehiclePropConfig>()); in testGetAllPropConfigsHidlMultipleRequestsNoConfigReturned() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/fakevhal/ |
D | ConfigDeclaration.java | 21 import android.hardware.automotive.vehicle.VehiclePropConfig; 31 private final VehiclePropConfig mConfig; 35 public ConfigDeclaration(VehiclePropConfig config, @Nullable RawPropValues initialValue, in ConfigDeclaration() 74 public VehiclePropConfig getConfig() { in getConfig()
|
/packages/services/Car/service/src/com/android/car/ |
D | HidlVehicleStub.java | 29 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 155 ArrayList<VehiclePropConfig> configForSupportedProps; in getAllPropConfigs() 409 List<VehiclePropConfig> hidlConfigs) { in vehiclePropConfigsToHalPropConfigs() 420 public ArrayList<VehiclePropConfig> propConfigs; 424 VehiclePropConfig configForSupportedProps) in getAllPropConfigsThroughMultipleRequests() 452 ArrayList<VehiclePropConfig> allConfigs = new ArrayList<>(); in getAllPropConfigsThroughMultipleRequests() 457 ArrayList<VehiclePropConfig> subConfigs = getPropConfigs(requestPropIds); in getAllPropConfigsThroughMultipleRequests() 465 private ArrayList<VehiclePropConfig> getPropConfigs(ArrayList<Integer> propIds) in getPropConfigs()
|
/packages/services/Car/cpp/vhal/client/src/ |
D | HidlVhalClient.cpp | 46 using ::android::hardware::automotive::vehicle::V2_0::VehiclePropConfig; 173 const hidl_vec<VehiclePropConfig>& propConfigs) { in getAllPropConfigs() 174 for (const VehiclePropConfig& config : propConfigs) { in getAllPropConfigs() 175 VehiclePropConfig configCopy = config; in getAllPropConfigs() 195 const hidl_vec<VehiclePropConfig>& propConfigs) { in getPropConfigs() 200 for (const VehiclePropConfig& config : propConfigs) { in getPropConfigs() 201 VehiclePropConfig configCopy = config; in getPropConfigs()
|
D | HidlHalPropConfig.cpp | 27 using ::android::hardware::automotive::vehicle::V2_0::VehiclePropConfig; 31 HidlHalPropConfig::HidlHalPropConfig(VehiclePropConfig&& config) { in HidlHalPropConfig()
|
D | AidlHalPropConfig.cpp | 27 using ::aidl::android::hardware::automotive::vehicle::VehiclePropConfig; 32 AidlHalPropConfig::AidlHalPropConfig(VehiclePropConfig&& config) { in AidlHalPropConfig()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | HidlHalPropConfig.java | 22 import android.hardware.automotive.vehicle.V2_0.VehiclePropConfig; 33 private final VehiclePropConfig mConfig; 35 public HidlHalPropConfig(VehiclePropConfig config) { in HidlHalPropConfig()
|
D | AidlHalPropConfig.java | 23 import android.hardware.automotive.vehicle.VehiclePropConfig; 34 private final VehiclePropConfig mConfig; 37 public AidlHalPropConfig(VehiclePropConfig config) { in AidlHalPropConfig()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/ |
D | FakeVhalConfigParserUnitTest.java | 30 import android.hardware.automotive.vehicle.VehiclePropConfig; 595 VehiclePropConfig vehiclePropConfig = new VehiclePropConfig(); in testParseAreaConfigValueHasNoAccessLevel() 623 VehiclePropConfig vehiclePropConfig = new VehiclePropConfig(); in testParseAreaConfigValueHasAccessLevel() 651 VehiclePropConfig vehiclePropConfig = new VehiclePropConfig(); in testParseAreaConfig_PropertyConfigHasAccessLevel() 679 VehiclePropConfig vehiclePropConfig = new VehiclePropConfig(); in testParseAreaConfig_PropertyAndAreaConfigHasAccessLevel() 750 VehiclePropConfig vehiclePropConfig = new VehiclePropConfig(); in testParseJsonConfig()
|
/packages/services/Car/cpp/vhal/client/include/ |
D | HidlHalPropConfig.h | 64 ::android::hardware::automotive::vehicle::V2_0::VehiclePropConfig&& config); 83 ::android::hardware::automotive::vehicle::V2_0::VehiclePropConfig mPropConfig;
|
D | AidlHalPropConfig.h | 65 ::aidl::android::hardware::automotive::vehicle::VehiclePropConfig&& config); 84 ::aidl::android::hardware::automotive::vehicle::VehiclePropConfig mPropConfig;
|
/packages/services/Car/cpp/vhal/client/test/ |
D | HidlVhalClientTest.cpp | 46 using ::android::hardware::automotive::vehicle::V2_0::VehiclePropConfig; 91 void setPropConfigs(std::vector<VehiclePropConfig> configs) { mPropConfigs = configs; } in setPropConfigs() 114 std::vector<VehiclePropConfig> mPropConfigs; 323 VehiclePropConfig{ in TEST_F() 336 VehiclePropConfig{ in TEST_F() 377 VehiclePropConfig{ in TEST_F() 390 VehiclePropConfig{ in TEST_F()
|