Home
last modified time | relevance | path

Searched refs:FOLDER_1 (Results 1 – 5 of 5) 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.java125 Arrays.asList(TestEnv.FOLDER_1.documentId, TestEnv.FOLDER_2.documentId)); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
126 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
134 assertEquals(TestEnv.FOLDER_1, mEnv.state.stack.pop()); in testOpensContainerDocuments_OpenFolderInSearch_JumpsToNewLocation()
145 mEnv.docs.nextDocuments = Arrays.asList(TestEnv.FOLDER_1, TestEnv.FOLDER_2); in testOpensContainerDocuments_ClickFolderInSearch_PushToRootDoc_NoFindPathSupport()
169 Arrays.asList(TestEnv.FOLDER_1.documentId, TestEnv.FOLDER_2.documentId, in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
172 TestEnv.FOLDER_1, TestEnv.FOLDER_2, TestEnv.FILE_ARCHIVE); in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
182 assertEquals(TestEnv.FOLDER_1, mEnv.state.stack.pop()); in testOpensContainerDocuments_ClickArchiveInSearch_opensArchiveInArchiveProvider()
206 TestEnv.FOLDER_1.documentId, in testLaunchToDocuments()
209 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1, TestEnv.FILE_GIF); in testLaunchToDocuments()
217 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1)); in testLaunchToDocuments()
[all …]
/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()
245 mEnv.state.stack.push(TestEnv.FOLDER_1); in testIncreasePickCountRecordCalled()
264 mEnv.state.stack.push(TestEnv.FOLDER_1); in testPickDocument_SetsCorrectResultAndFinishes_ActionPickCopyDestination()
290 mEnv.state.stack.push(TestEnv.FOLDER_1); in testPickDocument_SetsCorrectResultAndFinishes_ActionOpenTree()
319 mEnv.state.stack.push(TestEnv.FOLDER_1); in testSaveDocument_SetsCorrectResultAndFinishes()
328 mEnv.docs.assertCreatedDocument(TestEnv.FOLDER_1, mimeType, displayName); in testSaveDocument_SetsCorrectResultAndFinishes()
352 mEnv.state.stack.push(TestEnv.FOLDER_1); in testSaveDocument_ConfirmsOverwrite()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java386 final boolean result = mHandler.openDocument(TestEnv.FOLDER_1, in testDocumentPicked_OpensDirectories()
388 assertEquals(TestEnv.FOLDER_1, mEnv.state.stack.peek()); in testDocumentPicked_OpensDirectories()
503 TestEnv.FOLDER_1.documentId)); in testInitLocation_LaunchToDocuments()
505 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1); in testInitLocation_LaunchToDocuments()
510 intent.setData(TestEnv.FOLDER_1.derivedUri); in testInitLocation_LaunchToDocuments()
516 Arrays.asList(TestEnv.FOLDER_0, TestEnv.FOLDER_1)); in testInitLocation_LaunchToDocuments()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java47 public static DocumentInfo FOLDER_1; field in TestEnv
149 FOLDER_1 = model.createFolder("folder 1"); in reset()