Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/database/
H A 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()
/aosp14/frameworks/base/graphics/java/android/graphics/fonts/
H A DFontFileUtil.java111 int numTables = buffer.getShort(fontFileOffset + 4 /* offset to number of tables */); in analyzeStyle()
127 int weightFromOS2 = buffer.getShort(os2TableOffset + 4 /* offset to weight class */); in analyzeStyle()
129 (buffer.getShort(os2TableOffset + 62 /* offset to fsSelection */) & 1) != 0; in analyzeStyle()
/aosp14/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DDecoder.java47 return mBuf.getShort(); in readObject()
66 short len = mBuf.getShort(); in readString()
/aosp14/frameworks/base/core/java/android/database/
H A DAbstractWindowedCursor.java64 public short getShort(int columnIndex) { in getShort() method in AbstractWindowedCursor
66 return mWindow.getShort(mPos, columnIndex); in getShort()
H A DRedactingCursor.java122 public short getShort(int columnIndex) { in getShort() method in RedactingCursor
127 return super.getShort(columnIndex); in getShort()
H A DMergeCursor.java102 public short getShort(int column) in getShort() method in MergeCursor
104 return mCursor.getShort(column); in getShort()
H A DCursorWrapper.java135 public short getShort(int columnIndex) { in getShort() method in CursorWrapper
136 return mCursor.getShort(columnIndex); in getShort()
H A DTranslatingCursor.java183 public short getShort(int columnIndex) { in getShort() method in TranslatingCursor
187 return super.getShort(columnIndex); in getShort()
H A DCursor.java282 short getShort(@IntRange(from = 0) int columnIndex); in getShort() method
H A DMatrixCursor.java272 public short getShort(int column) { in getShort() method in MatrixCursor
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A 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()
H A DCountedDataInputStream.java102 return mByteBuffer.getShort(); in readShort()
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A 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()
H A DBitUtils.java119 return uint16(buffer.getShort(position)); in getUint16()
/aosp14/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DTransport.java257 final int service = buffer.getShort() & 0xffff; in handleMessage()
258 final int what = buffer.getShort() & 0xffff; in handleMessage()
/aosp14/frameworks/base/core/java/com/android/internal/database/
H A DSortCursor.java195 public short getShort(int column) in getShort() method in SortCursor
197 return mCursor.getShort(column); in getShort()
/aosp14/frameworks/base/core/java/android/nfc/tech/
H A DNfcA.java70 mSak = extras.getShort(EXTRA_SAK); in NfcA()
/aosp14/frameworks/base/core/java/android/os/
H A DBundle.java759 public short getShort(String key) { in getShort() method in Bundle
760 return super.getShort(key); in getShort()
772 public short getShort(String key, short defaultValue) { in getShort() method in Bundle
773 return super.getShort(key, defaultValue); in getShort()
/aosp14/frameworks/base/core/java/android/util/
H A DEventLog.java131 int length = mBuffer.getShort(HEADER_SIZE_OFFSET); in getHeaderSize()
141 mBuffer.limit(offset + mBuffer.getShort(LENGTH_OFFSET)); in getData()
/aosp14/frameworks/base/test-mock/src/android/test/mock/
H A DMockCursor.java89 public short getShort(int columnIndex) { in getShort() method in MockCursor
/aosp14/frameworks/base/core/java/android/util/apk/
H A DZipUtils.java251 return buffer.getShort(offset) & 0xffff; in getUnsignedInt16()
/aosp14/frameworks/base/tools/processors/view_inspector/test/resources/android/processor/view/inspector/InspectionCompanionGeneratorTest/
H A DSimpleProperties.java.txt114 propertyReader.readShort(mShortId, node.getShort());
/aosp14/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java490 args[i] = in.getShort(); in deserializeMethodParameters()
510 int stringUtf8ByteCount = Short.toUnsignedInt(in.getShort()); in deserializeMethodParameters()
/aosp14/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DVirtualizerTest.java215 return converter.getShort(offset); in byteArrayToShort()

12