Searched refs:networkId (Results 26 - 46 of 46) sorted by relevance

12

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java378 logv("remove wifi configuration: " + wifiConfig.networkId);
379 int netId = wifiConfig.networkId;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSupplicantStateTracker.java311 stateChangeResult.networkId);
312 handleNetworkConnectionFailure(stateChangeResult.networkId,
H A DWifiStateMachine.java930 int networkId; field in class:WifiStateMachine.SimAuthRequestData
1635 // Retrieve the list of hidden networkId's to scan for.
2074 * @param networkId id of the network to be removed
2076 public boolean syncRemoveNetwork(AsyncChannel channel, int networkId) { argument
2077 Message resultMsg = channel.sendMessageSynchronously(CMD_REMOVE_NETWORK, networkId);
2493 sb.append(" nid=").append(lastSavedConfigurationAttempt.networkId);
2518 sb.append(" nid=").append(lastForgetConfigurationAttempt.networkId);
3510 mWifiInfo.setNetworkId(stateChangeResult.networkId);
5517 + " cnid=" + config.networkId
5646 if (config.networkId
8129 autoConnectToNetwork(int networkId, String bssid) argument
8143 autoRoamToNetwork(int networkId, ScanResult scanResult) argument
[all...]
H A DWifiServiceImpl.java204 int networkId = msg.arg1;
207 + " nid=" + Integer.toString(networkId)
214 + " nid=" + Integer.toString(networkId)
224 && networkId != WifiConfiguration.INVALID_NETWORK_ID) {
225 if (DBG) Slog.d(TAG, "Connect with networkId" + networkId);
864 + " nid=" + Integer.toString(config.networkId));
865 if (config.networkId == WifiConfiguration.INVALID_NETWORK_ID) {
1743 removeNetwork(config.networkId);
H A DWifiConnectivityManager.java651 && (currentConnectedNetwork.networkId == candidate.networkId
655 mStateMachine.autoRoamToNetwork(candidate.networkId, scanResultCandidate);
659 mStateMachine.autoConnectToNetwork(candidate.networkId, scanResultCandidate.BSSID);
797 //Retrieve the list of hidden networkId's to scan for.
H A DWifiNative.java1703 public int networkId; field in class:WifiNative.PnoNetwork
1716 return ((Objects.equals(ssid, other.ssid)) && (networkId == other.networkId)
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java216 public int networkId; field in class:WifiConfiguration
1326 networkId = INVALID_NETWORK_ID;
1399 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID).
1833 networkId = source.networkId;
1917 dest.writeInt(networkId);
1988 config.networkId = in.readInt();
H A DWifiManager.java704 * <li>networkId</li>
762 * The {@code networkId} field of the supplied configuration object
778 config.networkId = -1;
788 * are non-<code>null</code>. The {@code networkId} field
790 * @return Returns the {@code networkId} of the supplied
793 * Returns {@code -1} on failure, including when the {@code networkId}
798 if (config == null || config.networkId < 0) {
2025 * Connect to a network with the given networkId.
2030 * @param networkId the network id identifiying the network in the
2037 public void connect(int networkId, ActionListene argument
[all...]
H A DWifiScanner.java176 * list of networkId's of hidden networks to scan for.
177 * These Id's should correspond to the wpa_supplicant's networkId's and will be used
540 public int networkId; field in class:WifiScanner.PnoSettings.PnoNetwork
599 dest.writeInt(networkList[i].networkId);
627 network.networkId = in.readInt();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DWifiTracker.java305 private WifiConfiguration getWifiConfigurationForNetworkId(int networkId) { argument
309 if (mLastInfo != null && networkId == config.networkId &&
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
H A DWifiTrackerTest.java330 config.networkId = configs.size();
333 return config.networkId;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DSupplicantWifiScannerImpl.java676 if (!mWifiNative.setNetworkVariable(network.networkId,
679 Log.e(TAG, "Set priority failed for: " + network.networkId);
682 if (!mWifiNative.enableNetworkWithoutConnect(network.networkId)) {
683 Log.e(TAG, "Enable network failed for: " + network.networkId);
H A DWifiScanningServiceImpl.java1723 nativePnoSetting.networkList[i].networkId = pnoSettings.networkList[i].networkId;
2712 .append(pnoSettings.networkList[i].networkId)
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java627 Log.v(LOG_TAG, "Remove wifi configuration: " + wifiConfig.networkId);
628 int netId = wifiConfig.networkId;
/frameworks/base/telephony/java/android/telephony/
H A DServiceState.java993 mNetworkId = m.getInt("networkId");
1023 m.putInt("networkId", mNetworkId);
1070 public void setSystemAndNetworkId(int systemId, int networkId) { argument
1072 this.mNetworkId = networkId;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DScanTestUtil.java370 assertEquals("networkList[" + i + "].networkId",
371 expected.networkList[i].networkId, actual.networkList[i].networkId);
H A DWifiQualifiedNetworkSelectorTest.java1660 unTrustedNetworkCandidate.networkId = WifiConfiguration.INVALID_NETWORK_ID;
1718 unTrustedNetworkCandidate.networkId = WifiConfiguration.INVALID_NETWORK_ID;
1797 unTrustedNetworkCandidate.networkId = WifiConfiguration.INVALID_NETWORK_ID;
1874 unTrustedNetworkCandidate.networkId = WifiConfiguration.INVALID_NETWORK_ID;
2083 unTrustedNetworkCandidate.networkId = WifiConfiguration.INVALID_NETWORK_ID;
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerService.java263 private static final String ATTR_NETWORK_ID = "networkId";
1499 final String networkId;
1501 networkId = in.getAttributeValue(null, ATTR_NETWORK_ID);
1503 networkId = null;
1550 subscriberId, networkId);
1650 final String networkId = template.getNetworkId();
1651 if (networkId != null) {
1652 out.attribute(null, ATTR_NETWORK_ID, networkId);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DServiceStateTracker.java1018 int networkId = -1;
1040 networkId = Integer.parseInt(states[9]);
1048 baseStationLatitude, baseStationLongitude, systemId, networkId);
1680 int networkId = 0; //[9] networkId
1715 networkId = Integer.parseInt(states[9]);
1750 mNewSS.setSystemAndNetworkId(systemId, networkId);
1758 baseStationLatitude, baseStationLongitude, systemId, networkId);
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUManager.java691 config.networkId);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DWifiScanningServiceTest.java1424 nativePnoSettings.networkList[i].networkId =
1425 requestPnoSettings.networkList[i].networkId;

Completed in 867 milliseconds

12