Home
last modified time | relevance | path

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

/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/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/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.java73 DataOutputStream dataOutputStream = in onBackup() local
76 writeNewState(dataOutputStream, state); in onBackup()
78 dataOutputStream.close(); in onBackup()
133 DataOutputStream dataOutputStream = new DataOutputStream(outputStream); in addToBackup() local
134 dataOutputStream.writeInt(VERSION); in addToBackup()
135 writeString(dataOutputStream, blockedNumber.originalNumber); in addToBackup()
136 writeString(dataOutputStream, blockedNumber.e164Number); in addToBackup()
137 dataOutputStream.flush(); in addToBackup()
143 private void writeString(DataOutputStream dataOutputStream, @Nullable String value) in writeString() argument
146 dataOutputStream.writeBoolean(false); in writeString()
[all …]