Searched refs:mPropertyHalServiceConfigs (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/ |
D | PropertyHalServiceConfigsUnitTest.java | 91 private PropertyHalServiceConfigs mPropertyHalServiceConfigs; field in PropertyHalServiceConfigsUnitTest 143 mPropertyHalServiceConfigs = new PropertyHalServiceConfigs(mFakeFeatureFlags); in setUp() 168 assertThat(mPropertyHalServiceConfigs.checkPayload(GEAR_WITH_VALID_VALUE)).isTrue(); in testCheckPayload() 169 assertThat(mPropertyHalServiceConfigs.checkPayload(GEAR_WITH_EXTRA_VALUE)).isFalse(); in testCheckPayload() 170 assertThat(mPropertyHalServiceConfigs.checkPayload(GEAR_WITH_INVALID_VALUE)).isFalse(); in testCheckPayload() 171 assertThat(mPropertyHalServiceConfigs.checkPayload(GEAR_WITH_INVALID_TYPE_VALUE)).isFalse(); in testCheckPayload() 172 assertThat(mPropertyHalServiceConfigs.checkPayload(HVAC_FAN_DIRECTIONS_VALID)).isTrue(); in testCheckPayload() 173 assertThat(mPropertyHalServiceConfigs.checkPayload(HVAC_FAN_DIRECTIONS_INVALID)).isFalse(); in testCheckPayload() 174 assertThat(mPropertyHalServiceConfigs in testCheckPayload() 177 assertThat(mPropertyHalServiceConfigs in testCheckPayload() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | HalPropConfigTest.java | 92 private final PropertyHalServiceConfigs mPropertyHalServiceConfigs = field in HalPropConfigTest 277 GLOBAL_INTEGER_PROP_ID, mPropertyHalServiceConfigs); in toCarPropertyConfig_populatesGlobalAreaId() 300 GLOBAL_INTEGER_PROP_ID, mPropertyHalServiceConfigs).getAreaIdConfig(TEST_AREA_ID); in toCarPropertyConfig_convertsIntegerMinMax() 320 GLOBAL_INTEGER_PROP_ID, mPropertyHalServiceConfigs).getAreaIdConfig(TEST_AREA_ID); in toCarPropertyConfig_doesNotConvertIntegerMinMaxIfBothZero() 339 GLOBAL_LONG_PROP_ID, mPropertyHalServiceConfigs).getAreaIdConfig(TEST_AREA_ID); in toCarPropertyConfig_convertsLongMinMax() 360 GLOBAL_LONG_PROP_ID, mPropertyHalServiceConfigs).getAreaIdConfig(TEST_AREA_ID); in toCarPropertyConfig_doesNotConvertLongMinMaxIfBothZero() 379 GLOBAL_FLOAT_PROP_ID, mPropertyHalServiceConfigs).getAreaIdConfig(TEST_AREA_ID); in toCarPropertyConfig_convertsFloatMinMax() 400 GLOBAL_FLOAT_PROP_ID, mPropertyHalServiceConfigs).getAreaIdConfig(TEST_AREA_ID); in toCarPropertyConfig_doesNotConvertFloatMinMaxIfBothZero() 419 GLOBAL_INTEGER_VEC_PROP_ID, mPropertyHalServiceConfigs) in toCarPropertyConfig_doesNotPopulateMinMaxForUnsupportedType() 439 GLOBAL_INTEGER_PROP_ID, mPropertyHalServiceConfigs).getAreaIdConfig( in toCarPropertyConfig_aidlHandlesNullSupportedEnumsValues() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | PropertyHalService.java | 134 private PropertyHalServiceConfigs mPropertyHalServiceConfigs = field in PropertyHalService 1062 mPropertyHalServiceConfigs = configs; in setPropertyHalServiceConfigs() 1078 mgrPropId, mPropertyHalServiceConfigs); in getPropertyList() 1138 mPropertyHalServiceConfigs.getReadPermission(managerToHalPropId(mgrPropId)); in getReadPermission() 1154 mPropertyHalServiceConfigs.getWritePermission(managerToHalPropId(mgrPropId)); in getWritePermission() 1167 return mPropertyHalServiceConfigs.isReadable(context, managerToHalPropId(mgrPropId)); in isReadable() 1174 return mPropertyHalServiceConfigs.isWritable(context, managerToHalPropId(mgrPropId)); in isWritable() 1282 return mPropertyHalServiceConfigs.isSupportedProperty(halPropId) in isSupportedProperty() 1317 mPropertyHalServiceConfigs.customizeVendorPermission( in takeProperties() 1484 && !mPropertyHalServiceConfigs.checkPayload(halPropValue)) { in onHalEvents() [all …]
|