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; 79 .setSpeedRange(new Builder.SpeedRange(0f, MAX_SPEED))) in testConstruction() 90 .setSpeedRange(new Builder.SpeedRange(1f, MAX_SPEED))) in testConstruction() 167 new Builder.SpeedRange(2, MAX_SPEED), in testBuilderValidation_MultipleSpeedRange_NonZeroStart() 180 new Builder.SpeedRange(1, MAX_SPEED), in testBuilderValidation_SpeedRange_NonZeroStart() 254 new Builder.SpeedRange(0f, MAX_SPEED); in testSpeedRange_Construction() 275 new Builder.SpeedRange(MAX_SPEED, 1f); in testSpeedRange_MinCannotBeMaxSpeed() 339 s1 = new Builder.SpeedRange(0f, MAX_SPEED); in testSpeedRangeEquals() 340 s2 = new Builder.SpeedRange(0f, MAX_SPEED); in testSpeedRangeEquals() 394 .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 | 199 Builder.SpeedRange.MAX_SPEED); in mapDrivingStateToRestrictions()
|