Home
last modified time | relevance | path

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

1234

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothQualityReport.java703 mConnectionHandle = bqrBuf.getShort() & 0xFFFF; in BqrCommon()
710 mLsto = bqrBuf.getShort() & 0xFFFF; in BqrCommon()
1198 mCxmDenials = bqrBuf.getShort() & 0xFFFF; in BqrVsLsto()
1199 mTxSkipped = bqrBuf.getShort() & 0xFFFF; in BqrVsLsto()
1200 mRfLoss = bqrBuf.getShort() & 0xFFFF; in BqrVsLsto()
1417 mGlitchCount = bqrBuf.getShort() & 0xFFFF; in BqrVsA2dpChoppy()
1418 mTxCxmDenials = bqrBuf.getShort() & 0xFFFF; in BqrVsA2dpChoppy()
1419 mRxCxmDenials = bqrBuf.getShort() & 0xFFFF; in BqrVsA2dpChoppy()
1631 mGlitchCount = bqrBuf.getShort() & 0xFFFF; in BqrVsScoChoppy()
1635 mInstanceCount = bqrBuf.getShort() & 0xFFFF; in BqrVsScoChoppy()
[all …]
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DIpUtils.java86 partial += intAbs(buf.getShort(headerOffset + 12)); in pseudoChecksumIPv4()
87 partial += intAbs(buf.getShort(headerOffset + 14)); in pseudoChecksumIPv4()
88 partial += intAbs(buf.getShort(headerOffset + 16)); in pseudoChecksumIPv4()
89 partial += intAbs(buf.getShort(headerOffset + 18)); in pseudoChecksumIPv4()
97 partial += intAbs(buf.getShort(headerOffset + offset)); in pseudoChecksumIPv6()
137 int transportLen = intAbs(buf.getShort(transportOffset + 4)); in udpChecksum()
DDnsSvcbRecord.java117 mSvcPriority = Short.toUnsignedInt(buf.getShort()); in DnsSvcbRecord()
213 final int key = Short.toUnsignedInt(buf.getShort()); in parseSvcParam()
254 final int len = Short.toUnsignedInt(buf.getShort()); in SvcParamMandatory()
284 final int len = Short.toUnsignedInt(buf.getShort()); in SvcParamAlpn()
308 final int len = buf.getShort(); in SvcParamNoDefaultAlpn()
331 final int len = buf.getShort(); in SvcParamPort()
335 mValue = Short.toUnsignedInt(buf.getShort()); in SvcParamPort()
356 final int len = Short.toUnsignedInt(buf.getShort()); in SvcParamIpHint()
403 final int len = Short.toUnsignedInt(buf.getShort()); in SvcParamDohPath()
428 final int len = Short.toUnsignedInt(buf.getShort()); in SvcParamGeneric()
DDnsPacket.java120 mId = Short.toUnsignedInt(buf.getShort()); in DnsHeader()
121 mFlags = Short.toUnsignedInt(buf.getShort()); in DnsHeader()
124 mRecordCount[i] = Short.toUnsignedInt(buf.getShort()); in DnsHeader()
296 nsType = Short.toUnsignedInt(buf.getShort()); in DnsRecord()
297 nsClass = Short.toUnsignedInt(buf.getShort()); in DnsRecord()
301 final int length = Short.toUnsignedInt(buf.getShort()); in DnsRecord()
325 final int nsType = Short.toUnsignedInt(buf.getShort()); in parse()
/packages/apps/Nfc/src/com/android/nfc/
DNfcWifiProtectedSetup.java109 short fieldId = payload.getShort(); in parse()
110 int fieldSize = payload.getShort() & 0xFFFF; in parse()
125 short fieldId = payload.getShort(); in parseCredential()
126 int fieldSize = payload.getShort() & 0xFFFF; in parseCredential()
155 short authType = payload.getShort(); in parseCredential()
/packages/modules/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()
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java144 final int etherType = asUint(mPacket.getShort()); in parseEther()
171 if (asUint(mPacket.getShort()) != ARP_HWTYPE_ETHER || in parseARP()
172 asUint(mPacket.getShort()) != ETHER_TYPE_IPV4 || in parseARP()
179 final int opCode = asUint(mPacket.getShort()); in parseARP()
211 final int flagsAndFragment = asUint(mPacket.getShort()); in parseIPv4()
270 mPacket.getShort(); // checksum, unused in parseICMPv6()
355 final short reserved = mPacket.getShort(); in parseICMPv6NeighborDiscoveryOptions()
374 final int srcPort = asUint(mPacket.getShort()); in parseUDP()
375 final int dstPort = asUint(mPacket.getShort()); in parseUDP()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/arp/
DArpPacket.java112 final short etherType = buffer.getShort(); in parseArpPacket()
117 final short hwType = buffer.getShort(); in parseArpPacket()
122 final short protoType = buffer.getShort(); in parseArpPacket()
137 final short opCode = buffer.getShort(); in parseArpPacket()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java597 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 2)); in fillInPacket()
598 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 4)); in fillInPacket()
599 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 6)); in fillInPacket()
600 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 8)); in fillInPacket()
1056 short l2type = packet.getShort(); in decodeFullPacket()
1079 short ipTotalLength = packet.getShort(); in decodeFullPacket()
1080 short ipIdentification = packet.getShort(); in decodeFullPacket()
1085 short ipChksm = packet.getShort(); in decodeFullPacket()
1104 short udpSrcPort = packet.getShort(); in decodeFullPacket()
1105 short udpDstPort = packet.getShort(); in decodeFullPacket()
[all …]
/packages/modules/NetworkStack/src/android/net/dhcp6/
DDhcp6Packet.java264 final short optionType = buffer.getShort(); in decode()
265 final int optionLen = buffer.getShort() & 0xFFFF; in decode()
274 statusCode = buffer.getShort(); in decode()
470 final short optionType = packet.getShort(); in decode()
471 final int optionLen = packet.getShort() & 0xFFFF; in decode()
500 elapsedTime = (int) (packet.getShort() & 0xFFFF); in decode()
504 statusCode = packet.getShort(); in decode()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSuggestionProviderCursor.java76 public short getShort(int column) { in getShort() method in MockSuggestionProviderCursor
77 return mRows.get(getPosition()).getShort(column); in getShort()
137 public short getShort(int column) { in getShort() method in MockSuggestionProviderCursor.Row
/packages/modules/Uwb/service/java/com/android/server/uwb/util/
DDataTypeConversionUtil.java103 return ByteBuffer.wrap(bytes).order(ByteOrder.BIG_ENDIAN).getShort(); in byteArrayToI16()
150 return ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN).getShort(); in macAddressByteArrayToLong()
155 return ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN).getShort(); in macAddressByteArrayToLong()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaAttribute.java270 int bytesInList = Short.toUnsignedInt(byteBuffer.getShort()); in AtVersionList()
278 versions.add(Short.toUnsignedInt(byteBuffer.getShort())); in AtVersionList()
471 int identityLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtIdentity()
724 this.counter = Short.toUnsignedInt(byteBuffer.getShort()); in AtCounter()
841 notificationCode = Short.toUnsignedInt(byteBuffer.getShort()); in AtNotification()
1000 int resLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtRes()
1117 int networkNameLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtKdfInput()
1160 kdf = Short.toUnsignedInt(buffer.getShort()); in AtKdf()
1195 int serverFlag = Short.toUnsignedInt(buffer.getShort()); in AtBidding()
1336 int identityLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtNextReauthId()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DReorderingCursorWrapper.java87 public short getShort(int column) { in getShort() method in ReorderingCursorWrapper
88 return mCursor.getShort(column); in getShort()
/packages/modules/StatsD/framework/java/android/app/
DStatsCursor.java96 public short getShort(int column) { in getShort() method in StatsCursor
97 return mMatrixCursor.getShort(column); in getShort()
/packages/apps/Camera2/src/com/android/camera/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()
/packages/apps/Gallery2/gallerycommon/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()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DDscpPolicyTest.kt324 val length = buffer.getShort() in <lambda>()
325 val id = buffer.getShort() in <lambda>()
326 val offset = buffer.getShort() in <lambda>()
329 val checksum = buffer.getShort() in <lambda>()
342 val fl = buffer.getShort() in <lambda>()
343 val length = buffer.getShort() in <lambda>()
385 val packetSrcPort = buffer.getShort().toInt() in <lambda>()
386 val packetDstPort = buffer.getShort().toInt() in <lambda>()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSkfPayload.java80 fragmentNum = Short.toUnsignedInt(inputBuffer.getShort()); in IkeSkfPayload()
81 totalFragments = Short.toUnsignedInt(inputBuffer.getShort()); in IkeSkfPayload()
/packages/modules/Connectivity/tests/unit/java/android/net/
DKeepalivePacketDataUtilTest.java122 assertEquals(buf.getShort(), srcPort); in testFromTcpKeepaliveStableParcelable()
124 assertEquals(buf.getShort(), dstPort); in testFromTcpKeepaliveStableParcelable()
131 assertEquals(buf.getShort(), wnd >> wndScale); in testFromTcpKeepaliveStableParcelable()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DStructNlMsgHdr.java109 struct.nlmsg_type = byteBuffer.getShort(); in parse()
110 struct.nlmsg_flags = byteBuffer.getShort(); in parse()
DStructNdMsg.java138 final short pad2 = byteBuffer.getShort(); in parse()
140 struct.ndm_state = byteBuffer.getShort(); in parse()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifOutputStream.java147 if (mBuffer.getShort() != JpegHeader.SOI) { in write()
163 short tag = mBuffer.getShort(); in write()
173 short marker = mBuffer.getShort(); in write()
175 mByteToSkip = (mBuffer.getShort() & 0x0000ffff) - 2; in write()
179 mByteToCopy = (mBuffer.getShort() & 0x0000ffff) - 2; in write()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DRootCursorWrapper.java141 public short getShort(int column) { in getShort() method in RootCursorWrapper
142 return mCursor.getShort(column); in getShort()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFilteringCursorWrapper.java137 public short getShort(int column) { in getShort() method in FilteringCursorWrapper
138 return mCursor.getShort(column); in getShort()

1234