Searched refs:MAX_SPEED (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUxRestrictionsConfigurationTest.java | 26 import static android.car.drivingstate.CarUxRestrictionsConfiguration.Builder.SpeedRange.MAX_SPEED; 81 .setSpeedRange(new Builder.SpeedRange(0f, MAX_SPEED))) in testConstruction() 92 .setSpeedRange(new Builder.SpeedRange(1f, MAX_SPEED))) in testConstruction() 168 new Builder.SpeedRange(2, MAX_SPEED), in testBuilderValidation_MultipleSpeedRange_NonZeroStart() 177 new Builder.SpeedRange(1, MAX_SPEED), in testBuilderValidation_SpeedRange_NonZeroStart() 230 new Builder.SpeedRange(0f, MAX_SPEED); in testSpeedRange_Construction() 245 assertThrows(Exception.class, () -> new Builder.SpeedRange(MAX_SPEED, 1f)); in testSpeedRange_MinCannotBeMaxSpeed() 309 s1 = new Builder.SpeedRange(0f, MAX_SPEED); in testSpeedRangeEquals() 310 s2 = new Builder.SpeedRange(0f, MAX_SPEED); in testSpeedRangeEquals() 369 .setSpeedRange(new Builder.SpeedRange(5f, MAX_SPEED))) in testJsonSerialization_MovingStateWithSpeedRange()
|
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarUxRestrictionsConfiguration.java | 489 float minSpeed = Builder.SpeedRange.MAX_SPEED; in readRestrictions() 490 float maxSpeed = Builder.SpeedRange.MAX_SPEED; in readRestrictions() 919 if (Float.compare(lastMaxSpeed, SpeedRange.MAX_SPEED) != 0) { in validateRangeOfSpeed() 955 public static final float MAX_SPEED = Float.POSITIVE_INFINITY; field in CarUxRestrictionsConfiguration.Builder.SpeedRange 964 this(minSpeed, MAX_SPEED); in SpeedRange() 972 if (minSpeed == MAX_SPEED) { in SpeedRange() 1026 .append("; max: ").append(mMaxSpeed == MAX_SPEED ? "max_speed" : mMaxSpeed) in toString()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsConfigurationXmlParser.java | 200 Builder.SpeedRange.MAX_SPEED); in mapDrivingStateToRestrictions()
|