Home
last modified time | relevance | path

Searched refs:UX_RESTRICTION_MODE_BASELINE (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java22 import static android.car.drivingstate.CarUxRestrictionsManager.UX_RESTRICTION_MODE_BASELINE;
116 return getUxRestrictions(drivingState, currentSpeed, UX_RESTRICTION_MODE_BASELINE); in getUxRestrictions()
150 mRestrictionModes.get(UX_RESTRICTION_MODE_BASELINE) in getUxRestrictions()
401 UX_RESTRICTION_MODE_BASELINE, builder); in readJson()
405 UX_RESTRICTION_MODE_BASELINE, builder); in readJson()
409 UX_RESTRICTION_MODE_BASELINE, builder); in readJson()
413 UX_RESTRICTION_MODE_BASELINE, builder); in readJson()
706 mRestrictionModes.put(UX_RESTRICTION_MODE_BASELINE, new RestrictionModeContainer()); in Builder()
819 if (UX_RESTRICTION_MODE_BASELINE.equals(mode)) { in build()
830 UX_RESTRICTION_MODE_BASELINE); in addDefaultRestrictionsToBaseline()
[all …]
DCarUxRestrictionsManager.java54 public static final String UX_RESTRICTION_MODE_BASELINE = "baseline"; field in CarUxRestrictionsManager
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java27 import static android.car.drivingstate.CarUxRestrictionsManager.UX_RESTRICTION_MODE_BASELINE;
411 .setMode(UX_RESTRICTION_MODE_BASELINE)) in testJsonSerialization_UxRestrictionMode()
441 .setMode(UX_RESTRICTION_MODE_BASELINE)) in testJsonSerialization_ReadsV1()
445 .setMode(UX_RESTRICTION_MODE_BASELINE)) in testJsonSerialization_ReadsV1()
449 .setMode(UX_RESTRICTION_MODE_BASELINE)) in testJsonSerialization_ReadsV1()
453 .setMode(UX_RESTRICTION_MODE_BASELINE)) in testJsonSerialization_ReadsV1()
530 .setMode(UX_RESTRICTION_MODE_BASELINE)) in testDump()
583 config.getUxRestrictions(DRIVING_STATE_PARKED, 0f, UX_RESTRICTION_MODE_BASELINE))); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline()
602 DRIVING_STATE_PARKED, 0f, UX_RESTRICTION_MODE_BASELINE); in testSetUxRestrictions_PassengerMode()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParserTest.java21 import static android.car.drivingstate.CarUxRestrictionsManager.UX_RESTRICTION_MODE_BASELINE;
144 DRIVING_STATE_MOVING, 1f, UX_RESTRICTION_MODE_BASELINE); in testParsingPassengerMode_ValuesInBaselineAreNotAffected()
149 DRIVING_STATE_IDLING, 0f, UX_RESTRICTION_MODE_BASELINE); in testParsingPassengerMode_ValuesInBaselineAreNotAffected()
154 DRIVING_STATE_PARKED, 0f, UX_RESTRICTION_MODE_BASELINE); in testParsingPassengerMode_ValuesInBaselineAreNotAffected()
DCarUxRestrictionsManagerServiceTest.java23 import static android.car.drivingstate.CarUxRestrictionsManager.UX_RESTRICTION_MODE_BASELINE;
207 .setMode(UX_RESTRICTION_MODE_BASELINE)) in testLoadConfig_SupportsLegacyV1()
212 .setMode(UX_RESTRICTION_MODE_BASELINE)) in testLoadConfig_SupportsLegacyV1()
217 .setMode(UX_RESTRICTION_MODE_BASELINE)) in testLoadConfig_SupportsLegacyV1()
222 .setMode(UX_RESTRICTION_MODE_BASELINE)) in testLoadConfig_SupportsLegacyV1()
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java21 import static android.car.drivingstate.CarUxRestrictionsManager.UX_RESTRICTION_MODE_BASELINE;
192 case UX_RESTRICTION_MODE_BASELINE: in togglePassengerMode()
197 mCarUxRestrictionsManager.setRestrictionMode(UX_RESTRICTION_MODE_BASELINE); in togglePassengerMode()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParser.java19 import static android.car.drivingstate.CarUxRestrictionsManager.UX_RESTRICTION_MODE_BASELINE;
273 String restrictionMode = UX_RESTRICTION_MODE_BASELINE; in parseRestrictions()
290 restrictionMode = UX_RESTRICTION_MODE_BASELINE; in parseRestrictions()
DCarUxRestrictionsManagerService.java23 import static android.car.drivingstate.CarUxRestrictionsManager.UX_RESTRICTION_MODE_BASELINE;
146 private String mRestrictionMode = UX_RESTRICTION_MODE_BASELINE;