Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DDrivingStatePolicy.java146 int drivingState = recalcDrivingStateLocked(); in handleSensorEvent() local
147 if (drivingState != mDrivingState && mSensorListener != null) { in handleSensorEvent()
148 mDrivingState = drivingState; in handleSensorEvent()
158 int drivingState = CarSensorEvent.DRIVE_STATUS_FULLY_RESTRICTED; in recalcDrivingStateLocked() local
168 drivingState = CarSensorEvent.DRIVE_STATUS_UNRESTRICTED; in recalcDrivingStateLocked()
172 drivingState = CarSensorEvent.DRIVE_STATUS_UNRESTRICTED; in recalcDrivingStateLocked()
176 return drivingState; in recalcDrivingStateLocked()
198 private static CarSensorEvent createEvent(int drivingState) { in createEvent() argument
199 return createEvent(drivingState, SystemClock.elapsedRealtimeNanos()); in createEvent()
202 private static CarSensorEvent createEvent(int drivingState, long timestamp) { in createEvent() argument
[all …]