Home
last modified time | relevance | path

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

/cts/tools/vm-tests-tf/build/src/util/build/
DJarBuildStep.java48 File tempFile = new File(inputFile.folder, outputJarEntryName); in build() local
50 if (!inputFile.fileName.equals(tempFile)) { in build()
51 copyFile(inputFile.fileName, tempFile); in build()
53 tempFile = null; in build()
106 if (tempFile != null) { in build()
107 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()
172 File tempFile = File.createTempFile("jdwptest", ".tmp"); in createScriptTempFile() local
176 pw = new PrintWriter(tempFile); in createScriptTempFile()
191 return tempFile; in createScriptTempFile()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApkNdkApiReport.java149 File tempFile = File.createTempFile("ApkNdkApiReport", ".so"); in parseTestcasesFolder() local
150 tempFile.deleteOnExit(); in parseTestcasesFolder()
151 FileOutputStream fos = new FileOutputStream(tempFile); in parseTestcasesFolder()
161 testModules.add(new TestModule(tempFile, targetFile.getName(), "jUnit")); in parseTestcasesFolder()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DClassUtils.java113 File tempFile = File.createTempFile(fileName, ""); in getResrouceFile() local
114 tempFile.deleteOnExit(); in getResrouceFile()
116 OutputStream output = new FileOutputStream(tempFile)) { in getResrouceFile()
123 return tempFile; in getResrouceFile()
/cts/tests/tests/os/src/android/os/cts/
DCtsRemoteService.java49 File tempFile = File.createTempFile("foo", "bar");
50 return tempFile.delete();
DParcelFileDescriptorTest.java72 ParcelFileDescriptor tempFile = makeParcelFileDescriptor(getContext()); in testConstructorAndOpen() local
74 ParcelFileDescriptor pfd = new ParcelFileDescriptor(tempFile); in testConstructorAndOpen()
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
DCtsDownloadService.java415 UriPathPair tempFile = tempFiles.get(i);
417 int result = writeContentsToTempFile(tempFile);
420 tempFile, request, result, requestedFile);
464 private Intent composeDownloadResultIntent(UriPathPair tempFile, DownloadRequest request, in composeDownloadResultIntent() argument
471 tempFile.getFilePathUri()); in composeDownloadResultIntent()
482 private int writeContentsToTempFile(UriPathPair tempFile) { in writeContentsToTempFile() argument
487 tempFile.getContentUri(), "rw"); in writeContentsToTempFile()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DAdbUtils.java349 for (String tempFile : inputFiles) { in pushResources()
350 pushResource(RESOURCE_ROOT + tempFile, inputFilesDestination + tempFile, device); in pushResources()
368 for (String tempFile : inputFiles) { in removeResources()
369 runCommandLine("rm " + inputFilesDestination + tempFile, device); in removeResources()
/cts/hostsidetests/security/src/android/security/cts/
DSELinuxHostTest.java130 File tempFile = File.createTempFile("SELinuxHostTest", ".tmp"); in copyResourceToTempFile() local
131 FileOutputStream os = new FileOutputStream(tempFile); in copyResourceToTempFile()
140 tempFile.deleteOnExit(); in copyResourceToTempFile()
141 return tempFile; in copyResourceToTempFile()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java780 final File tempFile = File.createTempFile("poc_tmp", ".ogg", null); in testStagefright_bug_36592202() local
782 final FileOutputStream tempFos = new FileOutputStream(tempFile.getAbsolutePath()); in testStagefright_bug_36592202()
785 long oggPagesAvailable = tempFile.getUsableSpace() / oggPageSize; in testStagefright_bug_36592202()
799 doStagefrightTestMediaCodec(tempFile.getAbsolutePath(), in testStagefright_bug_36592202()
802 if (!tempFile.delete()) { in testStagefright_bug_36592202()
812 if (!tempFile.delete()) { in testStagefright_bug_36592202()