Home
last modified time | relevance | path

Searched refs:getUint16 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/net/java/com/android/internal/util/
DBitUtilsTest.java21 import static com.android.internal.util.BitUtils.getUint16;
126 assertEquals(0x0, getUint16(b, 0)); in testUnsignedGetters()
127 assertEquals(0xffff, getUint16(b, 2)); in testUnsignedGetters()
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java118 public static int getUint16(ByteBuffer buffer, int position) { in getUint16() method in BitUtils