Home
last modified time | relevance | path

Searched refs:MAX_SPEED (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java26 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()
206 new Builder.SpeedRange(2, MAX_SPEED), in testBuilderValidation_MultipleSpeedRange_NonZeroStart()
215 new Builder.SpeedRange(1, MAX_SPEED), in testBuilderValidation_SpeedRange_NonZeroStart()
268 new Builder.SpeedRange(0f, MAX_SPEED); in testSpeedRange_Construction()
283 assertThrows(Exception.class, () -> new Builder.SpeedRange(MAX_SPEED, 1f)); in testSpeedRange_MinCannotBeMaxSpeed()
347 s1 = new Builder.SpeedRange(0f, MAX_SPEED); in testSpeedRangeEquals()
348 s2 = new Builder.SpeedRange(0f, MAX_SPEED); in testSpeedRangeEquals()
407 .setSpeedRange(new Builder.SpeedRange(5f, MAX_SPEED))) in testJsonSerialization_MovingStateWithSpeedRange()
[all …]
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java275 if (currentSpeed >= Builder.SpeedRange.MAX_SPEED) { in findUxRestrictionsInList()
631 float minSpeed = Builder.SpeedRange.MAX_SPEED; in readRestrictions()
632 float maxSpeed = Builder.SpeedRange.MAX_SPEED; in readRestrictions()
1201 if (Float.compare(lastMaxSpeed, SpeedRange.MAX_SPEED) != 0) { in validateRangeOfSpeed()
1237 public static final float MAX_SPEED = Float.POSITIVE_INFINITY; field in CarUxRestrictionsConfiguration.Builder.SpeedRange
1246 this(minSpeed, MAX_SPEED); in SpeedRange()
1254 if (minSpeed == MAX_SPEED) { in SpeedRange()
1308 .append("; max: ").append(mMaxSpeed == MAX_SPEED ? "max_speed" : mMaxSpeed) in toString()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParser.java20 import static android.car.drivingstate.CarUxRestrictionsConfiguration.Builder.SpeedRange.MAX_SPEED;
352 maxSpeed = MAX_SPEED; in mapDrivingStateToRestrictions()
DCarUxRestrictionsManagerService.java24 import static android.car.drivingstate.CarUxRestrictionsConfiguration.Builder.SpeedRange.MAX_SPEED;
929 handleDispatchUxRestrictionsLocked(DRIVING_STATE_MOVING, /* speed= */ MAX_SPEED, in handleDrivingStateEventOnDisplaysLocked()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java25 import static android.car.drivingstate.CarUxRestrictionsConfiguration.Builder.SpeedRange.MAX_SPEED;
179 MAX_SPEED); in testLoadConfig_UseDefaultConfigWhenNoSavedConfigFileNoXml()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1181 field TIRAMISU_0 float MAX_SPEED = Float.POSITIVE_INFINITY;