Home
last modified time | relevance | path

Searched refs:testFile2 (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/services/
DDeleteJobTest.java37 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testDeleteFiles() local
38 mDocs.writeDocument(testFile2, FRUITY_BYTES); in testDeleteFiles()
40 createJob(newArrayList(testFile1, testFile2), in testDeleteFiles()
51 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testDeleteFiles_NoSrcParent() local
52 mDocs.writeDocument(testFile2, FRUITY_BYTES); in testDeleteFiles_NoSrcParent()
54 createJob(newArrayList(testFile1, testFile2), null).run(); in testDeleteFiles_NoSrcParent()
DMoveJobTest.java45 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in testMoveFiles_NoSrcParent() local
46 mDocs.writeDocument(testFile2, FRUITY_BYTES); in testMoveFiles_NoSrcParent()
48 createJob(newArrayList(testFile1, testFile2), null).run(); in testMoveFiles_NoSrcParent()
DAbstractCopyJobTest.java51 Uri testFile2 = mDocs.createDocument(mSrcRoot, "text/plain", "test2.txt"); in runCopyFilesTest() local
52 mDocs.writeDocument(testFile2, FRUITY_BYTES); in runCopyFilesTest()
54 createJob(newArrayList(testFile1, testFile2)).run(); in runCopyFilesTest()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt286 val testFile2 = createTestFile() in makeFileUri() constant
288 assertTrue(testFile2.exists(), "$testFile2 did not exist after creation") in makeFileUri()
290 assertNotEquals(testFile1.name, testFile2.name) in makeFileUri()
294 assertTrue(testFile2.exists(), "$testFile2 did not exist before starting download") in makeFileUri()
299 startDownloadTask(binder, testFile2, TEST_TEXT_FILE_TYPE) in makeFileUri()
335 val dlText2 = resources.getString(R.string.downloading_paramfile, testFile2.name) in makeFileUri()
342 FileInputStream(testFile2).use { in makeFileUri()
346 testFile2.delete() in makeFileUri()