Searched refs:drivingState (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarUxRestrictionsConfiguration.java | 96 for (int drivingState : DRIVING_STATES) { in CarUxRestrictionsConfiguration() 97 container.setRestrictionsForDriveState(drivingState, in CarUxRestrictionsConfiguration() 99 entry.getValue().getRestrictionsForDriveState(drivingState))); in CarUxRestrictionsConfiguration() 115 @CarDrivingState int drivingState, float currentSpeed) { in getUxRestrictions() 116 return getUxRestrictions(drivingState, currentSpeed, UX_RESTRICTION_MODE_BASELINE); in getUxRestrictions() 130 public CarUxRestrictions getUxRestrictions(@CarDrivingState int drivingState, in getUxRestrictions() argument 136 mRestrictionModes.get(mode).getRestrictionsForDriveState(drivingState)); in getUxRestrictions() 144 drivingState)); in getUxRestrictions() 151 .getRestrictionsForDriveState(drivingState)); in getUxRestrictions() 157 + getDrivingStateName(drivingState)); in getUxRestrictions() [all …]
|
D | CarDrivingStateManager.java | 167 public void injectDrivingState(int drivingState) { in injectDrivingState() argument 169 drivingState, SystemClock.elapsedRealtimeNanos()); in injectDrivingState()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsConfigurationXmlParser.java | 194 int drivingState = a.getInt(R.styleable.UxRestrictions_DrivingState_state, in mapDrivingStateToRestrictions() local 210 if (!parseAllRestrictions(parser, attrs, drivingState, speedRange)) { in mapDrivingStateToRestrictions() 211 Log.e(TAG, "Could not parse restrictions for driving state:" + drivingState); in mapDrivingStateToRestrictions() 224 int drivingState, Builder.SpeedRange speedRange) in parseAllRestrictions() argument 246 Log.d(TAG, "Map " + drivingState + " : " + restrictions); in parseAllRestrictions() 250 if (drivingState != CarDrivingStateEvent.DRIVING_STATE_UNKNOWN in parseAllRestrictions() 252 getCurrentBuilder().setUxRestrictions(drivingState, restrictions); in parseAllRestrictions()
|
D | CarDrivingStateService.java | 385 int drivingState = inferDrivingStateLocked(); in handlePropertyEvent() local 389 Log.d(TAG, "Driving state new->old " + drivingState + "->" in handlePropertyEvent() 392 if (drivingState != mCurrentDrivingState.eventValue) { in handlePropertyEvent() 393 addTransitionLog(TAG, mCurrentDrivingState.eventValue, drivingState, in handlePropertyEvent() 396 mCurrentDrivingState = createDrivingStateEvent(drivingState); in handlePropertyEvent()
|
D | CarUxRestrictionsManagerService.java | 744 int drivingState = event.eventValue; in handleDrivingStateEvent() local 749 } else if (drivingState == DRIVING_STATE_PARKED in handleDrivingStateEvent() 750 || drivingState == DRIVING_STATE_UNKNOWN) { in handleDrivingStateEvent() 753 logd("Speed null when driving state is: " + drivingState); in handleDrivingStateEvent() 759 Log.e(TAG, "Unexpected: Speed null when driving state is: " + drivingState); in handleDrivingStateEvent() 762 handleDispatchUxRestrictions(drivingState, mCurrentMovingSpeed); in handleDrivingStateEvent()
|