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.java192 assertFalse(bots.directory.hasDocuments(TARGET_FILE)); in testCopyDocument_CancelFromNotification()
196 assertTrue(bots.directory.hasDocuments(TARGET_FILE)); in testCopyDocument_CancelFromNotification()
247 assertFalse(bots.directory.hasDocuments(TARGET_FILE)); in ignored_testMoveDocument_CancelFromNotification()
251 assertTrue(bots.directory.hasDocuments(TARGET_FILE)); in ignored_testMoveDocument_CancelFromNotification()
DInternalStorageUiTest.java87 if (bots.directory.hasDocuments(fileName)) { in deleteTestFiles()
92 if (bots.directory.hasDocuments(newFileName)) { in deleteTestFiles()
DFileCopyUiTest.java231 if (bots.directory.hasDocuments(TARGET_FOLDER)) { in createDocuments()
239 if (!bots.directory.hasDocuments(TARGET_FOLDER)) { in createDocuments()
263 if (!bots.directory.hasDocuments(targetFolder)) { in deleteDocuments()
275 return !bots.directory.hasDocuments(targetFolder); in deleteDocuments()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java251 if (mModel.hasDocuments(selection, DocumentFilters.NOT_MOVABLE)) { in cutToClipboard()
396 && mModel.hasDocuments(selection, DocumentFilters.VIRTUAL)) { in shareSelectedDocuments()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DModel.java210 public boolean hasDocuments(Selection<String> selection, Predicate<Cursor> filter) { in hasDocuments() method in Model
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DDirectoryListBot.java286 public boolean hasDocuments(String... labels) throws UiObjectNotFoundException { in hasDocuments() method in DirectoryListBot
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryFragment.java887 if (mModel.hasDocuments(selection, DocumentFilters.NOT_MOVABLE)) { in handleMenuItemClick()