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.java153 bots.directory.findDocument(TARGET_FILE); in testCopyDocument_Cancel()
171 bots.directory.findDocument(TARGET_FILE); in testCopyDocument_CancelFromNotification()
205 bots.directory.findDocument(TARGET_FILE); in testMoveDocument_Cancel()
226 bots.directory.findDocument(TARGET_FILE); in ignored_testMoveDocument_CancelFromNotification()
DFileCopyUiTest.java254 DocumentInfo parent = helper.findDocument(root.documentId, TARGET_FOLDER); in createDocuments()
282 bots.directory.findDocument(targetFolder).waitUntilGone(WAIT_TIME_SECONDS); in deleteDocuments()
417 DocumentInfo parent = helper.findDocument(rootInfo.documentId, TARGET_FOLDER); in assertFilesCopied()
485 assertFalse(bots.directory.findDocument(fileName1).isEnabled()); in ignored_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.java89 if (!findDocument(label).exists()) { in assertDocumentsPresent()
102 if (findDocument(label).exists()) { in assertDocumentsAbsent()
188 UiObject doc = findDocument(label, true); in openDocument()
267 findDocument(label).waitForExists(mTimeout); in waitForDocument()
270 public UiObject findDocument(String label) throws UiObjectNotFoundException { in findDocument() method in DirectoryListBot
271 return findDocument(label, false); in findDocument()
274 public UiObject findDocument(String label, boolean withScroll) in findDocument() method in DirectoryListBot
289 if (!findDocument(label).exists()) { in hasDocuments()
359 Rect startCoord = findDocument(label, true).getBounds(); in rightClickDocument()
421 final UiObject firstObj = findDocument(first); in assertOrder()
[all …]
DGestureBot.java62 Rect startCoord = findDocument(startLabel).getBounds(); in gestureSelectFiles()
63 Rect endCoord = findDocument(endLabel).getBounds(); in gestureSelectFiles()
105 public UiObject findDocument(String label) throws UiObjectNotFoundException { in findDocument() method in GestureBot
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/services/
DAbstractCopyJobTest.java121 DocumentInfo dir1Copy = mDocs.findDocument(mDestRoot.documentId, "dir1"); in runCopyDirRecursivelyTest()
127 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