Searched refs:drivingState (Results 1 – 1 of 1) sorted by relevance
146 int drivingState = recalcDrivingStateLocked(); in handleSensorEvent() local147 if (drivingState != mDrivingState && mSensorListener != null) { in handleSensorEvent()148 mDrivingState = drivingState; in handleSensorEvent()158 int drivingState = CarSensorEvent.DRIVE_STATUS_FULLY_RESTRICTED; in recalcDrivingStateLocked() local168 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() argument199 return createEvent(drivingState, SystemClock.elapsedRealtimeNanos()); in createEvent()202 private static CarSensorEvent createEvent(int drivingState, long timestamp) { in createEvent() argument[all …]