Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/services/
DDeleteJobTest.java34 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in testDeleteFiles() local
35 mDocs.writeDocument(testFile1, HAM_BYTES); in testDeleteFiles()
40 createJob(newArrayList(testFile1, testFile2), in testDeleteFiles()
48 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in testDeleteFiles_NoSrcParent() local
49 mDocs.writeDocument(testFile1, HAM_BYTES); in testDeleteFiles_NoSrcParent()
54 createJob(newArrayList(testFile1, testFile2), null).run(); in testDeleteFiles_NoSrcParent()
DMoveJobTest.java42 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in testMoveFiles_NoSrcParent() local
43 mDocs.writeDocument(testFile1, HAM_BYTES); in testMoveFiles_NoSrcParent()
48 createJob(newArrayList(testFile1, testFile2), null).run(); in testMoveFiles_NoSrcParent()
DAbstractCopyJobTest.java48 Uri testFile1 = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in runCopyFilesTest() local
49 mDocs.writeDocument(testFile1, HAM_BYTES); in runCopyFilesTest()
54 createJob(newArrayList(testFile1, testFile2)).run(); in runCopyFilesTest()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt285 val testFile1 = createTestFile() in makeFileUri() constant
287 assertTrue(testFile1.exists(), "$testFile1 did not exist after creation") in makeFileUri()
290 assertNotEquals(testFile1.name, testFile2.name) in makeFileUri()
293 assertTrue(testFile1.exists(), "$testFile1 did not exist before starting download") in makeFileUri()
298 startDownloadTask(binder, testFile1, TEST_TEXT_FILE_TYPE) in makeFileUri()
307 val dlText1 = resources.getString(R.string.downloading_paramfile, testFile1.name) in makeFileUri()
325 FileInputStream(testFile1).use { in makeFileUri()
329 testFile1.delete() in makeFileUri()