Lines Matching refs:mNetworkCapabilities
48 mNetworkCapabilities = DEFAULT_CAPABILITIES;
53 mNetworkCapabilities = nc.mNetworkCapabilities;
68 mNetworkCapabilities = mTransportTypes = 0;
78 private long mNetworkCapabilities;
271 mNetworkCapabilities |= 1 << capability;
286 mNetworkCapabilities &= ~(1 << capability);
298 return BitUtils.unpackBits(mNetworkCapabilities);
311 return ((mNetworkCapabilities & (1 << capability)) != 0);
315 this.mNetworkCapabilities |= nc.mNetworkCapabilities;
330 if ((mNetworkCapabilities & NON_REQUESTABLE_CAPABILITIES) != 0) {
331 return "unknown non-requestable capabilities " + Long.toHexString(mNetworkCapabilities);
339 long networkCapabilities = this.mNetworkCapabilities;
343 return ((nc.mNetworkCapabilities & networkCapabilities) == networkCapabilities);
348 return (nc.mNetworkCapabilities == this.mNetworkCapabilities);
352 return ((this.mNetworkCapabilities & ~NON_REQUESTABLE_CAPABILITIES) ==
353 (that.mNetworkCapabilities & ~NON_REQUESTABLE_CAPABILITIES));
369 ((mNetworkCapabilities & UNRESTRICTED_CAPABILITIES) != 0);
373 ((mNetworkCapabilities & RESTRICTED_CAPABILITIES) != 0);
778 long oldImmutableCapabilities = this.mNetworkCapabilities & mask;
779 long newImmutableCapabilities = that.mNetworkCapabilities & mask;
827 return ((int)(mNetworkCapabilities & 0xFFFFFFFF) +
828 ((int)(mNetworkCapabilities >> 32) * 3) +
843 dest.writeLong(mNetworkCapabilities);
857 netCap.mNetworkCapabilities = in.readLong();