Searched refs:FOLDER_1 (Results 1 – 6 of 6) sorted by relevance
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | DragAndDropManagerTests.java | 214 Arrays.asList(TestEnv.FOLDER_1, TestEnv.FILE_JPG), in testCanSpringOpen_ReturnsFalse_RootNotSupportCreate() 216 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FOLDER_1.derivedUri, in testCanSpringOpen_ReturnsFalse_RootNotSupportCreate() 244 Arrays.asList(TestEnv.FOLDER_1, TestEnv.FILE_JPG), in testCanSpringOpen_ReturnsFalse_DocIsInvalidDestination() 246 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FOLDER_1.derivedUri, in testCanSpringOpen_ReturnsFalse_DocIsInvalidDestination() 252 assertFalse(mManager.canSpringOpen(TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_1)); in testCanSpringOpen_ReturnsFalse_DocIsInvalidDestination() 259 Arrays.asList(TestEnv.FOLDER_1, TestEnv.FILE_JPG), in testCanSpringOpen() 261 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FOLDER_1.derivedUri, in testCanSpringOpen() 274 Arrays.asList(TestEnv.FOLDER_1, TestEnv.FILE_JPG), in testDefaultToUnknownState() 276 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FOLDER_1.derivedUri, in testDefaultToUnknownState() 353 mUpdateShadowView, TestProvidersAccess.DOWNLOADS, TestEnv.FOLDER_1); in testUpdateState_UpdatesToMove_SameRoot() [all …]
|
D | AbstractActionHandlerTest.java | 132 Arrays.asList(TestEnv.FOLDER_1.documentId, TestEnv.FOLDER_2.documentId)); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 133 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 141 assertEquals(TestEnv.FOLDER_1, mEnv.state.stack.pop()); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation() 152 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport() 176 Arrays.asList(TestEnv.FOLDER_1.documentId, TestEnv.FOLDER_2.documentId, in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider() 179 TestEnv.FOLDER_1, TestEnv.FOLDER_2, TestEnv.FILE_ARCHIVE); in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider() 189 assertEquals(TestEnv.FOLDER_1, mEnv.state.stack.pop()); in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider() 213 TestEnv.FOLDER_1.documentId, in testLaunchToDocuments() 216 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1, TestEnv.FILE_GIF); in testLaunchToDocuments() 224 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1)); in testLaunchToDocuments() [all …]
|
D | ProfileTabsTest.java | 121 mState.stack.push(TestEnv.FOLDER_1); in testUpdateView_twoUsers_subFolder_shouldHide()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ |
D | ActionHandlerTest.java | 181 TestEnv.FOLDER_1.documentId, in testInitLocation_LaunchToDocuments() 184 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1, TestEnv.FILE_GIF); in testInitLocation_LaunchToDocuments() 195 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1)); in testInitLocation_LaunchToDocuments() 202 new DocumentStack(TestProvidersAccess.HAMMY, TestEnv.FOLDER_0, TestEnv.FOLDER_1); in testInitLocation_RestoresLastAccessedStack() 272 mEnv.state.stack.push(TestEnv.FOLDER_1); in testIncreasePickCountRecordCalled() 291 mEnv.state.stack.push(TestEnv.FOLDER_1); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination() 317 mEnv.state.stack.push(TestEnv.FOLDER_1); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree() 346 mEnv.state.stack.push(TestEnv.FOLDER_1); in testSaveDocument_SetsCorrectResultAndFinishes() 355 mEnv.docs.assertCreatedDocument(TestEnv.FOLDER_1, mimeType, displayName); in testSaveDocument_SetsCorrectResultAndFinishes() 379 mEnv.state.stack.push(TestEnv.FOLDER_1); in testSaveDocument_ConfirmsOverwrite() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 391 final boolean result = mHandler.openDocument(TestEnv.FOLDER_1, in testDocumentPicked_OpensDirectories() 393 assertEquals(TestEnv.FOLDER_1, mEnv.state.stack.peek()); in testDocumentPicked_OpensDirectories() 485 TestEnv.FOLDER_1.documentId)); in testInitLocation_LaunchToDocuments() 487 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1); in testInitLocation_LaunchToDocuments() 492 intent.setData(TestEnv.FOLDER_1.derivedUri); in testInitLocation_LaunchToDocuments() 498 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1)); in testInitLocation_LaunchToDocuments()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestEnv.java | 49 public static DocumentInfo FOLDER_1; field in TestEnv 161 FOLDER_1 = model.createFolder("folder 1"); in reset()
|