Home
last modified time | relevance | path

Searched refs:FOLDER_1 (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java214 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 …]
DAbstractActionHandlerTest.java132 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 …]
DProfileTabsTest.java121 mState.stack.push(TestEnv.FOLDER_1); in testUpdateView_twoUsers_subFolder_shouldHide()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java181 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/
DActionHandlerTest.java391 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/
DTestEnv.java49 public static DocumentInfo FOLDER_1; field in TestEnv
161 FOLDER_1 = model.createFolder("folder 1"); in reset()