Home
last modified time | relevance | path

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

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
118 assertThat(config.getUxRestrictions(DRIVING_STATE_IDLING, 0f) in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
125 builder.setUxRestrictions(DRIVING_STATE_IDLING, in testBuilderValidation_NonMovingStateHasOneRestriction()
127 builder.setUxRestrictions(DRIVING_STATE_IDLING, in testBuilderValidation_NonMovingStateHasOneRestriction()
389 .setUxRestrictions(DRIVING_STATE_IDLING, new DrivingStateRestrictions() in testJsonSerialization_UxRestrictionMode()
418 .setUxRestrictions(DRIVING_STATE_IDLING, new DrivingStateRestrictions() in testJsonSerialization_ReadsV1()
434 .setUxRestrictions(DRIVING_STATE_IDLING, new DrivingStateRestrictions() in testJsonSerialization_ReadsV1()
467 .setUxRestrictions(DRIVING_STATE_IDLING, true, UX_RESTRICTIONS_NO_VIDEO) in testDump()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParserTest.java18 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
78 CarUxRestrictions idling = config.getUxRestrictions(DRIVING_STATE_IDLING, 0f); in testParsingNonMovingState()
129 DRIVING_STATE_IDLING, 0f, UX_RESTRICTION_MODE_PASSENGER); in testParsingPassengerState()
149 DRIVING_STATE_IDLING, 0f, UX_RESTRICTION_MODE_BASELINE); in testParsingPassengerMode_ValuesInBaselineAreNotAffected()
DCarDrivingRestrictionsTest.java126 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_IDLING); in testDrivingStateChange()
154 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_IDLING); in testDrivingStateChange()
221 CarDrivingStateEvent.DRIVING_STATE_IDLING); in testDrivingStateChangeForMalformedInputs()
DCarUxRestrictionsManagerServiceTest.java18 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
235 .setUxRestrictions(DRIVING_STATE_IDLING, in testLoadConfig_SupportsLegacyV1()
255 .setUxRestrictions(DRIVING_STATE_IDLING, in testLoadConfig_SupportsLegacyV1()
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java18 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
201 case DRIVING_STATE_IDLING: in updateDrivingStateText()
253 .setUxRestrictions(DRIVING_STATE_IDLING, in onConfirm()
257 .setUxRestrictions(DRIVING_STATE_IDLING, in onConfirm()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java18 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
264 writeRestrictionsList(writer, container.getRestrictionsForDriveState(DRIVING_STATE_IDLING)); in writeRestrictionMode()
404 readRestrictionsList(reader, DRIVING_STATE_IDLING, in readJson()
420 readRestrictionsList(reader, DRIVING_STATE_IDLING, in readJson()
448 readRestrictionsList(reader, DRIVING_STATE_IDLING, mode, builder); in readRestrictionsMode()
591 case DRIVING_STATE_IDLING: in getDrivingStateName()
608 DRIVING_STATE_IDLING,
DCarDrivingStateEvent.java48 public static final int DRIVING_STATE_IDLING = 1; field in CarDrivingStateEvent
57 DRIVING_STATE_IDLING,
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
1063 .setUxRestrictions(DRIVING_STATE_IDLING, in createDefaultConfig()
DCarDrivingStateService.java422 return CarDrivingStateEvent.DRIVING_STATE_IDLING; in inferDrivingStateLocked()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportActivity.java220 || event.eventValue == CarDrivingStateEvent.DRIVING_STATE_IDLING) { in onCarDrivingStateChanged()
/packages/services/Car/car-lib/api/
Dsystem-current.txt573 field public static final int DRIVING_STATE_IDLING = 1; // 0x1