Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/internal/util/
DBitUtilsTest.java23 import static com.android.internal.util.BitUtils.getUint8;
126 assertEquals(0x0, getUint8(b, 0)); in testUnsignedGetters()
127 assertEquals(0x0, getUint8(b, 1)); in testUnsignedGetters()
128 assertEquals(0xff, getUint8(b, 2)); in testUnsignedGetters()
129 assertEquals(0xff, getUint8(b, 3)); in testUnsignedGetters()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java634 int length = getUint8(mPacket, offset + 2); in prefixOptionToString()
641 int optLen = getUint8(mPacket, offset + 1) * 8; in rdnssOptionToString()
653 int optLen = getUint8(mPacket, offset + 1) * 8; in rioOptionToString()
655 int prefixLen = getUint8(mPacket, offset + 2); in rioOptionToString()
785 getUint8(mPacket, IPV6_NEXT_HEADER_OFFSET) != IPPROTO_ICMPV6 || in Ra()
786 getUint8(mPacket, ICMP6_TYPE_OFFSET) != ICMPV6_ROUTER_ADVERTISEMENT) { in Ra()
812 final int optionType = getUint8(mPacket, position); in Ra()
813 final int optionLength = getUint8(mPacket, position + 1) * 8; in Ra()
2049 private static int getUint8(ByteBuffer buffer, int position) { in getUint8() method in ApfFilter