Searched refs:DrivingStateRestrictions (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUxRestrictionsConfigurationTest.java | 36 import android.car.drivingstate.CarUxRestrictionsConfiguration.DrivingStateRestrictions; 78 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction() 85 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction() 89 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction() 136 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeNoSpeedRangeOverlap() 140 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeNoSpeedRangeOverlap() 150 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeCanSpecifySubsetOfSpeedRange() 216 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_MultipleMovingRestrictionsShouldAllContainSpeedRange() 219 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_MultipleMovingRestrictionsShouldAllContainSpeedRange() 362 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testJsonSerialization_MovingStateWithSpeedRange() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarUxRestrictionsManagerServiceTest.java | 231 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 236 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 241 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 246 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 251 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 256 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 261 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 266 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 678 CarUxRestrictionsConfiguration.DrivingStateRestrictions drivingStateRestrictions = in createMovingConfig() 679 new CarUxRestrictionsConfiguration.DrivingStateRestrictions(); in createMovingConfig()
|
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarUxRestrictionsConfiguration.java | 467 DrivingStateRestrictions drivingStateRestrictions = readRestrictions(reader); in readRestrictionsList() 475 private static DrivingStateRestrictions readRestrictions(JsonReader reader) throws IOException { in readRestrictions() 508 DrivingStateRestrictions drivingStateRestrictions = new DrivingStateRestrictions() in readRestrictions() 728 return this.setUxRestrictions(drivingState, new DrivingStateRestrictions() in setUxRestrictions() 752 return setUxRestrictions(drivingState, new DrivingStateRestrictions() in setUxRestrictions() 767 int drivingState, DrivingStateRestrictions drivingStateRestrictions) { in setUxRestrictions() 1042 public static final class DrivingStateRestrictions { class in CarUxRestrictionsConfiguration 1052 public DrivingStateRestrictions setDistractionOptimizationRequired( in setDistractionOptimizationRequired() 1062 public DrivingStateRestrictions setRestrictions( in setRestrictions() 1072 public DrivingStateRestrictions setMode(@NonNull String mode) { in setMode() [all …]
|
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/ |
D | MainActivity.java | 30 import android.car.drivingstate.CarUxRestrictionsConfiguration.DrivingStateRestrictions; 245 new DrivingStateRestrictions() in onConfirm() 249 new DrivingStateRestrictions() in onConfirm() 254 new DrivingStateRestrictions() in onConfirm() 258 new DrivingStateRestrictions() in onConfirm()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsConfigurationXmlParser.java | 27 import android.car.drivingstate.CarUxRestrictionsConfiguration.DrivingStateRestrictions; 239 DrivingStateRestrictions restrictions = parseRestrictions(parser, attrs); in parseAllRestrictions() 266 private DrivingStateRestrictions parseRestrictions(XmlResourceParser parser, AttributeSet attrs) in parseRestrictions() 293 return new DrivingStateRestrictions() in parseRestrictions()
|