Home
last modified time | relevance | path

Searched refs:GetRestrictionsReceiver (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DCustomRestrictionsFragment.java120 if (entry.getKey().equals(GetRestrictionsReceiver.KEY_BOOLEAN)) { in onActivityCreated()
123 } else if (entry.getKey().equals(GetRestrictionsReceiver.KEY_CHOICE)) { in onActivityCreated()
126 } else if (entry.getKey().equals(GetRestrictionsReceiver.KEY_MULTI_SELECT)) { in onActivityCreated()
138 mBooleanEntry = new RestrictionEntry(GetRestrictionsReceiver.KEY_BOOLEAN, in onActivityCreated()
139 mRestrictionsBundle.getBoolean(GetRestrictionsReceiver.KEY_BOOLEAN, false)); in onActivityCreated()
145 mChoiceEntry = new RestrictionEntry(GetRestrictionsReceiver.KEY_CHOICE, in onActivityCreated()
146 mRestrictionsBundle.getString(GetRestrictionsReceiver.KEY_CHOICE)); in onActivityCreated()
152 mMultiEntry = new RestrictionEntry(GetRestrictionsReceiver.KEY_MULTI_SELECT, in onActivityCreated()
154 GetRestrictionsReceiver.KEY_MULTI_SELECT)); in onActivityCreated()
159 GetRestrictionsReceiver.KEY_MULTI_SELECT); in onActivityCreated()
DMainActivity.java92 mRestrictionsBundle.containsKey(GetRestrictionsReceiver.KEY_BOOLEAN) ? in onResume()
93 mRestrictionsBundle.getBoolean(GetRestrictionsReceiver.KEY_BOOLEAN) + "": in onResume()
99 mRestrictionsBundle.containsKey(GetRestrictionsReceiver.KEY_CHOICE) ? in onResume()
100 mRestrictionsBundle.getString(GetRestrictionsReceiver.KEY_CHOICE) : in onResume()
106 mRestrictionsBundle.getStringArray(GetRestrictionsReceiver.KEY_MULTI_SELECT); in onResume()
DGetRestrictionsReceiver.java31 public class GetRestrictionsReceiver extends BroadcastReceiver { class
32 private static final String TAG = GetRestrictionsReceiver.class.getSimpleName();