Home
last modified time | relevance | path

Searched refs:currentSpeed (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java115 @CarDrivingState int drivingState, float currentSpeed) { in getUxRestrictions() argument
116 return getUxRestrictions(drivingState, currentSpeed, UX_RESTRICTION_MODE_BASELINE); in getUxRestrictions()
131 float currentSpeed, @NonNull String mode) { in getUxRestrictions() argument
135 restriction = findUxRestrictionsInList(currentSpeed, in getUxRestrictions()
149 currentSpeed, in getUxRestrictions()
179 private static RestrictionsPerSpeedRange findUxRestrictionsInList(float currentSpeed, in findUxRestrictionsInList() argument
191 if (r.mSpeedRange != null && r.mSpeedRange.includes(currentSpeed)) { in findUxRestrictionsInList()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java334 Float currentSpeed = getCurrentSpeed(); in initializeUxRestrictions() local
335 if (currentSpeed == SPEED_NOT_AVAILABLE) { in initializeUxRestrictions()
342 handleDispatchUxRestrictionsLocked(currentDrivingState, currentSpeed); in initializeUxRestrictions()