Home
last modified time | relevance | path

Searched refs:setUxRestrictions (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java70 .setUxRestrictions(DRIVING_STATE_PARKED, false, UX_RESTRICTIONS_BASELINE) in testConstruction()
74 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED) in testConstruction()
78 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction()
85 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction()
89 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction()
114 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
125 builder.setUxRestrictions(DRIVING_STATE_IDLING, in testBuilderValidation_NonMovingStateHasOneRestriction()
127 builder.setUxRestrictions(DRIVING_STATE_IDLING, in testBuilderValidation_NonMovingStateHasOneRestriction()
136 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
140 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java223 .setUxRestrictions(DRIVING_STATE_PARKED, in testLoadConfig_SupportsLegacyV1()
228 .setUxRestrictions(DRIVING_STATE_IDLING, in testLoadConfig_SupportsLegacyV1()
233 .setUxRestrictions(DRIVING_STATE_MOVING, in testLoadConfig_SupportsLegacyV1()
238 .setUxRestrictions(DRIVING_STATE_UNKNOWN, in testLoadConfig_SupportsLegacyV1()
243 .setUxRestrictions(DRIVING_STATE_PARKED, in testLoadConfig_SupportsLegacyV1()
248 .setUxRestrictions(DRIVING_STATE_IDLING, in testLoadConfig_SupportsLegacyV1()
253 .setUxRestrictions(DRIVING_STATE_MOVING, in testLoadConfig_SupportsLegacyV1()
258 .setUxRestrictions(DRIVING_STATE_UNKNOWN, in testLoadConfig_SupportsLegacyV1()
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java243 .setUxRestrictions(DRIVING_STATE_PARKED, false, 0) in onConfirm()
244 .setUxRestrictions(DRIVING_STATE_MOVING, in onConfirm()
248 .setUxRestrictions(DRIVING_STATE_MOVING, in onConfirm()
253 .setUxRestrictions(DRIVING_STATE_IDLING, in onConfirm()
257 .setUxRestrictions(DRIVING_STATE_IDLING, in onConfirm()
/packages/services/Car/tests/CarLibTests/src/android/car/
DCarUxRestrictionsManagerTest.java75 mCarUxRestrictionsController.setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_VIDEO); in setUxRestrictions_restrictionsRegistered()
84 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_FULLY_RESTRICTED); in clearUxRestrictions_restrictionsCleared()
107 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_TEXT_MESSAGE); in setUxRestrictions_listenerRegistered_listenerTriggered()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarUxRestrictionsService.java121 public void setUxRestrictions(int restrictions) throws RemoteException { in setUxRestrictions() method in FakeCarUxRestrictionsService
132 setUxRestrictions(0); in clearUxRestrictions()
DCarUxRestrictionsController.java32 void setUxRestrictions(int restrictions) throws RemoteException; in setUxRestrictions() method
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java499 builder.setUxRestrictions(drivingState, drivingStateRestrictions); in readRestrictionsList()
770 public Builder setUxRestrictions(@CarDrivingState int drivingState, in setUxRestrictions() method in CarUxRestrictionsConfiguration.Builder
773 return this.setUxRestrictions(drivingState, new DrivingStateRestrictions() in setUxRestrictions()
795 public Builder setUxRestrictions(@CarDrivingState int drivingState, in setUxRestrictions() method in CarUxRestrictionsConfiguration.Builder
798 return setUxRestrictions(drivingState, new DrivingStateRestrictions() in setUxRestrictions()
813 public Builder setUxRestrictions( in setUxRestrictions() method in CarUxRestrictionsConfiguration.Builder
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java1022 .setUxRestrictions(DRIVING_STATE_PARKED, in createDefaultConfig()
1024 .setUxRestrictions(DRIVING_STATE_IDLING, in createDefaultConfig()
1026 .setUxRestrictions(DRIVING_STATE_MOVING, in createDefaultConfig()
1028 .setUxRestrictions(DRIVING_STATE_UNKNOWN, in createDefaultConfig()
DCarUxRestrictionsConfigurationXmlParser.java303 getCurrentBuilder().setUxRestrictions(drivingState, restrictions); in parseAllRestrictions()
/packages/apps/Car/Settings/src/com/android/car/settings/home/
DHomepageFragment.java71 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_KEYBOARD) in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DQuickSettingFragment.java138 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_SETUP) in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseCarSettingsActivity.java405 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_KEYBOARD) in setUpToolbars()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java306 setUxRestrictions(restrictions);
376 setUxRestrictions(mCarUxRestrictionService.getCurrentUxRestrictions());
819 private void setUxRestrictions(@Nullable CarUxRestrictions restrictions) { in setUxRestrictions() method
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1171 …method TIRAMISU_0 Builder setUxRestrictions(int drivingState, boolean requiresOptimization, int re…
1172 …method TIRAMISU_0 Builder setUxRestrictions(int drivingState, SpeedRange speedRange, boolean requi…
1173 …method TIRAMISU_0 Builder setUxRestrictions(int drivingState, DrivingStateRestrictions drivingStat…