Searched refs:tempFile (Results 1 – 4 of 4) sorted by relevance
40 File tempFile = new File(inputFile.folder, destFileName); in build() local42 if (!inputFile.fileName.equals(tempFile)) { in build()43 copyFile(inputFile.fileName, tempFile); in build()45 tempFile = null; in build()66 if (tempFile != null) { in build()67 tempFile.delete(); in build()
74 File tempFile = createScriptTempFile(); in setUp() local76 boolean success = getDevice().pushFile(tempFile, getDeviceScriptFilepath()); in setUp()79 if (tempFile != null) { in setUp()80 tempFile.delete(); in setUp()171 File tempFile = File.createTempFile("jdwptest", ".tmp"); in createScriptTempFile() local175 pw = new PrintWriter(tempFile); in createScriptTempFile()190 return tempFile; in createScriptTempFile()
77 File tempFile = File.createTempFile("SELinuxHostTest", ".tmp"); in copyResourceToTempFile() local78 FileOutputStream os = new FileOutputStream(tempFile); in copyResourceToTempFile()85 tempFile.deleteOnExit(); in copyResourceToTempFile()86 return tempFile; in copyResourceToTempFile()
50 ParcelFileDescriptor tempFile = makeParcelFileDescriptor(getContext()); in testConstructorAndOpen() local52 ParcelFileDescriptor pfd = new ParcelFileDescriptor(tempFile); in testConstructorAndOpen()