Home
last modified time | relevance | path

Searched refs:networkId (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DStateChangeResult.java29 StateChangeResult(int networkId, WifiSsid wifiSsid, String BSSID, in StateChangeResult() argument
34 this.networkId = networkId; in StateChangeResult()
37 int networkId; field in StateChangeResult
48 sb.append(" nid: ").append(networkId); in toString()
DSupplicantStateTracker.java290 stateChangeResult.networkId); in enter()
291 handleNetworkConnectionFailure(stateChangeResult.networkId, in enter()
297 stateChangeResult.networkId); in enter()
298 handleNetworkConnectionFailure(stateChangeResult.networkId, in enter()
340 stateChangeResult.networkId); in processMessage()
341 handleNetworkConnectionFailure(stateChangeResult.networkId, in processMessage()
DWifiConfigStore.java776 if(mWifiNative.enableNetwork(config.networkId, false)) { in enableAllNetworks()
788 loge("Enable network failed on " + config.networkId); in enableAllNetworks()
819 if (config.networkId != INVALID_NETWORK_ID) { in selectNetwork()
829 config.networkId = netId; in selectNetwork()
853 if (config == null || (config.networkId == INVALID_NETWORK_ID && in saveNetwork()
857 if (VDBG) localLog("WifiConfigStore: saveNetwork netId", config.networkId); in saveNetwork()
873 boolean newNetwork = (config.networkId == INVALID_NETWORK_ID); in saveNetwork()
896 enableNetworkWithoutBroadcast(conf.networkId, false); in saveNetwork()
953 if (config == null || (config.networkId == INVALID_NETWORK_ID && in saveWifiConfigBSSID()
968 config.networkId, in saveWifiConfigBSSID()
[all …]
DWifiMonitor.java1216 data.networkId = Integer.parseInt(match.group(1)); in handleRequests()
1245 int networkId = -1; in handleSupplicantStateChange() local
1266 networkId = value; in handleSupplicantStateChange()
1284 notifySupplicantStateChange(networkId, wifiSsid, BSSID, newSupplicantState); in handleSupplicantStateChange()
1289 int networkId = -1; in handleNetworkStateChange() local
1301 networkId = Integer.parseInt(match.group(2)); in handleNetworkStateChange()
1303 networkId = -1; in handleNetworkStateChange()
1306 notifyNetworkStateChange(newState, BSSID, networkId, reason); in handleNetworkStateChange()
1362 void notifySupplicantStateChange(int networkId, WifiSsid wifiSsid, String BSSID, in notifySupplicantStateChange() argument
1366 new StateChangeResult(networkId, wifiSsid, BSSID, newState))); in notifySupplicantStateChange()
DWifiAutoJoinController.java467 + Integer.toString(config.networkId)); in updateConfigurationHistory()
1340 if (supplicantNetId != currentConfiguration.networkId in attemptAutoJoin()
1344 && currentConfiguration.networkId != WifiConfiguration.INVALID_NETWORK_ID) { in attemptAutoJoin()
1347 + Integer.toString(currentConfiguration.networkId)); in attemptAutoJoin()
1374 currentNetId = currentConfiguration.networkId; in attemptAutoJoin()
1505 if (config.networkId == currentNetId) { in attemptAutoJoin()
1595 + Integer.toString(config.networkId) + " " in attemptAutoJoin()
1776 + Integer.toString(candidate.networkId) in attemptAutoJoin()
1821 candidate.networkId, networkSwitchType, candidate); in attemptAutoJoin()
1861 + Integer.toString(currentConfiguration.networkId) in attemptAutoJoin()
[all …]
DWifiServiceImpl.java174 int networkId = msg.arg1; in handleMessage() local
177 if (config.networkId == WifiConfiguration.INVALID_NETWORK_ID) { in handleMessage()
184 + " nid=" + Integer.toString(networkId) in handleMessage()
190 if (config.networkId == WifiConfiguration.INVALID_NETWORK_ID) { in handleMessage()
197 + " nid=" + Integer.toString(networkId) in handleMessage()
204 && networkId != WifiConfiguration.INVALID_NETWORK_ID) { in handleMessage()
205 if (DBG) Slog.d(TAG, "Connect with networkId" + networkId); in handleMessage()
882 + " nid=" + Integer.toString(config.networkId)); in addOrUpdateNetwork()
883 if (config.networkId == WifiConfiguration.INVALID_NETWORK_ID) { in addOrUpdateNetwork()
DWifiStateMachine.java786 int networkId; field in WifiStateMachine.SimAuthRequestData
2197 public boolean syncRemoveNetwork(AsyncChannel channel, int networkId) { in syncRemoveNetwork() argument
2198 Message resultMsg = channel.sendMessageSynchronously(CMD_REMOVE_NETWORK, networkId); in syncRemoveNetwork()
2556 sb.append(" nid=").append(lastSavedConfigurationAttempt.networkId); in getLogRecString()
2581 sb.append(" nid=").append(lastForgetConfigurationAttempt.networkId); in getLogRecString()
4276 mWifiInfo.setNetworkId(stateChangeResult.networkId); in handleSupplicantStateChange()
6385 if (config.networkId == mLastNetworkId) { in processMessage()
6425 mWifiConfigStore.handleSSIDStateChange(targetWificonfiguration.networkId, in processMessage()
6580 config.networkId + " configKey=" + configKey); in processMessage()
6599 + " cnid=" + config.networkId in processMessage()
[all …]
/frameworks/base/core/java/android/net/
DNetworkState.java34 public final String networkId; field in NetworkState
38 String networkId) { in NetworkState() argument
44 this.networkId = networkId; in NetworkState()
53 networkId = in.readString(); in NetworkState()
68 out.writeString(networkId); in writeToParcel()
DNetworkIdentity.java60 int type, int subType, String subscriberId, String networkId, boolean roaming) { in NetworkIdentity() argument
64 mNetworkId = networkId; in NetworkIdentity()
163 String networkId = null; in buildNetworkIdentity() local
175 if (state.networkId != null) { in buildNetworkIdentity()
176 networkId = state.networkId; in buildNetworkIdentity()
181 networkId = info != null ? info.getSSID() : null; in buildNetworkIdentity()
185 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming); in buildNetworkIdentity()
DNetworkTemplate.java130 public static NetworkTemplate buildTemplateWifi(String networkId) { in buildTemplateWifi() argument
131 return new NetworkTemplate(MATCH_WIFI, null, networkId); in buildTemplateWifi()
165 public NetworkTemplate(int matchRule, String subscriberId, String networkId) { in NetworkTemplate() argument
166 this(matchRule, subscriberId, new String[] { subscriberId }, networkId); in NetworkTemplate()
170 String networkId) { in NetworkTemplate() argument
174 mNetworkId = networkId; in NetworkTemplate()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkIdentitySet.java51 final String networkId; in NetworkIdentitySet() local
53 networkId = readOptionalString(in); in NetworkIdentitySet()
55 networkId = null; in NetworkIdentitySet()
64 add(new NetworkIdentity(type, subType, subscriberId, networkId, false)); in NetworkIdentitySet()
DNetworkPolicyManagerService.java1264 final String networkId; in readPolicyLocked() local
1266 networkId = in.getAttributeValue(null, ATTR_NETWORK_ID); in readPolicyLocked()
1268 networkId = null; in readPolicyLocked()
1315 subscriberId, networkId); in readPolicyLocked()
1398 final String networkId = template.getNetworkId(); in writePolicyLocked() local
1399 if (networkId != null) { in writePolicyLocked()
1400 out.attribute(null, ATTR_NETWORK_ID, networkId); in writePolicyLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java121 if (DEBUG) Log.d(TAG, "connect networkId=" + ap.networkId); in connect()
122 if (ap.networkId < 0) { in connect()
137 mWifiManager.connect(ap.networkId, mConnectListener); in connect()
193 ap.networkId = config != null ? config.networkId : AccessPoint.NO_NETWORK; in updateAccessPoints()
198 ap.isConnected = (ap.networkId != AccessPoint.NO_NETWORK in updateAccessPoints()
199 && ap.networkId == connectedNetworkId) || in updateAccessPoints()
200 (ap.networkId == WifiConfiguration.INVALID_NETWORK_ID && wifiInfo != null && in updateAccessPoints()
DNetworkController.java64 public int networkId; field in NetworkController.AccessPointController.AccessPoint
DNetworkControllerImpl.java931 if (networks.get(i).networkId == info.getNetworkId()) { in getSsid()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java128 if (c.networkId == netId && c.SSID.equals(config.SSID)) { in testAddRemoveNetwork()
142 if (c.networkId == netId) { in testAddRemoveNetwork()
168 if (c.networkId == netId) { in testEnableDisableNetwork()
182 if (c.networkId == netId) { in testEnableDisableNetwork()
/frameworks/base/telephony/java/android/telephony/cdma/
DCdmaCellLocation.java149 int baseStationLongitude, int systemId, int networkId) { in setCellLocationData() argument
155 this.mNetworkId = networkId; in setCellLocationData()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java200 public int networkId; field in WifiConfiguration
861 networkId = INVALID_NETWORK_ID; in WifiConfiguration()
1044 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID). in toString()
1494 networkId = source.networkId; in WifiConfiguration()
1591 dest.writeInt(networkId); in writeToParcel()
1656 config.networkId = in.readInt();
DWifiManager.java643 config.networkId = -1; in addNetwork()
663 if (config == null || config.networkId < 0) { in updateNetwork()
1919 public void connect(int networkId, ActionListener listener) { in connect() argument
1920 if (networkId < 0) throw new IllegalArgumentException("Network id cannot be negative"); in connect()
1922 sAsyncChannel.sendMessage(CONNECT_NETWORK, networkId, putListener(listener)); in connect()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java378 logv("remove wifi configuration: " + wifiConfig.networkId); in disconnectAP()
379 int netId = wifiConfig.networkId; in disconnectAP()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaServiceStateTracker.java363 int networkId = -1; in handleMessage() local
385 networkId = Integer.parseInt(states[9]); in handleMessage()
393 baseStationLongitude, systemId, networkId); in handleMessage()
662 int networkId = 0; //[9] networkId in handlePollStateResultMessage() local
697 networkId = Integer.parseInt(states[9]); in handlePollStateResultMessage()
732 mNewSS.setSystemAndNetworkId(systemId, networkId); in handlePollStateResultMessage()
740 baseStationLongitude, systemId, networkId); in handlePollStateResultMessage()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java627 Log.v(LOG_TAG, "Remove wifi configuration: " + wifiConfig.networkId); in disconnectAP()
628 int netId = wifiConfig.networkId; in disconnectAP()
/frameworks/base/telephony/java/android/telephony/
DServiceState.java977 public void setSystemAndNetworkId(int systemId, int networkId) { in setSystemAndNetworkId() argument
979 this.mNetworkId = networkId; in setSystemAndNetworkId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DWifiTile.java335 } else if (ap.networkId >= 0) { in updateItems()
/frameworks/base/api/
Dsystem-current.txt19343 field public int networkId;

12