Searched refs:currentSpeed (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarUxRestrictionsConfiguration.java | 147 @CarDrivingState int drivingState, float currentSpeed) { in getUxRestrictions() argument 148 return getUxRestrictions(drivingState, currentSpeed, UX_RESTRICTION_MODE_BASELINE); in getUxRestrictions() 164 @FloatRange(from = 0f) float currentSpeed, @NonNull String mode) { in getUxRestrictions() 167 if (Float.isNaN(currentSpeed) || currentSpeed < 0f) { in getUxRestrictions() 169 throw new IllegalArgumentException("Invalid currentSpeed: " + currentSpeed); in getUxRestrictions() 171 Slog.e(TAG, "getUxRestrictions: Invalid currentSpeed: " + currentSpeed); in getUxRestrictions() 176 restriction = findUxRestrictionsInList(currentSpeed, in getUxRestrictions() 190 currentSpeed, in getUxRestrictions() 264 private static RestrictionsPerSpeedRange findUxRestrictionsInList(float currentSpeed, in findUxRestrictionsInList() argument 275 if (currentSpeed >= Builder.SpeedRange.MAX_SPEED) { in findUxRestrictionsInList() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsManagerService.java | 912 Optional<Float> currentSpeed = getCurrentSpeed(); in handleDrivingStateEventOnDisplaysLocked() local 914 if (currentSpeed.isPresent()) { in handleDrivingStateEventOnDisplaysLocked() 915 mCurrentMovingSpeed = currentSpeed.get(); in handleDrivingStateEventOnDisplaysLocked()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 1157 method TIRAMISU_0 CarUxRestrictions getUxRestrictions(int drivingState, float currentSpeed); 1158 …method TIRAMISU_0 CarUxRestrictions getUxRestrictions(int drivingState, float currentSpeed, String…
|