/packages/services/Car/cpp/evs/sampleDriver/ |
D | ConfigManager.cpp | 819 fstream outFile; in writeConfigDataToBinary() local 823 outFile.open(mBinaryFilePath, fstream::out | fstream::binary); in writeConfigDataToBinary() 824 if (!outFile) { in writeConfigDataToBinary() 834 outFile.write(reinterpret_cast<const char *>(&sz), in writeConfigDataToBinary() 840 outFile.write(reinterpret_cast<const char *>(&camId), in writeConfigDataToBinary() 845 outFile.write(reinterpret_cast<const char *>(&sz), in writeConfigDataToBinary() 848 outFile.write(reinterpret_cast<const char *>(&ctrl), in writeConfigDataToBinary() 850 outFile.write(reinterpret_cast<const char *>(&get<0>(range)), in writeConfigDataToBinary() 852 outFile.write(reinterpret_cast<const char *>(&get<1>(range)), in writeConfigDataToBinary() 854 outFile.write(reinterpret_cast<const char *>(&get<2>(range)), in writeConfigDataToBinary() [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDebugActivity.java | 105 File outFile = new File(Environment.getExternalStorageDirectory(), OUT_FILE); in cleanup() local 106 outFile.delete(); in cleanup() 125 File outFile = new File(path, OUT_FILE); in doInBackground() local 126 outFile.delete(); in doInBackground() 127 Log.i(TAG, "Outfile=" + outFile.getAbsolutePath()); in doInBackground() 132 os = new ZipOutputStream(new FileOutputStream(outFile)); in doInBackground() 155 outFile.toString() in doInBackground() 159 return outFile; in doInBackground() 182 protected void onPostExecute(File outFile) { in onPostExecute() argument 183 if (outFile != null) { in onPostExecute() [all …]
|
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | DownloadService.java | 111 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/ |
D | AtraceUtils.java | 96 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()
|
D | PerfettoUtils.java | 286 public boolean traceDump(File outFile) { in traceDump() argument 295 Log.v(TAG, "Saving perfetto trace to " + outFile); in traceDump() 298 Os.rename(TEMP_TRACE_LOCATION, outFile.getCanonicalPath()); in traceDump() 303 outFile.setReadable(true, false); // (readable, ownerOnly) in traceDump() 304 outFile.setWritable(true, false); // (readable, ownerOnly) in traceDump()
|
D | TraceUtils.java | 63 public boolean traceDump(File outFile); in traceDump() argument 82 public static boolean traceDump(File outFile) { in traceDump() argument 83 return mTraceEngine.traceDump(outFile); in traceDump()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | DumpDatabaseAction.java | 63 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/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/ |
D | Utils.java | 215 File outFile = File.createTempFile("device_serial", "tmp"); in getDeviceSerials() local 216 outFile.deleteOnExit(); in getDeviceSerials() 217 Utils.runCommand(outFile, logger, "adb", "devices"); in getDeviceSerials() 218 List<String> outputLines = Files.readLines(outFile, Charset.defaultCharset()); in getDeviceSerials()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Dicttool.java | 61 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/ |
D | ShotToShotLatency.java | 123 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/ |
D | DataExporter.java | 56 final File outFile = getOutputFile(context, fileName); in exportData() local 65 try (ZipOutputStream os = new ZipOutputStream(new FileOutputStream(outFile))) { in exportData()
|
/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/ |
D | TzS2RangeFileWriter.java | 59 public static TzS2RangeFileWriter open(File outFile, TzS2RangeFileFormat fileFormat) in open() argument 62 TzS2RangeFileFormat.MAGIC, TzS2RangeFileFormat.VERSION, outFile); in open()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierConfigLoader.java | 1016 FileOutputStream outFile = null; in saveConfigToXml() local 1018 outFile = new FileOutputStream(new File(mContext.getFilesDir(), fileName)); in saveConfigToXml() 1020 config.writeToStream(outFile); in saveConfigToXml() 1021 outFile.flush(); in saveConfigToXml() 1022 outFile.close(); in saveConfigToXml()
|