Home
last modified time | relevance | path

Searched refs:findDocument (Results 1 – 12 of 12) sorted by relevance

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DPickerPreviewAllTypeUiTest.java63 assertTrue(bots.directory.findDocument(fileName1).isEnabled()); in testPreviewInvisible_noQuickViewer_gridMode()
73 assertTrue(bots.directory.findDocument(fileName1).isEnabled()); in testPreviewInvisible_noQuickViewer_listMode()
83 assertTrue(bots.directory.findDocument(dirName1).isEnabled()); in testPreviewInvisible_directory_gridMode()
93 assertTrue(bots.directory.findDocument(dirName1).isEnabled()); in testPreviewInvisible_directory_listMode()
103 assertTrue(bots.directory.findDocument(fileName1).isEnabled()); in testPreviewVisible_allType_girdMode()
105 assertTrue(bots.directory.findDocument(fileName2).isEnabled()); in testPreviewVisible_allType_girdMode()
115 assertTrue(bots.directory.findDocument(fileName1).isEnabled()); in testPreviewVisible_allType_listMode()
117 assertTrue(bots.directory.findDocument(fileName2).isEnabled()); in testPreviewVisible_allType_listMode()
DPickerPreviewTextUiTest.java63 assertFalse(bots.directory.findDocument(fileName2).isEnabled()); in testPreviewInvisible_disabled_gridMode()
73 assertFalse(bots.directory.findDocument(fileName2).isEnabled()); in testPreviewInvisible_disabled_listMode()
83 assertTrue(bots.directory.findDocument(dirName1).isEnabled()); in testPreviewInvisible_directory_gridMode()
93 assertTrue(bots.directory.findDocument(dirName1).isEnabled()); in testPreviewInvisible_directory_listMode()
103 assertTrue(bots.directory.findDocument(fileName1).isEnabled()); in testPreviewVisible_enabled_gridMode()
113 assertTrue(bots.directory.findDocument(fileName1).isEnabled()); in testPreviewVisible_enabled_listMode()
DBandSelectionUiTest.java43 Rect startDir = bots.directory.findDocument(dirName1).getBounds(); in testBandSelection_allFiles()
54 Rect startDoc = bots.directory.findDocument(fileNameNoRename).getBounds(); in testBandSelection_someFiles()
55 Rect endDoc = bots.directory.findDocument(fileName1).getBounds(); in testBandSelection_someFiles()
DCancelFromNotificationUiTest.java149 bots.directory.findDocument(TARGET_FILE); in testCopyDocument_Cancel()
167 bots.directory.findDocument(TARGET_FILE); in testCopyDocument_CancelFromNotification()
201 bots.directory.findDocument(TARGET_FILE); in testMoveDocument_Cancel()
219 bots.directory.findDocument(TARGET_FILE); in testMoveDocument_CancelFromNotification()
DFileCopyUiTest.java215 DocumentInfo parent = helper.findDocument(root.documentId, TARGET_FOLDER); in createDocuments()
243 bots.directory.findDocument(TARGET_FOLDER).waitUntilGone(WAIT_TIME_SECONDS); in deleteDocuments()
374 DocumentInfo parent = helper.findDocument(rootInfo.documentId, TARGET_FOLDER); in assertFilesCopied()
436 assertFalse(bots.directory.findDocument(fileName1).isEnabled()); in testCopyDocuments_documentsDisabled()
DFingerSelectionUiTest.java43 Rect firstDoc = bots.directory.findDocument(fileName1).getBounds(); in testFingerSelection_outOfRange()
DIntegratedDownloadsUiTest.java62 UiObject doc = bots.directory.findDocument("Unsuccessful"); in testDownload_RetryUnsuccessful()
DContextMenuUiTest.java112 Rect dirBounds = bots.directory.findDocument(dirName1).getBounds(); in testContextMenu_onEmptyArea()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DDirectoryListBot.java86 if (!findDocument(label).exists()) { in assertDocumentsPresent()
99 if (findDocument(label).exists()) { in assertDocumentsAbsent()
185 UiObject doc = findDocument(label); in openDocument()
262 findDocument(label).waitForExists(mTimeout); in waitForDocument()
265 public UiObject findDocument(String label) throws UiObjectNotFoundException { in findDocument() method in DirectoryListBot
279 if (!findDocument(label).exists()) { in hasDocuments()
345 Rect startCoord = findDocument(label).getBounds(); in rightClickDocument()
407 final UiObject firstObj = findDocument(first); in assertOrder()
408 final UiObject secondObj = findDocument(second); in assertOrder()
DGestureBot.java61 Rect startCoord = findDocument(startLabel).getBounds(); in gestureSelectFiles()
62 Rect endCoord = findDocument(endLabel).getBounds(); in gestureSelectFiles()
104 public UiObject findDocument(String label) throws UiObjectNotFoundException { in findDocument() method in GestureBot
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/
DAbstractCopyJobTest.java120 DocumentInfo dir1Copy = mDocs.findDocument(mDestRoot.documentId, "dir1"); in runCopyDirRecursivelyTest()
126 DocumentInfo dir2Copy = mDocs.findDocument(dir1Copy.documentId, "dir2"); in runCopyDirRecursivelyTest()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DDocumentsProviderHelper.java256 public DocumentInfo findDocument(String parentId, String name) throws Exception { in findDocument() method in DocumentsProviderHelper
266 public DocumentInfo findDocument(Uri parentUri, String name) throws Exception { in findDocument() method in DocumentsProviderHelper