Searched defs:restrictions (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/service/restrictions/
H A DRestrictionsReceiver.java17 package android.service.restrictions;
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
H A DRestrictionsManagerService.java17 package com.android.server.restrictions;
119 // Check if there is a restrictions provider
122 "Cannot request permission without a restrictions provider registered");
152 // Check if there is a restrictions provider
155 "Cannot request permission without a restrictions provider registered");
185 throw new SecurityException("No restrictions provider registered for user");
/frameworks/base/core/java/android/os/
H A DUserManager.java49 * <p/>Key for user restrictions.
61 * <p/>Key for user restrictions.
72 * <p/>Key for user restrictions.
83 * <p/>Key for user restrictions.
96 * <p/>Key for user restrictions.
108 * <p/>Key for user restrictions.
120 * <p/>Key for user restrictions.
132 * <p/>Key for user restrictions.
143 * <p/>Key for user restrictions.
156 * <p/>Key for user restrictions
602 setUserRestrictions(Bundle restrictions) argument
617 setUserRestrictions(Bundle restrictions, UserHandle userHandle) argument
787 addDefaultUserRestrictions(Bundle restrictions) argument
1196 setApplicationRestrictions(String packageName, Bundle restrictions, UserHandle user) argument
1269 setDefaultGuestRestrictions(Bundle restrictions) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java1208 final SparseArray<Restriction> restrictions = mAudioRestrictions.valueAt(o);
1209 for (int i=0; i<restrictions.size(); i++) {
1215 final int usage = restrictions.keyAt(i);
1218 Restriction r = restrictions.valueAt(i);
1268 public void setUserRestrictions(Bundle restrictions, int userHandle) throws RemoteException { argument
1278 opRestrictions[i] = restrictions.getBoolean(restriction, false);
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserManagerService.java101 private static final String TAG_RESTRICTIONS = "restrictions";
470 * If default guest restrictions haven't been initialized yet, add the basic
471 * restrictions.
489 public void setDefaultGuestRestrictions(Bundle restrictions) { argument
493 mGuestRestrictions.putAll(restrictions);
501 Bundle restrictions = mUserRestrictions.get(userId);
502 return restrictions != null ? restrictions.getBoolean(restrictionKey) : false;
511 Bundle restrictions = mUserRestrictions.get(userId);
512 return restrictions !
517 setUserRestrictions(Bundle restrictions, int userId) argument
869 writeRestrictionsLocked(XmlSerializer serializer, Bundle restrictions) argument
1021 readRestrictionsLocked(XmlPullParser parser, Bundle restrictions) argument
1054 readBoolean(XmlPullParser parser, Bundle restrictions, String restrictionKey) argument
1062 writeBoolean(XmlSerializer xml, Bundle restrictions, String restrictionKey) argument
1453 setApplicationRestrictions(String packageName, Bundle restrictions, int userId) argument
1722 writeApplicationRestrictionsLocked(String packageName, Bundle restrictions, int userId) argument
[all...]

Completed in 139 milliseconds