/cts/tools/vm-tests-tf/src/util/build/ |
JarBuildStep.java | 40 File tempFile = new File(inputFile.folder, destFileName); 42 if (!inputFile.fileName.equals(tempFile)) { 43 copyFile(inputFile.fileName, tempFile); 45 tempFile = null; 66 if (tempFile != null) { 67 tempFile.delete();
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
TempFileBinaryBody.java | 31 import org.apache.james.mime4j.util.TempFile;
37 * Binary body backed by a {@link org.apache.james.mime4j.util.TempFile}.
46 private TempFile tempFile = null;
57 tempFile = tempPath.createTempFile("attachment", ".bin");
59 OutputStream out = tempFile.getOutputStream();
82 return tempFile.getInputStream();
|
TempFileTextBody.java | 35 import org.apache.james.mime4j.util.TempFile;
41 * Text body backed by a {@link org.apache.james.mime4j.util.TempFile}.
50 private TempFile tempFile = null;
62 tempFile = tempPath.createTempFile("attachment", ".txt");
64 OutputStream out = tempFile.getOutputStream();
104 return new InputStreamReader(tempFile.getInputStream());
107 return new InputStreamReader(tempFile.getInputStream(), javaCharset);
115 IOUtils.copy(tempFile.getInputStream(), out);
|
MemoryTextBody.java | 42 * Text body backed by a {@link org.apache.james.mime4j.util.TempFile}.
51 private byte[] tempFile = null;
67 tempFile = out.toByteArray();
105 return new InputStreamReader(tempFile.getInputStream());
108 return new InputStreamReader(new ByteArrayInputStream(tempFile), javaCharset);
116 IOUtils.copy(new ByteArrayInputStream(tempFile), out);
|
MemoryBinaryBody.java | 38 * Binary body backed by a {@link org.apache.james.mime4j.util.TempFile}.
47 private byte[] tempFile = null;
62 tempFile = out.toByteArray();
83 return new ByteArrayInputStream(tempFile);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
AbstractDictionaryWriter.java | 69 final File tempFile = new File(mContext.getFilesDir(), tempFileName); 71 final DictEncoder dictEncoder = new Ver3DictEncoder(tempFile); 73 tempFile.renameTo(file);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/debug/ |
ExternalDictionaryGetterForDebug.java | 148 File tempFile = null; 156 tempFile = new File(tempFileName); 157 tempFile.delete(); 158 outputStream = new BufferedOutputStream(new FileOutputStream(tempFile)); 165 if (!tempFile.renameTo(finalFile)) { 183 if (null != tempFile) tempFile.delete();
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
bisect-builds | 45 use File::Temp qw(tempfile); 138 my $tempFile = createTempFile($testURL); 147 mountAndRunNightly($nightlies[$startIndex]->{file}, $nightlyDownloadDirectory, $safariPath, $tempFile); 160 mountAndRunNightly($nightlies[$endIndex]->{file}, $nightlyDownloadDirectory, $safariPath, $tempFile); 183 mountAndRunNightly($nightlies[$index]->{file}, $nightlyDownloadDirectory, $safariPath, $tempFile); 207 unlink $tempFile if $tempFile; 217 my ($fh, $tempFile) = tempfile( 226 return $tempFile; [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileTest.java | 35 private File tempFile; 222 tempFile = new File(tempDirectory, "tempfile"); 225 tempStream = new FileOutputStream(tempFile.getPath(), false); 234 if (tempFile.exists() && !tempFile.delete())
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
Main.java | 153 File tempFile = File.createTempFile("dexdeps", ".dex"); 154 //System.out.println("+++ using temp " + tempFile); 155 RandomAccessFile raf = new RandomAccessFile(tempFile, "rw"); 156 tempFile.delete();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
FileLockTest.java | 58 File tempFile = File.createTempFile("testing", "tmp"); 59 tempFile.deleteOnExit(); 60 RandomAccessFile randomAccessFile = new RandomAccessFile(tempFile, "rw");
|
/external/svox/pico/src/com/svox/pico/ |
CheckVoiceData.java | 114 File tempFile = new File(PICO_LINGWARE_PATH + filename); 116 if ((!tempFile.exists()) && (!tempFileSys.exists())) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadCache.java | 318 File tempFile = null; 321 tempFile = File.createTempFile("cache", ".tmp", mRoot); 322 // download from url to tempFile 324 boolean downloaded = DownloadUtils.requestDownload(jc, url, tempFile); 326 if (downloaded) return tempFile; 332 if (tempFile != null) tempFile.delete();
|
/development/samples/Vault/src/com/example/android/vault/ |
EncryptedDocument.java | 215 final File tempFile = new File(mFile.getParentFile(), tempName); 217 RandomAccessFile f = new RandomAccessFile(tempFile, "rw"); 254 tempFile.renameTo(mFile); 261 tempFile.delete();
|
/libcore/dom/src/test/java/org/w3c/domts/ |
DOMTest.java | 163 File tempFile = File.createTempFile("domts", ".xml"); 169 Object uri = method.invoke(tempFile, (Class<?>) null); 176 URL url = tempFile.toURL();
|
/external/chromium_org/third_party/sqlite/src/src/ |
pager.c | 620 u8 tempFile; /* zFilename is a temporary file */ [all...] |
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
ContentFragment.java | 319 final File tempFile = new File(externalCacheDir, "tempfile.jpg"); 329 FileOutputStream fo = new FileOutputStream(tempFile, false); 355 shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(tempFile));
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
VideoEditorHelper.java | 316 File tempFile = new File(fileName); 317 assertEquals("Exported FileName", tempFile.exists(), true); 364 File tempFile = new File(fileName); 365 assertEquals("Exported FileName", tempFile.exists(), true);
|
/prebuilts/devtools/adt/lib/ |
sdktestutils.jar | |
/external/lzma/CPP/Windows/ |
FileDir.cpp | 841 CTempFile tempFile;
842 if (!tempFile.Create(prefix, dirName))
844 if (!tempFile.Remove())
880 CTempFileW tempFile;
881 if (!tempFile.Create(prefix, dirName))
883 if (!tempFile.Remove())
|
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/ |
PropertyChangeSupportTest.java | 47 private File tempFile; 51 tempFile = File.createTempFile("beans", ".ser"); 56 tempFile.delete(); 57 tempFile = null; [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 50 ParcelFileDescriptor tempFile = makeParcelFileDescriptor(getContext()); 52 ParcelFileDescriptor pfd = new ParcelFileDescriptor(tempFile);
|
/external/chromium_org/third_party/WebKit/Source/testing/plugin/ |
PluginObject.cpp | 803 FILE* tempFile = fopen(path, "w"); 804 if (!tempFile) 807 size_t written = fwrite(contentsString.UTF8Characters, contentsString.UTF8Length, 1, tempFile); 808 fclose(tempFile); [all...] |
/prebuilts/devtools/tools/lib/ |
jobb.jar | |
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/ |
DeviceView.java | 244 File tempFile = saveTempFile(data, null /* extension */); 245 open(tempFile.getAbsolutePath()); [all...] |