Searched refs:DRIVING_STATE_PARKED (Results 1 – 12 of 12) sorted by relevance
21 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 …]
20 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()
20 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()
105 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_PARKED); in testDrivingStateChange()195 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_PARKED); in testDrivingStateChangeForMalformedInputs()
20 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,
44 public static final int DRIVING_STATE_PARKED = 0; field in CarDrivingStateEvent56 DRIVING_STATE_PARKED,
20 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()
21 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()
456 return CarDrivingStateEvent.DRIVING_STATE_PARKED; in inferDrivingStateLocked()
446 new CarDrivingStateEvent(CarDrivingStateEvent.DRIVING_STATE_PARKED, 0)); in testRegistersForDrivingStateChangesUponSuspendExit()
220 if (event.eventValue == CarDrivingStateEvent.DRIVING_STATE_PARKED in onCarDrivingStateChanged()
553 field public static final int DRIVING_STATE_PARKED = 0; // 0x0