/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUxRestrictionsConfigurationTest.java | 70 .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/ |
D | CarUxRestrictionsManagerServiceTest.java | 230 .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/ |
D | MainActivity.java | 243 .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/ |
D | CarUxRestrictionsManagerTest.java | 75 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/ |
D | FakeCarUxRestrictionsService.java | 133 public void setUxRestrictions(int restrictions) throws RemoteException { in setUxRestrictions() method in FakeCarUxRestrictionsService 144 setUxRestrictions(0); in clearUxRestrictions()
|
D | CarUxRestrictionsController.java | 32 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/ |
D | MenuItem.java | 226 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()
|
D | MenuItemXmlParserUtil.java | 140 .setUxRestrictions(uxRestrictions) in readMenuItem()
|
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarUxRestrictionsConfiguration.java | 470 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/ |
D | AppBarController.java | 106 .setUxRestrictions(MEDIA_UX_RESTRICTION_DEFAULT) in AppBarController() 163 mSettings.setUxRestrictions(isDistractionOptimized in setSettingsDistractionOptimized()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsManagerService.java | 1061 .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()
|
D | CarUxRestrictionsConfigurationXmlParser.java | 253 getCurrentBuilder().setUxRestrictions(drivingState, restrictions); in parseAllRestrictions()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | PlaybackErrorViewController.java | 75 mErrorButton.setUxRestrictions(isDistractionOptimized in setError()
|
/packages/apps/Car/Settings/src/com/android/car/settings/home/ |
D | HomepageFragment.java | 71 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_KEYBOARD) in onCreate()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | UxrButton.java | 131 public void setUxRestrictions(int uxRestrictions) { in setUxRestrictions() method in UxrButton
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/ |
D | NoHfpFragment.java | 105 bluetoothButton.setUxRestrictions(isDistractionOptimized in onCreateView()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/utils/ |
D | CarUxRestrictionsUtil.java | 188 public void setUxRestrictions(CarUxRestrictions carUxRestrictions) { in setUxRestrictions() method in CarUxRestrictionsUtil
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | QuickSettingFragment.java | 138 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_SETUP) in onCreate()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | BaseCarSettingsActivity.java | 403 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_KEYBOARD) in setUpToolbars()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 264 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/ |
D | CarUiRecyclerViewTest.java | 1729 uxRestriction.setUxRestrictions(restriction); in testUxRestriction_withLimitedContent_setsMaxItems() 1750 uxRestriction.setUxRestrictions(restriction); in testUxRestriction_withoutLimitedContent_setsUnlimitedMaxItems()
|