Home
last modified time | relevance | path

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

/packages/services/Car/cpp/vhal/client/src/
DAidlHalPropConfig.cpp32 AidlHalPropConfig::AidlHalPropConfig(VehiclePropConfig&& config) { in AidlHalPropConfig() function in android::frameworks::automotive::vhal::AidlHalPropConfig
50 int32_t AidlHalPropConfig::getPropId() const { in getPropId()
54 int32_t AidlHalPropConfig::getAccess() const { in getAccess()
58 int32_t AidlHalPropConfig::getChangeMode() const { in getChangeMode()
62 size_t AidlHalPropConfig::getAreaConfigSize() const { in getAreaConfigSize()
66 std::vector<int32_t> AidlHalPropConfig::getConfigArray() const { in getConfigArray()
70 std::string AidlHalPropConfig::getConfigString() const { in getConfigString()
74 float AidlHalPropConfig::getMinSampleRate() const { in getMinSampleRate()
78 float AidlHalPropConfig::getMaxSampleRate() const { in getMaxSampleRate()
DAidlVhalClient.cpp228 out.push_back(std::make_unique<AidlHalPropConfig>(std::move(configCopy))); in parseVehiclePropConfigs()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPowerHalServiceUnitTest.java156 configs.add(new AidlHalPropConfig( in initPowerHal()
267 AidlHalPropConfig config = new AidlHalPropConfig( in testHalEventListenerDisplayBrightnessChange()
285 AidlHalPropConfig config = new AidlHalPropConfig( in testHalEventListenerDisplayBrightnessChange_non100MaxBrightness()
306 AidlHalPropConfig config = new AidlHalPropConfig( in testPerDisplayBrightnessChange_perDisplayMaxNotSupported()
331 AidlHalPropConfig config = new AidlHalPropConfig( in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplayMaxNotSupported()
361 var config1 = new AidlHalPropConfig( in testPerDisplayBrightnessChange_perDisplayMaxSupported()
364 var config2 = new AidlHalPropConfig( in testPerDisplayBrightnessChange_perDisplayMaxSupported()
398 var config1 = new AidlHalPropConfig( in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplaySupported()
401 var config2 = new AidlHalPropConfig( in testPerDisplayBrightnessChange_non100MaxBrightness_perDisplaySupported()
440 AidlHalPropConfig config = new AidlHalPropConfig( in testSendDisplayBrightness()
[all …]
DHalPropConfigTest.java185 AidlHalPropConfig halPropConfig = new AidlHalPropConfig(aidlConfig); in testAidlHalPropConfigWithNoArea()
201 AidlHalPropConfig halPropConfig = new AidlHalPropConfig(aidlConfig); in testAidlHalPropConfigWithArea()
219 AidlHalPropConfig halPropConfig = new AidlHalPropConfig(aidlConfig); in testToVehiclePropConfig_forAidlConfig()
274 HalPropConfig halPropConfig = new AidlHalPropConfig(aidlVehiclePropConfig); in toCarPropertyConfig_populatesGlobalAreaId()
297 HalPropConfig halPropConfig = new AidlHalPropConfig(aidlVehiclePropConfig); in toCarPropertyConfig_convertsIntegerMinMax()
317 HalPropConfig halPropConfig = new AidlHalPropConfig(aidlVehiclePropConfig); in toCarPropertyConfig_doesNotConvertIntegerMinMaxIfBothZero()
336 HalPropConfig halPropConfig = new AidlHalPropConfig(aidlVehiclePropConfig); in toCarPropertyConfig_convertsLongMinMax()
357 HalPropConfig halPropConfig = new AidlHalPropConfig(aidlVehiclePropConfig); in toCarPropertyConfig_doesNotConvertLongMinMaxIfBothZero()
376 HalPropConfig halPropConfig = new AidlHalPropConfig(aidlVehiclePropConfig); in toCarPropertyConfig_convertsFloatMinMax()
397 HalPropConfig halPropConfig = new AidlHalPropConfig(aidlVehiclePropConfig); in toCarPropertyConfig_doesNotConvertFloatMinMaxIfBothZero()
[all …]
DHalPropValueTest.java469 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()
649 new AidlHalPropConfig(config)); in testToCarPropertyValueFromHidlMixed()
[all …]
DDiagnosticHalServiceTest.java104 new AidlHalPropConfig(freezeFrameConfig), in setUp()
105 new AidlHalPropConfig(liveFrameConfig), in setUp()
106 new AidlHalPropConfig(freezeFrameInfoConfig), in setUp()
107 new AidlHalPropConfig(freezeFrameClearConfig)))); in setUp()
202 new AidlHalPropConfig(mFreezeFrameConfig), in testRequestDiagnosticStartRateFitToMinRate()
203 new AidlHalPropConfig(mLiveFrameConfig)))); in testRequestDiagnosticStartRateFitToMinRate()
213 new AidlHalPropConfig(mFreezeFrameConfig), in testRequestDiagnosticStartRateFitToMaxRate()
214 new AidlHalPropConfig(mLiveFrameConfig)))); in testRequestDiagnosticStartRateFitToMaxRate()
DVehicleHalTestingHelper.java35 return new AidlHalPropConfig(config); in newConfig()
50 return new AidlHalPropConfig(config); in newSubscribableConfig()
DInputHalServiceTest.java81 private static final HalPropConfig HW_KEY_INPUT_CONFIG = new AidlHalPropConfig(
83 private static final HalPropConfig HW_ROTARY_INPUT_CONFIG = new AidlHalPropConfig(
85 private static final HalPropConfig HW_CUSTOM_INPUT_CONFIG = new AidlHalPropConfig(
121 Set<HalPropConfig> offeredProps = Set.of(new AidlHalPropConfig( in takesKeyInputProperty()
124 new AidlHalPropConfig(AidlVehiclePropConfigBuilder.newBuilder( in takesKeyInputProperty()
137 new AidlHalPropConfig(AidlVehiclePropConfigBuilder.newBuilder( in takesRotaryInputProperty()
140 new AidlHalPropConfig(AidlVehiclePropConfigBuilder.newBuilder( in takesRotaryInputProperty()
153 new AidlHalPropConfig(AidlVehiclePropConfigBuilder.newBuilder( in takesCustomInputProperty()
156 new AidlHalPropConfig(AidlVehiclePropConfigBuilder.newBuilder( in takesCustomInputProperty()
169 new AidlHalPropConfig(AidlVehiclePropConfigBuilder.newBuilder( in takesKeyAndRotaryAndCustomInputProperty()
[all …]
DVmsHalServiceTest.java113 HalPropConfig halPropConfig = new AidlHalPropConfig(propConfig); in initHalService()
167 HalPropConfig halPropConfig = new AidlHalPropConfig(propConfig); in testCoreId_IntegerOverflow()
185 HalPropConfig vmsHalPropConfig = new AidlHalPropConfig(vmsPropConfig); in testTakeSupportedProperties()
189 HalPropConfig otherHalPropConfig = new AidlHalPropConfig(otherPropConfig); in testTakeSupportedProperties()
DEvsHalServiceTest.java61 new AidlHalPropConfig(
DVehicleHalTest.java221 halConfigs[i] = new AidlHalPropConfig(config);
300 assertThat(VehicleHal.isPropertySubscribable(new AidlHalPropConfig(continuousPropConfig)))
311 assertThat(VehicleHal.isPropertySubscribable(new AidlHalPropConfig(staticPropConfig)))
322 assertThat(VehicleHal.isPropertySubscribable(new AidlHalPropConfig(continuousPropConfig)))
410 assertThat(VehicleHal.isPropertySubscribable(new AidlHalPropConfig(powerHalConfig)))
420 assertThat(VehicleHal.isPropertySubscribable(new AidlHalPropConfig(propertyHalConfig)))
/packages/services/Car/cpp/vhal/client/include/
DAidlHalPropConfig.h62 class AidlHalPropConfig : public IHalPropConfig {
64 explicit AidlHalPropConfig(
/packages/services/Car/service/src/com/android/car/hal/
DAidlHalPropConfig.java31 public final class AidlHalPropConfig extends HalPropConfig { class
37 public AidlHalPropConfig(VehiclePropConfig config) { in AidlHalPropConfig() method in AidlHalPropConfig
/packages/services/Car/cpp/security/vehicle_binding_util/tests/
DVehicleBindingUtilTest.cpp46 using ::android::frameworks::automotive::vhal::AidlHalPropConfig;
130 configs.push_back(std::make_unique<AidlHalPropConfig>(std::move(config))); in setMockVhalPropertySupported()
/packages/services/Car/service/src/com/android/car/
DAidlVehicleStub.java55 import com.android.car.hal.AidlHalPropConfig;
275 configs[i] = new AidlHalPropConfig(payloads[i]); in getAllPropConfigs()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java47 import com.android.car.hal.AidlHalPropConfig;
618 new AidlHalPropConfig(vehiclePropConfig)); in extractPropConfigs()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVehicleStubUnitTest.java64 import com.android.car.hal.AidlHalPropConfig;
230 new AidlHalPropConfig(createConfig(VehicleProperty.VHAL_HEARTBEAT, in testGetAllPropConfigsWithSpecialProp()