/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/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/ |
D | MenuItem.java | 212 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()
|
D | MenuItemRenderer.java | 272 .setUxRestrictions(uxRestrictions) in readMenuItem()
|
/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/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 | AppBarView.java | 116 .setUxRestrictions(MEDIA_UX_RESTRICTION_DEFAULT) in init() 170 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 | 252 getCurrentBuilder().setUxRestrictions(drivingState, restrictions); in parseAllRestrictions()
|
/packages/apps/Car/Settings/src/com/android/car/settings/home/ |
D | HomepageFragment.java | 70 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_KEYBOARD) in onCreate()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | ErrorViewController.java | 58 mErrorButton.setUxRestrictions(isDistractionOptimized in setError()
|
/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/libs/car-ui-lib/src/com/android/car/ui/utils/ |
D | CarUxRestrictionsUtil.java | 183 public void setUxRestrictions(CarUxRestrictions carUxRestrictions) { in setUxRestrictions() method in CarUxRestrictionsUtil
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/ |
D | NoHfpFragment.java | 124 bluetoothButton.setUxRestrictions(isDistractionOptimized in onCreateView()
|
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
D | UsersListFragment.java | 140 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_SETUP) in onCreate()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | UsersListFragmentTest.java | 171 CarUxRestrictionsUtil.getInstance(mContext).setUxRestrictions(new CarUxRestrictions.Builder( in createUsersListFragment()
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | QuickSettingFragment.java | 143 .setUxRestrictions(CarUxRestrictions.UX_RESTRICTIONS_NO_SETUP) in onCreate()
|