Searched refs:getPreGrantedUris (Results 1 – 4 of 4) sorted by relevance
470 assertThat(mSelection.getPreGrantedUris()).isNull(); in test_setPreGrantedItems_correctValuesSet()476 assertThat(mSelection.getPreGrantedUris().size()).isEqualTo(3); in test_setPreGrantedItems_correctValuesSet()477 assertThat(mSelection.getPreGrantedUris().containsAll(preGrantedUrisInput)).isTrue(); in test_setPreGrantedItems_correctValuesSet()567 assertThat(mSelection.getPreGrantedUris()).isNotNull(); in test_addingPreGrantedItemToSelection_addsToPreGrantedSet()568 assertThat(mSelection.getPreGrantedUris().size()).isEqualTo(1); in test_addingPreGrantedItemToSelection_addsToPreGrantedSet()569 assertThat(mSelection.getPreGrantedUris().contains(item1.getContentUri())).isTrue(); in test_addingPreGrantedItemToSelection_addsToPreGrantedSet()573 assertThat(mSelection.getPreGrantedUris()).isNotNull(); in test_addingPreGrantedItemToSelection_addsToPreGrantedSet()574 assertThat(mSelection.getPreGrantedUris().size()).isEqualTo(1); in test_addingPreGrantedItemToSelection_addsToPreGrantedSet()575 assertThat(mSelection.getPreGrantedUris().contains(item1.getContentUri())).isTrue(); in test_addingPreGrantedItemToSelection_addsToPreGrantedSet()
526 if (isManagedSelectionEnabled() && selection.getPreGrantedUris() == null) { in initialisePreGrantsIfNecessary()665 if (isPreSelectionEnabled() && mSelection.getPreGrantedUris() != null) { in loadItems()666 preGrantedUris = mSelection.getPreGrantedUris(); in loadItems()721 if (!isManagedSelectionEnabled() || mSelection.getPreGrantedUris() == null) return; in getRemainingPreGrantedItems()724 new ArrayList<>(mSelection.getPreGrantedUris()); in getRemainingPreGrantedItems()
119 public Set<Uri> getPreGrantedUris() { in getPreGrantedUris() method in Selection
410 assertThat(selection.getPreGrantedUris()).isNotNull(); in test_initialisePreSelectionItems_correctItemsLoaded()411 assertThat(selection.getPreGrantedUris().size()).isEqualTo(4); in test_initialisePreSelectionItems_correctItemsLoaded()