/frameworks/base/services/core/java/com/android/server/connectivity/ |
KeepalivePacketData.java | 117 buf.putShort((short) 0x4500); // IP version and TOS 118 buf.putShort((short) length); 123 buf.putShort((short) 0); // IP checksum 126 buf.putShort((short) srcPort); 127 buf.putShort((short) dstPort); 128 buf.putShort((short) (length - 20)); // UDP length 130 buf.putShort((short) 0); // UDP checksum 132 buf.putShort(ipChecksumOffset, IpUtils.ipChecksum(buf, 0)); 133 buf.putShort(udpChecksumOffset, IpUtils.udpChecksum(buf, 0, IPV4_HEADER_LENGTH));
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
ANQPFactory.java | 86 target.putShort((short) Constants.ANQP_QUERY_LIST); 88 target.putShort((short) 0); 93 target.putShort(id.shortValue()); 99 target.putShort(lenPos, (short) (target.position() - lenPos - Constants.BYTES_IN_SHORT)); 103 target.putShort((short) Constants.ANQP_VENDOR_SPEC); 105 target.putShort((short) 0); 120 target.putShort(vsLenPos, 130 target.putShort((short) Constants.ANQP_VENDOR_SPEC); 132 target.putShort((short) 0); 145 target.putShort(lenPos, (short) (target.position() - lenPos - Constants.BYTES_IN_SHORT)) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/ |
BaseMediaInfoAtom.java | 31 byteBuffer.putShort(graphicsMode); 35 byteBuffer.putShort(balance); 36 byteBuffer.putShort(reserved);
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
FieldWriter.java | 146 bv.putShort(cw.newUTF8(desc)).putShort(0);
215 out.putShort(access).putShort(name).putShort(desc);
240 out.putShort(attributeCount);
242 out.putShort(cw.newUTF8("ConstantValue"));
243 out.putInt(2).putShort(value);
248 out.putShort(cw.newUTF8("Synthetic")).putInt(0);
251 out.putShort(cw.newUTF8("Deprecated")).putInt(0); [all...] |
MethodWriter.java | 481 bv.putShort(cw.newUTF8(desc)).putShort(0);
509 bv.putShort(cw.newUTF8(desc)).putShort(0);
590 .putShort(delta)
591 .putShort(nLocal);
595 stackMap.putShort(nStack);
602 .putShort(delta);
609 .putShort(delta);
615 stackMap.putByte(SAME_FRAME_EXTENDED).putShort(delta); [all...] |
ClassWriter.java | 634 bv.putShort(newUTF8(desc)).putShort(0);
661 innerClasses.putShort(name == null ? 0 : newClass(name));
662 innerClasses.putShort(outerName == null ? 0 : newClass(outerName));
663 innerClasses.putShort(innerName == null ? 0 : newUTF8(innerName));
664 innerClasses.putShort(access);
780 out.putShort(index).putByteArray(pool.data, 0, pool.length);
781 out.putShort(access).putShort(name).putShort(superName); [all...] |
AnnotationWriter.java | 121 bv.putShort(cw.newUTF8(name));
197 bv.putShort(cw.newUTF8(name));
199 bv.put12('e', cw.newUTF8(desc)).putShort(cw.newUTF8(value));
208 bv.putShort(cw.newUTF8(name));
211 bv.put12('@', cw.newUTF8(desc)).putShort(0);
218 bv.putShort(cw.newUTF8(name));
272 out.putShort(n);
308 out.putShort(n);
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/ |
BaseByteBuffer.java | 65 return putShort((short)value); 69 return putShort(index, (short)value);
|
ReadOnlyHeapByteBuffer.java | 114 public ByteBuffer putShort (int index, short value) { 118 public ByteBuffer putShort (short value) {
|
DirectReadOnlyByteBuffer.java | 129 public ByteBuffer putShort (int index, short value) { 133 public ByteBuffer putShort (short value) {
|
ReadWriteHeapByteBuffer.java | 173 public ByteBuffer putShort (int index, short value) { 181 public ByteBuffer putShort (short value) {
|
ShortToByteBufferAdapter.java | 179 byteBuffer.putShort(position++ << 1, c); 188 byteBuffer.putShort(index << 1, c);
|
StringByteBuffer.java | 175 public ByteBuffer putShort (short value) {
180 public ByteBuffer putShort (int index, short value) {
|
/hardware/bsp/intel/peripheral/libmraa/examples/java/ |
SpiMAX7219.java | 64 buf.putShort(dataAA55[i]); 72 buf.putShort(data55AA[i]); 80 buf.putShort(data[i]);
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
AbstractPollArrayWrapper.java | 81 pollArray.putShort(offset, (short)event); 86 pollArray.putShort(offset, (short)revent);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
OrderedDataOutputStream.java | 39 mByteBuffer.putShort(value);
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
OrderedDataOutputStream.java | 39 mByteBuffer.putShort(value);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
OrderedDataOutputStream.java | 39 mByteBuffer.putShort(value);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
OrderedDataOutputStream.java | 39 mByteBuffer.putShort(value);
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
OrderedDataOutputStream.java | 39 mByteBuffer.putShort(value);
|
/frameworks/base/services/net/java/android/net/dhcp/ |
DhcpPacket.java | 372 buf.putShort((short) OsConstants.ETH_P_IP); 383 buf.putShort((short)0); // length 384 buf.putShort((short)0); // id 385 buf.putShort(IP_FLAGS_OFFSET); // ip offset: don't fragment 389 buf.putShort((short) 0); // checksum 397 buf.putShort(srcUdp); 398 buf.putShort(destUdp); 400 buf.putShort((short) 0); // length 402 buf.putShort((short) 0); // UDP checksum -- initially zero 411 buf.putShort(mSecs); // Elapsed Second [all...] |
/external/guava/guava/src/com/google/common/hash/ |
AbstractByteHasher.java | 94 public Hasher putShort(short s) { 95 scratch.putShort(s);
|
AbstractCompositeHashFunction.java | 76 @Override public Hasher putShort(short s) { 78 hasher.putShort(s);
|
/frameworks/base/services/net/java/android/net/netlink/ |
StructNlAttr.java | 121 byteBuffer.putShort(nla_len); 122 byteBuffer.putShort(nla_type);
|
StructNlMsgHdr.java | 120 byteBuffer.putShort(nlmsg_type); 121 byteBuffer.putShort(nlmsg_flags);
|