Home
last modified time | relevance | path

Searched refs:setUxRestrictions (Results 1 – 21 of 21) 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.java230 .setUxRestrictions(DRIVING_STATE_PARKED, in testLoadConfig_SupportsLegacyV1()
235 .setUxRestrictions(DRIVING_STATE_IDLING, in testLoadConfig_SupportsLegacyV1()
240 .setUxRestrictions(DRIVING_STATE_MOVING, in testLoadConfig_SupportsLegacyV1()
245 .setUxRestrictions(DRIVING_STATE_UNKNOWN, in testLoadConfig_SupportsLegacyV1()
250 .setUxRestrictions(DRIVING_STATE_PARKED, in testLoadConfig_SupportsLegacyV1()
255 .setUxRestrictions(DRIVING_STATE_IDLING, in testLoadConfig_SupportsLegacyV1()
260 .setUxRestrictions(DRIVING_STATE_MOVING, in testLoadConfig_SupportsLegacyV1()
265 .setUxRestrictions(DRIVING_STATE_UNKNOWN, in testLoadConfig_SupportsLegacyV1()
682 builder.setUxRestrictions(CarDrivingStateEvent.DRIVING_STATE_MOVING, in createMovingConfig()
/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.java133 public void setUxRestrictions(int restrictions) throws RemoteException { in setUxRestrictions() method in FakeCarUxRestrictionsService
144 setUxRestrictions(0); in clearUxRestrictions()
DCarUxRestrictionsController.java32 void setUxRestrictions(int restrictions) throws RemoteException; in setUxRestrictions() method
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItem.java226 public void setUxRestrictions(@CarUxRestrictions.CarUxRestrictionsInfo int uxRestrictions) { in setUxRestrictions() method in MenuItem
536 public Builder setUxRestrictions( in setUxRestrictions() method in MenuItem.Builder
575 setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_SETUP); in setToSettings()
DMenuItemXmlParserUtil.java140 .setUxRestrictions(uxRestrictions) in readMenuItem()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java470 builder.setUxRestrictions(drivingState, drivingStateRestrictions); in readRestrictionsList()
725 public Builder setUxRestrictions(@CarDrivingState int drivingState, in setUxRestrictions() method in CarUxRestrictionsConfiguration.Builder
728 return this.setUxRestrictions(drivingState, new DrivingStateRestrictions() in setUxRestrictions()
749 public Builder setUxRestrictions(@CarDrivingState int drivingState, in setUxRestrictions() method in CarUxRestrictionsConfiguration.Builder
752 return setUxRestrictions(drivingState, new DrivingStateRestrictions() in setUxRestrictions()
766 public Builder setUxRestrictions( in setUxRestrictions() method in CarUxRestrictionsConfiguration.Builder
/packages/apps/Car/Media/src/com/android/car/media/widgets/
DAppBarController.java106 .setUxRestrictions(MEDIA_UX_RESTRICTION_DEFAULT) in AppBarController()
163 mSettings.setUxRestrictions(isDistractionOptimized in setSettingsDistractionOptimized()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java1061 .setUxRestrictions(DRIVING_STATE_PARKED, in createDefaultConfig()
1063 .setUxRestrictions(DRIVING_STATE_IDLING, in createDefaultConfig()
1065 .setUxRestrictions(DRIVING_STATE_MOVING, in createDefaultConfig()
1067 .setUxRestrictions(DRIVING_STATE_UNKNOWN, in createDefaultConfig()
DCarUxRestrictionsConfigurationXmlParser.java253 getCurrentBuilder().setUxRestrictions(drivingState, restrictions); in parseAllRestrictions()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DPlaybackErrorViewController.java75 mErrorButton.setUxRestrictions(isDistractionOptimized in setError()
/packages/apps/Car/Settings/src/com/android/car/settings/home/
DHomepageFragment.java71 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_KEYBOARD) in onCreate()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DUxrButton.java131 public void setUxRestrictions(int uxRestrictions) { in setUxRestrictions() method in UxrButton
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/
DNoHfpFragment.java105 bluetoothButton.setUxRestrictions(isDistractionOptimized in onCreateView()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/utils/
DCarUxRestrictionsUtil.java188 public void setUxRestrictions(CarUxRestrictions carUxRestrictions) { in setUxRestrictions() method in CarUxRestrictionsUtil
/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.java403 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_KEYBOARD) in setUpToolbars()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java264 setUxRestrictions(restrictions);
344 setUxRestrictions(mCarUxRestrictionService.getCurrentUxRestrictions()); in init()
917 private void setUxRestrictions(@Nullable CarUxRestrictions restrictions) { in setUxRestrictions() method
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DCarUiRecyclerViewTest.java1729 uxRestriction.setUxRestrictions(restriction); in testUxRestriction_withLimitedContent_setsMaxItems()
1750 uxRestriction.setUxRestrictions(restriction); in testUxRestriction_withoutLimitedContent_setsUnlimitedMaxItems()