Home
last modified time | relevance | path

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

/development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
DAppRestrictionSchemaFragment.java187 Parcelable[] parcelables = restrictions.getParcelableArray(KEY_ITEMS); in updateItems() local
188 if (parcelables != null && parcelables.length > 0) { in updateItems()
189 Bundle[] items = new Bundle[parcelables.length]; in updateItems()
190 for (int i = 0; i < parcelables.length; i++) { in updateItems()
191 items[i] = (Bundle) parcelables[i]; in updateItems()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DAppRestrictionEnforcerFragment.java221 Parcelable[] parcelables = mCurrentRestrictions.getParcelableArray(RESTRICTION_KEY_ITEMS); in onItemAdded() local
223 if (parcelables != null) { in onItemAdded()
224 for (Parcelable parcelable : parcelables) { in onItemAdded()
358 Parcelable[] parcelables = mCurrentRestrictions.getParcelableArray(RESTRICTION_KEY_ITEMS); in removeItem() local
359 if (parcelables != null) { in removeItem()
361 for (Parcelable parcelable : parcelables) { in removeItem()