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;
112 assertTrue(config.getUxRestrictions(DRIVING_STATE_IDLING, 0f) in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
118 builder.setUxRestrictions(DRIVING_STATE_IDLING, in testBuilderValidation_NonMovingStateHasOneRestriction()
120 builder.setUxRestrictions(DRIVING_STATE_IDLING, in testBuilderValidation_NonMovingStateHasOneRestriction()
413 .setUxRestrictions(DRIVING_STATE_IDLING, new DrivingStateRestrictions() in testJsonSerialization_UxRestrictionMode()
442 .setUxRestrictions(DRIVING_STATE_IDLING, new DrivingStateRestrictions() in testJsonSerialization_ReadsV1()
458 .setUxRestrictions(DRIVING_STATE_IDLING, new DrivingStateRestrictions() in testJsonSerialization_ReadsV1()
494 .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.java125 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_IDLING); in testDrivingStateChange()
153 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_IDLING); in testDrivingStateChange()
215 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_IDLING); in testDrivingStateChangeForMalformedInputs()
DCarUxRestrictionsManagerServiceTest.java18 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
208 .setUxRestrictions(DRIVING_STATE_IDLING, in testLoadConfig_SupportsLegacyV1()
228 .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;
172 case DRIVING_STATE_IDLING: in updateDrivingStateText()
224 .setUxRestrictions(DRIVING_STATE_IDLING, in onConfirm()
228 .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;
1025 .setUxRestrictions(DRIVING_STATE_IDLING, in createDefaultConfig()
DCarDrivingStateService.java463 return CarDrivingStateEvent.DRIVING_STATE_IDLING; in inferDrivingStateLocked()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugReportActivity.java221 || event.eventValue == CarDrivingStateEvent.DRIVING_STATE_IDLING) { in onCarDrivingStateChanged()
/packages/services/Car/car-lib/api/
Dsystem-current.txt551 field public static final int DRIVING_STATE_IDLING = 1; // 0x1