Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/unit/java/com/android/internal/util/
DBitUtilsTest.java21 import static com.android.internal.util.BitUtils.getUint16;
131 assertEquals(0x0, getUint16(b, 0)); in testUnsignedGetters()
132 assertEquals(0xffff, getUint16(b, 2)); in testUnsignedGetters()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java679 getUint16(mPacket, ICMP6_RA_ROUTER_LIFETIME_OFFSET))); in toString()
784 if (getUint16(mPacket, ETH_ETHERTYPE_OFFSET) != ETH_P_IPV6 || in Ra()
803 final long routerLifetime = getUint16(mPacket, ICMP6_RA_ROUTER_LIFETIME_OFFSET); in Ra()
2041 private static int getUint16(ByteBuffer buffer, int position) { in getUint16() method in ApfFilter