Home
last modified time | relevance | path

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

/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java95 private static final String RESTRICTION_KEY_ITEMS = "items"; field in AppRestrictionEnforcerFragment
221 Parcelable[] parcelables = mCurrentRestrictions.getParcelableArray(RESTRICTION_KEY_ITEMS); in onItemAdded()
266 } else if (BUNDLE_SUPPORTED && RESTRICTION_KEY_ITEMS.equals(key)) { in loadRestrictions()
267 String itemsString = prefs.getString(RESTRICTION_KEY_ITEMS, ""); in loadRestrictions()
326 mCurrentRestrictions.putParcelableArray(RESTRICTION_KEY_ITEMS, convertToBundles(items)); in updateItems()
358 Parcelable[] parcelables = mCurrentRestrictions.getParcelableArray(RESTRICTION_KEY_ITEMS); in removeItem()
464 mCurrentRestrictions.putParcelableArray(RESTRICTION_KEY_ITEMS, convertToBundles(items)); in saveItems()
478 editPreferences(activity).putString(RESTRICTION_KEY_ITEMS, builder.toString()).apply(); in saveItems()