Home
last modified time | relevance | path

Searched refs:isReadable (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/
DPropertyHalServiceConfigsUnitTest.java189 .isReadable(mContext, VehiclePropertyIds.ENGINE_OIL_LEVEL)).isTrue(); in testIsReadableWritableForSystemProperty()
193 .isReadable(mContext, VehiclePropertyIds.HVAC_FAN_SPEED)).isTrue(); in testIsReadableWritableForSystemProperty()
197 .isReadable(mContext, VehiclePropertyIds.WINDSHIELD_WIPERS_SWITCH)).isTrue(); in testIsReadableWritableForSystemProperty()
201 .isReadable(mContext, VehiclePropertyIds.CRUISE_CONTROL_COMMAND)).isFalse(); in testIsReadableWritableForSystemProperty()
205 .isReadable(mContext, VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS)).isTrue(); in testIsReadableWritableForSystemProperty()
209 .isReadable(mContext, VehiclePropertyIds.DISTANCE_DISPLAY_UNITS)).isFalse(); in testIsReadableWritableForSystemProperty()
218 .isReadable(mContext, VehiclePropertyIds.HVAC_TEMPERATURE_DISPLAY_UNITS)).isFalse(); in testIsReadableWritableForSystemProperty()
222 .isReadable(mContext, VehiclePropertyIds.DISTANCE_DISPLAY_UNITS)).isFalse(); in testIsReadableWritableForSystemProperty()
270 assertThat(mPropertyHalServiceConfigs.isReadable(mContext, vendorProp)).isTrue(); in testIsReadableWritableForVendorProperty()
277 assertThat(mPropertyHalServiceConfigs.isReadable(mContext, vendorProp)).isFalse(); in testIsReadableWritableForVendorProperty()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java161 when(mHalService.isReadable(mContext, SPEED_ID)).thenReturn(true); in setUp()
168 when(mHalService.isReadable(mContext, HVAC_TEMP)).thenReturn(true); in setUp()
177 when(mHalService.isReadable(mContext, CONTINUOUS_READ_ONLY_PROPERTY_ID)) in setUp()
230 when(mHalService.isReadable(mContext, ON_CHANGE_READ_WRITE_PROPERTY_ID)) in setUp()
248 when(mHalService.isReadable(mContext, READ_WRITE_INT_PROPERTY_ID)) in setUp()
273 when(mHalService.isReadable(mContext, ON_CHANGE_ZONED_PROPERTY_ID)).thenReturn(true); in setUp()
288 when(mHalService.isReadable(mContext, CONTINUOUS_ZONED_PROPERTY_ID)).thenReturn(true); in setUp()
387 when(mHalService.isReadable(mContext, SPEED_ID)).thenReturn(false); in testGetPropertiesAsync_noReadPermission()
579 when(mHalService.isReadable(mContext, READ_WRITE_INT_PROPERTY_ID)) in testSetPropertiesAsync_noReadPermission()
1306 when(mHalService.isReadable(mContext, VehiclePropertyIds.GEAR_SELECTION)) in getProperty_throwsSecurityExceptionIfAppDoesNotHavePermissionToRead()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java731 if (!mPropertyHalService.isReadable(mContext, propId) in getPropertyConfigList()
1091 if (!mPropertyHalService.isReadable(mContext, propertyId)) { in getSupportedNoReadPermPropIds()
1102 && !mPropertyHalService.isReadable(mContext, propertyId); in isSupportedAndHasWritePermissionOnly()
1167 if (!mPropertyHalService.isReadable(mContext, propertyId)) { in assertReadPermissionGranted()
/packages/services/Car/service/src/com/android/car/hal/property/
DPropertyHalServiceConfigs.java362 public boolean isReadable(Context context, int halPropId) { in isReadable() method in PropertyHalServiceConfigs
/packages/services/Car/service/src/com/android/car/hal/
DPropertyHalService.java1166 public boolean isReadable(Context context, int mgrPropId) { in isReadable() method in PropertyHalService
1167 return mPropertyHalServiceConfigs.isReadable(context, managerToHalPropId(mgrPropId)); in isReadable()