Home
last modified time | relevance | path

Searched refs:dataOutputStream (Results 1 – 11 of 11) 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/base/services/core/java/com/android/server/policy/role/
DRoleServicePlatformHelperImpl.java312 DataOutputStream dataOutputStream = new DataOutputStream(new BufferedOutputStream(mdos)); in computePackageStateHash() local
315 dataOutputStream.writeUTF(pkg.getPackageName()); in computePackageStateHash()
316 dataOutputStream.writeLong(pkg.getLongVersionCode()); in computePackageStateHash()
317 dataOutputStream.writeInt(packageManagerInternal.getApplicationEnabledState( in computePackageStateHash()
321 dataOutputStream.writeInt(requestedPermissions.size()); in computePackageStateHash()
323 dataOutputStream.writeUTF(permissionName); in computePackageStateHash()
329 dataOutputStream.writeInt(enabledComponentsSize); in computePackageStateHash()
331 dataOutputStream.writeUTF(enabledComponents.valueAt(i)); in computePackageStateHash()
338 dataOutputStream.writeUTF(disabledComponents.valueAt(i)); in computePackageStateHash()
342 dataOutputStream.write(signature.toByteArray()); in computePackageStateHash()
[all …]
/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/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupRestoreStorage.kt253 val dataOutputStream = DataOutputStream(fileOutputStream) in <lambda>() constant
255 dataOutputStream.writeByte(STATE_VERSION.toInt()) in <lambda>()
256 dataOutputStream.writeInt(entityStates.size) in <lambda>()
258 dataOutputStream.writeUTF(key) in <lambda>()
259 dataOutputStream.writeLong(value) in <lambda>()
261 dataOutputStream.flush() in <lambda>()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DDataStreamFileCodecTest.java75 DataOutputStream dataOutputStream) throws IOException { in serialize() argument
76 dataOutputStream.writeInt(mythicalCreature.averageLifespanInYears); in serialize()
77 dataOutputStream.writeUTF(mythicalCreature.name); in serialize()
/frameworks/base/media/java/android/media/
DExifInterface.java3531 ByteOrderedDataOutputStream dataOutputStream = in saveJpegAttributes() local
3536 dataOutputStream.writeByte(MARKER); in saveJpegAttributes()
3540 dataOutputStream.writeByte(MARKER_SOI); in saveJpegAttributes()
3551 dataOutputStream.writeByte(MARKER); in saveJpegAttributes()
3552 dataOutputStream.writeByte(MARKER_APP1); in saveJpegAttributes()
3553 writeExifSegment(dataOutputStream); in saveJpegAttributes()
3588 dataOutputStream.writeByte(MARKER); in saveJpegAttributes()
3589 dataOutputStream.writeByte(marker); in saveJpegAttributes()
3590 dataOutputStream.writeUnsignedShort(length + 2); in saveJpegAttributes()
3593 dataOutputStream.write(identifier); in saveJpegAttributes()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DAppMetadataBackupWriter.java177 DataOutputStream dataOutputStream = new DataOutputStream(bufferedOutputStream); in backupWidget() local
181 writeWidgetData(dataOutputStream, widgetData); in backupWidget()
183 dataOutputStream.close(); in backupWidget()
/frameworks/base/packages/SettingsLib/DataStore/
DREADME.md212 val dataOutputStream = DataOutputStream(outputStream)
213 dataOutputStream.writeInt(copy.size)
215 dataOutputStream.writeUTF(key)
216 dataOutputStream.writeUTF(value)
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DViewCapture.java187 DataOutputStream dataOutputStream = new DataOutputStream(os);
189 dataOutputStream.writeInt(ex.getSerializedSize());
190 ex.writeTo(dataOutputStream);