/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 556 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 2)); in fillInPacket() 557 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 4)); in fillInPacket() 558 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 6)); in fillInPacket() 559 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 8)); in fillInPacket() 964 short l2type = packet.getShort(); in decodeFullPacket() 987 short ipTotalLength = packet.getShort(); in decodeFullPacket() 988 short ipIdentification = packet.getShort(); in decodeFullPacket() 993 short ipChksm = packet.getShort(); in decodeFullPacket() 1012 short udpSrcPort = packet.getShort(); in decodeFullPacket() 1013 short udpDstPort = packet.getShort(); in decodeFullPacket() [all …]
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | ConnectivityPacketSummary.java | 144 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/apps/Nfc/src/com/android/nfc/ |
D | NfcWifiProtectedSetup.java | 105 short fieldId = payload.getShort(); in parse() 106 int fieldSize = payload.getShort() & 0xFFFF; in parse() 121 short fieldId = payload.getShort(); in parseCredential() 122 int fieldSize = payload.getShort() & 0xFFFF; in parseCredential() 151 short authType = payload.getShort(); in parseCredential()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaAttribute.java | 198 int bytesInList = Short.toUnsignedInt(byteBuffer.getShort()); in AtVersionList() 206 versions.add(Short.toUnsignedInt(byteBuffer.getShort())); in AtVersionList() 412 int identityLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtIdentity() 664 this.counter = Short.toUnsignedInt(byteBuffer.getShort()); in AtCounter() 784 notificationCode = Short.toUnsignedInt(byteBuffer.getShort()); in AtNotification() 947 int resLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtRes() 1064 int networkNameLength = Short.toUnsignedInt(byteBuffer.getShort()); in AtKdfInput() 1107 kdf = Short.toUnsignedInt(buffer.getShort()); in AtKdf() 1142 int serverFlag = Short.toUnsignedInt(buffer.getShort()); in AtBidding()
|
/packages/modules/NetworkStack/src/com/android/networkstack/arp/ |
D | ArpPacket.java | 108 final short etherType = buffer.getShort(); in parseArpPacket() 113 final short hwType = buffer.getShort(); in parseArpPacket() 118 final short protoType = buffer.getShort(); in parseArpPacket() 133 final short opCode = buffer.getShort(); in parseArpPacket()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockSuggestionProviderCursor.java | 76 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/apps/Camera2/src/com/android/camera/exif/ |
D | ExifOutputStream.java | 146 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/ |
D | ExifOutputStream.java | 146 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/Messaging/src/com/android/messaging/util/exif/ |
D | ExifOutputStream.java | 147 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/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ReorderingCursorWrapper.java | 87 public short getShort(int column) { in getShort() method in ReorderingCursorWrapper 88 return mCursor.getShort(column); in getShort()
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | IkeTrafficSelector.java | 284 int tsLength = Short.toUnsignedInt(inputBuffer.getShort()); in decodeTrafficSelector() 290 int startPort = Short.toUnsignedInt(inputBuffer.getShort()); in decodeTrafficSelector() 291 int endPort = Short.toUnsignedInt(inputBuffer.getShort()); in decodeTrafficSelector()
|
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | StructNlMsgHdr.java | 88 struct.nlmsg_type = byteBuffer.getShort(); in parse() 89 struct.nlmsg_flags = byteBuffer.getShort(); in parse()
|
D | StructNdMsg.java | 114 final short pad2 = byteBuffer.getShort(); in parse() 116 struct.ndm_state = byteBuffer.getShort(); in parse()
|
D | StructNlAttr.java | 57 struct.nla_len = byteBuffer.getShort(); in peek() 58 struct.nla_type = byteBuffer.getShort(); in peek()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeSkfPayload.java | 80 fragmentNum = Short.toUnsignedInt(inputBuffer.getShort()); in IkeSkfPayload() 81 totalFragments = Short.toUnsignedInt(inputBuffer.getShort()); in IkeSkfPayload()
|
D | IkeSaPayload.java | 586 int length = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom() 1014 int length = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom() 1020 int id = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom() 1725 short formatAndType = inputBuffer.getShort(); in readFrom() 1741 length = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom() 1769 this(Short.toUnsignedInt(ByteBuffer.wrap(value).getShort())); in KeyLengthAttribute()
|
D | IkePayloadFactory.java | 143 int payloadLength = Short.toUnsignedInt(input.getShort()); in getIkePayload() 193 int payloadLength = Short.toUnsignedInt(input.getShort()); in getIkeSkPayload()
|
D | IkeKePayload.java | 109 dhGroup = Short.toUnsignedInt(inputBuffer.getShort()); in IkeKePayload() 111 inputBuffer.getShort(); in IkeKePayload()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | RootCursorWrapper.java | 124 public short getShort(int column) { in getShort() method in RootCursorWrapper 125 return mCursor.getShort(column); in getShort()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | FilteringCursorWrapper.java | 121 public short getShort(int column) { in getShort() method in FilteringCursorWrapper 122 return mCursor.getShort(column); in getShort()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | ObexAppParameters.java | 142 public short getShort(byte tag) { in getShort() method in ObexAppParameters 149 return ByteBuffer.wrap(bval).getShort(); in getShort()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | ObexAppParameters.java | 142 public short getShort(byte tag) { in getShort() method in ObexAppParameters 149 return ByteBuffer.wrap(bval).getShort(); in getShort()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunUtils.java | 125 short resultType = buffer.getShort(); in openFrame() 126 int dataLength = buffer.getShort() & 0xffff; in openFrame()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/ |
D | EapMsChapV2TypeData.java | 115 Short.toUnsignedInt(buffer.getShort())); in EapMsChapV2ChallengeRequest() 218 Short.toUnsignedInt(buffer.getShort())); in EapMsChapV2SuccessRequest() 326 Short.toUnsignedInt(buffer.getShort())); in EapMsChapV2FailureRequest()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapAppParams.java | 238 setMaxListCount(appParamBuf.getShort(i) & 0xffff); // Make it unsigned in parseParams() 247 setStartOffset(appParamBuf.getShort(i) & 0xffff); // Make it unsigned in parseParams() 377 setFolderListingSize(appParamBuf.getShort(i) & 0xffff); // Make it unsigned in parseParams() 385 setMessageListingSize(appParamBuf.getShort(i) & 0xffff); // Make it unsigned in parseParams() 505 setConvoListingSize(appParamBuf.getShort(i) & 0xffff); in parseParams()
|