Searched refs:tmpFile (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/aadb/src/android/aadb/cts/ |
D | TestDeviceFuncTest.java | 99 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 …]
|
D | TestDeviceStressTest.java | 53 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/jvmti/base/host/src/android/jvmti/cts/ |
D | JvmtiHostTest.java | 128 File tmpFile = null; in run() local 152 if (tmpFile != null) { in run() 153 tmpFile.delete(); in run() 167 File tmpFile = null; in installLibToDataData() local 175 tmpFile = ZipUtil.extractFileFromZip(zf, libPathInApk); in installLibToDataData() 177 String libInTmp = "/data/local/tmp/" + tmpFile.getName(); in installLibToDataData() 178 if (!mDevice.pushFile(tmpFile, libInTmp)) { in installLibToDataData() 196 if (tmpFile != null) { in installLibToDataData() 197 tmpFile.delete(); in installLibToDataData()
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
D | SampleHostResultTest.java | 122 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/media/src/android/media/cts/ |
D | NativeDecoderTest.java | 477 String tmpFile = base.getPath() + "/tmp.dat"; in testMuxer() local 478 Log.i("@@@", "using tmp file " + tmpFile); in testMuxer() 479 new File(tmpFile).delete(); in testMuxer() 480 ParcelFileDescriptor out = ParcelFileDescriptor.open(new File(tmpFile), in testMuxer() 511 MediaPlayer player2 = MediaPlayer.create(mContext, Uri.parse("file://" + tmpFile)); in testMuxer() 516 new File(tmpFile).delete(); in testMuxer()
|
D | ImageReaderDecoderTest.java | 257 File tmpFile = null; in videoDecode() local 271 tmpFile = File.createTempFile(tmpName, null, mContext.getCacheDir()); in videoDecode() 273 os = new FileOutputStream(tmpFile); in videoDecode() 282 extractor.setDataSource(tmpFile.getAbsolutePath()); in videoDecode() 310 if (tmpFile != null) { in videoDecode() 311 tmpFile.delete(); in videoDecode()
|