Home
last modified time | relevance | path

Searched refs:getShort (Results 1 – 25 of 54) 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/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DSparseInputStream.java72 chunk.mChunkType = buf.getShort(); in readChunk()
73 buf.getShort(); in readChunk()
97 int major = buf.getShort(); in SparseInputStream()
98 int minor = buf.getShort(); in SparseInputStream()
104 if (buf.getShort() != FILE_HDR_SIZE) { in SparseInputStream()
107 if (buf.getShort() != CHUNK_HDR_SIZE) { in SparseInputStream()
/frameworks/libs/net/common/framework/com/android/net/module/util/
DDnsPacket.java73 id = Short.toUnsignedInt(buf.getShort()); in DnsHeader()
74 flags = Short.toUnsignedInt(buf.getShort()); in DnsHeader()
78 mRecordCount[i] = Short.toUnsignedInt(buf.getShort()); in DnsHeader()
131 nsType = Short.toUnsignedInt(buf.getShort()); in DnsRecord()
132 nsClass = Short.toUnsignedInt(buf.getShort()); in DnsRecord()
136 final int length = Short.toUnsignedInt(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/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.java101 assertEquals(buf.getShort(), srcPort); in testV4TcpKeepalivePacket()
103 assertEquals(buf.getShort(), dstPort); in testV4TcpKeepalivePacket()
110 assertEquals(buf.getShort(), wnd >> wndScale); in testV4TcpKeepalivePacket()
/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()
DCursor.java266 short getShort(int columnIndex); in getShort() method
/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/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()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
DBridgeBufferIterator.java86 return mByteBuffer.getShort(); in readShort()
/frameworks/base/core/java/com/android/internal/database/
DSortCursor.java195 public short getShort(int column) in getShort() method in SortCursor
197 return mCursor.getShort(column); in getShort()
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DTransport.java257 final int service = buffer.getShort() & 0xffff; in handleMessage()
258 final int what = buffer.getShort() & 0xffff; in handleMessage()
/frameworks/base/core/java/android/nfc/tech/
DNfcA.java70 mSak = extras.getShort(EXTRA_SAK); in NfcA()
/frameworks/base/core/java/android/os/
DBundle.java802 public short getShort(String key) { in getShort() method in Bundle
803 return super.getShort(key); in getShort()
815 public short getShort(String key, short defaultValue) { in getShort() method in Bundle
816 return super.getShort(key, defaultValue); in getShort()

123