HomeSort by relevance Sort by last modified time
    Searched refs:tmpFile (Results 1 - 25 of 161) sorted by null

1 2 3 4 5 6 7

  /cts/hostsidetests/aadb/src/android/aadb/cts/
TestDeviceFuncTest.java 99 File tmpFile = null;
104 tmpFile = createTempTestFile(null);
113 assertTrue(mTestDevice.pushFile(tmpFile, deviceFilePath));
117 assertTrue(compareFiles(tmpFile, tmpDestFile));
135 File tmpFile = null;
142 tmpFile = createTempTestFile(null);
151 assertTrue(mTestDevice.pushFile(tmpFile, deviceFilePath));
155 assertTrue(compareFiles(tmpFile, tmpDestFile));
159 assertTrue(compareFiles(tmpFile, tmpDestFile2));
191 File tmpFile = null
    [all...]
TestDeviceStressTest.java 53 File tmpFile = null;
59 tmpFile = FileUtil.createTempFile(String.format("tmp_%d", i), ".txt", tmpDir);
60 FileUtil.writeToFile(fileContents, tmpFile);
  /libcore/benchmarks/src/benchmarks/regression/
ByteBufferBulkBenchmark.java 56 File tmpFile = File.createTempFile("MappedByteBufferTest", ".tmp");
57 tmpFile.createNewFile();
58 tmpFile.deleteOnExit();
59 RandomAccessFile raf = new RandomAccessFile(tmpFile, "rw");
ByteBufferBenchmark.java 62 File tmpFile = new File("/sdcard/bm.tmp");
65 tmpFile = File.createTempFile("MappedByteBufferTest", ".tmp");
67 tmpFile.createNewFile();
68 tmpFile.deleteOnExit();
69 RandomAccessFile raf = new RandomAccessFile(tmpFile, "rw");
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
MappedByteBufferTest.java 37 File tmpFile, emptyFile;
45 FileInputStream fis = new FileInputStream(tmpFile);
128 FileInputStream fileInputStream = new FileInputStream(tmpFile);
135 FileInputStream inputStream = new FileInputStream(tmpFile);
146 RandomAccessFile randomFile = new RandomAccessFile(tmpFile, "rw");
154 RandomAccessFile random = new RandomAccessFile(tmpFile, "rw");
172 FileInputStream fileInputStream = new FileInputStream(tmpFile);
179 RandomAccessFile randomFile = new RandomAccessFile(tmpFile, "rw");
192 tmpFile = File.createTempFile("harmony", "test"); //$NON-NLS-1$//$NON-NLS-2$
193 tmpFile.deleteOnExit()
    [all...]
  /art/test/577-profile-foreign-dex/src/
