/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | SmsHeader.java | 308 ByteArrayOutputStream outStream = in toByteArray() local 313 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE); in toByteArray() 314 outStream.write(3); in toByteArray() 315 outStream.write(concatRef.refNumber); in toByteArray() 317 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE); in toByteArray() 318 outStream.write(4); in toByteArray() 319 outStream.write(concatRef.refNumber >>> 8); in toByteArray() 320 outStream.write(concatRef.refNumber & 0x00FF); in toByteArray() 322 outStream.write(concatRef.msgCount); in toByteArray() 323 outStream.write(concatRef.seqNumber); in toByteArray() [all …]
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/ |
D | PermissionChangeStorageImplTest.kt | 96 val outStream = ByteArrayOutputStream() in serialize_dataCanBeParsed() constant 97 storage.serialize(outStream, listOf(mapChange)) in serialize_dataCanBeParsed() 99 val inStream = ByteArrayInputStream(outStream.toByteArray()) in serialize_dataCanBeParsed() 106 val outStream = ByteArrayOutputStream() in serialize_roundsTimeDownToDate() constant 107 storage.serialize(outStream, listOf(laterInTheDayGrant)) in serialize_roundsTimeDownToDate() 109 val inStream = ByteArrayInputStream(outStream.toByteArray()) in serialize_roundsTimeDownToDate() 124 val outStream = ByteArrayOutputStream() in serialize_exactTimeDataCanBeParsed() constant 125 storage.serialize(outStream, listOf(mapChange)) in serialize_exactTimeDataCanBeParsed() 127 val inStream = ByteArrayInputStream(outStream.toByteArray()) in serialize_exactTimeDataCanBeParsed() 133 val outStream = ByteArrayOutputStream() in serialize_afterStoresExactTimeChangedToTrue_canBeParsed() constant [all …]
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpeg_hook.cpp | 26 dst->mgr.next_output_byte = reinterpret_cast<JOCTET*>(dst->outStream->getBufferPtr()); in Mgr_init_destination_fcn() 27 dst->mgr.free_in_buffer = dst->outStream->getBufferSize(); in Mgr_init_destination_fcn() 32 int32_t len = dst->outStream->getBufferSize(); in Mgr_empty_output_buffer_fcn() 33 if (dst->outStream->write(len, 0) != J_SUCCESS) { in Mgr_empty_output_buffer_fcn() 36 dst->mgr.next_output_byte = reinterpret_cast<JOCTET*>(dst->outStream->getBufferPtr()); in Mgr_empty_output_buffer_fcn() 43 int32_t remaining = dst->outStream->getBufferSize() - dst->mgr.free_in_buffer; in Mgr_term_destination_fcn() 44 if (dst->outStream->write(remaining, 0) != J_SUCCESS) { in Mgr_term_destination_fcn() 49 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream) { in MakeDst() argument 67 d->outStream = new OutputStreamWrapper(); in MakeDst() 68 if(d->outStream->init(env, outStream)) { in MakeDst() [all …]
|
D | jpeg_hook.h | 37 OutputStreamWrapper *outStream; member 41 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream);
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 1297 OutputStream outStream = null; in sendMessageListingRsp() local 1405 outStream = op.openOutputStream(); in sendMessageListingRsp() 1413 if (outStream != null) { in sendMessageListingRsp() 1415 outStream.close(); in sendMessageListingRsp() 1443 if (outStream != null) { in sendMessageListingRsp() 1445 outStream.close(); in sendMessageListingRsp() 1464 outStream.write(outBytes, bytesWritten, bytesToWrite); in sendMessageListingRsp() 1476 if (outStream != null) { in sendMessageListingRsp() 1478 outStream.close(); in sendMessageListingRsp() 1503 if (outStream != null) { in sendMessageListingRsp() [all …]
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/v33/ |
D | PermissionDecisionStorageImplTest.kt | 97 val outStream = ByteArrayOutputStream() in serialize_dataCanBeParsed() constant 98 storage.serialize(outStream, listOf(mapLocationGrant, parkingLocationGrant)) in serialize_dataCanBeParsed() 100 val inStream = ByteArrayInputStream(outStream.toByteArray()) in serialize_dataCanBeParsed() 108 val outStream = ByteArrayOutputStream() in serialize_roundsTimeDownToDate() constant 109 storage.serialize(outStream, listOf(laterInTheDayGrant)) in serialize_roundsTimeDownToDate() 111 val inStream = ByteArrayInputStream(outStream.toByteArray()) in serialize_roundsTimeDownToDate()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | DownloadRequest.java | 86 ParcelFileDescriptor.AutoCloseOutputStream outStream = null; in writePduToContentUri() 90 outStream = new ParcelFileDescriptor.AutoCloseOutputStream(pduFd); in writePduToContentUri() 91 outStream.write(pdu); in writePduToContentUri() 97 if (outStream != null) { in writePduToContentUri() 99 outStream.close(); in writePduToContentUri()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/ |
D | AvrcpBipObexServer.java | 310 OutputStream outStream = null; in sendResponse() local 317 outStream = op.openOutputStream(); in sendResponse() 320 outStream.write(bytes, bytesWritten, bytesToWrite); in sendResponse() 327 if (outStream != null) { in sendResponse() 329 outStream.close(); in sendResponse()
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | GarageModeRecorder.java | 169 try (FileOutputStream outStream = mGarageModeRecorderFile.startWrite()) { in writeToSessionFile() argument 171 outStream.write(oldContents.toString().getBytes(StandardCharsets.UTF_8)); in writeToSessionFile() 174 outStream.write(buffer.getBytes(StandardCharsets.UTF_8)); in writeToSessionFile() 175 mGarageModeRecorderFile.finishWrite(outStream); in writeToSessionFile()
|
/packages/modules/NeuralNetworks/common/ |
D | GraphDump.cpp | 52 Dumper(std::ostream* outStream) : mStream(outStream) {} in Dumper() argument 152 void graphDump(const char* name, const Model& model, std::ostream* outStream) { in graphDump() argument 158 Dumper dump(outStream); in graphDump()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppLauncherActivity.java | 336 FileOutputStream outStream = null; in createFileForSharedContent() local 402 outStream = context.openFileOutput(fileName, Context.MODE_PRIVATE); in createFileForSharedContent() 403 if (outStream != null) { in createFileForSharedContent() 404 outStream.write(byteBuff, 0, byteBuff.length); in createFileForSharedContent() 434 if (outStream != null) { in createFileForSharedContent() 435 outStream.close(); in createFileForSharedContent()
|
/packages/modules/NeuralNetworks/common/include/ |
D | GraphDump.h | 48 void graphDump(const char* name, const Model& model, std::ostream* outStream = nullptr);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | Ver2DictEncoder.java | 65 public Ver2DictEncoder(final OutputStream outStream) { in Ver2DictEncoder() argument 67 mOutStream = outStream; in Ver2DictEncoder()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsService.java | 1154 ParcelFileDescriptor.AutoCloseOutputStream outStream = null; in writePduToContentUri() 1158 outStream = new ParcelFileDescriptor.AutoCloseOutputStream(pduFd); in writePduToContentUri() 1159 outStream.write(pdu); in writePduToContentUri() 1165 if (outStream != null) { in writePduToContentUri() 1167 outStream.close(); in writePduToContentUri()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | BugReportService.java | 645 private void zipDirectoryToOutputStream(File dirToZip, OutputStream outStream) in zipDirectoryToOutputStream() argument 653 try (ZipOutputStream zipStream = new ZipOutputStream(new BufferedOutputStream(outStream))) { in zipDirectoryToOutputStream() 668 outStream.close(); in zipDirectoryToOutputStream()
|
/packages/apps/Car/DebuggingRestrictionController/libs/ |
D | httpcore-4.4.13.jar | META-INF/MANIFEST.MF
META-INF/
org/
org/apache/
org/ ... |
D | httpclient-4.5.12.jar | META-INF/MANIFEST.MF
META-INF/
org/
org/apache/
org/ ... |
/packages/modules/StatsD/service/java/com/android/server/stats/ |
D | StatsManagerService.java | 889 FileOutputStream outStream = new FileOutputStream(dstFd); in getDataFdFromStatsd() 890 DataOutputStream dstDataStream = new DataOutputStream(outStream)) { in getDataFdFromStatsd()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/ |
D | SapServer.java | 114 Handler serviceHandler, Context context, InputStream inStream, OutputStream outStream) { in SapServer() argument 120 mRfcommOut = new BufferedOutputStream(outStream); in SapServer()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 961 public OutputStream getExifWriterStream(OutputStream outStream) { in getExifWriterStream() argument 962 if (outStream == null) { in getExifWriterStream() 965 ExifOutputStream eos = new ExifOutputStream(outStream, this); in getExifWriterStream()
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ExifInterface.java | 961 public OutputStream getExifWriterStream(OutputStream outStream) { in getExifWriterStream() argument 962 if (outStream == null) { in getExifWriterStream() 965 ExifOutputStream eos = new ExifOutputStream(outStream, this); in getExifWriterStream()
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifInterface.java | 946 public OutputStream getExifWriterStream(OutputStream outStream) { in getExifWriterStream() argument 947 if (outStream == null) { in getExifWriterStream() 950 ExifOutputStream eos = new ExifOutputStream(outStream, this); in getExifWriterStream()
|