Home
last modified time | relevance | path

Searched refs:outFile (Results 1 – 10 of 10) sorted by relevance

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebugActivity.java98 File outFile = new File(Environment.getExternalStorageDirectory(), OUT_FILE); in cleanup() local
99 outFile.delete(); in cleanup()
118 File outFile = new File(path, OUT_FILE); in doInBackground() local
119 outFile.delete(); in doInBackground()
120 Log.i(TAG, "Outfile=" + outFile.getAbsolutePath()); in doInBackground()
125 os = new ZipOutputStream(new FileOutputStream(outFile)); in doInBackground()
148 outFile.toString() in doInBackground()
152 return outFile; in doInBackground()
175 protected void onPostExecute(File outFile) { in onPostExecute() argument
176 if (outFile != null) { in onPostExecute()
[all …]
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DDownloadService.java111 String displayName, Uri outFile, Context context) { in DownloadTask() argument
117 this.mOutFile = outFile; in DownloadTask()
153 String userAgent, String url, String displayName, Uri outFile) { in makeDownloadIntent() argument
159 intent.putExtra(ARG_OUTFILE, outFile); in makeDownloadIntent()
209 final Uri outFile = intent.getParcelableExtra(ARG_OUTFILE); in onStartCommand() local
212 || outFile == null) { in onStartCommand()
214 + "filename: %s, outFile: %s", network, userAgent, url, filename, outFile)); in onStartCommand()
220 network.getPrivateDnsBypassingCopy(), userAgent, url, filename, outFile, this); in onStartCommand()
425 @NonNull Uri outFile) { in makeDoneNotification() argument
429 .setData(outFile) in makeDoneNotification()
/packages/apps/Traceur/src/com/android/traceur/
DAtraceUtils.java96 public boolean traceDump(File outFile) { in traceDump() argument
97 String cmd = "atrace --async_stop -z -c -o " + outFile; in traceDump()
111 ps.getInputStream(), new FileOutputStream(outFile, true /* append */)); in traceDump()
119 outFile.setReadable(true, false); // (readable, ownerOnly) in traceDump()
120 outFile.setWritable(true, false); // (readable, ownerOnly) in traceDump()
DPerfettoUtils.java269 public boolean traceDump(File outFile) { in traceDump() argument
278 Log.v(TAG, "Saving perfetto trace to " + outFile); in traceDump()
281 Os.rename(TEMP_TRACE_LOCATION, outFile.getCanonicalPath()); in traceDump()
286 outFile.setReadable(true, false); // (readable, ownerOnly) in traceDump()
287 outFile.setWritable(true, false); // (readable, ownerOnly) in traceDump()
DTraceUtils.java62 public boolean traceDump(File outFile); in traceDump() argument
80 public static boolean traceDump(File outFile) { in traceDump() argument
81 return mTraceEngine.traceDump(outFile); in traceDump()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DDumpDatabaseAction.java63 final File outFile = DebugUtils.getDebugFile(DUMP_NAME, true); in executeAction() local
64 if (outFile != null) { in executeAction()
67 bos = new BufferedOutputStream(new FileOutputStream(outFile)); in executeAction()
95 DebugUtils.ensureReadable(outFile); in executeAction()
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDicttool.java61 protected static OutputStream getFileOutputStream(final File outFile) in getFileOutputStream() argument
63 return new BufferedOutputStream(new FileOutputStream(outFile)); in getFileOutputStream()
/packages/apps/Camera2/tests/src/com/android/camera/stress/
DShotToShotLatency.java123 File outFile = new File(CAMERA_TEST_OUTPUT_FILE); in testShotToShotLatency() local
126 output = new BufferedWriter(new FileWriter(outFile, true)); in testShotToShotLatency()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDataExporter.java56 final File outFile = getOutputFile(context, fileName); in exportData() local
65 try (ZipOutputStream os = new ZipOutputStream(new FileOutputStream(outFile))) { in exportData()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java807 FileOutputStream outFile = null; in saveConfigToXml() local
809 outFile = new FileOutputStream( in saveConfigToXml()
813 config.writeToStream(outFile); in saveConfigToXml()
814 outFile.flush(); in saveConfigToXml()
815 outFile.close(); in saveConfigToXml()