Home
last modified time | relevance | path

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

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java21 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_PARKED;
68 .setUxRestrictions(DRIVING_STATE_PARKED, false, UX_RESTRICTIONS_BASELINE) in testConstruction()
97 CarUxRestrictions parkedRestrictions = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testUnspecifiedDrivingStateUsesDefaultRestriction()
110 assertTrue(config.getUxRestrictions(DRIVING_STATE_PARKED, 0f) in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
225 builder.setUxRestrictions(DRIVING_STATE_PARKED, in testBuilderValidation_NonMovingStateCannotUseSpeedRange()
371 .setUxRestrictions(DRIVING_STATE_PARKED, false, UX_RESTRICTIONS_BASELINE) in testJsonSerialization_NonMovingStateRestrictions()
408 .setUxRestrictions(DRIVING_STATE_PARKED, new DrivingStateRestrictions() in testJsonSerialization_UxRestrictionMode()
438 .setUxRestrictions(DRIVING_STATE_PARKED, new DrivingStateRestrictions() in testJsonSerialization_ReadsV1()
454 .setUxRestrictions(DRIVING_STATE_PARKED, new DrivingStateRestrictions() in testJsonSerialization_ReadsV1()
493 .setUxRestrictions(DRIVING_STATE_PARKED, false, UX_RESTRICTIONS_BASELINE) in testDump()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParserTest.java20 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_PARKED;
64 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testParsingParameters()
75 CarUxRestrictions parked = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testParsingNonMovingState()
133 DRIVING_STATE_PARKED, 0f, UX_RESTRICTION_MODE_PASSENGER); in testParsingPassengerState()
154 DRIVING_STATE_PARKED, 0f, UX_RESTRICTION_MODE_BASELINE); in testParsingPassengerMode_ValuesInBaselineAreNotAffected()
185 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testMultipleConfigurationsShareParameters()
DCarUxRestrictionsManagerServiceTest.java20 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_PARKED;
203 .setUxRestrictions(DRIVING_STATE_PARKED, in testLoadConfig_SupportsLegacyV1()
223 .setUxRestrictions(DRIVING_STATE_PARKED, in testLoadConfig_SupportsLegacyV1()
518 new CarDrivingStateEvent(CarDrivingStateEvent.DRIVING_STATE_PARKED, 0)); in setUpMockParkedState()
DCarDrivingRestrictionsTest.java105 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_PARKED); in testDrivingStateChange()
195 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_PARKED); in testDrivingStateChangeForMalformedInputs()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java20 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_PARKED;
261 writeRestrictionsList(writer, container.getRestrictionsForDriveState(DRIVING_STATE_PARKED)); in writeRestrictionMode()
400 readRestrictionsList(reader, DRIVING_STATE_PARKED, in readJson()
416 readRestrictionsList(reader, DRIVING_STATE_PARKED, in readJson()
445 readRestrictionsList(reader, DRIVING_STATE_PARKED, mode, builder); in readRestrictionsMode()
589 case DRIVING_STATE_PARKED: in getDrivingStateName()
607 DRIVING_STATE_PARKED,
DCarDrivingStateEvent.java44 public static final int DRIVING_STATE_PARKED = 0; field in CarDrivingStateEvent
56 DRIVING_STATE_PARKED,
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java20 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_PARKED;
169 case DRIVING_STATE_PARKED: in updateDrivingStateText()
214 .setUxRestrictions(DRIVING_STATE_PARKED, false, 0) in onConfirm()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java21 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_PARKED;
268 && currentDrivingStateEvent.eventValue == DRIVING_STATE_PARKED in promoteStagedConfig()
640 handleDispatchUxRestrictions(DRIVING_STATE_PARKED, 0); in setUxRChangeBroadcastEnabled()
749 } else if (drivingState == DRIVING_STATE_PARKED in handleDrivingStateEvent()
1023 .setUxRestrictions(DRIVING_STATE_PARKED, in createDefaultConfig()
DCarDrivingStateService.java456 return CarDrivingStateEvent.DRIVING_STATE_PARKED; in inferDrivingStateLocked()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java446 new CarDrivingStateEvent(CarDrivingStateEvent.DRIVING_STATE_PARKED, 0)); in testRegistersForDrivingStateChangesUponSuspendExit()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugReportActivity.java220 if (event.eventValue == CarDrivingStateEvent.DRIVING_STATE_PARKED in onCarDrivingStateChanged()
/packages/services/Car/car-lib/api/
Dsystem-current.txt553 field public static final int DRIVING_STATE_PARKED = 0; // 0x0