Home
last modified time | relevance | path

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

/frameworks/base/packages/WallpaperCropper/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 …]
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/
DTextMappingWorker.java95 DataOutputStream dataOutputStream = null; in doWork() local
99 dataOutputStream = new DataOutputStream(fileOutputStream); in doWork()
101 dataOutputStream.writeUTF(entry.getKey()); in doWork()
102 dataOutputStream.writeInt(entry.getValue()); in doWork()
107 if (dataOutputStream != null) { in doWork()
109 dataOutputStream.close(); in doWork()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupPasswordManager.java267 public void serialize(Integer integer, DataOutputStream dataOutputStream) in serialize() argument
269 dataOutputStream.write(integer); in serialize()
291 DataOutputStream dataOutputStream) throws IOException { in serialize() argument
292 dataOutputStream.writeInt(backupPasswordHash.salt.length); in serialize()
293 dataOutputStream.write(backupPasswordHash.salt); in serialize()
294 dataOutputStream.writeUTF(backupPasswordHash.hash); in serialize()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DDataStreamFileCodec.java72 DataOutputStream dataOutputStream = new DataOutputStream(bufferedOutputStream) in serialize()
74 mCodec.serialize(t, dataOutputStream); in serialize()
75 dataOutputStream.flush(); in serialize()
DDataStreamCodec.java33 void serialize(T t, DataOutputStream dataOutputStream) throws IOException; in serialize() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DDataStreamFileCodecTest.java73 DataOutputStream dataOutputStream) throws IOException { in serialize() argument
74 dataOutputStream.writeInt(mythicalCreature.averageLifespanInYears); in serialize()
75 dataOutputStream.writeUTF(mythicalCreature.name); in serialize()
/frameworks/base/media/java/android/media/
DExifInterface.java2779 ByteOrderedDataOutputStream dataOutputStream = in saveJpegAttributes() local
2784 dataOutputStream.writeByte(MARKER); in saveJpegAttributes()
2788 dataOutputStream.writeByte(MARKER_SOI); in saveJpegAttributes()
2791 dataOutputStream.writeByte(MARKER); in saveJpegAttributes()
2792 dataOutputStream.writeByte(MARKER_APP1); in saveJpegAttributes()
2793 writeExifSegment(dataOutputStream, 6); in saveJpegAttributes()
2823 dataOutputStream.writeByte(MARKER); in saveJpegAttributes()
2824 dataOutputStream.writeByte(marker); in saveJpegAttributes()
2825 dataOutputStream.writeUnsignedShort(length + 2); in saveJpegAttributes()
2828 dataOutputStream.write(identifier); in saveJpegAttributes()
[all …]
/frameworks/support/exifinterface/src/main/java/androidx/exifinterface/media/
DExifInterface.java5143 ByteOrderedDataOutputStream dataOutputStream =
5148 dataOutputStream.writeByte(MARKER);
5152 dataOutputStream.writeByte(MARKER_SOI);
5155 dataOutputStream.writeByte(MARKER);
5156 dataOutputStream.writeByte(MARKER_APP1);
5157 writeExifSegment(dataOutputStream, 6);
5187 dataOutputStream.writeByte(MARKER);
5188 dataOutputStream.writeByte(marker);
5189 dataOutputStream.writeUnsignedShort(length + 2);
5192 dataOutputStream.write(identifier);
[all …]