Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchChipViewManagerTest.java116 String[] checkedMimeTypes = in testGetCheckedChipMimeTypes_hasCorrectValue() local
120 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[0])).isTrue(); in testGetCheckedChipMimeTypes_hasCorrectValue()
121 assertThat(MimeTypes.mimeMatches(TEST_MIME_TYPES, checkedMimeTypes[1])).isTrue(); in testGetCheckedChipMimeTypes_hasCorrectValue()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java186 final ArrayList<String> checkedMimeTypes = new ArrayList<>(); in getCheckedChipQueryArgs() local
196 checkedMimeTypes.add(mimeType); in getCheckedChipQueryArgs()
201 if (!checkedMimeTypes.isEmpty()) { in getCheckedChipQueryArgs()
203 checkedMimeTypes.toArray(new String[0])); in getCheckedChipQueryArgs()