Home
last modified time | relevance | path

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

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java62 .setUxRestrictions(DRIVING_STATE_PARKED, false, UX_RESTRICTIONS_BASELINE) in testConstruction()
66 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED) in testConstruction()
70 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction()
77 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction()
81 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction()
102 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
112 builder.setUxRestrictions(DRIVING_STATE_IDLING, in testBuilderValidation_NonMovingStateHasOneRestriction()
114 builder.setUxRestrictions(DRIVING_STATE_IDLING, in testBuilderValidation_NonMovingStateHasOneRestriction()
126 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
130 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
[all …]
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java214 .setUxRestrictions(DRIVING_STATE_PARKED, false, 0) in onConfirm()
215 .setUxRestrictions(DRIVING_STATE_MOVING, in onConfirm()
219 .setUxRestrictions(DRIVING_STATE_MOVING, in onConfirm()
224 .setUxRestrictions(DRIVING_STATE_IDLING, in onConfirm()
228 .setUxRestrictions(DRIVING_STATE_IDLING, in onConfirm()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java397 builder.setUxRestrictions(drivingState, drivingStateRestrictions); in readRestrictionsList()
657 public Builder setUxRestrictions(@CarDrivingState int drivingState, in setUxRestrictions() method in CarUxRestrictionsConfiguration.Builder
660 return this.setUxRestrictions(drivingState, new DrivingStateRestrictions() in setUxRestrictions()
681 public Builder setUxRestrictions(@CarDrivingState int drivingState, in setUxRestrictions() method in CarUxRestrictionsConfiguration.Builder
684 return setUxRestrictions(drivingState, new DrivingStateRestrictions() in setUxRestrictions()
699 public Builder setUxRestrictions( in setUxRestrictions() method in CarUxRestrictionsConfiguration.Builder
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java914 .setUxRestrictions(DRIVING_STATE_PARKED, in createDefaultConfig()
916 .setUxRestrictions(DRIVING_STATE_IDLING, in createDefaultConfig()
918 .setUxRestrictions(DRIVING_STATE_MOVING, in createDefaultConfig()
920 .setUxRestrictions(DRIVING_STATE_UNKNOWN, in createDefaultConfig()
DCarUxRestrictionsConfigurationXmlParser.java252 getCurrentBuilder().setUxRestrictions(drivingState, restrictions); in parseAllRestrictions()