Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaCellLocation.java57 private int mNetworkId = -1; field in CdmaCellLocation
69 this.mNetworkId = -1; in CdmaCellLocation()
80 this.mNetworkId = bundle.getInt("networkId", mNetworkId); in CdmaCellLocation()
127 return this.mNetworkId; in getNetworkId()
139 this.mNetworkId = -1; in setStateInvalid()
163 this.mNetworkId = networkId; in setCellLocationData()
169 ^ this.mSystemId ^ this.mNetworkId; in hashCode()
190 equalsHandlesNulls(this.mNetworkId, s.mNetworkId) in equals()
200 + this.mNetworkId + "]"; in toString()
225 bundleToFill.putInt("networkId", this.mNetworkId); in fillInNotifierBundle()
[all …]
/frameworks/base/telephony/java/android/telephony/
DCellIdentityCdma.java44 private final int mNetworkId; field in CellIdentityCdma
73 mNetworkId = CellInfo.UNAVAILABLE; in CellIdentityCdma()
98 mNetworkId = inRangeOrUnavailable(nid, 0, NETWORK_ID_MAX); in CellIdentityCdma()
125 this(cid.mNetworkId, cid.mSystemId, cid.mBasestationId, cid.mLongitude, cid.mLatitude, in CellIdentityCdma()
145 if (mNetworkId == CellInfo.UNAVAILABLE || mSystemId == CellInfo.UNAVAILABLE in updateGlobalCellId()
148 mGlobalCellId = String.format("%04x%04x%04x", mSystemId, mNetworkId, mBasestationId); in updateGlobalCellId()
168 return mNetworkId; in getNetworkId()
211 return Objects.hash(mNetworkId, mSystemId, mBasestationId, mLatitude, mLongitude, in hashCode()
222 int nid = mNetworkId != CellInfo.UNAVAILABLE ? mNetworkId : -1; in asCellLocation()
240 return mNetworkId == o.mNetworkId in equals()
[all …]
DServiceState.java339 private int mNetworkId; field in ServiceState
432 mNetworkId = s.mNetworkId; in copyFrom()
469 mNetworkId = in.readInt(); in ServiceState()
497 out.writeInt(mNetworkId); in writeToParcel()
885 mNetworkId, in hashCode()
917 && equalsHandlesNulls(mNetworkId, s.mNetworkId) in equals()
1097 .append(", mNetworkId=").append(mNetworkId) in toString()
1126 mNetworkId = -1; in init()
1358 m.putInt("networkId", mNetworkId); in fillInNotifierBundle()
1475 this.mNetworkId = networkId; in setCdmaSystemAndNetworkId()
[all …]
/frameworks/base/core/java/android/net/
DNetworkIdentity.java48 final String mNetworkId; field in NetworkIdentity
59 mNetworkId = networkId; in NetworkIdentity()
67 return Objects.hash(mType, mSubType, mSubscriberId, mNetworkId, mRoaming, mMetered, in hashCode()
77 && Objects.equals(mNetworkId, ident.mNetworkId) in equals()
97 if (mNetworkId != null) { in toString()
98 builder.append(", networkId=").append(mNetworkId); in toString()
118 proto.write(NetworkIdentityProto.NETWORK_ID, mNetworkId); in writeToProto()
139 return mNetworkId; in getNetworkId()
232 if (res == 0 && mNetworkId != null && another.mNetworkId != null) { in compareTo()
233 res = mNetworkId.compareTo(another.mNetworkId); in compareTo()
DNetworkTemplate.java225 private final String mNetworkId; field in NetworkTemplate
249 mNetworkId = networkId; in NetworkTemplate()
265 mNetworkId = in.readString(); in NetworkTemplate()
277 dest.writeString(mNetworkId); in writeToParcel()
301 if (mNetworkId != null) { in toString()
302 builder.append(", networkId=").append(mNetworkId); in toString()
322 return Objects.hash(mMatchRule, mSubscriberId, mNetworkId, mMetered, mRoaming, in hashCode()
332 && Objects.equals(mNetworkId, other.mNetworkId) in equals()
372 return mNetworkId; in getNetworkId()
499 sanitizeSsid(mNetworkId), sanitizeSsid(ident.mNetworkId)); in matchesWifi()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java55 private int mNetworkId = -1; field in OsuNetworkConnection
134 if (mNetworkId < 0) { in disconnectIfNeeded()
141 mWifiManager.removeNetwork(mNetworkId); in disconnectIfNeeded()
142 mNetworkId = -1; in disconnectIfNeeded()
199 mNetworkId = mWifiManager.addNetwork(config); in connect()
200 if (mNetworkId < 0) { in connect()
217 if (!mWifiManager.enableNetwork(mNetworkId, true)) { in connect()
218 Log.e(TAG, "Unable to enable network " + mNetworkId); in connect()
224 Log.v(TAG, "Current network ID " + mNetworkId); in connect()
246 if (mNetworkId < 0 || mNetworkId != wifiInfo.getNetworkId()) { in onAvailable()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DTestAccessPointBuilder.java51 private int mNetworkId = WifiConfiguration.INVALID_NETWORK_ID; field in TestAccessPointBuilder
77 if (mNetworkId != WifiConfiguration.INVALID_NETWORK_ID) { in build()
79 wifiConfig.networkId = mNetworkId; in build()
185 mNetworkId = 1; in setSaved()
187 mNetworkId = WifiConfiguration.INVALID_NETWORK_ID; in setSaved()
230 mNetworkId = networkId; in setNetworkId()
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java80 private int mNetworkId; field in WifiInfo
220 mNetworkId = -1; in WifiInfo()
264 mNetworkId = source.mNetworkId; in WifiInfo()
575 mNetworkId = id; in setNetworkId()
589 return mNetworkId; in getNetworkId()
699 .append(", Net ID: ").append(mNetworkId) in toString()
712 dest.writeInt(mNetworkId); in writeToParcel()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java578 private int mNetworkId = 100; field in UpstreamNetworkMonitorTest.TestConnectivityManager
613 return ++mNetworkId; in getNetworkId()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkHal.java101 private int mNetworkId; field in SupplicantStaNetworkHal
177 config.networkId = mNetworkId; in loadWifiConfiguration()
1157 this.mNetworkId = idValue; in getId()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt44454 Landroid/net/NetworkIdentity;->mNetworkId:Ljava/lang/String;
44830 Landroid/net/NetworkTemplate;->mNetworkId:Ljava/lang/String;
47264 Landroid/net/wifi/WifiInfo;->mNetworkId:I
67024 Landroid/telephony/CellIdentityCdma;->mNetworkId:I