Home
last modified time | relevance | path

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

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java78 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testConstruction()
85 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testConstruction()
89 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testConstruction()
134 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
138 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
152 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_PassengerModeCanSpecifySubsetOfSpeedRange()
238 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED)); in testBuilderValidation_MultipleMovingRestrictionsShouldAllContainSpeedRange()
241 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_MultipleMovingRestrictionsShouldAllContainSpeedRange()
389 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testJsonSerialization_MovingStateWithSpeedRange()
393 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testJsonSerialization_MovingStateWithSpeedRange()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarUxRestrictionsManagerServiceTest.java206 .setRestrictions(UX_RESTRICTIONS_BASELINE) in testLoadConfig_SupportsLegacyV1()
211 .setRestrictions(7) in testLoadConfig_SupportsLegacyV1()
216 .setRestrictions(8) in testLoadConfig_SupportsLegacyV1()
221 .setRestrictions(511) in testLoadConfig_SupportsLegacyV1()
226 .setRestrictions(UX_RESTRICTIONS_BASELINE) in testLoadConfig_SupportsLegacyV1()
231 .setRestrictions(56) in testLoadConfig_SupportsLegacyV1()
236 .setRestrictions(57) in testLoadConfig_SupportsLegacyV1()
241 .setRestrictions(510) in testLoadConfig_SupportsLegacyV1()
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java218 .setRestrictions(baseline)) in onConfirm()
223 .setRestrictions(passenger)) in onConfirm()
227 .setRestrictions(baseline)) in onConfirm()
232 .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
459 p.setRestrictions(restrictions); in addLocationAppRestrictionsPreference()
504 RestrictionUtils.setRestrictions(getActivity(), pref.restrictions, mUser); in onClick()
636 preference.setRestrictions(restrictions); in onReceive()
723 preference.setRestrictions(restrictions); in onRestrictionsReceived()
759 pref.setRestrictions(list); in onActivityResult()
DRestrictionUtils.java77 public static void setRestrictions(Context context, ArrayList<RestrictionEntry> entries, in setRestrictions() method in RestrictionUtils
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DAppRestrictionsFragment.java151 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { in setRestrictions() method in AppRestrictionsFragment.AppRestrictionsPreference
459 p.setRestrictions(restrictions); in addLocationAppRestrictionsPreference()
504 RestrictionUtils.setRestrictions(getActivity(), pref.restrictions, mUser); in onClick()
636 preference.setRestrictions(restrictions); in onReceive()
723 preference.setRestrictions(restrictions); in onRestrictionsReceived()
759 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.java294 .setRestrictions(restrictions) in parseRestrictions()