Searched refs:selectionPair (Results 1 – 3 of 3) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaDocumentsProviderTest.java | 201 final Pair<String, String[]> selectionPair = MediaDocumentsProvider.buildSearchSelection( in testBuildSearchSelection() local 205 assertEquals(resultSelection, selectionPair.first); in testBuildSearchSelection() 206 assertEquals(5, selectionPair.second.length); in testBuildSearchSelection() 207 assertEquals("%" + displayName + "%", selectionPair.second[0]); in testBuildSearchSelection() 208 assertMimeType(mimeTypes[1], selectionPair.second[1]); in testBuildSearchSelection() 209 assertMimeType(mimeTypes[3], selectionPair.second[2]); in testBuildSearchSelection() 210 assertMimeType(mimeTypes[0], selectionPair.second[3]); in testBuildSearchSelection() 211 assertMimeType(mimeTypes[2], selectionPair.second[4]); in testBuildSearchSelection() 220 final Pair<String, String[]> selectionPair = MediaDocumentsProvider.addDocumentSelection( in testAddDocumentSelection() local 223 assertEquals(resultSelection, selectionPair.first); in testAddDocumentSelection() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 665 final Pair<String, String[]> selectionPair = addDocumentSelection( in queryDocument() local 668 selectionPair.first, selectionPair.second, DocumentsBucketQuery.SORT_ORDER); in queryDocument() 775 final Pair<String, String[]> selectionPair = addDocumentSelection(null, null); in queryChildDocuments() local 777 selectionPair.first, selectionPair.second, DocumentsBucketQuery.SORT_ORDER); in queryChildDocuments() 789 final Pair<String, String[]> selectionPair = addDocumentSelection( in queryChildDocuments() local 792 selectionPair.first, selectionPair.second, null); in queryChildDocuments() 853 final Pair<String, String[]> selectionPair = addDocumentSelection(null, null); in queryRecentDocuments() local 855 selectionPair.first, selectionPair.second, in queryRecentDocuments() 899 final Pair<String, String[]> selectionPair = buildSearchSelection(displayName, in querySearchDocuments() local 906 selectionPair.first, selectionPair.second, in querySearchDocuments() [all …]
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 882 final Pair<String, String[]> selectionPair = buildSearchSelection( in includeDownloadsFromMediaStore() local 885 selectionPair.first); in includeDownloadsFromMediaStore() 887 selectionPair.second); in includeDownloadsFromMediaStore()
|