Home
last modified time | relevance | path

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

/platform_testing/libraries/automotive-helpers/hardkeys-app-helper/src/android/platform/helpers/
DVehicleHardKeysHelperImpl.java190 public DrivingState getDrivingState() { in getDrivingState()
194 return DrivingState.IDLING; in getDrivingState()
196 return DrivingState.MOVING; in getDrivingState()
198 return DrivingState.PARKED; in getDrivingState()
200 return DrivingState.UNKNOWN; in getDrivingState()
204 public void setDrivingState(DrivingState state) { in setDrivingState()
205 if (state == DrivingState.UNKNOWN) { in setDrivingState()
207 } else if (state == DrivingState.PARKED) { in setDrivingState()
216 if (getDrivingState() == DrivingState.PARKED) { in setSpeed()
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
DIAutoVehicleHardKeysHelper.java30 enum DrivingState { enum
118 DrivingState getDrivingState(); in getDrivingState()
125 void setDrivingState(DrivingState state); in setDrivingState()
/platform_testing/tests/automotive/functional/uxrestriction/src/android/platform/tests/
DUxRestrictionTest.java28 import android.platform.helpers.IAutoVehicleHardKeysHelper.DrivingState;
60 mHardKeysHelper.get().setDrivingState(DrivingState.MOVING); in enableDrivingMode()
68 mHardKeysHelper.get().setDrivingState(DrivingState.PARKED); in disableDrivingMode()