/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifModifier.java | 31 private final ByteBuffer mByteBuffer; field in ExifModifier 49 mByteBuffer = byteBuffer; in ExifModifier() 59 mByteBuffer.position(0); in ExifModifier() 72 is = new ByteBufferInputStream(mByteBuffer); in commit() 141 mByteBuffer.order(getByteOrder()); in modify() 152 mByteBuffer.position(offset + mOffsetBase); in writeTagValue() 158 mByteBuffer.put(buf); in writeTagValue() 160 mByteBuffer.put(buf); in writeTagValue() 161 mByteBuffer.put((byte) 0); in writeTagValue() 167 mByteBuffer.putInt((int) tag.getValueAt(i)); in writeTagValue() [all …]
|
D | OrderedDataOutputStream.java | 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4); field in OrderedDataOutputStream 33 mByteBuffer.order(order); in setByteOrder() 38 mByteBuffer.rewind(); in writeShort() 39 mByteBuffer.putShort(value); in writeShort() 40 out.write(mByteBuffer.array(), 0, 2); in writeShort() 45 mByteBuffer.rewind(); in writeInt() 46 mByteBuffer.putInt(value); in writeInt() 47 out.write(mByteBuffer.array()); in writeInt()
|
D | CountedDataInputStream.java | 33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray); field in CountedDataInputStream 92 mByteBuffer.order(order); in setByteOrder() 96 return mByteBuffer.order(); in getByteOrder() 101 mByteBuffer.rewind(); in readShort() 102 return mByteBuffer.getShort(); in readShort() 111 mByteBuffer.rewind(); in readInt() 112 return mByteBuffer.getInt(); in readInt() 121 mByteBuffer.rewind(); in readLong() 122 return mByteBuffer.getLong(); in readLong()
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ExifModifier.java | 32 private final ByteBuffer mByteBuffer; field in ExifModifier 50 mByteBuffer = byteBuffer; in ExifModifier() 60 mByteBuffer.position(0); in ExifModifier() 73 is = new ByteBufferInputStream(mByteBuffer); in commit() 142 mByteBuffer.order(getByteOrder()); in modify() 153 mByteBuffer.position(offset + mOffsetBase); in writeTagValue() 159 mByteBuffer.put(buf); in writeTagValue() 161 mByteBuffer.put(buf); in writeTagValue() 162 mByteBuffer.put((byte) 0); in writeTagValue() 168 mByteBuffer.putInt((int) tag.getValueAt(i)); in writeTagValue() [all …]
|
D | OrderedDataOutputStream.java | 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4); field in OrderedDataOutputStream 33 mByteBuffer.order(order); in setByteOrder() 38 mByteBuffer.rewind(); in writeShort() 39 mByteBuffer.putShort(value); in writeShort() 40 out.write(mByteBuffer.array(), 0, 2); in writeShort() 45 mByteBuffer.rewind(); in writeInt() 46 mByteBuffer.putInt(value); in writeInt() 47 out.write(mByteBuffer.array()); in writeInt()
|
D | CountedDataInputStream.java | 33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray); field in CountedDataInputStream 96 mByteBuffer.order(order); in setByteOrder() 100 return mByteBuffer.order(); in getByteOrder() 105 mByteBuffer.rewind(); in readShort() 106 return mByteBuffer.getShort(); in readShort() 115 mByteBuffer.rewind(); in readInt() 116 return mByteBuffer.getInt(); in readInt() 125 mByteBuffer.rewind(); in readLong() 126 return mByteBuffer.getLong(); in readLong()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifModifier.java | 32 private final ByteBuffer mByteBuffer; field in ExifModifier 50 mByteBuffer = byteBuffer; in ExifModifier() 60 mByteBuffer.position(0); in ExifModifier() 73 is = new ByteBufferInputStream(mByteBuffer); in commit() 142 mByteBuffer.order(getByteOrder()); in modify() 153 mByteBuffer.position(offset + mOffsetBase); in writeTagValue() 159 mByteBuffer.put(buf); in writeTagValue() 161 mByteBuffer.put(buf); in writeTagValue() 162 mByteBuffer.put((byte) 0); in writeTagValue() 168 mByteBuffer.putInt((int) tag.getValueAt(i)); in writeTagValue() [all …]
|
D | OrderedDataOutputStream.java | 26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4); field in OrderedDataOutputStream 33 mByteBuffer.order(order); in setByteOrder() 38 mByteBuffer.rewind(); in writeShort() 39 mByteBuffer.putShort(value); in writeShort() 40 out.write(mByteBuffer.array(), 0, 2); in writeShort() 45 mByteBuffer.rewind(); in writeInt() 46 mByteBuffer.putInt(value); in writeInt() 47 out.write(mByteBuffer.array()); in writeInt()
|
D | CountedDataInputStream.java | 33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray); field in CountedDataInputStream 92 mByteBuffer.order(order); in setByteOrder() 96 return mByteBuffer.order(); in getByteOrder() 101 mByteBuffer.rewind(); in readShort() 102 return mByteBuffer.getShort(); in readShort() 111 mByteBuffer.rewind(); in readInt() 112 return mByteBuffer.getInt(); in readInt() 121 mByteBuffer.rewind(); in readLong() 122 return mByteBuffer.getLong(); in readLong()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/iso7816/ |
D | TlvParser.java | 43 private final ByteBuffer mByteBuffer; field in TlvParser.ByteArrayWrapper 46 this.mByteBuffer = ByteBuffer.wrap(byteArray); in ByteArrayWrapper() 55 mByteBuffer.get(result); in read()
|