Searched refs:movingRestrictions (Results 1 – 2 of 2) sorted by relevance
105 CarUxRestrictions movingRestrictions = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testUnspecifiedDrivingStateUsesDefaultRestriction() local106 assertThat(movingRestrictions.isRequiresDistractionOptimization()).isTrue(); in testUnspecifiedDrivingStateUsesDefaultRestriction()107 assertThat(movingRestrictions.getActiveRestrictions()) in testUnspecifiedDrivingStateUsesDefaultRestriction()
884 List<RestrictionsPerSpeedRange> movingRestrictions = in validateModeRestrictions() local886 Collections.sort(movingRestrictions, in validateModeRestrictions()889 validateContinuousSpeedRange(movingRestrictions); in validateModeRestrictions()