/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 | 91 * @param outFile Location within the filesystem to place the data. This must point 96 long size, int type, long mode, long mtime, File outFile) throws IOException { 101 if (outFile != null) outFile.mkdirs(); 107 if (outFile != null) { 108 File parent = outFile.getParentFile(); 114 out = new FileOutputStream(outFile); 117 Log.e(TAG, "Unable to create/open file " + outFile.getPath(), e); 137 Log.e(TAG, "Unable to write to file " + outFile.getPath(), e); 140 outFile.delete() [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;
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
Isac_test.cc | 64 WebRtc_Word8 outFile[40]; 113 strcpy(outFile,argv[2]); 121 strcat(outFile,"_"); 122 strcat(outFile, argv[4]); 123 strcat(outFile,"_"); 124 strcat(outFile, codec); 127 strcat(outFile,"_"); 128 strcat(outFile, argv[6]); 131 strcat(outFile,"_"); 132 strcat(outFile, "plc") [all...] |
ISACHist.cc | 27 FILE *outFile; 50 outFile = fopen(argv[2], "w"); 51 if(outFile == NULL) 153 fprintf(outFile, "%10lu\n", hist[n]); 155 fclose(outFile);
|
/external/smali/baksmali/ |
build.gradle | 58 def outFile = jar.destinationDir.getPath() + '/' + jar.baseName + '-' + jar.version + '-small' + '.' + jar.extension 60 outputs.file outFile 65 args '-outjars ' + outFile
|
/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 | 118 static int OutFile = -1; 123 if (OutFile == -1) { 124 OutFile = open(OutputFilename, O_CREAT | O_WRONLY, 0666); 125 lseek(OutFile, 0, SEEK_END); /* O_APPEND prevents seeking */ 126 if (OutFile == -1) { 130 return(OutFile); 137 if (write(OutFile, &PTy, sizeof(int)) < 0 || 138 write(OutFile, &SavedArgsLength, sizeof(unsigned)) < 0 || 139 write(OutFile, SavedArgs, SavedArgsLength) < 0 ) { 145 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/services/tests/servicestests/src/com/android/server/ |
MountServiceTests.java | 117 final File outFile = new File(filesDir, name); 118 return outFile; 121 private void copyRawToFile(int rawResId, File outFile) { 129 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 131 assertTrue(FileUtils.copyToFile(is, outFile)); 132 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 215 final File outFile = getFilePath("test1.obb"); 217 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED); 219 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); 221 final String mountPath = checkMountedPath(sm, outFile); [all...] |
/cts/tests/tests/os/src/android/os/storage/cts/ |
StorageManagerTest.java | 63 private void doMountAndUnmountObbNormal(File outFile) { 64 final String canonPath = mountObb(R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED); 66 mountObb(R.raw.test1, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); 73 unmountObb(outFile, OnObbStateChangeListener.UNMOUNTED); 84 private void doAttemptMountNonObb(File outFile) { 85 mountObb(R.raw.test1_nosig, outFile, OnObbStateChangeListener.ERROR_INTERNAL); 88 mStorageManager.isObbMounted(outFile.getPath())); 91 mStorageManager.getMountedObbPath(outFile.getPath())); 102 private void doAttemptMountObbWrongPackage(File outFile) { 103 mountObb(R.raw.test1_wrongpackage, outFile, [all...] |
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
SharedStorageAgent.java | 70 File outFile = null; 78 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); 79 if (DEBUG) Slog.i(TAG, " => " + outFile.getAbsolutePath()); 89 if (outFile == null) { 93 FullBackup.restoreFile(data, size, type, -1, mtime, outFile);
|
ObbBackupService.java | 109 File outFile = Environment.buildExternalStorageAppObbDirs(packageName)[0]; 110 if (outFile != null) { 111 outFile = new File(outFile, path); 113 // outFile is null here if we couldn't get access to external storage, 117 FullBackup.restoreFile(data, fileSize, 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...] |
/external/skia/tests/ |
PathOpsExtendedTest.cpp | 455 static void writeTestName(const char* nameSuffix, SkMemoryWStream& outFile) { 456 outFile.writeText(testName); 457 outFile.writeDecAsText(testNumber); 459 outFile.writeText(nameSuffix); 464 const char* testFunction, bool twoPaths, SkMemoryWStream& outFile) { 465 outFile.writeText("<div id=\""); 466 writeTestName(nameSuffix, outFile); 467 outFile.writeText("\">\n"); 469 outFile.writeText(pathPrefix); 471 outFile.writeText(pathStr) [all...] |
/frameworks/base/services/java/com/android/server/ |
SystemBackupAgent.java | 133 File outFile = null; 137 outFile = new File(WALLPAPER_INFO); 140 outFile = new File(WALLPAPER_IMAGE); 146 if (outFile == null) { 149 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/chromium_org/third_party/opus/src/celt/ |
opus_custom_demo.c | 45 char *inFile, *outFile; 95 outFile = argv[argc-1]; 96 fout = fopen(outFile, "wb+");
|
/external/smali/smali/ |
build.gradle | 137 def outFile = jar.destinationDir.getPath() + '/' + jar.baseName + '-' + jar.version + '-small' + '.' + jar.extension 139 outputs.file outFile 144 args "-outjars ${outFile}"
|
/frameworks/base/packages/Keyguard/scripts/ |
new_merge.py | 130 def prepareFileForCompare(inFile, outFile, skip="", replace="", withText=""): 131 # Delete the outfile, so we're starting with a new file 132 if (os.path.exists(outFile)): 133 os.remove(outFile) 136 fout = open(outFile, "w")
|