Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/android/net/
DDscpPolicy.java71 private final @Nullable Range<Integer> mDstPortRange; field in DscpPolicy
96 this.mDstPortRange = dstPortRange; in DscpPolicy()
110 if (mDstPortRange != null in DscpPolicy()
111 && (dstPortRange.getLower() < 0 || mDstPortRange.getLower() > 65535) in DscpPolicy()
112 && (mDstPortRange.getUpper() < 0 || mDstPortRange.getUpper() > 65535)) { in DscpPolicy()
186 return mDstPortRange; in getDestinationPortRange()
199 + (mDstPortRange == null ? "none" : mDstPortRange.toString()) in toString()
215 && Objects.equals(mDstPortRange, that.mDstPortRange); in equals()
221 mDstAddr.hashCode(), mSrcPort, mProtocol, mDstPortRange.hashCode()); in hashCode()
233 dest.writeBoolean(mDstPortRange != null ? true : false); in writeToParcel()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DQosPolicyParams.java228 private final @Nullable int[] mDstPortRange; field in QosPolicyParams
255 this.mDstPortRange = dstPortRange; in QosPolicyParams()
289 if (mDstPortRange != null && (mDstPortRange[0] < 0 || mDstPortRange[0] > 65535 in validate()
290 || mDstPortRange[1] < 0 || mDstPortRange[1] > 65535)) { in validate()
292 + mDstPortRange[0] + ", end=" + mDstPortRange[1]); in validate()
356 if (mDstPortRange != null) { in validate()
494 return mDstPortRange; in getDestinationPortRange()
557 && Arrays.equals(mDstPortRange, that.mDstPortRange) in equals()
567 mProtocol, Arrays.hashCode(mDstPortRange), mDirection, mIpVersion, mDstPort, in hashCode()
581 + "dstPortRange=" + Arrays.toString(mDstPortRange) + ", " in toString()
[all …]