Home
last modified time | relevance | path

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

/cts/hostsidetests/aadb/src/android/aadb/cts/
DTestDeviceFuncTest.java99 File tmpFile = null; in testPushPull_normal() local
104 tmpFile = createTempTestFile(null); in testPushPull_normal()
113 assertTrue(mTestDevice.pushFile(tmpFile, deviceFilePath)); in testPushPull_normal()
117 assertTrue(compareFiles(tmpFile, tmpDestFile)); in testPushPull_normal()
135 File tmpFile = null; in testPushPull_extStorageVariable() local
142 tmpFile = createTempTestFile(null); in testPushPull_extStorageVariable()
151 assertTrue(mTestDevice.pushFile(tmpFile, deviceFilePath)); in testPushPull_extStorageVariable()
155 assertTrue(compareFiles(tmpFile, tmpDestFile)); in testPushPull_extStorageVariable()
159 assertTrue(compareFiles(tmpFile, tmpDestFile2)); in testPushPull_extStorageVariable()
191 File tmpFile = null; in createTempTestFile() local
[all …]
DTestDeviceStressTest.java53 File tmpFile = null; in createTempTestFiles() local
59 tmpFile = FileUtil.createTempFile(String.format("tmp_%d", i), ".txt", tmpDir); in createTempTestFiles()
60 FileUtil.writeToFile(fileContents, tmpFile); in createTempTestFiles()
/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/tests/tests/mediastress/preconditions/src/android/mediastress/cts/preconditions/
DMediaPreparer.java334 File tmpFile = File.createTempFile(MEDIA_FOLDER_NAME, null); in run() local
335 String tmpDir = tmpFile.getParent(); in run()
338 tmpFile.delete(); in run()
/cts/tests/tests/media/src/android/media/cts/
DNativeDecoderTest.java476 String tmpFile = base.getPath() + "/tmp.dat"; in testMuxer() local
477 Log.i("@@@", "using tmp file " + tmpFile); in testMuxer()
478 new File(tmpFile).delete(); in testMuxer()
479 ParcelFileDescriptor out = ParcelFileDescriptor.open(new File(tmpFile), in testMuxer()
510 MediaPlayer player2 = MediaPlayer.create(mContext, Uri.parse("file://" + tmpFile)); in testMuxer()
515 new File(tmpFile).delete(); in testMuxer()
DImageReaderDecoderTest.java256 File tmpFile = null; in videoDecode() local
270 tmpFile = File.createTempFile(tmpName, null, mContext.getCacheDir()); in videoDecode()
272 os = new FileOutputStream(tmpFile); in videoDecode()
281 extractor.setDataSource(tmpFile.getAbsolutePath()); in videoDecode()
309 if (tmpFile != null) { in videoDecode()
310 tmpFile.delete(); in videoDecode()