Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DCancelFromNotificationUiTest.java190 assertFalse(bots.directory.hasDocuments(TARGET_FILE)); in testCopyDocument_CancelFromNotification()
194 assertTrue(bots.directory.hasDocuments(TARGET_FILE)); in testCopyDocument_CancelFromNotification()
242 assertFalse(bots.directory.hasDocuments(TARGET_FILE)); in testMoveDocument_CancelFromNotification()
246 assertTrue(bots.directory.hasDocuments(TARGET_FILE)); in testMoveDocument_CancelFromNotification()
DFileCopyUiTest.java200 if (bots.directory.hasDocuments(TARGET_FOLDER)) { in createDocuments()
208 if (!bots.directory.hasDocuments(TARGET_FOLDER)) { in createDocuments()
232 if (!bots.directory.hasDocuments(TARGET_FOLDER)) { in deleteDocuments()
244 return !bots.directory.hasDocuments(TARGET_FOLDER); in deleteDocuments()
DInternalStorageUiTest.java95 if (bots.directory.hasDocuments(fileName)) { in deleteTestFiles()
100 if (bots.directory.hasDocuments(newFileName)) { in deleteTestFiles()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java250 if (mModel.hasDocuments(selection, DocumentFilters.NOT_MOVABLE)) { in cutToClipboard()
392 && mModel.hasDocuments(selection, DocumentFilters.VIRTUAL)) { in shareSelectedDocuments()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DModel.java228 public boolean hasDocuments(Selection<String> selection, Predicate<Cursor> filter) { in hasDocuments() method in Model
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DDirectoryListBot.java277 public boolean hasDocuments(String... labels) throws UiObjectNotFoundException { in hasDocuments() method in DirectoryListBot
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java700 if (mModel.hasDocuments(selection, DocumentFilters.NOT_MOVABLE)) { in handleMenuItemClick()