Searched refs:outFile (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/tools/localize/
H A Dxmb.h9 int do_xlb_export(const string& outFile, const vector<string>& resFiles);
/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java87 * @param outFile Location within the filesystem to place the data. This must point
92 long size, int type, long mode, long mtime, File outFile) throws IOException {
97 if (outFile != null) outFile.mkdirs();
103 if (outFile != null) {
104 File parent = outFile.getParentFile();
112 out = new FileOutputStream(outFile);
115 Log.e(TAG, "Unable to create/open file " + outFile.getPath(), e);
135 Log.e(TAG, "Unable to write to file " + outFile.getPath(), e);
138 outFile
91 restoreFile(ParcelFileDescriptor data, long size, int type, long mode, long mtime, File outFile) argument
[all...]
H A DBackupAgent.java448 File outFile = new File(basePath, path);
449 if (DEBUG) Log.i(TAG, "[" + domain + " : " + path + "] mapped to " + outFile.getPath());
450 onRestoreFile(data, size, outFile, type, mode, mtime);
/frameworks/base/core/tests/coretests/src/com/android/server/
H A DMountServiceTests.java115 final File outFile = new File(filesDir, name);
116 return outFile;
119 private void copyRawToFile(int rawResId, File outFile) { argument
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...]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java61 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);
/frameworks/base/services/java/com/android/server/
H A DSystemBackupAgent.java121 File outFile = null;
125 outFile = new File(WALLPAPER_INFO);
128 outFile = new File(WALLPAPER_IMAGE);
134 if (outFile == null) {
137 FullBackup.restoreFile(data, size, type, mode, mtime, outFile);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerStressTest.java161 File outFile = File.createTempFile("DM_TEST", null, new File(CACHE_DIR));
175 fo = new FileOutputStream(outFile);
200 if (outFile != null) {
201 outFile.delete();
/frameworks/base/core/tests/coretests/src/android/os/storage/
H A DStorageManagerBaseTest.java225 * @param outFile A File representing the file we want to copy the OBB to
228 private void copyRawToFile(int rawResId, File outFile) throws NotFoundException { argument
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
[all...]
/frameworks/base/core/java/android/webkit/
H A DCacheManager.java115 File outFile; field in class:CacheManager.CacheResult
508 ret.outStream = new FileOutputStream(ret.outFile);
514 ret.outStream = new FileOutputStream(ret.outFile);
563 if (!cacheRet.outFile.exists()) {
575 && !cacheRet.outFile.delete()) {
576 Log.e(LOGTAG, cacheRet.outFile.getPath() + " delete failed.");
597 return cacheRet.outFile.delete();
749 cacheRet.outFile = file;
768 cacheRet.outFile = new File(mBaseDir, cacheRet.localPath);
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
H A DMultipartTest.java36 FileWriter outFile = new FileWriter(upload);
37 BufferedWriter out = new BufferedWriter(outFile);
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
H A DBandwidthEnforcementTestService.java67 File outFile = new File(extStorage, outputFile);
68 FileWriter writer = new FileWriter(outFile, true);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java72 int videoFormat, int outFormat, String outFile, boolean videoOnly) {
82 mRecorder.setOutputFile(outFile);
173 int videoFormat, int outFormat, String outFile, boolean videoOnly) {
182 mRecorder.setOutputFile(outFile);
71 recordVideo(int frameRate, int width, int height, int videoFormat, int outFormat, String outFile, boolean videoOnly) argument
172 invalidRecordSetting(int frameRate, int width, int height, int videoFormat, int outFormat, String outFile, boolean videoOnly) argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java244 Uri getInstallablePackage(int fileResId, File outFile) { argument
252 FileUtils.setPermissions(outFile.getPath(),
255 assertTrue(FileUtils.copyToFile(is, outFile));
256 FileUtils.setPermissions(outFile.getPath(),
259 return Uri.fromFile(outFile);
554 File outFile = new File(filesDir, outFileName);
555 Uri packageURI = getInstallablePackage(rawResId, outFile);
1154 File outFile = new File(ip.pkg.mScanPath);
1155 if (outFile != null && outFile
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DMediaPlayerPerformance.java206 int outFormat, String outFile, boolean videoOnly) {
219 mRecorder.setOutputFile(outFile);
205 stressVideoRecord(int frameRate, int width, int height, int videoFormat, int outFormat, String outFile, boolean videoOnly) argument
H A DVideoEditorPerformance.java103 File outFile = new File(VIDEOEDITOR_OUTPUT);
104 Writer output = new BufferedWriter(new FileWriter(outFile, true));
/frameworks/base/libs/rs/
H A Drsg_generator.c549 fprintf(stderr, "usage: %s commandFile outFile\n", argv[0]);
553 const char* outFile = argv[2]; local
567 FILE *f = fopen(outFile, "w");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DVideoEditorStressTest.java126 File outFile = new File(VIDEOEDITOR_OUTPUT);
127 Writer output = new BufferedWriter(new FileWriter(outFile, true));
136 File outFile = new File(VIDEOEDITOR_OUTPUT);
137 Writer output = new BufferedWriter(new FileWriter(outFile, true));

Completed in 454 milliseconds