/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
D | FileUtils.java | 104 FileOutputStream fos = null; in getMaskFilename() local 113 fos = context.openFileOutput(filename, Context.MODE_WORLD_READABLE); in getMaskFilename() 114 if (!bitmap.compress(CompressFormat.JPEG, 100, fos)) { in getMaskFilename() 126 if (fos != null) { in getMaskFilename() 127 fos.flush(); in getMaskFilename() 128 fos.close(); in getMaskFilename() 195 FileOutputStream fos = null; in getAudioTrackFilename() local 199 fos = context.openFileOutput(filename, Context.MODE_WORLD_READABLE); in getAudioTrackFilename() 203 fos.write(buffer, 0, bytesRead); in getAudioTrackFilename() 210 if (fos != null) { in getAudioTrackFilename() [all …]
|
D | ImageUtils.java | 209 final FileOutputStream fos = new FileOutputStream(outputFile); in rotateAndScaleImage() local 210 rotatedBmp.compress(CompressFormat.JPEG, 100, fos); in rotateAndScaleImage() 211 fos.close(); in rotateAndScaleImage()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DownloadUtils.java | 35 FileOutputStream fos = null; in requestDownload() local 37 fos = new FileOutputStream(file); in requestDownload() 38 return download(jc, url, fos); in requestDownload() 42 Utils.closeSilently(fos); in requestDownload()
|
/packages/apps/Phone/src/com/android/phone/sip/ |
D | SipProfileDb.java | 76 FileOutputStream fos = null; in saveProfile() local 79 fos = atomicFile.startWrite(); in saveProfile() 80 oos = new ObjectOutputStream(fos); in saveProfile() 84 atomicFile.finishWrite(fos); in saveProfile() 86 atomicFile.failWrite(fos); in saveProfile()
|
/packages/apps/Mms/tests/SmsAutoReply/src/com/android/smsautoreply/ |
D | AutoReplyActivity.java | 84 FileOutputStream fos = new FileOutputStream(logFile, true); in logMessage() local 85 fos.write(logMsg.getBytes()); in logMessage() 86 fos.flush(); in logMessage() 87 fos.close(); in logMessage()
|
/packages/apps/Email/src/org/apache/commons/io/output/ |
D | DeferredFileOutputStream.java | 165 FileOutputStream fos = new FileOutputStream(outputFile); in thresholdReached() local 166 memoryOutputStream.writeTo(fos); in thresholdReached() 167 currentOutputStream = fos; in thresholdReached()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | TestUtils.java | 96 FileOutputStream fos = new FileOutputStream(file); in dumpToCacheDir() local 97 fos.write(data); in dumpToCacheDir() 98 fos.close(); in dumpToCacheDir()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | TestActivity.java | 500 FileOutputStream fos = null; in onPut() local 508 fos = new FileOutputStream(f); in onPut() 513 fos.write(b, 0, len); in onPut() 516 fos.close(); in onPut() 520 if (fos != null) { in onPut() 522 fos.close(); in onPut()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoStore.java | 196 FileOutputStream fos = new FileOutputStream(file); in insert() local 197 fos.write(photoBytes); in insert() 198 fos.close(); in insert()
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
D | CommandRecognizerEngine.java | 289 FileOutputStream fos = new FileOutputStream(oe); in loadOpenEntriesTable() local 291 ObjectOutputStream oos = new ObjectOutputStream(fos); in loadOpenEntriesTable() 295 fos.close(); in loadOpenEntriesTable()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | CropImage.java | 342 FileOutputStream fos = new FileOutputStream(candidate); in saveMedia() local 345 convertExtensionToCompressFormat(fileExtension), fos); in saveMedia() 347 fos.close(); in saveMedia()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
D | ApiService.java | 1910 FileOutputStream fos = null; in processIntent() local 1921 fos = new FileOutputStream(file); in processIntent() 1925 fos.write(readBuffer, 0, readBytes); in processIntent() 1940 if (fos != null) { in processIntent() 1942 fos.flush(); in processIntent() 1943 fos.close(); in processIntent()
|