/frameworks/base/core/java/android/content/ |
RestrictionEntry.aidl | 20 parcelable RestrictionEntry;
|
RestrictionEntry.java | 36 public class RestrictionEntry implements Parcelable { 136 private RestrictionEntry[] mRestrictions; 144 public RestrictionEntry(int type, String key) { 154 public RestrictionEntry(String key, String selectedString) { 165 public RestrictionEntry(String key, boolean selectedState) { 176 public RestrictionEntry(String key, String[] selectedStrings) { 187 public RestrictionEntry(String key, int selectedInt) { 203 private RestrictionEntry(String key, RestrictionEntry[] restrictionEntries, 209 for (RestrictionEntry restriction : restrictionEntries) [all...] |
RestrictionsManager.java | 118 * @see RestrictionEntry 531 * @return The list of RestrictionEntry objects created from the XML file specified 534 public List<RestrictionEntry> getManifestRestrictions(String packageName) { 551 private List<RestrictionEntry> loadManifestRestrictions(String packageName, 559 ArrayList<RestrictionEntry> restrictions = new ArrayList<>(); 560 RestrictionEntry restriction; 584 private RestrictionEntry loadRestrictionElement(Context appContext, XmlResourceParser xml) 590 com.android.internal.R.styleable.RestrictionEntry); 597 private RestrictionEntry loadRestriction(Context appContext, TypedArray a, XmlResourceParser xml) 617 RestrictionEntry restriction = new RestrictionEntry(restrictionType, key) [all...] |
/developers/build/prebuilts/gradle/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
GetRestrictionsReceiver.java | 23 import android.content.RestrictionEntry; 57 public static void populateBooleanEntry(Resources res, RestrictionEntry entry) { 58 entry.setType(RestrictionEntry.TYPE_BOOLEAN); 63 public static void populateChoiceEntry(Resources res, RestrictionEntry reSingleChoice) { 72 reSingleChoice.setType(RestrictionEntry.TYPE_CHOICE); 76 public static void populateMultiEntry(Resources res, RestrictionEntry reMultiSelect) { 85 reMultiSelect.setType(RestrictionEntry.TYPE_MULTI_SELECT); 90 private ArrayList<RestrictionEntry> initRestrictions(Context context) { 91 ArrayList<RestrictionEntry> newRestrictions = new ArrayList<RestrictionEntry>(); [all...] |
CustomRestrictionsFragment.java | 22 import android.content.RestrictionEntry; 61 private List<RestrictionEntry> mRestrictions; 70 private RestrictionEntry mBooleanEntry; 71 private RestrictionEntry mChoiceEntry; 72 private RestrictionEntry mMultiEntry; 118 for (RestrictionEntry entry : mRestrictions) { 135 mRestrictions = new ArrayList<RestrictionEntry>(); 139 mBooleanEntry = new RestrictionEntry(GetRestrictionsReceiver.KEY_BOOLEAN, 141 mBooleanEntry.setType(RestrictionEntry.TYPE_BOOLEAN); 146 mChoiceEntry = new RestrictionEntry(GetRestrictionsReceiver.KEY_CHOICE [all...] |
/developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
GetRestrictionsReceiver.java | 23 import android.content.RestrictionEntry; 57 public static void populateBooleanEntry(Resources res, RestrictionEntry entry) { 58 entry.setType(RestrictionEntry.TYPE_BOOLEAN); 63 public static void populateChoiceEntry(Resources res, RestrictionEntry reSingleChoice) { 72 reSingleChoice.setType(RestrictionEntry.TYPE_CHOICE); 76 public static void populateMultiEntry(Resources res, RestrictionEntry reMultiSelect) { 85 reMultiSelect.setType(RestrictionEntry.TYPE_MULTI_SELECT); 90 private ArrayList<RestrictionEntry> initRestrictions(Context context) { 91 ArrayList<RestrictionEntry> newRestrictions = new ArrayList<RestrictionEntry>(); [all...] |
CustomRestrictionsFragment.java | 22 import android.content.RestrictionEntry; 61 private List<RestrictionEntry> mRestrictions; 70 private RestrictionEntry mBooleanEntry; 71 private RestrictionEntry mChoiceEntry; 72 private RestrictionEntry mMultiEntry; 118 for (RestrictionEntry entry : mRestrictions) { 135 mRestrictions = new ArrayList<RestrictionEntry>(); 139 mBooleanEntry = new RestrictionEntry(GetRestrictionsReceiver.KEY_BOOLEAN, 141 mBooleanEntry.setType(RestrictionEntry.TYPE_BOOLEAN); 146 mChoiceEntry = new RestrictionEntry(GetRestrictionsReceiver.KEY_CHOICE [all...] |
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/ |
GetRestrictionsReceiver.java | 23 import android.content.RestrictionEntry; 57 public static void populateBooleanEntry(Resources res, RestrictionEntry entry) { 58 entry.setType(RestrictionEntry.TYPE_BOOLEAN); 63 public static void populateChoiceEntry(Resources res, RestrictionEntry reSingleChoice) { 72 reSingleChoice.setType(RestrictionEntry.TYPE_CHOICE); 76 public static void populateMultiEntry(Resources res, RestrictionEntry reMultiSelect) { 85 reMultiSelect.setType(RestrictionEntry.TYPE_MULTI_SELECT); 90 private ArrayList<RestrictionEntry> initRestrictions(Context context) { 91 ArrayList<RestrictionEntry> newRestrictions = new ArrayList<RestrictionEntry>(); [all...] |
CustomRestrictionsFragment.java | 22 import android.content.RestrictionEntry; 61 private List<RestrictionEntry> mRestrictions; 70 private RestrictionEntry mBooleanEntry; 71 private RestrictionEntry mChoiceEntry; 72 private RestrictionEntry mMultiEntry; 118 for (RestrictionEntry entry : mRestrictions) { 135 mRestrictions = new ArrayList<RestrictionEntry>(); 139 mBooleanEntry = new RestrictionEntry(GetRestrictionsReceiver.KEY_BOOLEAN, 141 mBooleanEntry.setType(RestrictionEntry.TYPE_BOOLEAN); 146 mChoiceEntry = new RestrictionEntry(GetRestrictionsReceiver.KEY_CHOICE [all...] |
/packages/apps/Settings/src/com/android/settings/users/ |
RestrictionUtils.java | 20 import android.content.RestrictionEntry; 57 * @return list of RestrictionEntry objects with user-visible text. 59 public static ArrayList<RestrictionEntry> getRestrictions(Context context, UserHandle user) { 61 ArrayList<RestrictionEntry> entries = new ArrayList<RestrictionEntry>(); 66 RestrictionEntry entry = new RestrictionEntry( 71 entry.setType(RestrictionEntry.TYPE_BOOLEAN); 78 public static void setRestrictions(Context context, ArrayList<RestrictionEntry> entries, 81 for (RestrictionEntry entry : entries) [all...] |
AppRestrictionsFragment.java | 24 import android.content.RestrictionEntry; 135 private ArrayList<RestrictionEntry> restrictions; 150 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { 162 ArrayList<RestrictionEntry> getRestrictions() { 454 ArrayList<RestrictionEntry> restrictions = RestrictionUtils.getRestrictions( 456 RestrictionEntry locationRestriction = restrictions.get(0); 531 ArrayList<RestrictionEntry> restrictions = appPref.getRestrictions(); 533 for (RestrictionEntry entry : restrictions) { 536 case RestrictionEntry.TYPE_BOOLEAN: 539 case RestrictionEntry.TYPE_CHOICE [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
RestrictionUtils.java | 20 import android.content.RestrictionEntry; 48 * @return list of RestrictionEntry objects with user-visible text. 50 public static ArrayList<RestrictionEntry> getRestrictions(Context context, UserHandle user) { 52 ArrayList<RestrictionEntry> entries = new ArrayList<>(); 57 RestrictionEntry entry = new RestrictionEntry( 62 entry.setType(RestrictionEntry.TYPE_BOOLEAN); 69 public static void setRestrictions(Context context, ArrayList<RestrictionEntry> entries, 73 for (RestrictionEntry entry : entries) {
|
AppRestrictionsFragment.java | 25 import android.content.RestrictionEntry; 137 private ArrayList<RestrictionEntry> mRestrictions; 146 void setRestrictions(ArrayList<RestrictionEntry> restrictions) { 158 ArrayList<RestrictionEntry> getRestrictions() { 482 ArrayList<RestrictionEntry> restrictions = RestrictionUtils.getRestrictions( 484 RestrictionEntry locationRestriction = restrictions.get(0); 593 ArrayList<RestrictionEntry> restrictions = appPref.getRestrictions(); 595 for (RestrictionEntry entry : restrictions) { 598 case RestrictionEntry.TYPE_BOOLEAN: 601 case RestrictionEntry.TYPE_CHOICE [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
RestrictionsManagerTest.java | 38 List<RestrictionEntry> manifestRestrictions = mRm.getManifestRestrictions(packageName); 42 for (RestrictionEntry entry : manifestRestrictions) { 51 for (RestrictionEntry childEntry : entry.getRestrictions()) { 67 List<RestrictionEntry> manifestRestrictions = mRm.getManifestRestrictions(packageName);
|
/developers/build/prebuilts/gradle/AppRestrictionSchema/Application/src/main/java/com/example/android/apprestrictionschema/ |
AppRestrictionSchemaFragment.java | 20 import android.content.RestrictionEntry; 116 List<RestrictionEntry> entries = manager.getManifestRestrictions( 118 for (RestrictionEntry entry : entries) { 139 private void updateCanSayHello(RestrictionEntry entry, Bundle restrictions) { 152 private void updateMessage(RestrictionEntry entry, Bundle restrictions) { 160 private void updateNumber(RestrictionEntry entry, Bundle restrictions) { 170 private void updateRank(RestrictionEntry entry, Bundle restrictions) { 180 private void updateApprovals(RestrictionEntry entry, Bundle restrictions) { 196 private void updateProfile(RestrictionEntry entry, Bundle restrictions) { 203 RestrictionEntry[] entries = entry.getRestrictions() [all...] |
/developers/samples/android/admin/AppRestrictionSchema/Application/src/main/java/com/example/android/apprestrictionschema/ |
AppRestrictionSchemaFragment.java | 20 import android.content.RestrictionEntry; 116 List<RestrictionEntry> entries = manager.getManifestRestrictions( 118 for (RestrictionEntry entry : entries) { 139 private void updateCanSayHello(RestrictionEntry entry, Bundle restrictions) { 152 private void updateMessage(RestrictionEntry entry, Bundle restrictions) { 160 private void updateNumber(RestrictionEntry entry, Bundle restrictions) { 170 private void updateRank(RestrictionEntry entry, Bundle restrictions) { 180 private void updateApprovals(RestrictionEntry entry, Bundle restrictions) { 196 private void updateProfile(RestrictionEntry entry, Bundle restrictions) { 203 RestrictionEntry[] entries = entry.getRestrictions() [all...] |
/development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/ |
AppRestrictionSchemaFragment.java | 20 import android.content.RestrictionEntry; 116 List<RestrictionEntry> entries = manager.getManifestRestrictions( 118 for (RestrictionEntry entry : entries) { 139 private void updateCanSayHello(RestrictionEntry entry, Bundle restrictions) { 152 private void updateMessage(RestrictionEntry entry, Bundle restrictions) { 160 private void updateNumber(RestrictionEntry entry, Bundle restrictions) { 170 private void updateRank(RestrictionEntry entry, Bundle restrictions) { 180 private void updateApprovals(RestrictionEntry entry, Bundle restrictions) { 196 private void updateProfile(RestrictionEntry entry, Bundle restrictions) { 203 RestrictionEntry[] entries = entry.getRestrictions() [all...] |
/frameworks/base/core/java/android/os/ |
IUserManager.aidl | 24 import android.content.RestrictionEntry;
|
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
AppRestrictionEnforcerFragment.java | 22 import android.content.RestrictionEntry; 272 List<RestrictionEntry> restrictions = 275 for (RestrictionEntry restriction : restrictions) { 298 for (RestrictionEntry entry : restriction.getRestrictions()) {
|
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
AppRestrictionEnforcerFragment.java | 22 import android.content.RestrictionEntry; 272 List<RestrictionEntry> restrictions = 275 for (RestrictionEntry restriction : restrictions) { 298 for (RestrictionEntry entry : restriction.getRestrictions()) {
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
AppRestrictionEnforcerFragment.java | 22 import android.content.RestrictionEntry; 272 List<RestrictionEntry> restrictions = 275 for (RestrictionEntry restriction : restrictions) { 298 for (RestrictionEntry entry : restriction.getRestrictions()) {
|
/frameworks/base/ |
Android.mk | [all...] |
compiled-classes-phone | [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.3_r2-robolectric-0.jar | |
/external/libgdx/backends/gdx-backend-android/libs/ |
android-4.4.jar | |