Searched refs:DRIVING_STATE_MOVING (Results 1 – 12 of 12) sorted by relevance
20 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING;72 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED) in testConstruction()76 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction()83 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction()87 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction()101 CarUxRestrictions movingRestrictions = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testUnspecifiedDrivingStateUsesDefaultRestriction()108 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()132 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()136 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()150 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeCanSpecifySubsetOfSpeedRange()[all …]
19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING;88 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testParsingMovingState_NoSpeedRange()99 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testParsingMovingState_SingleSpeedRange()110 CarUxRestrictions slow = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testParsingMovingState_MultiSpeedRange()114 CarUxRestrictions fast = config.getUxRestrictions(DRIVING_STATE_MOVING, 6f); in testParsingMovingState_MultiSpeedRange()125 DRIVING_STATE_MOVING, 1f, UX_RESTRICTION_MODE_PASSENGER); in testParsingPassengerState()144 DRIVING_STATE_MOVING, 1f, UX_RESTRICTION_MODE_BASELINE); in testParsingPassengerMode_ValuesInBaselineAreNotAffected()
19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING;213 .setUxRestrictions(DRIVING_STATE_MOVING, in testLoadConfig_SupportsLegacyV1()233 .setUxRestrictions(DRIVING_STATE_MOVING, in testLoadConfig_SupportsLegacyV1()528 new CarDrivingStateEvent(CarDrivingStateEvent.DRIVING_STATE_MOVING, 0)); in setUpMockDrivingState()
137 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_MOVING); in testDrivingStateChange()
19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING;267 writeRestrictionsList(writer, container.getRestrictionsForDriveState(DRIVING_STATE_MOVING)); in writeRestrictionMode()408 readRestrictionsList(reader, DRIVING_STATE_MOVING, in readJson()424 readRestrictionsList(reader, DRIVING_STATE_MOVING, in readJson()451 readRestrictionsList(reader, DRIVING_STATE_MOVING, mode, builder); in readRestrictionsMode()593 case DRIVING_STATE_MOVING: in getDrivingStateName()609 DRIVING_STATE_MOVING,770 if (drivingState != DRIVING_STATE_MOVING && speedRange != null) { in setUxRestrictions()849 if (drivingState != DRIVING_STATE_MOVING) { in validateBaselineModeRestrictions()885 container.getRestrictionsForDriveState(DRIVING_STATE_MOVING); in validateModeRestrictions()
52 public static final int DRIVING_STATE_MOVING = 2; field in CarDrivingStateEvent58 DRIVING_STATE_MOVING})
19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING;175 case DRIVING_STATE_MOVING: in updateDrivingStateText()215 .setUxRestrictions(DRIVING_STATE_MOVING, in onConfirm()219 .setUxRestrictions(DRIVING_STATE_MOVING, in onConfirm()
140 && event.eventValue == CarDrivingStateEvent.DRIVING_STATE_MOVING) {165 if (event != null && event.eventValue == CarDrivingStateEvent.DRIVING_STATE_MOVING) { in init()222 && event.eventValue == CarDrivingStateEvent.DRIVING_STATE_MOVING) { in onStateChanged()
20 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING;790 if (currentDrivingState != DRIVING_STATE_MOVING) { in handleSpeedChange()1027 .setUxRestrictions(DRIVING_STATE_MOVING, in createDefaultConfig()
465 return CarDrivingStateEvent.DRIVING_STATE_MOVING; in inferDrivingStateLocked()
425 new CarDrivingStateEvent(CarDrivingStateEvent.DRIVING_STATE_MOVING, 0)); in testDeletesCacheFileUponSuspendExitWhileMoving()474 new CarDrivingStateEvent(CarDrivingStateEvent.DRIVING_STATE_MOVING, in testDeletesCacheFileWhenDrivingStateBecomesMoving()
552 field public static final int DRIVING_STATE_MOVING = 2; // 0x2