Home
last modified time | relevance | path

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

12

/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontFileTestUtil.java55 int numTables = buffer.getShort(fontOffset + 4); // offset to number of table in getPostScriptName()
70 int nameTableCount = buffer.getShort(nameTableOffset + 2); in getPostScriptName()
71 int storageOffset = buffer.getShort(nameTableOffset + 4); in getPostScriptName()
74 int platformID = buffer.getShort(nameTableOffset + 6 + i * 12); in getPostScriptName()
75 int encodingID = buffer.getShort(nameTableOffset + 6 + i * 12 + 2); in getPostScriptName()
76 int languageID = buffer.getShort(nameTableOffset + 6 + i * 12 + 4); in getPostScriptName()
77 int nameID = buffer.getShort(nameTableOffset + 6 + i * 12 + 6); in getPostScriptName()
78 int length = buffer.getShort(nameTableOffset + 6 + i * 12 + 8); in getPostScriptName()
79 int stringOffset = buffer.getShort(nameTableOffset + 6 + i * 12 + 10); in getPostScriptName()
/cts/tests/tests/text/src/android/text/cts/
DFontFileTestUtil.java65 int numTables = buffer.getShort(fontOffset + 4); // offset to number of table in getPostScriptName()
80 int nameTableCount = buffer.getShort(nameTableOffset + 2); in getPostScriptName()
81 int storageOffset = buffer.getShort(nameTableOffset + 4); in getPostScriptName()
84 int platformID = buffer.getShort(nameTableOffset + 6 + i * 12); in getPostScriptName()
85 int encodingID = buffer.getShort(nameTableOffset + 6 + i * 12 + 2); in getPostScriptName()
86 int languageID = buffer.getShort(nameTableOffset + 6 + i * 12 + 4); in getPostScriptName()
87 int nameID = buffer.getShort(nameTableOffset + 6 + i * 12 + 6); in getPostScriptName()
88 int length = buffer.getShort(nameTableOffset + 6 + i * 12 + 8); in getPostScriptName()
89 int stringOffset = buffer.getShort(nameTableOffset + 6 + i * 12 + 10); in getPostScriptName()
142 int numTables = buffer.getShort(fontOffset + 4); // offset to number of table in hasTable()
/cts/tests/tests/database/src/android/database/cts/
DMatrixCursorTest.java193 assertEquals(Short.MIN_VALUE, mMatrixCursor.getShort(COLUMN0_INDEX)); in testGetters()
194 assertEquals(0, mMatrixCursor.getShort(COLUMN1_INDEX)); in testGetters()
195 assertEquals(Short.MAX_VALUE, mMatrixCursor.getShort(COLUMN2_INDEX)); in testGetters()
224 assertEquals(0, mMatrixCursor.getShort(COLUMN0_INDEX)); in testGetters()
225 assertEquals(0, mMatrixCursor.getShort(COLUMN1_INDEX)); in testGetters()
226 assertEquals(-1, mMatrixCursor.getShort(COLUMN2_INDEX)); in testGetters()
254 assertEquals(-1, mMatrixCursor.getShort(COLUMN0_INDEX)); in testGetters()
255 assertEquals(0, mMatrixCursor.getShort(COLUMN1_INDEX)); in testGetters()
256 assertEquals(1, mMatrixCursor.getShort(COLUMN2_INDEX)); in testGetters()
290 mMatrixCursor.getShort(COLUMN1_INDEX); in testGetters()
[all …]
DCursorWindowTest.java227 assertEquals(NUMBER_SHORT, cursorWindow.getShort(0, 0)); in testAccessDataValues()
241 assertEquals(0, cursorWindow.getShort(0, 0)); in testAccessDataValues()
253 assertEquals(0, cursorWindow.getShort(0, 1)); in testAccessDataValues()
266 assertEquals(NUMBER_SHORT, cursorWindow.getShort(0, 2)); in testAccessDataValues()
286 assertEquals(NUMBER_SHORT, cursorWindow.getShort(0, 3)); in testAccessDataValues()
DAbstractCursor_SelfContentObserverTest.java89 public short getShort(int column) { in getShort() method in AbstractCursor_SelfContentObserverTest.MockAbstractCursor
DAbstractWindowedCursorTest.java111 assertEquals(shortNumber, mCursor.getShort(COLUMN_INDEX0)); in testGetShort()
DMergeCursorTest.java207 assertEquals(NUMBER_SHORT - i, mergeCursor.getShort(columnInteger)); in testGetValues()
DCursorWrapperTest.java395 assertEquals(NUMBER_SHORT, cursorWrapper.getShort(columnInteger)); in testGettingValues()
DAbstractCursorTest.java650 public short getShort(int columnIndex) { in getShort() method in AbstractCursorTest.TestAbstractCursor
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/
DDragSourceCursor.java52 public short getShort(int column) { in getShort() method in DragSourceCursor
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/
DSuplTcpClient.java66 short dataLength = ByteBuffer.wrap(lengthArray).getShort(); in getSuplResponse()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareBufferRendererTests.kt550 val cR = dst.getShort(index) in <lambda>()
551 val cG = dst.getShort(index + 2) in <lambda>()
552 val cB = dst.getShort(index + 4) in <lambda>()
553 val cA = dst.getShort(index + 6) in <lambda>()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java729 Half alpha = Half.valueOf(buffer.getShort(6)); in verify()
735 Half.valueOf(buffer.getShort(0)).floatValue(), in verify()
736 Half.valueOf(buffer.getShort(2)).floatValue(), in verify()
737 Half.valueOf(buffer.getShort(4)).floatValue() }; in verify()
DPixelCopyTest.java730 short cR = dst.getShort(index); in assertEqualsRgba16f()
731 short cG = dst.getShort(index + 2); in assertEqualsRgba16f()
732 short cB = dst.getShort(index + 4); in assertEqualsRgba16f()
733 short cA = dst.getShort(index + 6); in assertEqualsRgba16f()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderTestAacFormat.java255 decoded[decodedIdx++] = buf.getShort(); in decodeUpdateFormat()
DDecoderTestAacDrc.java682 decoded[decodedIdx++] = buf.getShort(); in decodeToMemory()
DDecoderTestXheAac.java1452 decoded[decodedIdx++] = buf.getShort();
DDecoderTest.java1842 decoded[decodedIdx++] = buf.getShort();
3284 short sample = buf.getShort();
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java764 assertEquals(0, mBundle.getShort(KEY1)); in testGetShort1()
766 assertEquals(s, mBundle.getShort(KEY1)); in testGetShort1()
768 assertEquals(s, mBundle.getShort(KEY1)); in testGetShort1()
776 assertEquals(s1, mBundle.getShort(KEY1, s1)); in testGetShort2()
778 assertEquals(s2, mBundle.getShort(KEY1, s1)); in testGetShort2()
780 assertEquals(s2, mBundle.getShort(KEY1, s1)); in testGetShort2()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DRemoteSubmixTest.java266 recordArray[i] = rawBuffer.getShort(); in testPlaybackCapture()
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java375 public short getShort() { in getShort() method in PlatformInspectableProcessorTest.PrimitivePropertiesTest
391 assertEquals(node.getShort(), mPropertyReader.get("short")); in testPrimitiveProperties()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java201 sValue = (short) decodedBuf.getShort(i); in run()
/cts/tests/signature/lib/common/src/android/signature/cts/
DApiComplianceChecker.java511 return Short.toString(deviceField.getShort(null)); in getFieldValueAsString()
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DEncoderTest.java262 short s = buffer.getShort(i); in queueInputBuffer()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCaptureRequestTest.java1133 avgBlackLevels[0] += rawBuffer.getShort(startOffset); in dynamicBlackWhiteLevelTestByCamera()
1134 avgBlackLevels[1] += rawBuffer.getShort(startOffset + bytePerPixel); in dynamicBlackWhiteLevelTestByCamera()
1136 avgBlackLevels[2] += rawBuffer.getShort(startOffset); in dynamicBlackWhiteLevelTestByCamera()
1137 avgBlackLevels[3] += rawBuffer.getShort(startOffset + bytePerPixel); in dynamicBlackWhiteLevelTestByCamera()

12