Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DRestrictionEntry.java36 public class RestrictionEntry implements Parcelable { class
136 private RestrictionEntry[] mRestrictions;
144 public RestrictionEntry(int type, String key) { in RestrictionEntry() method in RestrictionEntry
154 public RestrictionEntry(String key, String selectedString) { in RestrictionEntry() method in RestrictionEntry
165 public RestrictionEntry(String key, boolean selectedState) { in RestrictionEntry() method in RestrictionEntry
176 public RestrictionEntry(String key, String[] selectedStrings) { in RestrictionEntry() method in RestrictionEntry
187 public RestrictionEntry(String key, int selectedInt) { in RestrictionEntry() method in RestrictionEntry
203 private RestrictionEntry(String key, RestrictionEntry[] restrictionEntries, in RestrictionEntry() method in RestrictionEntry
209 for (RestrictionEntry restriction : restrictionEntries) { in RestrictionEntry()
228 public static RestrictionEntry createBundleEntry(String key, in createBundleEntry()
[all …]
DRestrictionsManager.java534 public List<RestrictionEntry> getManifestRestrictions(String packageName) { in getManifestRestrictions()
551 private List<RestrictionEntry> loadManifestRestrictions(String packageName, in loadManifestRestrictions()
559 ArrayList<RestrictionEntry> restrictions = new ArrayList<>(); in loadManifestRestrictions()
560 RestrictionEntry restriction; in loadManifestRestrictions()
584 private RestrictionEntry loadRestrictionElement(Context appContext, XmlResourceParser xml) in loadRestrictionElement()
590 com.android.internal.R.styleable.RestrictionEntry); in loadRestrictionElement()
597 … private RestrictionEntry loadRestriction(Context appContext, TypedArray a, XmlResourceParser xml) in loadRestriction()
617 RestrictionEntry restriction = new RestrictionEntry(restrictionType, key); in loadRestriction()
628 case RestrictionEntry.TYPE_NULL: // hidden in loadRestriction()
629 case RestrictionEntry.TYPE_STRING: in loadRestriction()
[all …]
DRestrictionEntry.aidl20 parcelable RestrictionEntry;
/frameworks/base/core/tests/coretests/src/android/content/
DRestrictionsManagerTest.java38 List<RestrictionEntry> manifestRestrictions = mRm.getManifestRestrictions(packageName); in testGetManifestRestrictions()
42 for (RestrictionEntry entry : manifestRestrictions) { in testGetManifestRestrictions()
51 for (RestrictionEntry childEntry : entry.getRestrictions()) { in testGetManifestRestrictions()
67 List<RestrictionEntry> manifestRestrictions = mRm.getManifestRestrictions(packageName); in testConvertRestrictionsToBundle()
/frameworks/base/core/java/android/os/
DIUserManager.aidl24 import android.content.RestrictionEntry;
/frameworks/base/docs/html/about/versions/
Dandroid-4.3.jd252 android.content.RestrictionEntry} for each restriction your app provides. Each {@link
253 android.content.RestrictionEntry} defines a restriction title, description, and one of the
257 <li>{@link android.content.RestrictionEntry#TYPE_BOOLEAN} for a restriction that is
259 <li>{@link android.content.RestrictionEntry#TYPE_CHOICE} for a restriction that has
261 <li>{@link android.content.RestrictionEntry#TYPE_MULTI_SELECT} for a restriction that
265 <p>You then put all the {@link android.content.RestrictionEntry} objects into an {@link
270 restriction with the unique key you provided for each {@link android.content.RestrictionEntry}
274 you defined with the {@link android.content.RestrictionEntry} objects.</p>
288 {@link android.content.RestrictionEntry} objects or key-value pairs, respectively.</p>
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt207 NO DOC BLOCK: android.content.RestrictionEntry Constructor (int, java.lang.String)
208 NO DOC BLOCK: android.content.RestrictionEntry Constructor (java.lang.String, int)
479 NO DOC BLOCK: android.content.RestrictionEntry Method getIntValue()
889 NO DOC BLOCK: android.content.RestrictionEntry Method setIntValue(int)
1974 NO DOC BLOCK: android.content.RestrictionEntry Field TYPE_INTEGER
1975 NO DOC BLOCK: android.content.RestrictionEntry Field TYPE_STRING
/frameworks/base/
DAndroid.mk660 frameworks/base/core/java/android/content/RestrictionEntry.aidl \
Dcompiled-classes-phone860 android.content.RestrictionEntry
861 android.content.RestrictionEntry$1
/frameworks/base/api/
Dcurrent.txt8986 public class RestrictionEntry implements android.os.Parcelable {
8987 ctor public RestrictionEntry(int, java.lang.String);
8988 ctor public RestrictionEntry(java.lang.String, java.lang.String);
8989 ctor public RestrictionEntry(java.lang.String, boolean);
8990 ctor public RestrictionEntry(java.lang.String, java.lang.String[]);
8991 ctor public RestrictionEntry(java.lang.String, int);
8992 ctor public RestrictionEntry(android.os.Parcel);
8993 … public static android.content.RestrictionEntry createBundleArrayEntry(java.lang.String, android.c…
8994 …hod public static android.content.RestrictionEntry createBundleEntry(java.lang.String, android.con…
9002 method public android.content.RestrictionEntry[] getRestrictions();
[all …]
Dtest-current.txt8995 public class RestrictionEntry implements android.os.Parcelable {
8996 ctor public RestrictionEntry(int, java.lang.String);
8997 ctor public RestrictionEntry(java.lang.String, java.lang.String);
8998 ctor public RestrictionEntry(java.lang.String, boolean);
8999 ctor public RestrictionEntry(java.lang.String, java.lang.String[]);
9000 ctor public RestrictionEntry(java.lang.String, int);
9001 ctor public RestrictionEntry(android.os.Parcel);
9002 … public static android.content.RestrictionEntry createBundleArrayEntry(java.lang.String, android.c…
9003 …hod public static android.content.RestrictionEntry createBundleEntry(java.lang.String, android.con…
9011 method public android.content.RestrictionEntry[] getRestrictions();
[all …]
Dsystem-current.txt9328 public class RestrictionEntry implements android.os.Parcelable {
9329 ctor public RestrictionEntry(int, java.lang.String);
9330 ctor public RestrictionEntry(java.lang.String, java.lang.String);
9331 ctor public RestrictionEntry(java.lang.String, boolean);
9332 ctor public RestrictionEntry(java.lang.String, java.lang.String[]);
9333 ctor public RestrictionEntry(java.lang.String, int);
9334 ctor public RestrictionEntry(android.os.Parcel);
9335 … public static android.content.RestrictionEntry createBundleArrayEntry(java.lang.String, android.c…
9336 …hod public static android.content.RestrictionEntry createBundleEntry(java.lang.String, android.con…
9344 method public android.content.RestrictionEntry[] getRestrictions();
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8031 public class RestrictionEntry implements android.os.Parcelable {
8032 ctor public RestrictionEntry(int, java.lang.String);
8033 ctor public RestrictionEntry(java.lang.String, java.lang.String);
8034 ctor public RestrictionEntry(java.lang.String, boolean);
8035 ctor public RestrictionEntry(java.lang.String, java.lang.String[]);
8036 ctor public RestrictionEntry(java.lang.String, int);
8037 ctor public RestrictionEntry(android.os.Parcel);
8061 … field public static final android.os.Parcelable.Creator<android.content.RestrictionEntry> CREATOR;
8073 …method public java.util.List<android.content.RestrictionEntry> getManifestRestrictions(java.lang.S…