Home
last modified time | relevance | path

Searched refs:halPropConfig (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DHalPropConfigTest.java185 AidlHalPropConfig halPropConfig = new AidlHalPropConfig(aidlConfig); in testAidlHalPropConfigWithNoArea() local
187 assertThat(halPropConfig.getPropId()).isEqualTo(GLOBAL_INTEGER_PROP_ID); in testAidlHalPropConfigWithNoArea()
188 assertThat(halPropConfig.getAccess()).isEqualTo(TEST_ACCESS); in testAidlHalPropConfigWithNoArea()
189 assertThat(halPropConfig.getChangeMode()).isEqualTo(TEST_CHANGE_MODE); in testAidlHalPropConfigWithNoArea()
190 assertThat(halPropConfig.getAreaConfigs().length).isEqualTo(0); in testAidlHalPropConfigWithNoArea()
191 assertThat(halPropConfig.getConfigArray()).isEqualTo(TEST_CONFIG_ARRAY); in testAidlHalPropConfigWithNoArea()
192 assertThat(halPropConfig.getConfigString()).isEqualTo(TEST_CONFIG_STRING); in testAidlHalPropConfigWithNoArea()
193 assertThat(halPropConfig.getMinSampleRate()).isEqualTo(MIN_SAMPLE_RATE); in testAidlHalPropConfigWithNoArea()
194 assertThat(halPropConfig.getMaxSampleRate()).isEqualTo(MAX_SAMPLE_RATE); in testAidlHalPropConfigWithNoArea()
201 AidlHalPropConfig halPropConfig = new AidlHalPropConfig(aidlConfig); in testAidlHalPropConfigWithArea() local
[all …]
DVmsHalServiceTest.java113 HalPropConfig halPropConfig = new AidlHalPropConfig(propConfig); in initHalService() local
114 mHalService.takeProperties(Collections.singleton(halPropConfig)); in initHalService()
167 HalPropConfig halPropConfig = new AidlHalPropConfig(propConfig); in testCoreId_IntegerOverflow() local
168 mHalService.takeProperties(Collections.singleton(halPropConfig)); in testCoreId_IntegerOverflow()
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java611 HalPropConfig halPropConfig; in parseGetAsyncResults() local
613 halPropConfig = mHalPropIdToPropConfig.get(halPropId); in parseGetAsyncResults()
615 if (halPropConfig == null) { in parseGetAsyncResults()
642 halPropValue.toCarPropertyValue(mgrPropId, halPropConfig)); in parseGetAsyncResults()
1075 HalPropConfig halPropConfig = mHalPropIdToPropConfig.valueAt(i); in getPropertyList() local
1076 int mgrPropId = halToManagerPropId(halPropConfig.getPropId()); in getPropertyList()
1077 CarPropertyConfig<?> carPropertyConfig = halPropConfig.toCarPropertyConfig( in getPropertyList()
1098 HalPropConfig halPropConfig; in getProperty() local
1100 halPropConfig = mHalPropIdToPropConfig.get(halPropId); in getProperty()
1115 CarPropertyValue result = halPropValue.toCarPropertyValue(mgrPropId, halPropConfig); in getProperty()
[all …]
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java329 HalPropConfig halPropConfig = mPropConfigsByPropId.get(propId); in getAccess() local
330 HalAreaConfig[] halAreaConfigs = halPropConfig.getAreaConfigs(); in getAccess()
341 return halPropConfig.getAccess(); in getAccess()