Main.java 34 File tmpFile = null;
41 tmpFile = createTempFile();
42 appDir = new File(tmpFile.getParent(), APP_DIR_PREFIX + tmpFile.getName());
44 foreignDexProfileDir = new File(tmpFile.getParent(), FOREIGN_DEX_PROFILE_DIR);
58 if (tmpFile != null) {
59 tmpFile.delete();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
ChannelsTest.java 61 private File tmpFile;
66 tmpFile = File.createTempFile("test","tmp");
67 tmpFile.deleteOnExit();
81 tmpFile.delete();
87 this.fouts = new FileOutputStream(tmpFile);
129 this.fins = new FileInputStream(tmpFile);
156 this.fins = new FileInputStream(tmpFile);
207 this.fouts = new FileOutputStream(tmpFile);
231 this.fouts = new FileOutputStream(tmpFile);
242 this.fins = new FileInputStream(tmpFile);
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/services/rss/
RSSFeedWatcherTask.java 70 private File tmpFile;
81 this.tmpFile = new File(file + ".tmp"); //$NON-NLS-1$
127 downloadFeed(tmpFile,debug>0);
130 if (tmpFile.isFile()) {
131 if (debug>0) { System.out.println(Messages.getString("RSSFeedWatcherTask.Compare") + SP + file + Messages.getString("RSSFeedWatcherTask.with") + tmpFile + CL); } //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
151 newFeedWatcher.setFile(tmpFile.toString());
210 RSSFeedUtil.transferData(new FileInputStream(tmpFile), new FileOutputStream(file));
211 tmpFile.deleteOnExit();
  /libcore/luni/src/test/java/com/android/org/bouncycastle/jce/provider/
CertBlacklistTest.java 42 private File tmpFile;
131 tmpFile = File.createTempFile("test", "");
134 tmpFile.delete();
140 tmpFile = File.createTempFile("test", "");
146 tmpFile.delete();
194 return getPubkeyBlacklist(tmpFile.getCanonicalPath());
198 return getSerialBlacklist(tmpFile.getCanonicalPath());
202 FileOutputStream out = new FileOutputStream(tmpFile);
252 CertBlacklist bl = new CertBlacklist(tmpFile.getCanonicalPath(), "");
267 CertBlacklist bl = new CertBlacklist(tmpFile.getCanonicalPath(), "")
    [all...]
  /external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
SwatDeprecated.java 173 File tmpFile = null;
179 tmpFile = File.createTempFile(inFile.getName(), null, inFile.getParentFile());
182 tmpFile = outFile;
183 File parent = tmpFile.getParentFile();
185 tmpFile.createNewFile();
188 String tmpPath = tmpFile.getPath();
190 pw.println("tmpFile: " + tmpPath);
194 OutputStream os = new FileOutputStream(tmpFile);
281 if (!tmpFile.delete()) {
292 if (!tmpFile.renameTo(bakFile))
    [all...]
  /external/fonttools/MetaTools/
roundTrip.py 63 for tmpFile in (xmlFile1, ttFile2, xmlFile2):
64 if os.path.exists(tmpFile):
65 os.remove(tmpFile)
  /cts/hostsidetests/sample/src/android/sample/cts/
SampleHostResultTest.java 122 File tmpFile = FileUtil.createTempFile("tmp", "txt");
128 assertTrue("Could not pull file", device.pullFile(devicePath, tmpFile));
129 assertFilesAreEqual(testFile, tmpFile);
132 tmpFile.delete();
  /external/deqp/framework/qphelper/
qpCrashHandler.c 536 int tmpFile = mkstemp(tmpFileName);
538 if (tmpFile == -1)
540 writeInfoFormat(writeInfo, userPtr, "Failed to create tmpfile '%s' for the backtrace %s.", tmpFileName, strerror(errno));
553 backtrace_symbols_fd(symbols, symbolCount, tmpFile);
555 if (lseek(tmpFile, 0, SEEK_SET) < 0)
558 close(tmpFile);
587 if (read(tmpFile, &c, 1) == 1)
614 close(tmpFile);
615 tmpFile = -1;
621 if (tmpFile == -1
    [all...]
  /libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
URLJarFile.java 192 File tmpFile = File.createTempFile("jar_cache", null);
194 copyToFile(in, tmpFile);
195 tmpFile.deleteOnExit();
196 JarFile jarFile = new URLJarFile(tmpFile.toURL(), closeController);
199 tmpFile.delete();
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
ComponentResults.java 401 File tmpFile = new File(dir, getName()+".tmp"); //$NON-NLS-1$
404 if (tmpFile.exists()) {
406 tmpFile.renameTo(dataFile);
411 if (tmpFile.exists()) {
412 tmpFile.delete();
416 file = tmpFile;
  /external/clang/www/demo/
index.cgi 382 my $tmpFile = getname(".bc");
385 "llvm-ld $stats -o=$tmpFile $bytecodeFile > $outputFile 2>&1",
388 system("mv $tmpFile.bc $bytecodeFile");
389 system("rm $tmpFile");
407 my $tmpFile = getname(".ll");
408 system("c++filt < $disassemblyFile > $tmpFile 2>&1");
409 system("mv $tmpFile $disassemblyFile");
  /libcore/ojluni/src/main/java/java/util/prefs/
FileSystemPreferences.java 273 private final File tmpFile;
468 tmpFile = new File(dir, "prefs.tmp");
478 tmpFile = new File(dir, "prefs.tmp");
506 tmpFile = new File(dir, "prefs.tmp");
620 try (FileOutputStream fos = new FileOutputStream(tmpFile)) {
623 if (!tmpFile.renameTo(prefsFile))
625 tmpFile + " to " + prefsFile);
695 tmpFile.delete();
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldRandomAccessFileTest.java 54 File tmpFile = new File(fileName);
57 raf = new java.io.RandomAccessFile(tmpFile, "r");
65 tmpFile.createNewFile();
70 raf = new java.io.RandomAccessFile(tmpFile, "rwd");
76 raf = new java.io.RandomAccessFile(tmpFile, "rws");
82 raf = new java.io.RandomAccessFile(tmpFile, "rw");
90 raf = new java.io.RandomAccessFile(tmpFile, "i");
97 tmpFile.delete();
108 File tmpFile = new File(fileName);
161 if (tmpFile.exists()) tmpFile.delete()
    [all...]
  /cts/tests/tests/mediastress/preconditions/src/android/mediastress/cts/preconditions/
MediaPreparer.java 334 File tmpFile = File.createTempFile(MEDIA_FOLDER_NAME, null);
335 String tmpDir = tmpFile.getParent();
338 tmpFile.delete();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
FileInputStreamTest.java 245 File tmpFile = File.createTempFile("FileOutputStream", "tmp");
246 FileInputStream in = new FileInputStream(tmpFile);
254 tmpFile.delete();
  /frameworks/base/services/core/java/com/android/server/pm/
PackageInstallerSession.java     [all...]
  /cts/tests/tests/media/src/android/media/cts/
ImageReaderDecoderTest.java 256 File tmpFile = null;
270 tmpFile = File.createTempFile(tmpName, null, mContext.getCacheDir());
272 os = new FileOutputStream(tmpFile);
281 extractor.setDataSource(tmpFile.getAbsolutePath());
309 if (tmpFile != null) {
310 tmpFile.delete();
    [all...]
NativeDecoderTest.java 476 String tmpFile = base.getPath() + "/tmp.dat";
477 Log.i("@@@", "using tmp file " + tmpFile);
478 new File(tmpFile).delete();
479 ParcelFileDescriptor out = ParcelFileDescriptor.open(new File(tmpFile),
510 MediaPlayer player2 = MediaPlayer.create(mContext, Uri.parse("file://" + tmpFile));
515 new File(tmpFile).delete();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ScannerTest.java 90 File tmpFile = File.createTempFile("TestFileForScanner", ".tmp");
91 s = new Scanner(tmpFile);
94 assertTrue(tmpFile.delete());
97 s = new Scanner(tmpFile);
102 tmpFile = File.createTempFile("TestFileForScanner", ".tmp");
103 FileOutputStream fos = new FileOutputStream(tmpFile);
107 s = new Scanner(tmpFile);
109 tmpFile.delete();
126 File tmpFile = File.createTempFile("TestFileForScanner", ".tmp");
127 s = new Scanner(tmpFile, Charset.defaultCharset().name())
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/
feedTools.jar 

Completed in 871 milliseconds

1 2 3 4 5 6 7