Home
last modified time | relevance | path

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

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java68 .setUxRestrictions(DRIVING_STATE_PARKED, false, UX_RESTRICTIONS_BASELINE) in testConstruction()
72 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED) in testConstruction()
76 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction()
83 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction()
87 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction()
108 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
118 builder.setUxRestrictions(DRIVING_STATE_IDLING, in testBuilderValidation_NonMovingStateHasOneRestriction()
120 builder.setUxRestrictions(DRIVING_STATE_IDLING, in testBuilderValidation_NonMovingStateHasOneRestriction()
132 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
136 builder.setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java203 .setUxRestrictions(DRIVING_STATE_PARKED, in testLoadConfig_SupportsLegacyV1()
208 .setUxRestrictions(DRIVING_STATE_IDLING, in testLoadConfig_SupportsLegacyV1()
213 .setUxRestrictions(DRIVING_STATE_MOVING, in testLoadConfig_SupportsLegacyV1()
218 .setUxRestrictions(DRIVING_STATE_UNKNOWN, in testLoadConfig_SupportsLegacyV1()
223 .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()
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java214 .setUxRestrictions(DRIVING_STATE_PARKED, false, 0) in onConfirm()
215 .setUxRestrictions(DRIVING_STATE_MOVING, in onConfirm()
219 .setUxRestrictions(DRIVING_STATE_MOVING, in onConfirm()
224 .setUxRestrictions(DRIVING_STATE_IDLING, in onConfirm()
228 .setUxRestrictions(DRIVING_STATE_IDLING, in onConfirm()
/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.java271 .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/
DAppBarView.java140 .setUxRestrictions(MEDIA_UX_RESTRICTION_DEFAULT) in init()
191 mSettings.setUxRestrictions(isDistractionOptimized in setSettingsDistractionOptimized()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java1023 .setUxRestrictions(DRIVING_STATE_PARKED, in createDefaultConfig()
1025 .setUxRestrictions(DRIVING_STATE_IDLING, in createDefaultConfig()
1027 .setUxRestrictions(DRIVING_STATE_MOVING, in createDefaultConfig()
1029 .setUxRestrictions(DRIVING_STATE_UNKNOWN, in createDefaultConfig()
DCarUxRestrictionsConfigurationXmlParser.java252 getCurrentBuilder().setUxRestrictions(drivingState, restrictions); in parseAllRestrictions()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DUxrButton.java128 public void setUxRestrictions(int uxRestrictions) { in setUxRestrictions() method in UxrButton
/packages/apps/Car/Media/src/com/android/car/media/
DErrorFragment.java80 mErrorButton.setUxRestrictions(isDistractionOptimized in onCreateView()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/utils/
DCarUxRestrictionsUtil.java161 public void setUxRestrictions(CarUxRestrictions carUxRestrictions) { in setUxRestrictions() method in CarUxRestrictionsUtil
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/
DNoHfpFragment.java113 bluetoothButton.setUxRestrictions(isDistractionOptimized in onCreateView()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUsersListFragment.java81 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_SETUP) in onCreate()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DUsersListFragmentTest.java169 CarUxRestrictionsUtil.getInstance(mContext).setUxRestrictions(new CarUxRestrictions.Builder( in createUsersListFragment()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DQuickSettingFragment.java161 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_SETUP) in onCreate()