/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
CheckedOutputStreamTest.java | 35 FileOutputStream outFile = new FileOutputStream("chkOut.txt"); 36 CheckedOutputStream chkOut = new CheckedOutputStream(outFile, 40 outFile.close(); 56 FileOutputStream outFile = new FileOutputStream("chkOut.txt"); 57 CheckedOutputStream chkOut = new CheckedOutputStream(outFile, 72 outFile.close(); 88 FileOutputStream outFile = new FileOutputStream("chkOut.txt"); 89 CheckedOutputStream chkOut = new CheckedOutputStream(outFile, 97 outFile.close(); 112 FileOutputStream outFile = new FileOutputStream("chkOut.txt") [all...] |
GZIPOutputStreamTest.java | 50 FileOutputStream outFile = new FileOutputStream("GZIPOutCon.txt"); 51 TestGZIPOutputStream outGZIP = new TestGZIPOutputStream(outFile); 69 FileOutputStream outFile = new FileOutputStream("GZIPOutCon.txt"); 70 TestGZIPOutputStream outGZIP = new TestGZIPOutputStream(outFile, 90 FileOutputStream outFile = new FileOutputStream("GZIPOutFinish.txt"); 91 TestGZIPOutputStream outGZIP = new TestGZIPOutputStream(outFile); 117 FileOutputStream outFile = new FileOutputStream("GZIPOutClose2.txt"); 118 TestGZIPOutputStream outGZIP = new TestGZIPOutputStream(outFile); 141 FileOutputStream outFile = new FileOutputStream("GZIPOutWrite.txt"); 142 TestGZIPOutputStream outGZIP = new TestGZIPOutputStream(outFile); [all...] |
/frameworks/base/core/java/android/app/backup/ |
FullBackup.java | 90 * @param outFile Location within the filesystem to place the data. This must point 95 long size, int type, long mode, long mtime, File outFile) throws IOException { 100 if (outFile != null) outFile.mkdirs(); 106 if (outFile != null) { 107 File parent = outFile.getParentFile(); 113 out = new FileOutputStream(outFile); 116 Log.e(TAG, "Unable to create/open file " + outFile.getPath(), e); 136 Log.e(TAG, "Unable to write to file " + outFile.getPath(), e); 139 outFile.delete() [all...] |
/frameworks/base/core/tests/coretests/src/com/android/server/ |
MountServiceTests.java | 115 final File outFile = new File(filesDir, name); 116 return outFile; 119 private void copyRawToFile(int rawResId, File outFile) { 127 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 129 assertTrue(FileUtils.copyToFile(is, outFile)); 130 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 213 final File outFile = getFilePath("test1.obb"); 215 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED); 217 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); 219 final String mountPath = checkMountedPath(sm, outFile); [all...] |
/external/emma/core/java12/com/vladium/emma/rt/ |
RTCoverageDataPersister.java | 38 final File outFile, final boolean merge) 54 DataFactory.persist (cdataView, outFile, merge); 61 log.info ("runtime coverage data " + (merge ? "merged into" : "written to") + " [" + outFile.getAbsolutePath () + "] {in " + (end - start) + " ms}");
|
RT.java | 144 * @param outFile 148 public static synchronized void dumpCoverageData (File outFile, final boolean merge, final boolean stopDataCollection) 151 outFile = outFile != null ? outFile : getCoverageOutFile (); 156 RTCoverageDataPersister.dumpCoverageData (cdata, ! stopDataCollection, outFile, merge); 159 public static synchronized void dumpCoverageData (File outFile, final boolean stopDataCollection) 161 outFile = outFile != null ? outFile : getCoverageOutFile () [all...] |
RTExitHook.java | 105 RTExitHook (final Class RT, final ICoverageData cdata, final File outFile, final boolean merge) 110 m_outFile = outFile;
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
StorageManagerTest.java | 52 final File outFile = getFilePath("test1.obb"); 54 final String canonPath = mountObb(R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED); 56 mountObb(R.raw.test1, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); 63 unmountObb(outFile, OnObbStateChangeListener.UNMOUNTED); 67 final File outFile = getFilePath("test1_nosig.obb"); 69 mountObb(R.raw.test1_nosig, outFile, OnObbStateChangeListener.ERROR_INTERNAL); 72 mStorageManager.isObbMounted(outFile.getPath())); 75 mStorageManager.getMountedObbPath(outFile.getPath())); 79 final File outFile = getFilePath("test1_wrongpackage.obb"); 81 mountObb(R.raw.test1_wrongpackage, outFile, [all...] |
/external/llvm/runtime/libprofile/ |
PathProfiling.c | 56 int outFile = getOutFile(); 77 arrayHeaderLocation = lseek(outFile, 0, SEEK_CUR); 78 lseek(outFile, sizeof(PathProfileHeader), SEEK_CUR); 84 if (write(outFile, &pte, sizeof(PathProfileTableEntry)) < 0) { 97 arrayCurrentLocation = lseek(outFile, 0, SEEK_CUR); 98 lseek(outFile, arrayHeaderLocation, SEEK_SET); 100 if (write(outFile, &fHeader, sizeof(PathProfileHeader)) < 0) { 106 lseek(outFile, arrayCurrentLocation, SEEK_SET); 117 int outFile = getOutFile(); 124 if (write(outFile, &header, sizeof(PathProfileHeader)) < 0) [all...] |
CommonProfiling.c | 86 static int OutFile = -1; 91 if (OutFile == -1) { 92 OutFile = open(OutputFilename, O_CREAT | O_WRONLY, 0666); 93 lseek(OutFile, 0, SEEK_END); /* O_APPEND prevents seeking */ 94 if (OutFile == -1) { 98 return(OutFile); 105 if (write(OutFile, &PTy, sizeof(int)) < 0 || 106 write(OutFile, &SavedArgsLength, sizeof(unsigned)) < 0 || 107 write(OutFile, SavedArgs, SavedArgsLength) < 0 ) { 113 if (write(OutFile, &Zeros, 4-(SavedArgsLength&3)) < 0) [all...] |
/external/libffi/testsuite/ |
run-all-tests | 26 outFile="/tmp/out-test-$$.txt" 102 rm -f "$execFile" "$outFile" 108 "$execFile" > "$outFile" 113 cat "$outFile" 118 rm -f "$execFile" "$outFile"
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
SharedStorageAgent.java | 61 File outFile = null; 69 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); 70 if (DEBUG) Slog.i(TAG, " => " + outFile.getAbsolutePath()); 80 if (outFile == null) { 84 FullBackup.restoreFile(data, size, type, -1, mtime, outFile);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDebugActivity.java | 98 File outFile = new File(Environment.getExternalStorageDirectory(), OUT_FILE); 99 outFile.delete(); 118 File outFile = new File(path, OUT_FILE); 119 outFile.delete(); 120 Log.i(TAG, "Outfile=" + outFile.getAbsolutePath()); 125 os = new ZipOutputStream(new FileOutputStream(outFile)); 148 outFile.toString() 152 return outFile; 175 protected void onPostExecute(File outFile) { [all...] |
/frameworks/base/services/java/com/android/server/ |
SystemBackupAgent.java | 129 File outFile = null; 133 outFile = new File(WALLPAPER_INFO); 136 outFile = new File(WALLPAPER_IMAGE); 142 if (outFile == null) { 145 FullBackup.restoreFile(data, size, type, mode, mtime, outFile);
|
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerStressTest.java | 160 File outFile = File.createTempFile("DM_TEST", null, new File(CACHE_DIR)); 174 fo = new FileOutputStream(outFile); 199 if (outFile != null) { 200 outFile.delete();
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerBaseTest.java | 225 * @param outFile A File representing the file we want to copy the OBB to 228 private void copyRawToFile(int rawResId, File outFile) throws NotFoundException { 237 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 239 assertTrue(FileUtils.copyToFile(is, outFile)); 240 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 252 File outFile = null; 255 outFile = new File(filesDir, name); 256 copyRawToFile(rawResId, outFile); 258 if (outFile != null) { 259 outFile.delete() [all...] |
/cts/tools/cfassembler/src/dxconvext/ |
ClassFileAssembler.java | 101 File outFile = new File(tFile); 102 System.out.println("outfile:" + outFile); 107 OutputStream os = new FileOutputStream(outFile);
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
ImageDiff.cpp | 317 static bool writeFile(const char* outFile, const unsigned char* data, size_t dataSize) 319 FILE* file = fopen(outFile, "wb"); 321 fprintf(stderr, "ImageDiff: Unable to create file \"%s\"\n", outFile); 326 fprintf(stderr, "ImageDiff: Unable to write data to file \"%s\"\n", outFile); 333 int diffImages(const char* file1, const char* file2, const char* outFile) 355 if (!writeFile(outFile, &pngData.front(), pngData.size()))
|
/external/bzip2/ |
bzip2recover.c | 304 FILE* outFile; 436 outFile = NULL; 446 if (outFile != NULL && bitsRead >= rbStart[wrBlock] 454 if (outFile != NULL) { 489 outFile = fopen ( outFileName, "wb" ); 490 if (outFile == NULL) { 495 bsWr = bsOpenWriteStream ( outFile );
|
/external/emma/core/java12/com/vladium/emma/report/lcov/ |
ReportGenerator.java | 107 File outFile = m_settings.getOutFile(); 108 if (outFile == null) 110 outFile = new File("coverage.lcov"); 111 m_settings.setOutFile(outFile); 114 final File fullOutFile = Files.newFile(m_settings.getOutDir(), outFile);
|
/external/emma/core/java12/com/vladium/emma/instr/ |
InstrProcessorST.java | 181 File outFile = null; 190 outFile = new File (className.replace ('.', File.separatorChar).concat (".class")); 191 fullOutFile = getFullOutFile (null, outFile, IN_CLASSES); 199 // BUG_SF989071: using outFile here instead resulted in 212 if (log.atVERBOSE ()) log.verbose ("destination file [" + outFile + "] skipped: more recent than the source"); 252 outFile = new File (className.replace ('.', File.separatorChar).concat (".class")); 253 fullOutFile = getFullOutFile (null, outFile, IN_CLASSES); 560 final File outFile = getFullOutFile (pathDir, file, IN_CLASSES); 562 addJob (new FileWriteJob (outFile, data, mkdir)); [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
MultipartTest.java | 36 FileWriter outFile = new FileWriter(upload); 37 BufferedWriter out = new BufferedWriter(outFile);
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
BandwidthEnforcementTestService.java | 67 File outFile = new File(extStorage, outputFile); 68 FileWriter writer = new FileWriter(outFile, true);
|
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
ShotToShotLatency.java | 124 File outFile = new File(CAMERA_TEST_OUTPUT_FILE); 127 output = new BufferedWriter(new FileWriter(outFile, true));
|
/sdk/apigenerator/src/com/android/apigenerator/ |
Main.java | 71 System.err.println("\tApiCheck [enum] FOLDER OUTFILE\n"); 146 private static void createApiFile(File outFile, Map<String, ApiClass> classes) { 150 ps = new PrintStream(outFile);
|