Home
last modified time | relevance | path

Searched refs:CarSvcPropertyConfig (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/service/src/com/android/car/hal/property/
DPropertyHalServiceConfigs.java80 /* package */ static final class CarSvcPropertyConfig { class in PropertyHalServiceConfigs
95 if (!(object instanceof CarSvcPropertyConfig)) { in equals()
98 CarSvcPropertyConfig other = (CarSvcPropertyConfig) object; in equals()
143 private final SparseArray<CarSvcPropertyConfig> mHalPropIdToCarSvcConfig;
174 CarSvcPropertyConfig config = mHalPropIdToCarSvcConfig.valueAt(i); in PropertyHalServiceConfigs()
263 CarSvcPropertyConfig carSvcPropertyConfig = mHalPropIdToCarSvcConfig.get(propId); in checkPayload()
288 CarSvcPropertyConfig carSvcPropertyConfig = mHalPropIdToCarSvcConfig.get( in getReadPermission()
327 CarSvcPropertyConfig carSvcPropertyConfig = mHalPropIdToCarSvcConfig.get( in getWritePermission()
480 /* package */ SparseArray<CarSvcPropertyConfig> parseJsonConfig(InputStream configFile, in parseJsonConfig()
483 SparseArray<CarSvcPropertyConfig> configs = new SparseArray<>(); in parseJsonConfig()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/
DPropertyHalServiceConfigsUnitTest.java47 import com.android.car.hal.property.PropertyHalServiceConfigs.CarSvcPropertyConfig;
465 CarSvcPropertyConfig expectedConfig = new CarSvcPropertyConfig(); in testParseJsonConfig_validConfig()
482 SparseArray<CarSvcPropertyConfig> configs = mPropertyHalServiceConfigs.parseJsonConfig( in testParseJsonConfig_validConfig()
486 CarSvcPropertyConfig config = configs.get(2345); in testParseJsonConfig_validConfig()
509 CarSvcPropertyConfig expectedConfig = new CarSvcPropertyConfig(); in testParseJsonConfig_halPropIdDefaultEqualPropId()
518 SparseArray<CarSvcPropertyConfig> configs = mPropertyHalServiceConfigs.parseJsonConfig( in testParseJsonConfig_halPropIdDefaultEqualPropId()
520 CarSvcPropertyConfig config = configs.get(1234); in testParseJsonConfig_halPropIdDefaultEqualPropId()
544 CarSvcPropertyConfig expectedConfig = new CarSvcPropertyConfig(); in testParseJsonConfig_dataFlags()
555 SparseArray<CarSvcPropertyConfig> configs = mPropertyHalServiceConfigs.parseJsonConfig( in testParseJsonConfig_dataFlags()
557 CarSvcPropertyConfig config = configs.get(1234); in testParseJsonConfig_dataFlags()
[all …]