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 | 32 import android.car.drivingstate.CarUxRestrictionsConfiguration.DrivingStateRestrictions; 76 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction() 83 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction() 87 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction() 132 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeNoSpeedRangeOverlap() 136 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeNoSpeedRangeOverlap() 150 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeCanSpecifySubsetOfSpeedRange() 236 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_MultipleMovingRestrictionsShouldAllContainSpeedRange() 239 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_MultipleMovingRestrictionsShouldAllContainSpeedRange() 387 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testJsonSerialization_MovingStateWithSpeedRange() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarUxRestrictionsManagerServiceTest.java | 204 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 209 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 214 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 219 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 224 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 229 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 234 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1() 239 new CarUxRestrictionsConfiguration.DrivingStateRestrictions() in testLoadConfig_SupportsLegacyV1()
|
/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; 216 new DrivingStateRestrictions() in onConfirm() 220 new DrivingStateRestrictions() in onConfirm() 225 new DrivingStateRestrictions() in onConfirm() 229 new DrivingStateRestrictions() in onConfirm()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsConfigurationXmlParser.java | 27 import android.car.drivingstate.CarUxRestrictionsConfiguration.DrivingStateRestrictions; 238 DrivingStateRestrictions restrictions = parseRestrictions(parser, attrs); in parseAllRestrictions() 265 private DrivingStateRestrictions parseRestrictions(XmlResourceParser parser, AttributeSet attrs) in parseRestrictions() 292 return new DrivingStateRestrictions() in parseRestrictions()
|