Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/selection/
DGrantsAwareSelectionImpl.kt105 if (item.isPreGranted) { in add()
138 if (item.isPreGranted){ in addAll()
175 (item.isPreGranted && !_deSelection.contains(item)) in contains()
211 if (item.isPreGranted) { in remove()
234 if (item.isPreGranted) in removeAll()
276 if (item.isPreGranted) { in toggle()
321 if (item.isPreGranted) { in toggleAll()
DGrantsAwareSet.kt73 if (element.isPreGranted && !deSelection.contains(element)) { in contains()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/model/
DMedia.kt42 override val isPreGranted: Boolean constant
94 override val isPreGranted: Boolean = false, constant in com.android.photopicker.data.model.Media.Image
140 override val isPreGranted: Boolean = false, constant in com.android.photopicker.data.model.Media.Video
DGrantable.kt29 val isPreGranted: Boolean constant
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DSelection.java141 return mSelectedItems.values().stream().filter((Item item) -> !item.isPreGranted()) in getNewlySelectedItems()
184 if (item.isPreGranted()) { in addSelectedItem()
227 if (item.isPreGranted()) { in removeSelectedItem()
307 return (int) mSelectedItems.values().stream().filter(Item::isPreGranted).count(); in countOfPreGrantedItems()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/model/
DItem.java159 public boolean isPreGranted() { in isPreGranted() method in Item
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/selection/
DGrantsAwareSelectionTest.kt43 override val isPreGranted: Boolean = isPreGrantedParam constant in com.android.photopicker.core.selection.GrantsAwareSelectionTest.SelectionData