Searched refs:testFile (Results 1 – 8 of 8) sorted by relevance
198 private fun makeDownloadIntent(testFile: File) = DownloadService.makeDownloadIntent( in makeDownloadIntent()203 testFile.name, in makeDownloadIntent()204 makeFileUri(testFile)) in makeDownloadIntent()210 private fun makeFileUri(testFile: File) = FileProvider.getUriForFile( in makeDownloadIntent()214 testFile) in makeDownloadIntent()288 val testFile = createTestFile(extension = ".testtxtfile") in testTapDoneNotification() constant289 val downloadIntent = makeDownloadIntent(testFile) in testTapDoneNotification()356 val testFile = intent.data ?: fail("This activity expects a file") in onCreate() constant357 val fileStream = contentResolver.openInputStream(testFile) in onCreate()
64 Uri testFile = mDocs.createVirtualFile( in runCopyVirtualTypedFileTest() local68 createJob(newArrayList(testFile)).run(); in runCopyVirtualTypedFileTest()78 Uri testFile = mDocs.createVirtualFile( in runCopyVirtualNonTypedFileTest() local82 createJob(newArrayList(testFile)).run(); in runCopyVirtualNonTypedFileTest()163 Uri testFile = mDocs.createDocument(mSrcRoot, "text/plain", "test1.txt"); in runCopyFileWithReadErrorsTest() local164 mDocs.writeDocument(testFile, HAM_BYTES); in runCopyFileWithReadErrorsTest()166 String testId = DocumentsContract.getDocumentId(testFile); in runCopyFileWithReadErrorsTest()169 createJob(newArrayList(testFile)).run(); in runCopyFileWithReadErrorsTest()
59 Uri testFile = mDocs.createVirtualFile( in testMoveVirtualTypedFile() local62 createJob(newArrayList(testFile)).run(); in testMoveVirtualTypedFile()80 Uri testFile = mDocs.createDocumentWithFlags( in testMove_BackendSideVirtualTypedFile_Fallback() local85 createJob(newArrayList(testFile)).run(); in testMove_BackendSideVirtualTypedFile_Fallback()
49 Uri testFile = mDocs.createDocumentWithFlags( in testCopy_BackendSideVirtualTypedFile_Fallback() local54 createJob(newArrayList(testFile)).run(); in testCopy_BackendSideVirtualTypedFile_Fallback()
44 File testFile = new File(directory, newName); in getNewFile() local45 if (!testFile.exists()) { in getNewFile()46 testFile.createNewFile(); in getNewFile()47 return testFile; in getNewFile()
65 File testFile = File.createTempFile("test", null, tempDir); in testNestedDirectories() local66 testFile.setLastModified(0); in testNestedDirectories()67 testFile.deleteOnExit(); in testNestedDirectories()
63 FileTunerHal(Context context, File testFile) { in FileTunerHal() argument65 mTestFile = testFile; in FileTunerHal()
535 File testFile = new File(OVERRIDE_PB_PATH); in getUpdateCarrierList() local538 if (Build.IS_DEBUGGABLE && testFile.exists()) { in getUpdateCarrierList()539 is = new FileInputStream(testFile); in getUpdateCarrierList()