Home
last modified time | relevance | path

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

123

/frameworks/multidex/library/test/src/android/support/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/services/net/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()
DConnectivityPacketSummary.java94 final int etherType = asUint(mPacket.getShort()); in parseEther()
121 if (asUint(mPacket.getShort()) != ARP_HWTYPE_ETHER || in parseARP()
122 asUint(mPacket.getShort()) != ETHER_TYPE_IPV4 || in parseARP()
129 final int opCode = asUint(mPacket.getShort()); in parseARP()
161 final int flagsAndFragment = asUint(mPacket.getShort()); in parseIPv4()
220 mPacket.getShort(); // checksum, unused in parseICMPv6()
305 final short reserved = mPacket.getShort(); in parseICMPv6NeighborDiscoveryOptions()
324 final int srcPort = asUint(mPacket.getShort()); in parseUDP()
325 final int dstPort = asUint(mPacket.getShort()); in parseUDP()
/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/
DInformationElementUtil.java83 stationCount = data.getShort() & Constants.SHORT_MASK; in from()
85 capacity = data.getShort() & Constants.SHORT_MASK; in from()
265 anqpDomainID = data.getShort() & Constants.SHORT_MASK; in from()
352 if (buf.getShort() != RSNE_VERSION) { in parseRsnElement()
365 short cipherCount = buf.getShort(); in parseRsnElement()
375 short akmCount = buf.getShort(); in parseRsnElement()
460 if (buf.getShort() != WPA_VENDOR_OUI_VERSION) { in parseWpaOneElement()
470 short cipherCount = buf.getShort(); in parseWpaOneElement()
480 short akmCount = buf.getShort(); in parseWpaOneElement()
DFrameParser.java78 return (data.getShort() & 0xffff); in getUnsignedShort()
91 short etherType = data.getShort(); in parseEthernetFrame()
450 short wpaKeyInfo = data.getShort(); in parseEapolPacket()
558 short resultCode = data.getShort(); in parseAssociationResponse()
569 short algorithm = data.getShort(); in parseAuthenticationFrame()
570 short sequenceNum = data.getShort(); in parseAuthenticationFrame()
592 short resultCode = data.getShort(); in parseAuthenticationFrame()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java450 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 2)); in fillInPacket()
451 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 4)); in fillInPacket()
452 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 6)); in fillInPacket()
453 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 8)); in fillInPacket()
784 short l2type = packet.getShort(); in decodeFullPacket()
807 short ipTotalLength = packet.getShort(); in decodeFullPacket()
808 short ipIdentification = packet.getShort(); in decodeFullPacket()
813 short ipChksm = packet.getShort(); in decodeFullPacket()
832 short udpSrcPort = packet.getShort(); in decodeFullPacket()
833 short udpDstPort = packet.getShort(); in decodeFullPacket()
[all …]
/frameworks/base/packages/Osu/src/com/android/anqp/
DOSUProvider.java38 int length = payload.getShort() & SHORT_MASK; in OSUProvider()
39 int namesLength = payload.getShort() & SHORT_MASK; in OSUProvider()
62 int iconsLength = payload.getShort() & SHORT_MASK; in OSUProvider()
75 int descriptionsLength = payload.getShort() & SHORT_MASK; in OSUProvider()
DIconInfo.java26 mWidth = payload.getShort() & SHORT_MASK; in IconInfo()
27 mHeight = payload.getShort() & SHORT_MASK; in IconInfo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DOSUProvider.java35 int length = payload.getShort() & SHORT_MASK; in OSUProvider()
36 int namesLength = payload.getShort() & SHORT_MASK; in OSUProvider()
59 int iconsLength = payload.getShort() & SHORT_MASK; in OSUProvider()
72 int descriptionsLength = payload.getShort() & SHORT_MASK; in OSUProvider()
DIconInfo.java27 mWidth = payload.getShort() & SHORT_MASK; in IconInfo()
28 mHeight = payload.getShort() & SHORT_MASK; in IconInfo()
/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/packages/DocumentsUI/src/com/android/documentsui/
DRootCursorWrapper.java113 public short getShort(int column) { in getShort() method in RootCursorWrapper
114 return mCursor.getShort(column); in getShort()
DFilteringCursorWrapper.java121 public short getShort(int column) { in getShort() method in FilteringCursorWrapper
122 return mCursor.getShort(column); in getShort()
/frameworks/base/core/java/android/database/
DAbstractWindowedCursor.java61 public short getShort(int columnIndex) { in getShort() method in AbstractWindowedCursor
63 return mWindow.getShort(mPos, columnIndex); in getShort()
DCursorWrapper.java131 public short getShort(int columnIndex) { in getShort() method in CursorWrapper
132 return mCursor.getShort(columnIndex); in getShort()
DMergeCursor.java102 public short getShort(int column) in getShort() method in MergeCursor
104 return mCursor.getShort(column); in getShort()
/frameworks/base/core/java/android/util/
DEventLog.java104 int offset = mBuffer.getShort(HEADER_SIZE_OFFSET); in getTag()
114 int offset = mBuffer.getShort(HEADER_SIZE_OFFSET); in getData()
118 mBuffer.limit(offset + mBuffer.getShort(LENGTH_OFFSET)); in getData()
/frameworks/base/services/net/java/android/net/netlink/
DStructNlAttr.java50 struct.nla_len = byteBuffer.getShort(); in peek()
51 struct.nla_type = byteBuffer.getShort(); in peek()
DStructNlMsgHdr.java89 struct.nlmsg_type = byteBuffer.getShort(); in parse()
90 struct.nlmsg_flags = byteBuffer.getShort(); in parse()
DStructNdMsg.java110 final short pad2 = byteBuffer.getShort(); in parse()
112 struct.ndm_state = byteBuffer.getShort(); in parse()
/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/java/tests/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/opt/bluetooth/src/android/bluetooth/client/map/utils/
DObexAppParameters.java142 public short getShort(byte tag) { in getShort() method in ObexAppParameters
149 return ByteBuffer.wrap(bval).getShort(); in getShort()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMasRequestGetFolderListingSize.java45 mSize = oap.getShort(OAP_TAGID_FOLDER_LISTING_SIZE); in readResponseHeaders()

123