Home
last modified time | relevance | path

Searched refs:setUxRestrictions (Results 1 – 20 of 20) 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/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DMenuItem.java212 public void setUxRestrictions(@CarUxRestrictions.CarUxRestrictionsInfo int uxRestrictions) { in setUxRestrictions() method in MenuItem
514 public Builder setUxRestrictions( in setUxRestrictions() method in MenuItem.Builder
553 setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_SETUP); in setToSettings()
DMenuItemRenderer.java272 .setUxRestrictions(uxRestrictions) in readMenuItem()
/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/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/
DAppBarView.java116 .setUxRestrictions(MEDIA_UX_RESTRICTION_DEFAULT) in init()
170 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.java252 getCurrentBuilder().setUxRestrictions(drivingState, restrictions); in parseAllRestrictions()
/packages/apps/Car/Settings/src/com/android/car/settings/home/
DHomepageFragment.java70 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_KEYBOARD) in onCreate()
/packages/apps/Car/Media/src/com/android/car/media/
DErrorViewController.java58 mErrorButton.setUxRestrictions(isDistractionOptimized in setError()
/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/libs/car-ui-lib/src/com/android/car/ui/utils/
DCarUxRestrictionsUtil.java183 public void setUxRestrictions(CarUxRestrictions carUxRestrictions) { in setUxRestrictions() method in CarUxRestrictionsUtil
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/
DNoHfpFragment.java124 bluetoothButton.setUxRestrictions(isDistractionOptimized in onCreateView()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUsersListFragment.java140 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_SETUP) in onCreate()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DUsersListFragmentTest.java171 CarUxRestrictionsUtil.getInstance(mContext).setUxRestrictions(new CarUxRestrictions.Builder( in createUsersListFragment()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DQuickSettingFragment.java143 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_SETUP) in onCreate()