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.java54 assertTrue(bots.directory.findDocument(dirName1).isEnabled()); in testPreviewInvisible_directory_gridMode()
60 assertTrue(bots.directory.findDocument(dirName1).isEnabled()); in testPreviewInvisible_directory_listMode()
66 assertTrue(bots.directory.findDocument(fileName1).isEnabled()); in testPreviewVisible_allType_girdMode()
68 assertTrue(bots.directory.findDocument(fileName2).isEnabled()); in testPreviewVisible_allType_girdMode()
74 assertTrue(bots.directory.findDocument(fileName1).isEnabled()); in testPreviewVisible_allType_listMode()
76 assertTrue(bots.directory.findDocument(fileName2).isEnabled()); in testPreviewVisible_allType_listMode()
DPickerPreviewTextUiTest.java54 assertTrue(bots.directory.findDocument(dirName1).isEnabled()); in testPreviewInvisible_directory_listMode()
60 assertTrue(bots.directory.findDocument(fileName1).isEnabled()); in testPreviewVisible_enabled_gridMode()
66 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.java151 bots.directory.findDocument(TARGET_FILE); in testCopyDocument_Cancel()
169 bots.directory.findDocument(TARGET_FILE); in testCopyDocument_CancelFromNotification()
203 bots.directory.findDocument(TARGET_FILE); in testMoveDocument_Cancel()
224 bots.directory.findDocument(TARGET_FILE); in ignored_testMoveDocument_CancelFromNotification()
DFileCopyUiTest.java246 DocumentInfo parent = helper.findDocument(root.documentId, TARGET_FOLDER); in createDocuments()
274 bots.directory.findDocument(targetFolder).waitUntilGone(WAIT_TIME_SECONDS); in deleteDocuments()
409 DocumentInfo parent = helper.findDocument(rootInfo.documentId, TARGET_FOLDER); in assertFilesCopied()
477 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.java109 Rect dirBounds = bots.directory.findDocument(dirName1).getBounds(); in testContextMenu_onEmptyArea()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DDirectoryListBot.java88 if (!findDocument(label).exists()) { in assertDocumentsPresent()
101 if (findDocument(label).exists()) { in assertDocumentsAbsent()
187 UiObject doc = findDocument(label, true); in openDocument()
266 findDocument(label).waitForExists(mTimeout); in waitForDocument()
269 public UiObject findDocument(String label) throws UiObjectNotFoundException { in findDocument() method in DirectoryListBot
270 return findDocument(label, false); in findDocument()
273 public UiObject findDocument(String label, boolean withScroll) in findDocument() method in DirectoryListBot
288 if (!findDocument(label).exists()) { in hasDocuments()
358 Rect startCoord = findDocument(label, true).getBounds(); in rightClickDocument()
420 final UiObject firstObj = findDocument(first); in assertOrder()
[all …]
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/functional/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.java260 public DocumentInfo findDocument(String parentId, String name) throws Exception { in findDocument() method in DocumentsProviderHelper
270 public DocumentInfo findDocument(Uri parentUri, String name) throws Exception { in findDocument() method in DocumentsProviderHelper