Home
last modified time | relevance | path

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

/frameworks/libs/net/common/framework/android/net/util/
DIpRange.java49 private final byte[] mEndAddr; field in IpRange
65 mEndAddr = endAddr.getAddress(); in IpRange()
76 mEndAddr = prefix.getRawAddress(); in IpRange()
77 for (int bitIndex = prefix.getPrefixLength(); bitIndex < 8 * mEndAddr.length; ++bitIndex) { in IpRange()
78 mEndAddr[bitIndex / 8] |= (byte) (0x80 >> (bitIndex % 8)); in IpRange()
99 return getAsInetAddress(mEndAddr); in getEndAddr()
186 && addrToBigInteger(mEndAddr).compareTo(addrToBigInteger(other.mEndAddr)) >= 0; in containsRange()
197 return addrToBigInteger(mStartAddr).compareTo(addrToBigInteger(other.mEndAddr)) <= 0 in overlapsRange()
198 && addrToBigInteger(other.mStartAddr).compareTo(addrToBigInteger(mEndAddr)) <= 0; in overlapsRange()
203 return Objects.hash(mStartAddr, mEndAddr); in hashCode()
[all …]