Home
last modified time | relevance | path

Searched refs:setRestrictions (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java80 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testConstruction()
87 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testConstruction()
91 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testConstruction()
138 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
142 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
152 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_PassengerModeCanSpecifySubsetOfSpeedRange()
218 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED)); in testBuilderValidation_MultipleMovingRestrictionsShouldAllContainSpeedRange()
221 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_MultipleMovingRestrictionsShouldAllContainSpeedRange()
364 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testJsonSerialization_MovingStateWithSpeedRange()
368 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testJsonSerialization_MovingStateWithSpeedRange()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java233 .setRestrictions(UX_RESTRICTIONS_BASELINE) in testLoadConfig_SupportsLegacyV1()
238 .setRestrictions(7) in testLoadConfig_SupportsLegacyV1()
243 .setRestrictions(8) in testLoadConfig_SupportsLegacyV1()
248 .setRestrictions(511) in testLoadConfig_SupportsLegacyV1()
253 .setRestrictions(UX_RESTRICTIONS_BASELINE) in testLoadConfig_SupportsLegacyV1()
258 .setRestrictions(56) in testLoadConfig_SupportsLegacyV1()
263 .setRestrictions(57) in testLoadConfig_SupportsLegacyV1()
268 .setRestrictions(510) in testLoadConfig_SupportsLegacyV1()
681 drivingStateRestrictions.setRestrictions(restrictions); in createMovingConfig()
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java247 .setRestrictions(baseline)) in onConfirm()
252 .setRestrictions(passenger)) in onConfirm()
256 .setRestrictions(baseline)) in onConfirm()
261 .setRestrictions(passenger)) in onConfirm()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java151 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { in setRestrictions() method in AppRestrictionsFragment.AppRestrictionsPreference
465 p.setRestrictions(restrictions); in addLocationAppRestrictionsPreference()
510 RestrictionUtils.setRestrictions(getActivity(), pref.restrictions, mUser); in onClick()
642 preference.setRestrictions(restrictions); in onReceive()
729 preference.setRestrictions(restrictions); in onRestrictionsReceived()
765 pref.setRestrictions(list); in onActivityResult()
DRestrictionUtils.java77 public static void setRestrictions(Context context, ArrayList<RestrictionEntry> entries, in setRestrictions() method in RestrictionUtils
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java158 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { in setRestrictions() method in AppRestrictionsFragment.AppRestrictionsPreference
510 p.setRestrictions(restrictions); in addLocationAppRestrictionsPreference()
585 RestrictionUtils.setRestrictions(getActivity(), pref.getRestrictions(), mUser); in onPreferenceTreeClick()
702 mPreference.setRestrictions(null); in onReceive()
771 preference.setRestrictions(restrictions); in onRestrictionsReceived()
812 pref.setRestrictions(list); in onActivityResult()
DRestrictionUtils.java68 public static void setRestrictions(Context context, ArrayList<RestrictionEntry> entries, in setRestrictions() method in RestrictionUtils
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java510 .setRestrictions(restrictions); in readRestrictions()
730 .setRestrictions(restrictions)); in setUxRestrictions()
754 .setRestrictions(restrictions) in setUxRestrictions()
1062 public DrivingStateRestrictions setRestrictions( in setRestrictions() method in CarUxRestrictionsConfiguration.DrivingStateRestrictions
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParser.java295 .setRestrictions(restrictions) in parseRestrictions()