Home
last modified time | relevance | path

Searched refs:getShort (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/multidex/library/test/src/androidx/multidex/
DZipEntryReader.java58 int gpbf = in.getShort() & 0xffff; in readEntry()
64 int compressionMethod = in.getShort() & 0xffff; in readEntry()
65 int time = in.getShort() & 0xffff; in readEntry()
66 int modDate = in.getShort() & 0xffff; in readEntry()
73 int nameLength = in.getShort() & 0xffff; in readEntry()
74 int extraLength = in.getShort() & 0xffff; in readEntry()
75 int commentByteCount = in.getShort() & 0xffff; in readEntry()
/frameworks/base/core/java/android/net/util/
DIpUtils.java85 partial += intAbs(buf.getShort(headerOffset + 12)); in pseudoChecksumIPv4()
86 partial += intAbs(buf.getShort(headerOffset + 14)); in pseudoChecksumIPv4()
87 partial += intAbs(buf.getShort(headerOffset + 16)); in pseudoChecksumIPv4()
88 partial += intAbs(buf.getShort(headerOffset + 18)); in pseudoChecksumIPv4()
96 partial += intAbs(buf.getShort(headerOffset + offset)); in pseudoChecksumIPv6()
133 int transportLen = intAbs(buf.getShort(transportOffset + 4)); in udpChecksum()
/frameworks/base/core/java/android/net/
DDnsPacket.java56 id = BitUtils.uint16(buf.getShort()); in DnsHeader()
57 flags = BitUtils.uint16(buf.getShort()); in DnsHeader()
61 mRecordCount[i] = BitUtils.uint16(buf.getShort()); in DnsHeader()
114 nsType = BitUtils.uint16(buf.getShort()); in DnsRecord()
115 nsClass = BitUtils.uint16(buf.getShort()); in DnsRecord()
119 final int length = BitUtils.uint16(buf.getShort()); in DnsRecord()
/frameworks/base/core/tests/coretests/src/android/database/
DMatrixCursorTest.java39 assertEquals(0, cursor.getShort(0)); in testNullValue()
151 assertEquals(0, cursor.getShort(1)); in testRowBuilderOffer()
160 assertEquals(0, cursor.getShort(1)); in testRowBuilderOffer()
169 assertEquals(0, cursor.getShort(1)); in testRowBuilderOffer()
202 assertEquals(1, cursor.getShort(1)); in checkValues()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DFrameParser.java78 return (data.getShort() & 0xffff); in getUnsignedShort()
91 short etherType = data.getShort(); in parseEthernetFrame()
450 short wpaKeyInfo = data.getShort(); in parseEapolPacket()
604 short resultCode = data.getShort(); in parseAssociationResponse()
611 short reasonCode = data.getShort(); in parseDisassociationFrame()
621 short algorithm = data.getShort(); in parseAuthenticationFrame()
622 short sequenceNum = data.getShort(); in parseAuthenticationFrame()
644 short resultCode = data.getShort(); in parseAuthenticationFrame()
652 short reasonCode = data.getShort(); in parseDeauthenticationFrame()
DInformationElementUtil.java147 stationCount = data.getShort() & Constants.SHORT_MASK; in from()
149 capacity = data.getShort() & Constants.SHORT_MASK; in from()
333 anqpDomainID = data.getShort() & Constants.SHORT_MASK; in from()
459 if (buf.getShort() != RSNE_VERSION) { in parseRsnElement()
471 short cipherCount = buf.getShort(); in parseRsnElement()
481 short akmCount = buf.getShort(); in parseRsnElement()
612 if (buf.getShort() != WPA_VENDOR_OUI_VERSION) { in parseWpaOneElement()
624 short cipherCount = buf.getShort(); in parseWpaOneElement()
634 short akmCount = buf.getShort(); in parseWpaOneElement()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFileUtil.java109 int numTables = buffer.getShort(fontFileOffset + 4 /* offset to number of tables */); in analyzeStyle()
125 int weightFromOS2 = buffer.getShort(os2TableOffset + 4 /* offset to weight class */); in analyzeStyle()
127 (buffer.getShort(os2TableOffset + 62 /* offset to fsSelection */) & 1) != 0; in analyzeStyle()
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/
DIkeTrafficSelector.java166 int tsLength = Short.toUnsignedInt(inputBuffer.getShort()); in decodeIpv4TrafficSelector()
172 int startPort = Short.toUnsignedInt(inputBuffer.getShort()); in decodeIpv4TrafficSelector()
173 int endPort = Short.toUnsignedInt(inputBuffer.getShort()); in decodeIpv4TrafficSelector()
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
DDecoder.java47 return mBuf.getShort(); in readObject()
66 short len = mBuf.getShort(); in readString()
/frameworks/base/tests/net/java/android/net/
DTcpKeepalivePacketDataTest.java103 assertEquals(buf.getShort(), srcPort); in testV4TcpKeepalivePacket()
105 assertEquals(buf.getShort(), dstPort); in testV4TcpKeepalivePacket()
112 assertEquals(buf.getShort(), wnd >> wndScale); in testV4TcpKeepalivePacket()
/frameworks/base/services/net/java/android/net/netlink/
DStructNlMsgHdr.java89 struct.nlmsg_type = byteBuffer.getShort(); in parse()
90 struct.nlmsg_flags = byteBuffer.getShort(); in parse()
DStructNdMsg.java115 final short pad2 = byteBuffer.getShort(); in parse()
117 struct.ndm_state = byteBuffer.getShort(); in parse()
DStructNlAttr.java59 struct.nla_len = byteBuffer.getShort(); in peek()
60 struct.nla_type = byteBuffer.getShort(); in peek()
/frameworks/base/core/java/android/database/
DAbstractWindowedCursor.java63 public short getShort(int columnIndex) { in getShort() method in AbstractWindowedCursor
65 return mWindow.getShort(mPos, columnIndex); in getShort()
DRedactingCursor.java122 public short getShort(int columnIndex) { in getShort() method in RedactingCursor
127 return super.getShort(columnIndex); in getShort()
DMergeCursor.java102 public short getShort(int column) in getShort() method in MergeCursor
104 return mCursor.getShort(column); in getShort()
DCursorWrapper.java135 public short getShort(int columnIndex) { in getShort() method in CursorWrapper
136 return mCursor.getShort(columnIndex); in getShort()
DTranslatingCursor.java183 public short getShort(int columnIndex) { in getShort() method in TranslatingCursor
187 return super.getShort(columnIndex); in getShort()
/frameworks/base/core/java/android/util/
DEventLog.java124 int offset = mBuffer.getShort(HEADER_SIZE_OFFSET); in getTag()
134 int offset = mBuffer.getShort(HEADER_SIZE_OFFSET); in getData()
138 mBuffer.limit(offset + mBuffer.getShort(LENGTH_OFFSET)); in getData()
/frameworks/opt/net/ike/src/java/com/android/ike/ikev2/message/
DIkePayloadFactory.java110 int payloadLength = Short.toUnsignedInt(input.getShort()); in getIkePayload()
158 int payloadLength = Short.toUnsignedInt(input.getShort()); in getIkeSkPayload()
DIkeSaPayload.java254 int length = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom()
476 int length = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom()
482 int id = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom()
1097 short formatAndType = inputBuffer.getShort(); in readFrom()
1113 length = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom()
1141 this(Short.toUnsignedInt(ByteBuffer.wrap(value).getShort())); in KeyLengthAttribute()
DIkeKePayload.java104 dhGroup = Short.toUnsignedInt(inputBuffer.getShort()); in IkeKePayload()
106 inputBuffer.getShort(); in IkeKePayload()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifOutputStream.java146 if (mBuffer.getShort() != JpegHeader.SOI) { in write()
162 short tag = mBuffer.getShort(); in write()
172 short marker = mBuffer.getShort(); in write()
174 mByteToSkip = (mBuffer.getShort() & 0x0000ffff) - 2; in write()
178 mByteToCopy = (mBuffer.getShort() & 0x0000ffff) - 2; in write()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderDicom.java193 e.mGroup = mMappedByteBuffer.getShort() & 0xFFFF; in readTag()
194 e.mElement = mMappedByteBuffer.getShort() & 0xFFFF; in readTag()
206 e.mVR = mMappedByteBuffer.getShort(); in readTag()
209 mMappedByteBuffer.getShort(); in readTag()
212 e.mLength = mMappedByteBuffer.getShort() & 0xFFFF; in readTag()
249 e.mValue = new Short(mMappedByteBuffer.getShort()); in readValue()
/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java474 public short getShort(String property, short def) { in getShort() method in TypedProperties
623 public short getShort(String property) { in getShort() method in TypedProperties
624 return getShort(property, (short)0); in getShort()

123