Searched refs:movingRestrictions (Results 1 – 2 of 2) sorted by relevance
101 CarUxRestrictions movingRestrictions = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testUnspecifiedDrivingStateUsesDefaultRestriction() local102 assertTrue(movingRestrictions.isRequiresDistractionOptimization()); in testUnspecifiedDrivingStateUsesDefaultRestriction()103 assertEquals(movingRestrictions.getActiveRestrictions(), UX_RESTRICTIONS_FULLY_RESTRICTED); in testUnspecifiedDrivingStateUsesDefaultRestriction()
884 List<RestrictionsPerSpeedRange> movingRestrictions = in validateModeRestrictions() local886 Collections.sort(movingRestrictions, in validateModeRestrictions()889 validateContinuousSpeedRange(movingRestrictions); in validateModeRestrictions()