Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/content/
H A DRestrictionEntry.java37 public class RestrictionEntry implements Parcelable { class
137 private RestrictionEntry[] mRestrictions;
145 public RestrictionEntry(int type, String key) { in RestrictionEntry() method in RestrictionEntry
204 private RestrictionEntry(String key, RestrictionEntry[] restrictionEntries, in RestrictionEntry() method in RestrictionEntry
230 RestrictionEntry[] restrictionEntries) { in createBundleEntry()
362 public RestrictionEntry[] getRestrictions() { in getRestrictions()
459 final RestrictionEntry other = (RestrictionEntry) o; in equals()
499 public RestrictionEntry(Parcel in) { in RestrictionEntry() method in RestrictionEntry
535 …tatic final @android.annotation.NonNull Creator<RestrictionEntry> CREATOR = new Creator<Restrictio…
537 return new RestrictionEntry(source);
[all …]
H A DRestrictionsManager.java565 RestrictionEntry restriction; in loadManifestRestrictions()
622 RestrictionEntry restriction = new RestrictionEntry(restrictionType, key); in loadRestriction()
634 case RestrictionEntry.TYPE_STRING: in loadRestriction()
635 case RestrictionEntry.TYPE_CHOICE: in loadRestriction()
639 case RestrictionEntry.TYPE_INTEGER: in loadRestriction()
650 case RestrictionEntry.TYPE_BOOLEAN: in loadRestriction()
654 case RestrictionEntry.TYPE_BUNDLE: in loadRestriction()
709 case RestrictionEntry.TYPE_CHOICE: in addRestrictionToBundle()
717 case RestrictionEntry.TYPE_STRING: in addRestrictionToBundle()
718 case RestrictionEntry.TYPE_NULL: in addRestrictionToBundle()
[all …]
H A DRestrictionEntry.aidl20 parcelable RestrictionEntry;
/aosp12/packages/apps/Settings/src/com/android/settings/users/
H A DRestrictionUtils.java20 import android.content.RestrictionEntry;
58 public static ArrayList<RestrictionEntry> getRestrictions(Context context, UserHandle user) { in getRestrictions()
60 ArrayList<RestrictionEntry> entries = new ArrayList<RestrictionEntry>(); in getRestrictions()
65 RestrictionEntry entry = new RestrictionEntry( in getRestrictions()
70 entry.setType(RestrictionEntry.TYPE_BOOLEAN); in getRestrictions()
77 public static void setRestrictions(Context context, ArrayList<RestrictionEntry> entries, in setRestrictions()
80 for (RestrictionEntry entry : entries) { in setRestrictions()
H A DAppRestrictionsFragment.java26 import android.content.RestrictionEntry;
138 private ArrayList<RestrictionEntry> restrictions;
165 ArrayList<RestrictionEntry> getRestrictions() { in getRestrictions()
684 ArrayList<RestrictionEntry> restrictions) { in onRestrictionsReceived()
689 for (RestrictionEntry entry : restrictions) { in onRestrictionsReceived()
692 case RestrictionEntry.TYPE_BOOLEAN: in onRestrictionsReceived()
698 case RestrictionEntry.TYPE_CHOICE: in onRestrictionsReceived()
699 case RestrictionEntry.TYPE_CHOICE_LEVEL: in onRestrictionsReceived()
713 case RestrictionEntry.TYPE_MULTI_SELECT: in onRestrictionsReceived()
723 case RestrictionEntry.TYPE_NULL: in onRestrictionsReceived()
[all …]
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
H A DRestrictionUtils.java20 import android.content.RestrictionEntry;
49 public static ArrayList<RestrictionEntry> getRestrictions(Context context, UserHandle user) { in getRestrictions()
51 ArrayList<RestrictionEntry> entries = new ArrayList<>(); in getRestrictions()
56 RestrictionEntry entry = new RestrictionEntry( in getRestrictions()
61 entry.setType(RestrictionEntry.TYPE_BOOLEAN); in getRestrictions()
68 public static void setRestrictions(Context context, ArrayList<RestrictionEntry> entries, in setRestrictions()
72 for (RestrictionEntry entry : entries) { in setRestrictions()
H A DAppRestrictionsFragment.java27 import android.content.RestrictionEntry;
149 private ArrayList<RestrictionEntry> mRestrictions;
170 ArrayList<RestrictionEntry> getRestrictions() { in getRestrictions()
717 ArrayList<RestrictionEntry> restrictions) { in onRestrictionsReceived()
723 for (RestrictionEntry entry : restrictions) { in onRestrictionsReceived()
726 case RestrictionEntry.TYPE_BOOLEAN: in onRestrictionsReceived()
732 case RestrictionEntry.TYPE_CHOICE: in onRestrictionsReceived()
733 case RestrictionEntry.TYPE_CHOICE_LEVEL: in onRestrictionsReceived()
747 case RestrictionEntry.TYPE_MULTI_SELECT: in onRestrictionsReceived()
757 case RestrictionEntry.TYPE_NULL: in onRestrictionsReceived()
[all …]
/aosp12/frameworks/base/core/tests/coretests/src/android/content/
H A DRestrictionsManagerTest.java42 List<RestrictionEntry> manifestRestrictions = mRm.getManifestRestrictions(packageName); in testGetManifestRestrictions()
46 for (RestrictionEntry entry : manifestRestrictions) { in testGetManifestRestrictions()
55 for (RestrictionEntry childEntry : entry.getRestrictions()) { in testGetManifestRestrictions()
71 List<RestrictionEntry> manifestRestrictions = mRm.getManifestRestrictions(packageName); in testConvertRestrictionsToBundle()
83 List<RestrictionEntry> manifestRestrictions = mRm.getManifestRestrictions(packageName); in testConvertRestrictionsToBundle_bundleArray()
/aosp12/frameworks/base/core/java/android/os/
H A DIUserManager.aidl26 import android.content.RestrictionEntry;
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt11570 public class RestrictionEntry implements android.os.Parcelable {
11571 ctor public RestrictionEntry(int, String);
11572 ctor public RestrictionEntry(String, String);
11573 ctor public RestrictionEntry(String, boolean);
11574 ctor public RestrictionEntry(String, String[]);
11575 ctor public RestrictionEntry(String, int);
11576 ctor public RestrictionEntry(android.os.Parcel);
11577 …ethod public static android.content.RestrictionEntry createBundleArrayEntry(String, android.conten…
11578 …method public static android.content.RestrictionEntry createBundleEntry(String, android.content.Re…
11586 method public android.content.RestrictionEntry[] getRestrictions();
[all …]
/aosp12/frameworks/base/boot/
H A Dpreloaded-classes1325 android.content.RestrictionEntry$1
1326 android.content.RestrictionEntry
H A Dboot-image-profile.txt24177 Landroid/content/RestrictionEntry$1;
24178 Landroid/content/RestrictionEntry;
/aosp12/frameworks/base/config/
H A Dpreloaded-classes1324 android.content.RestrictionEntry$1
1325 android.content.RestrictionEntry
H A Dboot-image-profile.txt33814 Landroid/content/RestrictionEntry$1;
33815 Landroid/content/RestrictionEntry;
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt16913 Landroid/content/RestrictionEntry;-><init>(Ljava/lang/String;[Landroid/content/RestrictionEntry;Z)V
16915 Landroid/content/RestrictionEntry;->mChoiceValues:[Ljava/lang/String;
16916 Landroid/content/RestrictionEntry;->mCurrentValue:Ljava/lang/String;
16918 Landroid/content/RestrictionEntry;->mDescription:Ljava/lang/String;
16919 Landroid/content/RestrictionEntry;->mKey:Ljava/lang/String;
16920 Landroid/content/RestrictionEntry;->mRestrictions:[Landroid/content/RestrictionEntry;
16921 Landroid/content/RestrictionEntry;->mTitle:Ljava/lang/String;
16922 Landroid/content/RestrictionEntry;->mType:I
16923 Landroid/content/RestrictionEntry;->TYPE_CHOICE_LEVEL:I
47860 Landroid/R$styleable;->RestrictionEntry:[I
[all …]
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A 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…
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...