Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/internal/util/
DBitUtilsTest.java23 import static com.android.internal.util.BitUtils.getUint8;
121 assertEquals(0x0, getUint8(b, 0)); in testUnsignedGetters()
122 assertEquals(0x0, getUint8(b, 1)); in testUnsignedGetters()
123 assertEquals(0xff, getUint8(b, 2)); in testUnsignedGetters()
124 assertEquals(0xff, getUint8(b, 3)); in testUnsignedGetters()
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java114 public static int getUint8(ByteBuffer buffer, int position) { in getUint8() method in BitUtils