Searched refs:dataOutputStream (Results 1 – 9 of 9) sorted by relevance
222 OrderedDataOutputStream dataOutputStream = new OrderedDataOutputStream(out); in writeExifData() local223 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 …]
223 OrderedDataOutputStream dataOutputStream = new OrderedDataOutputStream(out); in writeExifData() local224 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 …]
77 DataOutputStream dataOutputStream = in onBackup() local80 writeNewState(dataOutputStream, state); in onBackup()82 dataOutputStream.close(); in onBackup()137 DataOutputStream dataOutputStream = new DataOutputStream(outputStream); in addToBackup() local138 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() argument150 dataOutputStream.writeBoolean(false); in writeString()[all …]
345 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()
72 DataOutputStream dataOutputStream = new DataOutputStream(byteArrayOutputStream); in buildPayload() local75 dataOutputStream.write(tlv.toBytes()); in buildPayload()78 dataOutputStream.flush(); in buildPayload()
64 DataOutputStream dataOutputStream = new DataOutputStream(new ByteArrayOutputStream()); in testRestoreFromHigherVersion() local65 dataOutputStream.writeInt(10000); // version in testRestoreFromHigherVersion()
599 try (DataOutputStream dataOutputStream = new DataOutputStream( in streamReports() argument605 dataOutputStream.writeInt(reportBytes.size()); in streamReports()606 dataOutputStream.write(reportBytes.toByteArray()); in streamReports()
160 DataOutputStream dataOutputStream = new DataOutputStream(new ByteArrayOutputStream()); in testRestoreFromHigherVersion() local161 dataOutputStream.writeInt(10000); // version in testRestoreFromHigherVersion()