Home
last modified time | relevance | path

Searched refs:drivingStateRestrictions (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java467 DrivingStateRestrictions drivingStateRestrictions = readRestrictions(reader); in readRestrictionsList() local
468 drivingStateRestrictions.setMode(mode); in readRestrictionsList()
470 builder.setUxRestrictions(drivingState, drivingStateRestrictions); in readRestrictionsList()
508 DrivingStateRestrictions drivingStateRestrictions = new DrivingStateRestrictions() in readRestrictions() local
512 drivingStateRestrictions.setSpeedRange(speedRange); in readRestrictions()
514 return drivingStateRestrictions; in readRestrictions()
767 int drivingState, DrivingStateRestrictions drivingStateRestrictions) { in setUxRestrictions() argument
768 SpeedRange speedRange = drivingStateRestrictions.mSpeedRange; in setUxRestrictions()
776 drivingStateRestrictions.mMode, mode -> new RestrictionModeContainer()); in setUxRestrictions()
780 drivingStateRestrictions.mMode, drivingStateRestrictions.mReqOpt, in setUxRestrictions()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java678 CarUxRestrictionsConfiguration.DrivingStateRestrictions drivingStateRestrictions = in createMovingConfig() local
680 drivingStateRestrictions.setDistractionOptimizationRequired(restrictions != 0); in createMovingConfig()
681 drivingStateRestrictions.setRestrictions(restrictions); in createMovingConfig()
683 drivingStateRestrictions); in createMovingConfig()