Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DIpPrefix.java182 byte[] addrBytes = (address == null) ? null : address.getAddress(); in contains()
183 if (addrBytes == null || addrBytes.length != this.address.length) { in contains()
186 NetworkUtils.maskRawAddress(addrBytes, prefixLength); in contains()
187 return Arrays.equals(this.address, addrBytes); in contains()
/frameworks/base/services/net/java/android/net/apf/
DApfFilter.java1548 public static int ipv4BroadcastAddress(byte[] addrBytes, int prefixLength) { in ipv4BroadcastAddress() argument
1549 return bytesToBEInt(addrBytes) | (int) (uint32(-1) >>> prefixLength); in ipv4BroadcastAddress()