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.java42 private final int mNetworkId; field in CellIdentityCdma
71 mNetworkId = CellInfo.UNAVAILABLE; in CellIdentityCdma()
95 mNetworkId = inRangeOrUnavailable(nid, 0, NETWORK_ID_MAX); in CellIdentityCdma()
121 this(cid.mNetworkId, cid.mSystemId, cid.mBasestationId, cid.mLongitude, cid.mLatitude, in CellIdentityCdma()
153 return mNetworkId; in getNetworkId()
196 return Objects.hash(mNetworkId, mSystemId, mBasestationId, mLatitude, mLongitude, in hashCode()
206 int nid = mNetworkId != CellInfo.UNAVAILABLE ? mNetworkId : -1; in asCellLocation()
224 return mNetworkId == o.mNetworkId in equals()
235 .append(":{ mNetworkId=").append(mNetworkId) in toString()
250 dest.writeInt(mNetworkId); in writeToParcel()
[all …]
DServiceState.java319 private int mNetworkId; field in ServiceState
413 mNetworkId = s.mNetworkId; in copyFrom()
452 mNetworkId = in.readInt(); in ServiceState()
482 out.writeInt(mNetworkId); in writeToParcel()
849 mNetworkId, in hashCode()
883 && equalsHandlesNulls(mNetworkId, s.mNetworkId) in equals()
1041 .append(", mNetworkId=").append(mNetworkId) in toString()
1071 mNetworkId = -1; in init()
1326 m.putInt("networkId", mNetworkId); in fillInNotifierBundle()
1454 this.mNetworkId = networkId; in setCdmaSystemAndNetworkId()
[all …]
/frameworks/base/core/java/android/net/
DNetworkIdentity.java58 final String mNetworkId; field in NetworkIdentity
69 mNetworkId = networkId; in NetworkIdentity()
77 return Objects.hash(mType, mSubType, mSubscriberId, mNetworkId, mRoaming, mMetered, in hashCode()
87 && Objects.equals(mNetworkId, ident.mNetworkId) in equals()
109 if (mNetworkId != null) { in toString()
110 builder.append(", networkId=").append(mNetworkId); in toString()
130 proto.write(NetworkIdentityProto.NETWORK_ID, mNetworkId); in writeToProto()
151 return mNetworkId; in getNetworkId()
243 if (res == 0 && mNetworkId != null && another.mNetworkId != null) { in compareTo()
244 res = mNetworkId.compareTo(another.mNetworkId); in compareTo()
DNetworkTemplate.java188 private final String mNetworkId; field in NetworkTemplate
211 mNetworkId = networkId; in NetworkTemplate()
226 mNetworkId = in.readString(); in NetworkTemplate()
237 dest.writeString(mNetworkId); in writeToParcel()
260 if (mNetworkId != null) { in toString()
261 builder.append(", networkId=").append(mNetworkId); in toString()
278 return Objects.hash(mMatchRule, mSubscriberId, mNetworkId, mMetered, mRoaming, in hashCode()
288 && Objects.equals(mNetworkId, other.mNetworkId) in equals()
327 return mNetworkId; in getNetworkId()
403 removeDoubleQuotes(mNetworkId), removeDoubleQuotes(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()
687 .append(", Net ID: ").append(mNetworkId) in toString()
700 dest.writeInt(mNetworkId); in writeToParcel()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitorTest.java567 private int mNetworkId = 100; field in UpstreamNetworkMonitorTest.TestConnectivityManager
610 int getNetworkId() { 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()
1165 this.mNetworkId = idValue; in getId()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt47703 Landroid/net/NetworkIdentity;->mNetworkId:Ljava/lang/String;
48104 Landroid/net/NetworkTemplate;->mNetworkId:Ljava/lang/String;
50665 Landroid/net/wifi/WifiInfo;->mNetworkId:I
71861 Landroid/telephony/CellIdentityCdma;->mNetworkId:I