Home
last modified time | relevance | path

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

/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/tests/media/src/android/mediav2/cts/
DEncoderColorAspectsTest.java184 File tmpFile; in testColorAspects() local
189 tmpFile = File.createTempFile("tmp", ".webm"); in testColorAspects()
192 tmpFile = File.createTempFile("tmp", ".mp4"); in testColorAspects()
194 mMuxer = new MediaMuxer(tmpFile.getAbsolutePath(), muxerFormat); in testColorAspects()
219 String parent = tmpFile.getParent(); in testColorAspects()
222 cdtb.validateColorAspects(null, parent, tmpFile.getName(), mRange, mStandard, in testColorAspects()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostResultTest.java122 File tmpFile = FileUtil.createTempFile("tmp", "txt"); in testTransferTime()
128 assertTrue("Could not pull file", device.pullFile(devicePath, tmpFile)); in testTransferTime()
129 assertFilesAreEqual(testFile, tmpFile); in testTransferTime()
132 tmpFile.delete(); in testTransferTime()
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/
DJvmtiHostTest.java197 File tmpFile = null; in installLibToDataData() local
206 tmpFile = ZipUtil.extractFileFromZip(zf, libPathInApk); in installLibToDataData()
208 libInTmp = "/data/local/tmp/" + tmpFile.getName(); in installLibToDataData()
209 if (!mDevice.pushFile(tmpFile, libInTmp)) { in installLibToDataData()
229 FileUtil.deleteFile(tmpFile); in installLibToDataData()
/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/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.java260 File tmpFile = null; in videoDecode() local
274 tmpFile = File.createTempFile(tmpName, null, mContext.getCacheDir()); in videoDecode()
276 os = new FileOutputStream(tmpFile); in videoDecode()
285 extractor.setDataSource(tmpFile.getAbsolutePath()); in videoDecode()
313 if (tmpFile != null) { in videoDecode()
314 tmpFile.delete(); in videoDecode()
DNativeDecoderTest.java648 String tmpFile = base.getPath() + "/tmp.dat"; in testMuxer() local
649 Log.i("@@@", "using tmp file " + tmpFile); in testMuxer()
650 new File(tmpFile).delete(); in testMuxer()
651 ParcelFileDescriptor out = ParcelFileDescriptor.open(new File(tmpFile), in testMuxer()
682 MediaPlayer player2 = MediaPlayer.create(mContext, Uri.parse("file://" + tmpFile)); in testMuxer()
687 new File(tmpFile).delete(); in testMuxer()