Home
last modified time | relevance | path

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

/aosp12/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
H A DCarUxRestrictionsConfigurationTest.java138 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
142 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
221 .setRestrictions(UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_MultipleMovingRestrictionsShouldAllContainSpeedRange()
381 .setRestrictions(UX_RESTRICTIONS_BASELINE) in testJsonSerialization_UxRestrictionMode()
386 .setRestrictions(UX_RESTRICTIONS_NO_VIDEO) in testJsonSerialization_UxRestrictionMode()
420 .setRestrictions(7) in testJsonSerialization_ReadsV1()
424 .setRestrictions(8) in testJsonSerialization_ReadsV1()
428 .setRestrictions(511) in testJsonSerialization_ReadsV1()
436 .setRestrictions(56) in testJsonSerialization_ReadsV1()
440 .setRestrictions(57) in testJsonSerialization_ReadsV1()
[all …]
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/
H A 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()
/aosp12/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
H A DMainActivity.java247 .setRestrictions(baseline)) in onConfirm()
252 .setRestrictions(passenger)) in onConfirm()
256 .setRestrictions(baseline)) in onConfirm()
261 .setRestrictions(passenger)) in onConfirm()
/aosp12/packages/apps/Settings/src/com/android/settings/users/
H A DAppRestrictionsFragment.java153 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { in setRestrictions() method in AppRestrictionsFragment.AppRestrictionsPreference
467 p.setRestrictions(restrictions); in addLocationAppRestrictionsPreference()
512 RestrictionUtils.setRestrictions(getActivity(), pref.restrictions, mUser); in onClick()
644 preference.setRestrictions(restrictions); in onReceive()
739 preference.setRestrictions(restrictions); in onRestrictionsReceived()
775 pref.setRestrictions(list); in onActivityResult()
H A DRestrictionUtils.java77 public static void setRestrictions(Context context, ArrayList<RestrictionEntry> entries, in setRestrictions() method in RestrictionUtils
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
H A 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()
H A DRestrictionUtils.java68 public static void setRestrictions(Context context, ArrayList<RestrictionEntry> entries, in setRestrictions() method in RestrictionUtils
/aosp12/frameworks/base/core/java/android/content/
H A DRestrictionEntry.java220 setRestrictions(restrictionEntries); in RestrictionEntry()
371 public void setRestrictions(RestrictionEntry[] restrictions) { in setRestrictions() method in RestrictionEntry
H A DRestrictionsManager.java671 restriction.setRestrictions(restrictionEntries.toArray(new RestrictionEntry[ in loadRestriction()
/aosp12/packages/services/Car/car-lib/src/android/car/drivingstate/
H A 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
/aosp12/packages/services/Car/service/src/com/android/car/
H A DCarUxRestrictionsConfigurationXmlParser.java295 .setRestrictions(restrictions) in parseRestrictions()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt11598 method public void setRestrictions(android.content.RestrictionEntry[]);