Home
last modified time | relevance | path

Searched refs:dataOutputStream (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/exif/
DExifOutputStream.java222 OrderedDataOutputStream dataOutputStream = new OrderedDataOutputStream(out); in writeExifData() local
223 dataOutputStream.setByteOrder(ByteOrder.BIG_ENDIAN); in writeExifData()
224 dataOutputStream.writeShort(JpegHeader.APP1); in writeExifData()
225 dataOutputStream.writeShort((short) (exifSize + 8)); in writeExifData()
226 dataOutputStream.writeInt(EXIF_HEADER); in writeExifData()
227 dataOutputStream.writeShort((short) 0x0000); in writeExifData()
229 dataOutputStream.writeShort(TIFF_BIG_ENDIAN); in writeExifData()
231 dataOutputStream.writeShort(TIFF_LITTLE_ENDIAN); in writeExifData()
233 dataOutputStream.setByteOrder(mExifData.getByteOrder()); in writeExifData()
234 dataOutputStream.writeShort(TIFF_HEADER); in writeExifData()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifOutputStream.java222 OrderedDataOutputStream dataOutputStream = new OrderedDataOutputStream(out); in writeExifData() local
223 dataOutputStream.setByteOrder(ByteOrder.BIG_ENDIAN); in writeExifData()
224 dataOutputStream.writeShort(JpegHeader.APP1); in writeExifData()
225 dataOutputStream.writeShort((short) (exifSize + 8)); in writeExifData()
226 dataOutputStream.writeInt(EXIF_HEADER); in writeExifData()
227 dataOutputStream.writeShort((short) 0x0000); in writeExifData()
229 dataOutputStream.writeShort(TIFF_BIG_ENDIAN); in writeExifData()
231 dataOutputStream.writeShort(TIFF_LITTLE_ENDIAN); in writeExifData()
233 dataOutputStream.setByteOrder(mExifData.getByteOrder()); in writeExifData()
234 dataOutputStream.writeShort(TIFF_HEADER); in writeExifData()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifOutputStream.java223 OrderedDataOutputStream dataOutputStream = new OrderedDataOutputStream(out); in writeExifData() local
224 dataOutputStream.setByteOrder(ByteOrder.BIG_ENDIAN); in writeExifData()
225 dataOutputStream.writeShort(JpegHeader.APP1); in writeExifData()
226 dataOutputStream.writeShort((short) (exifSize + 8)); in writeExifData()
227 dataOutputStream.writeInt(EXIF_HEADER); in writeExifData()
228 dataOutputStream.writeShort((short) 0x0000); in writeExifData()
230 dataOutputStream.writeShort(TIFF_BIG_ENDIAN); in writeExifData()
232 dataOutputStream.writeShort(TIFF_LITTLE_ENDIAN); in writeExifData()
234 dataOutputStream.setByteOrder(mExifData.getByteOrder()); in writeExifData()
235 dataOutputStream.writeShort(TIFF_HEADER); in writeExifData()
[all …]
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberBackupAgent.java77 DataOutputStream dataOutputStream = in onBackup() local
80 writeNewState(dataOutputStream, state); in onBackup()
82 dataOutputStream.close(); in onBackup()
137 DataOutputStream dataOutputStream = new DataOutputStream(outputStream); in addToBackup() local
138 dataOutputStream.writeInt(VERSION); in addToBackup()
139 writeString(dataOutputStream, blockedNumber.originalNumber); in addToBackup()
140 writeString(dataOutputStream, blockedNumber.e164Number); in addToBackup()
141 dataOutputStream.flush(); in addToBackup()
147 private void writeString(DataOutputStream dataOutputStream, @Nullable String value) in writeString() argument
150 dataOutputStream.writeBoolean(false); in writeString()
[all …]
/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/
DObliviousHttpGateway.java345 DataOutputStream dataOutputStream = new DataOutputStream(byteArrayOutputStream)) { in createRecipientKeyInfo()
349 dataOutputStream.write(ohttpReqLabelBytes); in createRecipientKeyInfo()
350 dataOutputStream.writeByte(0); in createRecipientKeyInfo()
353 dataOutputStream.writeByte(keyId); in createRecipientKeyInfo()
354 dataOutputStream.writeShort(kemId); in createRecipientKeyInfo()
355 dataOutputStream.writeShort(kdfId); in createRecipientKeyInfo()
356 dataOutputStream.writeShort(aeadId); in createRecipientKeyInfo()
357 dataOutputStream.flush(); in createRecipientKeyInfo()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DFiRaCommand.java72 DataOutputStream dataOutputStream = new DataOutputStream(byteArrayOutputStream); in buildPayload() local
75 dataOutputStream.write(tlv.toBytes()); in buildPayload()
78 dataOutputStream.flush(); in buildPayload()
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberBackupAgentTest.java64 DataOutputStream dataOutputStream = new DataOutputStream(new ByteArrayOutputStream()); in testRestoreFromHigherVersion() local
65 dataOutputStream.writeInt(10000); // version in testRestoreFromHigherVersion()
/packages/services/Car/service/src/com/android/car/telemetry/
DCarTelemetryService.java599 try (DataOutputStream dataOutputStream = new DataOutputStream( in streamReports() argument
605 dataOutputStream.writeInt(reportBytes.size()); in streamReports()
606 dataOutputStream.write(reportBytes.toByteArray()); in streamReports()
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java160 DataOutputStream dataOutputStream = new DataOutputStream(new ByteArrayOutputStream()); in testRestoreFromHigherVersion() local
161 dataOutputStream.writeInt(10000); // version in testRestoreFromHigherVersion()