Home
last modified time | relevance | path

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

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