Home
last modified time | relevance | path

Searched refs:bytesToInt (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
DTimerRecordingAction.java116 tv().announceTimerRecordingResult(mRecorderAddress, bytesToInt(timerStatusData)); in handleTimerStatus()
147 private static int bytesToInt(byte[] data) { in bytesToInt() method in TimerRecordingAction
/frameworks/base/tests/net/java/android/net/apf/
DApfTest.java1239 assertEquals(0x00000000, ApfFilter.bytesToInt(IPV4_ANY_HOST_ADDR)); in testBytesToInt()
1240 assertEquals(0xffffffff, ApfFilter.bytesToInt(IPV4_BROADCAST_ADDRESS)); in testBytesToInt()
1241 assertEquals(0x0a000001, ApfFilter.bytesToInt(MOCK_IPV4_ADDR)); in testBytesToInt()
1242 assertEquals(0x0a000002, ApfFilter.bytesToInt(ANOTHER_IPV4_ADDR)); in testBytesToInt()
1243 assertEquals(0x0a001fff, ApfFilter.bytesToInt(MOCK_BROADCAST_IPV4_ADDR)); in testBytesToInt()
1244 assertEquals(0xe0000001, ApfFilter.bytesToInt(MOCK_MULTICAST_IPV4_ADDR)); in testBytesToInt()
1260 int want = ApfFilter.bytesToInt(InetAddress.getByName(expected).getAddress()); in assertEqualsIp()
/frameworks/base/services/net/java/android/net/apf/
DApfFilter.java1215 return bytesToInt(addrBytes) | (int) (uint32(-1) >>> prefixLength); in ipv4BroadcastAddress()
1219 public static int bytesToInt(byte[] addrBytes) { in bytesToInt() method in ApfFilter