Home
last modified time | relevance | path

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

/cts/tools/vm-tests-tf/src/util/build/
DJarBuildStep.java40 File tempFile = new File(inputFile.folder, destFileName); in build() local
42 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()
/cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/
DJdwpSecurityHostTest.java74 File tempFile = createScriptTempFile(); in setUp() local
76 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() local
175 pw = new PrintWriter(tempFile); in createScriptTempFile()
190 return tempFile; in createScriptTempFile()
/cts/hostsidetests/security/src/android/cts/security/
DSELinuxHostTest.java77 File tempFile = File.createTempFile("SELinuxHostTest", ".tmp"); in copyResourceToTempFile() local
78 FileOutputStream os = new FileOutputStream(tempFile); in copyResourceToTempFile()
85 tempFile.deleteOnExit(); in copyResourceToTempFile()
86 return tempFile; in copyResourceToTempFile()
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java50 ParcelFileDescriptor tempFile = makeParcelFileDescriptor(getContext()); in testConstructorAndOpen() local
52 ParcelFileDescriptor pfd = new ParcelFileDescriptor(tempFile); in testConstructorAndOpen()