Home
last modified time | relevance | path

Searched refs:tmpFile (Results 1 – 9 of 9) sorted by relevance

/cts/tests/media/src/android/mediav2/cts/
DEncoderColorAspectsTest.java154 File tmpFile; in testColorAspects() local
159 tmpFile = File.createTempFile("tmp", ".webm"); in testColorAspects()
162 tmpFile = File.createTempFile("tmp", ".mp4"); in testColorAspects()
164 mMuxer = new MediaMuxer(tmpFile.getAbsolutePath(), muxerFormat); in testColorAspects()
189 String parent = tmpFile.getParent(); in testColorAspects()
192 cdtb.validateColorAspects(null, parent, tmpFile.getName(), mRange, mStandard, in testColorAspects()
198 cdtb.validateColorAspects(null, parent, tmpFile.getName(), mRange, mStandard, in testColorAspects()
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/
DTunerDvrTest.java101 File tmpFile = File.createTempFile("cts_tuner", "dvr_test"); in testDvrRecorder() local
103 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE)); in testDvrRecorder()
136 tmpFile.delete(); in testDvrRecorder()
145 File tmpFile = File.createTempFile("cts_tuner", "dvr_test"); in testDvrPlayback() local
146 try (RandomAccessFile raf = new RandomAccessFile(tmpFile, "rw")) { in testDvrPlayback()
157 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE)); in testDvrPlayback()
166 tmpFile.delete(); in testDvrPlayback()
/cts/tests/tests/jvmti/attaching/src/android.jvmti.attaching.cts/
DAttachingTest.java189 File tmpFile = File.createTempFile("badAgent", ".so"); in a_attachInvalidAgent() local
190 createdFiles.add(tmpFile); in a_attachInvalidAgent()
191 Debug.attachJvmtiAgent(tmpFile.getAbsolutePath(), null, classLoader); in a_attachInvalidAgent()
207 File tmpFile = File.createTempFile("=", ".so"); in a_attachWithEquals() local
208 createdFiles.add(tmpFile); in a_attachWithEquals()
209 Debug.attachJvmtiAgent(tmpFile.getAbsolutePath(), null, classLoader); in a_attachWithEquals()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DZipParser.java97 File tmpFile = File.createTempFile("RPZ", ""); in getFilefromZip() local
98 tmpFile.deleteOnExit(); in getFilefromZip()
100 FileOutputStream fOutputStream = new FileOutputStream(tmpFile); in getFilefromZip()
108 return tmpFile; in getFilefromZip()
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/
DJvmtiHostTest.java205 File tmpFile = null; in installLibToDataData() local
214 tmpFile = ZipUtil.extractFileFromZip(zf, libPathInApk); in installLibToDataData()
216 libInTmp = "/data/local/tmp/" + tmpFile.getName(); in installLibToDataData()
217 if (!mDevice.pushFile(tmpFile, libInTmp)) { in installLibToDataData()
237 FileUtil.deleteFile(tmpFile); in installLibToDataData()
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/
DJvmtiAttachingHostTest.java281 File tmpFile = null; in installLibToDataData() local
290 tmpFile = ZipUtil.extractFileFromZip(zf, libPathInApk); in installLibToDataData()
292 libInTmp = "/data/local/tmp/" + tmpFile.getName(); in installLibToDataData()
293 if (!device.pushFile(tmpFile, libInTmp)) { in installLibToDataData()
312 FileUtil.deleteFile(tmpFile); in installLibToDataData()
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java274 File tmpFile = null; in videoDecode() local
288 tmpFile = File.createTempFile(tmpName, null, mContext.getCacheDir()); in videoDecode()
290 os = new FileOutputStream(tmpFile); in videoDecode()
299 extractor.setDataSource(tmpFile.getAbsolutePath()); in videoDecode()
327 if (tmpFile != null) { in videoDecode()
328 tmpFile.delete(); in videoDecode()
DNativeDecoderTest.java681 String tmpFile = base.getPath() + "/tmp.dat"; in testMuxer() local
682 Log.i("@@@", "using tmp file " + tmpFile); in testMuxer()
683 new File(tmpFile).delete(); in testMuxer()
684 ParcelFileDescriptor out = ParcelFileDescriptor.open(new File(tmpFile), in testMuxer()
717 MediaPlayer player2 = MediaPlayer.create(mContext, Uri.parse("file://" + tmpFile)); in testMuxer()
722 new File(tmpFile).delete(); in testMuxer()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java1458 File tmpFile = File.createTempFile(outputFileName, null); in stageSingleApk() local
1461 Files.copy(is, tmpFile.toPath(), StandardCopyOption.REPLACE_EXISTING); in stageSingleApk()
1463 TestApp testApp = new TestApp(tmpFile.getName(), null, -1, in stageSingleApk()
1464 apkFileName.endsWith(".apex"), tmpFile); in stageSingleApk()