Home
last modified time | relevance | path

Searched refs:SpeedRange (Results 1 – 10 of 10) 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()
88 .setSpeedRange(new Builder.SpeedRange(0f, 1f))) in testConstruction()
92 .setSpeedRange(new Builder.SpeedRange(1f, MAX_SPEED))) in testConstruction()
177 .setSpeedRange(new Builder.SpeedRange(1f, 2f))); in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
181 .setSpeedRange(new Builder.SpeedRange(1f))); in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
192 .setSpeedRange(new Builder.SpeedRange(1f, 2f))) in testBuilderValidation_PassengerModeCanSpecifySubsetOfSpeedRange()
203 new Builder.SpeedRange(1, 2), in testBuilderValidation_MultipleSpeedRange_NonZeroStart()
206 new Builder.SpeedRange(2, MAX_SPEED), in testBuilderValidation_MultipleSpeedRange_NonZeroStart()
215 new Builder.SpeedRange(1, MAX_SPEED), in testBuilderValidation_SpeedRange_NonZeroStart()
[all …]
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java275 if (currentSpeed >= Builder.SpeedRange.MAX_SPEED) { in findUxRestrictionsInList()
621 Builder.SpeedRange speedRange = null; in readRestrictions()
631 float minSpeed = Builder.SpeedRange.MAX_SPEED; in readRestrictions()
632 float maxSpeed = Builder.SpeedRange.MAX_SPEED; in readRestrictions()
645 speedRange = new Builder.SpeedRange(minSpeed, maxSpeed); in readRestrictions()
974 @NonNull SpeedRange speedRange, boolean requiresOptimization, in setUxRestrictions()
992 SpeedRange speedRange = drivingStateRestrictions.mSpeedRange; in setUxRestrictions()
1189 SpeedRange speedRange = restrictions.get(0).mSpeedRange; in validateRangeOfSpeed()
1201 if (Float.compare(lastMaxSpeed, SpeedRange.MAX_SPEED) != 0) { in validateRangeOfSpeed()
1236 public static final class SpeedRange implements Comparable<SpeedRange> { class in CarUxRestrictionsConfiguration.Builder
[all …]
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParser.java20 import static android.car.drivingstate.CarUxRestrictionsConfiguration.Builder.SpeedRange.MAX_SPEED;
362 CarUxRestrictionsConfiguration.Builder.SpeedRange speedRange = parseSpeedRange( in mapDrivingStateToRestrictions()
395 int drivingState, CarUxRestrictionsConfiguration.Builder.SpeedRange speedRange) in parseAllRestrictions()
545 private CarUxRestrictionsConfiguration.Builder.SpeedRange parseSpeedRange(float minSpeed, in parseSpeedRange()
550 return new CarUxRestrictionsConfiguration.Builder.SpeedRange(minSpeed, maxSpeed); in parseSpeedRange()
DCarUxRestrictionsManagerService.java24 import static android.car.drivingstate.CarUxRestrictionsConfiguration.Builder.SpeedRange.MAX_SPEED;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java25 import static android.car.drivingstate.CarUxRestrictionsConfiguration.Builder.SpeedRange.MAX_SPEED;
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.2.txt249 …tionsConfiguration.Builder Builder setUxRestrictions(int drivingState, SpeedRange speedRange, bool…
258 …tion.DrivingStateRestrictions DrivingStateRestrictions setSpeedRange(Builder.SpeedRange speedRange)
Dcar_hidden_apis_release_33.1.txt249 …tionsConfiguration.Builder Builder setUxRestrictions(int drivingState, SpeedRange speedRange, bool…
258 …tion.DrivingStateRestrictions DrivingStateRestrictions setSpeedRange(Builder.SpeedRange speedRange)
Dcar_hidden_apis.txt332 …tionsConfiguration.Builder Builder setUxRestrictions(int drivingState, SpeedRange speedRange, bool…
342 …tion.DrivingStateRestrictions DrivingStateRestrictions setSpeedRange(Builder.SpeedRange speedRange)
Dcar_hidden_apis_release_33.3.txt273 …tionsConfiguration.Builder Builder setUxRestrictions(int drivingState, SpeedRange speedRange, bool…
282 …tion.DrivingStateRestrictions DrivingStateRestrictions setSpeedRange(Builder.SpeedRange speedRange)
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1174 …method TIRAMISU_0 Builder setUxRestrictions(int drivingState, SpeedRange speedRange, boolean requi…
1180 class CarUxRestrictionsConfiguration.Builder.SpeedRange package android.car.drivingstate
1183 method TIRAMISU_0 int compareTo(SpeedRange other);
1191 method TIRAMISU_0 DrivingStateRestrictions setSpeedRange(Builder.SpeedRange speedRange);