Home
last modified time | relevance | path

Searched refs:outputFile (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/persistentlog/
DPersistentLogFileHandler.java75 private File outputFile; field in PersistentLogFileHandler
109 if (outputFile == null) { in writeLogs()
112 outputFile.createNewFile(); in writeLogs()
114 new DataOutputStream(new FileOutputStream(outputFile, true))) { in writeLogs()
122 if (outputFile.length() > fileSizeLimit) { in writeLogs()
129 if (outputFile == null) { in writeRawLogsForTest()
132 outputFile.createNewFile(); in writeRawLogsForTest()
134 new DataOutputStream(new FileOutputStream(outputFile, true))) { in writeRawLogsForTest()
137 if (outputFile.length() > fileSizeLimit) { in writeRawLogsForTest()
201 outputFile = new File(logDirectory, String.valueOf(getAndIncrementNextFileIndex())); in selectNextFileToWrite()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryFileDumper.java266 File outputFile = null; in installWordListToStaging() local
277 outputFile = new File(tempFileName); in installWordListToStaging()
280 outputFile.delete(); in installWordListToStaging()
309 bufferedOutputStream = new BufferedOutputStream(new FileOutputStream(outputFile)); in installWordListToStaging()
316 new BufferedInputStream(new FileInputStream(outputFile))); in installWordListToStaging()
327 if (!FileUtils.renameTo(outputFile, finalFile)) { in installWordListToStaging()
329 outputFile.getAbsoluteFile(), finalFile.getAbsoluteFile())); in installWordListToStaging()
344 if (null != outputFile) { in installWordListToStaging()
348 outputFile.delete(); in installWordListToStaging()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DStoreUtils.java177 public static boolean copyUriIntoFile(ContentResolver cr, Uri uri, File outputFile) { in copyUriIntoFile() argument
179 try (final FileOutputStream out = new FileOutputStream(outputFile)) { in copyUriIntoFile()
182 ProvisionLogger.logi("Successfully copy from uri " + uri + " to " + outputFile); in copyUriIntoFile()
186 + outputFile, e); in copyUriIntoFile()
188 outputFile.delete(); in copyUriIntoFile()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DLicenseHtmlGeneratorFromXml.java107 public static boolean generateHtml(List<File> xmlFiles, File outputFile) { in generateHtml() argument
109 return genertor.generateHtml(outputFile); in generateHtml()
112 private boolean generateHtml(File outputFile) { in generateHtml() argument
123 writer = new PrintWriter(outputFile); in generateHtml()
131 LOG.e("Failed to generate " + outputFile, e); in generateHtml()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCopyAndResizeImageWorker.java69 File outputFile = DialerUtils.createShareableFile(context); in doInBackground() local
70 try (OutputStream outputStream = new FileOutputStream(outputFile)) { in doInBackground()
73 return new Pair<>(outputFile, MIME_TYPE); in doInBackground()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DDisclaimersParser.java103 File outputFile = new File(mDisclaimerDir, filename); in saveDisclaimerContentIntoFile() local
106 outputFile); in saveDisclaimerContentIntoFile()
107 return success ? outputFile : null; in saveDisclaimerContentIntoFile()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DImagePersistWorker.java90 File outputFile = DialerUtils.createShareableFile(context); in doInBackground() local
92 try (OutputStream outputStream = new FileOutputStream(outputFile)) { in doInBackground()
99 context, Constants.get().getFileProviderAuthority(), outputFile)) in doInBackground()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDictionaryMaker.java289 final File outputFile = new File(outputFilename); in writeBinaryDictionary() local
294 dictEncoder = new Ver4DictEncoder(outputFile); in writeBinaryDictionary()
296 dictEncoder = new Ver2DictEncoder(outputFile, codePointTableMode); in writeBinaryDictionary()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DMoreKeysResources.java122 final File outputFile = new File(outPackage, in writeToJava() local
125 ps = new PrintStream(outputFile, "UTF-8"); in writeToJava()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java493 final File outputFile = MediaScratchFileProvider.getFileFromUri(tmpUri); in resizeGifImage() local
494 final String outputFilePath = outputFile.getAbsolutePath(); in resizeGifImage()
500 bytesToReturn = Files.toByteArray(outputFile); in resizeGifImage()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugReportService.java376 File outputFile = FileUtils.getFile(this, mMetaBugReport.getTimestamp(), OUTPUT_ZIP_FILE); in saveBugReport() local
379 try (ParcelFileDescriptor outFd = ParcelFileDescriptor.open(outputFile, in saveBugReport()
/packages/apps/LegacyCamera/src/com/android/camera/
DEffectsRecorder.java171 public void setOutputFile(String outputFile) { in setOutputFile() argument
181 mOutputFile = outputFile; in setOutputFile()
/packages/apps/Camera2/res/raw/
Dbackdropper.graph81 // outputFile, orientationHint, inputRegion,
Dgoofy_face.graph105 // outputFile, orientationHint, inputRegion,
/packages/apps/LegacyCamera/res/raw/
Dbackdropper.graph79 // outputFile, orientationHint, inputRegion,
Dgoofy_face.graph102 // outputFile, orientationHint, inputRegion,
/packages/apps/Gallery2/res/raw/
Dbackdropper.graph81 // outputFile, orientationHint, inputRegion,
Dgoofy_face.graph105 // outputFile, orientationHint, inputRegion,