Home
last modified time | relevance | path

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

12

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java526 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 2)); in fillInPacket()
527 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 4)); in fillInPacket()
528 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 6)); in fillInPacket()
529 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 8)); in fillInPacket()
899 short l2type = packet.getShort(); in decodeFullPacket()
922 short ipTotalLength = packet.getShort(); in decodeFullPacket()
923 short ipIdentification = packet.getShort(); in decodeFullPacket()
928 short ipChksm = packet.getShort(); in decodeFullPacket()
947 short udpSrcPort = packet.getShort(); in decodeFullPacket()
948 short udpDstPort = packet.getShort(); in decodeFullPacket()
[all …]
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java130 final int etherType = asUint(mPacket.getShort()); in parseEther()
157 if (asUint(mPacket.getShort()) != ARP_HWTYPE_ETHER || in parseARP()
158 asUint(mPacket.getShort()) != ETHER_TYPE_IPV4 || in parseARP()
165 final int opCode = asUint(mPacket.getShort()); in parseARP()
197 final int flagsAndFragment = asUint(mPacket.getShort()); in parseIPv4()
256 mPacket.getShort(); // checksum, unused in parseICMPv6()
341 final short reserved = mPacket.getShort(); in parseICMPv6NeighborDiscoveryOptions()
360 final int srcPort = asUint(mPacket.getShort()); in parseUDP()
361 final int dstPort = asUint(mPacket.getShort()); in parseUDP()
/packages/apps/Nfc/src/com/android/nfc/
DNfcWifiProtectedSetup.java105 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/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/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()
DCountedDataInputStream.java102 return mByteBuffer.getShort(); in readShort()
/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()
DCountedDataInputStream.java102 return mByteBuffer.getShort(); in readShort()
/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()
DCountedDataInputStream.java106 return mByteBuffer.getShort(); in readShort()
/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/apps/DocumentsUI/src/com/android/documentsui/roots/
DRootCursorWrapper.java124 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/
DFilteringCursorWrapper.java121 public short getShort(int column) { in getShort() method in FilteringCursorWrapper
122 return mCursor.getShort(column); in getShort()
/packages/apps/UnifiedEmail/src/com/android/mail/content/
DThreadSafeCursorWrapper.java53 public short getShort(int column) { in getShort() method in ThreadSafeCursorWrapper
56 return super.getShort(column); in getShort()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DObexAppParameters.java142 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/mapclient/obex/
DObexAppParameters.java142 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/map/
DBluetoothMapAppParams.java238 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()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DEntrySchema.java115 field.setBoolean(object, cursor.getShort(columnIndex) == 1); in cursorToObject()
118 field.setShort(object, cursor.getShort(columnIndex)); in cursorToObject()
205 values.put(columnName, field.getShort(object)); in objectToValues()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortingCursorWrapper.java146 public short getShort(int column) { in getShort() method in SortingCursorWrapper
147 return mCursor.getShort(column); in getShort()
/packages/apps/Contacts/src/com/android/contacts/database/
DEmptyCursor.java52 public short getShort(int column) { in getShort() method in EmptyCursor
/packages/apps/Dialer/java/com/android/contacts/common/database/
DEmptyCursor.java52 public short getShort(int column) { in getShort() method in EmptyCursor
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DContactFilterCursor.java443 public short getShort(int columnIndex) { in getShort() method in ContactFilterCursor
444 return cursor.getShort(columnIndex); in getShort()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DCountedDataInputStream.java107 return byteBuffer.getShort(); in readShort()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestionCursorBackedCursor.java175 public short getShort(int column) { in getShort() method in SuggestionCursorBackedCursor
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java73 return mBuffer.getShort() & 0xFFFF; in readUnsignedShort()

12