Home
last modified time | relevance | path

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

/packages/services/Car/cpp/evs/sampleDriver/hidl/
DConfigManager.cpp738 std::fstream outFile; in writeConfigDataToBinary() local
742 outFile.open(mBinaryFilePath, std::fstream::out | std::fstream::binary); in writeConfigDataToBinary()
743 if (!outFile) { in writeConfigDataToBinary()
753 outFile.write(reinterpret_cast<const char*>(&sz), sizeof(size_t)); in writeConfigDataToBinary()
758 outFile.write(reinterpret_cast<const char*>(&camId), sizeof(std::string)); in writeConfigDataToBinary()
762 outFile.write(reinterpret_cast<const char*>(&sz), sizeof(size_t)); in writeConfigDataToBinary()
764 outFile.write(reinterpret_cast<const char*>(&ctrl), sizeof(CameraParam)); in writeConfigDataToBinary()
765 outFile.write(reinterpret_cast<const char*>(&std::get<0>(range)), sizeof(int32_t)); in writeConfigDataToBinary()
766 outFile.write(reinterpret_cast<const char*>(&std::get<1>(range)), sizeof(int32_t)); in writeConfigDataToBinary()
767 outFile.write(reinterpret_cast<const char*>(&std::get<2>(range)), sizeof(int32_t)); in writeConfigDataToBinary()
[all …]
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DConfigManager.cpp739 std::fstream outFile; in writeConfigDataToBinary() local
743 outFile.open(mBinaryFilePath, std::fstream::out | std::fstream::binary); in writeConfigDataToBinary()
744 if (!outFile) { in writeConfigDataToBinary()
754 outFile.write(reinterpret_cast<const char*>(&sz), sizeof(size_t)); in writeConfigDataToBinary()
759 outFile.write(reinterpret_cast<const char*>(&camId), sizeof(std::string)); in writeConfigDataToBinary()
763 outFile.write(reinterpret_cast<const char*>(&sz), sizeof(size_t)); in writeConfigDataToBinary()
765 outFile.write(reinterpret_cast<const char*>(&ctrl), sizeof(CameraParam)); in writeConfigDataToBinary()
766 outFile.write(reinterpret_cast<const char*>(&std::get<0>(range)), sizeof(int32_t)); in writeConfigDataToBinary()
767 outFile.write(reinterpret_cast<const char*>(&std::get<1>(range)), sizeof(int32_t)); in writeConfigDataToBinary()
768 outFile.write(reinterpret_cast<const char*>(&std::get<2>(range)), sizeof(int32_t)); in writeConfigDataToBinary()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebugActivity.java105 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/apps/Traceur/src_common/com/android/traceur/
DWinscopeUtils.java117 File outFile = getOutputFile(perfettoFilename, tempFile); in traceDump() local
118 FileUtils.copy(tempFile, outFile); in traceDump()
119 outFile.setReadable(true, false); // (readable, ownerOnly) in traceDump()
120 outFile.setWritable(true, false); // (writable, ownerOnly) in traceDump()
121 files.add(outFile); in traceDump()
122 Log.v(TAG, "Copied winscope trace file " + outFile.getCanonicalPath()); in traceDump()
DPerfettoUtils.java210 public boolean traceDump(File outFile) { in traceDump() argument
225 Log.v(TAG, "Saving perfetto trace to " + outFile); in traceDump()
228 Os.rename(TEMP_TRACE_LOCATION, outFile.getCanonicalPath()); in traceDump()
233 outFile.setReadable(true, false); // (readable, ownerOnly) in traceDump()
234 outFile.setWritable(true, false); // (writable, ownerOnly) in traceDump()
DTraceUtils.java148 File outFile = TraceUtils.getOutputFile(outFilename); in traceDump() local
149 if (!mTraceEngine.traceDump(outFile)) { in traceDump()
154 outFiles.add(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/apps/ManagedProvisioning/studio-dev/StubGenerator/src/main/java/com/android/development/
DSdkGenerator.java30 File outFile = null; in main() local
54 outFile = new File(args[++i]); in main()
63 if (outFile == null) { in main()
70 try (ZipOutputStream out = new ZipOutputStream(new FileOutputStream(outFile))) { in main()
/packages/services/Telephony/src/com/android/phone/
DImsProvisioningLoader.java243 FileOutputStream outFile = null; in saveSubIdBundleToXml() local
246 outFile = new FileOutputStream(new File(mContext.getFilesDir(), fileName)); in saveSubIdBundleToXml()
247 subIdBundle.writeToStream(outFile); in saveSubIdBundleToXml()
248 outFile.flush(); in saveSubIdBundleToXml()
249 outFile.close(); in saveSubIdBundleToXml()
DCarrierConfigLoader.java1067 FileOutputStream outFile = null; in saveConfigToXml() local
1069 outFile = new FileOutputStream(new File(mContext.getFilesDir(), fileName)); in saveConfigToXml()
1071 config.writeToStream(outFile); in saveConfigToXml()
1072 outFile.flush(); in saveConfigToXml()
1073 outFile.close(); in saveConfigToXml()
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java224 File outFile = File.createTempFile("device_serial", "tmp"); in getDeviceSerials() local
225 outFile.deleteOnExit(); in getDeviceSerials()
226 Utils.runCommand(outFile, logger, "adb", "devices"); in getDeviceSerials()
227 List<String> outputLines = Files.readLines(outFile, Charset.defaultCharset()); in getDeviceSerials()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DDownloadService.java124 String displayName, Uri outFile, Context context, String mimeType) { in DownloadTask() argument
130 this.mOutFile = outFile; in DownloadTask()
200 Uri outFile, Context context, String mimeType) { in enqueueDownloadTask() argument
202 network.getPrivateDnsBypassingCopy(), userAgent, url, filename, outFile, in enqueueDownloadTask()
243 Uri outFile, Context context, String mimeType) { in requestDownload() argument
244 return enqueueDownloadTask(network, userAgent, url, filename, outFile, context, in requestDownload()
DCaptivePortalLoginActivity.java277 @Nullable Uri outFile) { in DownloadRequest() argument
281 mOutFile = outFile; in DownloadRequest()
/packages/modules/Virtualization/tests/pvmfw/helper/java/com/android/pvmfw/test/host/
DPvmfw.java92 public void serialize(@NonNull File outFile) throws IOException { in serialize() argument
93 Objects.requireNonNull(outFile); in serialize()
119 try (FileOutputStream pvmfw = new FileOutputStream(outFile)) { in serialize()
/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.java124 File outFile = new File(CAMERA_TEST_OUTPUT_FILE); in testShotToShotLatency() local
127 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/utils/satellite/s2storage/src/write/java/com/android/telephony/sats2range/write/
DSatS2RangeFileWriter.java55 public static SatS2RangeFileWriter open(File outFile, SatS2RangeFileFormat fileFormat) in open() argument
58 SatS2RangeFileFormat.MAGIC, SatS2RangeFileFormat.VERSION, outFile); in open()
/packages/modules/GeoTZ/tzs2storage/src/write/java/com/android/timezone/location/storage/tzs2range/write/
DTzS2RangeFileWriter.java59 public static TzS2RangeFileWriter open(File outFile, TzS2RangeFileFormat fileFormat) in open() argument
62 TzS2RangeFileFormat.MAGIC, TzS2RangeFileFormat.VERSION, outFile); in open()
/packages/apps/TV/libs/m2/
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...