/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontFileTestUtil.java | 55 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() 110 int numTables = buffer.getShort(fontOffset + 4); // offset to number of table in containsEmojiCompatMetadata()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | MatrixCursorTest.java | 179 assertEquals(Short.MIN_VALUE, mMatrixCursor.getShort(COLUMN0_INDEX)); in testGetters() 180 assertEquals(0, mMatrixCursor.getShort(COLUMN1_INDEX)); in testGetters() 181 assertEquals(Short.MAX_VALUE, mMatrixCursor.getShort(COLUMN2_INDEX)); in testGetters() 210 assertEquals(0, mMatrixCursor.getShort(COLUMN0_INDEX)); in testGetters() 211 assertEquals(0, mMatrixCursor.getShort(COLUMN1_INDEX)); in testGetters() 212 assertEquals(-1, mMatrixCursor.getShort(COLUMN2_INDEX)); in testGetters() 240 assertEquals(-1, mMatrixCursor.getShort(COLUMN0_INDEX)); in testGetters() 241 assertEquals(0, mMatrixCursor.getShort(COLUMN1_INDEX)); in testGetters() 242 assertEquals(1, mMatrixCursor.getShort(COLUMN2_INDEX)); in testGetters() 276 mMatrixCursor.getShort(COLUMN1_INDEX); in testGetters() [all …]
|
D | CursorWindowTest.java | 226 assertEquals(NUMBER_SHORT, cursorWindow.getShort(0, 0)); in testAccessDataValues() 240 assertEquals(0, cursorWindow.getShort(0, 0)); in testAccessDataValues() 252 assertEquals(0, cursorWindow.getShort(0, 1)); in testAccessDataValues() 265 assertEquals(NUMBER_SHORT, cursorWindow.getShort(0, 2)); in testAccessDataValues() 285 assertEquals(NUMBER_SHORT, cursorWindow.getShort(0, 3)); in testAccessDataValues()
|
D | AbstractCursor_SelfContentObserverTest.java | 89 public short getShort(int column) { in getShort() method in AbstractCursor_SelfContentObserverTest.MockAbstractCursor
|
D | AbstractWindowedCursorTest.java | 111 assertEquals(shortNumber, mCursor.getShort(COLUMN_INDEX0)); in testGetShort()
|
D | MergeCursorTest.java | 175 assertEquals(NUMBER_SHORT - i, mergeCursor.getShort(columnInteger)); in testGetValues()
|
D | CursorWrapperTest.java | 351 assertEquals(NUMBER_SHORT, cursorWrapper.getShort(columnInteger)); in testGettingValues()
|
D | AbstractCursorTest.java | 577 public short getShort(int columnIndex) { in getShort() method in AbstractCursorTest.TestAbstractCursor
|
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/ |
D | DragSourceCursor.java | 52 public short getShort(int column) { in getShort() method in DragSourceCursor
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/ |
D | SuplTcpClient.java | 66 short dataLength = ByteBuffer.wrap(lengthArray).getShort(); in getSuplResponse()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewTest.java | 437 Half alpha = Half.valueOf(buffer.getShort(6)); in verify() 443 Half.valueOf(buffer.getShort(0)).floatValue(), in verify() 444 Half.valueOf(buffer.getShort(2)).floatValue(), in verify() 445 Half.valueOf(buffer.getShort(4)).floatValue() }; in verify()
|
D | PixelCopyTest.java | 629 short cR = dst.getShort(index); in assertEqualsRgba16f() 630 short cG = dst.getShort(index + 2); in assertEqualsRgba16f() 631 short cB = dst.getShort(index + 4); in assertEqualsRgba16f() 632 short cA = dst.getShort(index + 6); in assertEqualsRgba16f()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 557 assertEquals(0, mBundle.getShort(KEY)); in testGetShort1() 559 assertEquals(s, mBundle.getShort(KEY)); in testGetShort1() 561 assertEquals(s, mBundle.getShort(KEY)); in testGetShort1() 568 assertEquals(s1, mBundle.getShort(KEY, s1)); in testGetShort2() 570 assertEquals(s2, mBundle.getShort(KEY, s1)); in testGetShort2() 572 assertEquals(s2, mBundle.getShort(KEY, s1)); in testGetShort2()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderTestAacFormat.java | 208 decoded[decodedIdx++] = buf.getShort(); in decodeUpdateFormat()
|
D | EncoderTest.java | 290 short s = buffer.getShort(i); in queueInputBuffer()
|
D | DecoderTestAacDrc.java | 683 decoded[decodedIdx++] = buf.getShort(); in decodeToMemory()
|
D | DecoderTestXheAac.java | 1425 decoded[decodedIdx++] = buf.getShort();
|
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/ |
D | PlatformInspectableProcessorTest.java | 375 public short getShort() { in getShort() method in PlatformInspectableProcessorTest.PrimitivePropertiesTest 391 assertEquals(node.getShort(), mPropertyReader.get("short")); in testPrimitiveProperties()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | ApiComplianceChecker.java | 404 return Short.toString(deviceField.getShort(null)); in getFieldValueAsString()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundPlayerObject.java | 201 sValue = (short) decodedBuf.getShort(i); in run()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 990 avgBlackLevels[0] += rawBuffer.getShort(startOffset); in dynamicBlackWhiteLevelTestByCamera() 991 avgBlackLevels[1] += rawBuffer.getShort(startOffset + bytePerPixel); in dynamicBlackWhiteLevelTestByCamera() 993 avgBlackLevels[2] += rawBuffer.getShort(startOffset); in dynamicBlackWhiteLevelTestByCamera() 994 avgBlackLevels[3] += rawBuffer.getShort(startOffset + bytePerPixel); in dynamicBlackWhiteLevelTestByCamera()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecDecoderTest.java | 89 refData[i] = refBuffer.getShort(); in setUpAudioReference()
|