/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | MountServiceTests.java | 117 final File outFile = new File(filesDir, name); 118 return outFile; 121 private void copyRawToFile(int rawResId, File outFile) { argument 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...] |
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
H A D | SharedStorageAgent.java | 72 File outFile = null; 80 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); 81 if (DEBUG) Slog.i(TAG, " => " + outFile.getAbsolutePath()); 91 if (outFile == null) { 95 FullBackup.restoreFile(data, size, type, -1, mtime, outFile);
|
H A D | 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);
|
/frameworks/native/opengl/tools/glgen2/registry/ |
H A D | reg.py | 355 self.outFile = None 394 self.outFile = open(self.genOpts.filename, 'w') 396 self.outFile = sys.stdout 401 self.outFile.flush() 402 if (self.outFile != sys.stdout and self.outFile != sys.stderr): 403 self.outFile.close() 513 write('', file=self.outFile) 522 write('#ifndef', headerSym, file=self.outFile) 523 write('#define', headerSym, '1', file=self.outFile) [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | FullBackup.java | 126 * @param outFile Location within the filesystem to place the data. This must point 131 long size, int type, long mode, long mtime, File outFile) throws IOException { 136 if (outFile != null) outFile.mkdirs(); 142 if (outFile != null) { 143 File parent = outFile.getParentFile(); 151 out = new FileOutputStream(outFile); 154 Log.e(TAG, "Unable to create/open file " + outFile.getPath(), e); 174 Log.e(TAG, "Unable to write to file " + outFile.getPath(), e); 177 outFile 130 restoreFile(ParcelFileDescriptor data, long size, int type, long mode, long mtime, File outFile) argument [all...] |
H A D | BackupAgent.java | 722 File outFile = new File(basePath, path); 723 String outPath = outFile.getCanonicalPath(); 726 onRestoreFile(data, size, outFile, type, mode, mtime);
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | 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/packages/Keyguard/scripts/ |
H A D | new_merge.py | 130 def prepareFileForCompare(inFile, outFile, skip="", replace="", withText=""): 132 if (os.path.exists(outFile)): 133 os.remove(outFile) 136 fout = open(outFile, "w")
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | 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 { 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/com/android/server/backup/ |
H A D | SystemBackupAgent.java | 160 File outFile = null; 164 outFile = new File(WALLPAPER_INFO); 167 outFile = new File(WALLPAPER_IMAGE); 173 if (outFile == null) { 176 FullBackup.restoreFile(data, size, type, mode, mtime, outFile);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
H A D | MultipartTest.java | 36 FileWriter outFile = new FileWriter(upload); 37 BufferedWriter out = new BufferedWriter(outFile);
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
H A D | BandwidthEnforcementTestService.java | 67 File outFile = new File(extStorage, outputFile); 68 FileWriter writer = new FileWriter(outFile, true);
|
/frameworks/base/core/java/android/webkit/ |
H A D | CacheManager.java | 68 File outFile; field in class:CacheManager.CacheResult
|
/frameworks/compile/libbcc/bcinfo/tools/ |
H A D | main.cpp | 53 std::string outFile; variable 103 outFile = std::string(inFile.begin(), inFile.end() - 3) + ".ll"; 106 outFile = inFile + ".ll"; 341 new llvm::tool_output_file(outFile.c_str(), ec,
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
H A D | MediaRecorderTest.java | 82 int videoFormat, int outFormat, String outFile, boolean videoOnly) { 92 mRecorder.setOutputFile(outFile); 229 int videoFormat, int outFormat, String outFile, boolean videoOnly, 241 recorder.setOutputFile(outFile); 375 int videoFormat, int outFormat, String outFile, boolean videoOnly) { 384 mRecorder.setOutputFile(outFile); 81 recordVideo(int frameRate, int width, int height, int videoFormat, int outFormat, String outFile, boolean videoOnly) argument 227 recordVideoFromSurface( int frameRate, int captureRate, int width, int height, int videoFormat, int outFormat, String outFile, boolean videoOnly, Surface persistentSurface) argument 374 invalidRecordSetting(int frameRate, int width, int height, int videoFormat, int outFormat, String outFile, boolean videoOnly) argument
|
/frameworks/native/opengl/tools/glgen2/ |
H A D | glgen.py | 136 file=self.outFile) 239 file=self.outFile)
|
/frameworks/support/tests/java/android/support/v4/content/ |
H A D | FileProviderTest.java | 162 File outFile = new File(mContext.getFilesDir(), "/foo/bar"); 167 assertEquals(outFile.getPath(),
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 297 Uri getInstallablePackage(int fileResId, File outFile) { argument 305 FileUtils.setPermissions(outFile.getPath(), 308 assertTrue(FileUtils.copyToFile(is, outFile)); 309 FileUtils.setPermissions(outFile.getPath(), 312 return Uri.fromFile(outFile); 702 File outFile = new File(filesDir, outFileName); 703 Uri packageURI = getInstallablePackage(rawResId, outFile); 1351 File outFile = new File(ip.pkg.codePath); 1352 if (outFile != null && outFile [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
H A D | MediaPlayerPerformance.java | 223 int outFormat, String outFile, boolean videoOnly) { 236 mRecorder.setOutputFile(outFile); 222 stressVideoRecord(int frameRate, int width, int height, int videoFormat, int outFormat, String outFile, boolean videoOnly) argument
|
/frameworks/rs/ |
H A D | rsg_generator.c | 650 fprintf(stderr, "usage: %s commandFile outFile\n", argv[0]); 654 const char* outFile = argv[2]; local 668 FILE *f = fopen(outFile, "w");
|
/frameworks/base/tools/aapt/ |
H A D | Resource.cpp | 1088 const sp<ApkSplit>& split, sp<AaptFile>& outFile, ResourceTable* table) { 1136 int err = compileXmlFile(bundle, assets, String16(), root, outFile, table); 1140 outFile->setCompressionMethod(ZipEntry::kCompressDeflated); 1087 generateAndroidManifestForSplit(Bundle* bundle, const sp<AaptAssets>& assets, const sp<ApkSplit>& split, sp<AaptFile>& outFile, ResourceTable* table) argument
|