Searched defs:networkId (Results 1 - 17 of 17) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DStateChangeResult.java29 StateChangeResult(int networkId, WifiSsid wifiSsid, String BSSID, argument
34 this.networkId = networkId;
37 int networkId; field in class:StateChangeResult
48 sb.append(" nid: ").append(networkId);
H A DWifiConfigManager.java448 // directly by its key or networkId.
503 * Fetch the list of networkId's which are hidden in current user's configuration.
558 // directly by its key or networkId.
684 if (sVDBG) localLogNetwork("selectNetwork", config.networkId);
685 if (config.networkId == INVALID_NETWORK_ID) return false;
688 loge("selectNetwork " + Integer.toString(config.networkId) + ": Network config is not "
697 if (config2.networkId != INVALID_NETWORK_ID) {
715 logd("Setting SSID for WPA supplicant network " + config.networkId + " to "
731 selectNetworkWithoutBroadcast(config.networkId);
748 if (config == null || (config.networkId
1385 tryEnableQualifiedNetwork(int networkId) argument
3128 canModifyNetwork(int uid, int networkId, boolean onlyAnnotate) argument
[all...]
H A DWifiNative.java1703 public int networkId; field in class:WifiNative.PnoNetwork
1716 return ((Objects.equals(ssid, other.ssid)) && (networkId == other.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...]
/frameworks/base/core/java/android/net/
H A DNetworkState.java35 public final String networkId; field in class:NetworkState
39 String networkId) {
45 this.networkId = networkId;
54 networkId = in.readString();
69 out.writeString(networkId);
37 NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, Network network, String subscriberId, String networkId) argument
H A DNetworkIdentity.java61 int type, int subType, String subscriberId, String networkId, boolean roaming,
66 mNetworkId = networkId;
104 builder.append(", networkId=").append(mNetworkId);
172 String networkId = null;
192 if (state.networkId != null) {
193 networkId = state.networkId;
198 networkId = info != null ? info.getSSID() : null;
202 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered);
60 NetworkIdentity( int type, int subType, String subscriberId, String networkId, boolean roaming, boolean metered) argument
H A DNetworkTemplate.java130 public static NetworkTemplate buildTemplateWifi(String networkId) { argument
131 return new NetworkTemplate(MATCH_WIFI, null, networkId);
173 public NetworkTemplate(int matchRule, String subscriberId, String networkId) { argument
174 this(matchRule, subscriberId, new String[] { subscriberId }, networkId);
178 String networkId) {
182 mNetworkId = networkId;
218 builder.append(", networkId=").append(mNetworkId);
497 String networkId = BackupUtils.readString(in);
499 return new NetworkTemplate(matchRule, subscriberId, networkId);
177 NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, String networkId) argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigurationTestUtil.java37 * @param networkId the configuration's networkId
46 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, argument
50 config.networkId = networkId;
65 * @param networkId the configuration's networkId
75 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, argument
78 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn,
H A DWifiConfigManagerTest.java220 assertEquals(i, CONFIGS.get(i).networkId);
234 int networkId = config.networkId;
235 config.networkId = -1;
236 when(mWifiNative.addNetwork()).thenReturn(networkId);
237 when(mWifiNative.getNetworkVariable(networkId, WifiConfiguration.ssidVarName))
280 if (candidate.networkId == expectedConfig.networkId) {
327 mWifiConfigManager.getWifiConfiguration(expectedConfig.networkId);
409 when(mWifiNative.selectNetwork(config.networkId))
1595 checkHasEverConnectedTrue(int networkId) argument
1601 checkHasEverConnectedFalse(int networkId) argument
[all...]
/frameworks/base/telephony/java/android/telephony/cdma/
H A DCdmaCellLocation.java73 this.mNetworkId = bundle.getInt("networkId", mNetworkId);
150 int baseStationLongitude, int systemId, int networkId) {
156 this.mNetworkId = networkId;
217 bundleToFill.putInt("networkId", this.mNetworkId);
149 setCellLocationData(int baseStationId, int baseStationLatitude, int baseStationLongitude, int systemId, int networkId) argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DSupplicantPnoScannerTest.java361 private WifiNative.PnoNetwork createDummyPnoNetwork(String ssid, int networkId, int priority) { argument
364 pnoNetwork.networkId = networkId;
426 order.verify(mWifiNative).setNetworkVariable(network.networkId,
428 order.verify(mWifiNative).enableNetworkWithoutConnect(network.networkId);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DAccessPoint.java115 private int networkId = WifiConfiguration.INVALID_NETWORK_ID; field in class:AccessPoint
183 if (networkId != WifiConfiguration.INVALID_NETWORK_ID
184 && other.networkId == WifiConfiguration.INVALID_NETWORK_ID) return -1;
185 if (networkId == WifiConfiguration.INVALID_NETWORK_ID
186 && other.networkId != WifiConfiguration.INVALID_NETWORK_ID) return 1;
209 result += 23 * networkId;
256 networkId = WifiConfiguration.INVALID_NETWORK_ID;
604 * For ephemeral connections (networkId is invalid), this returns false if the network is
609 (networkId != WifiConfiguration.INVALID_NETWORK_ID ||
632 if (isPasspoint() == false && networkId !
[all...]
H A DWifiTracker.java305 private WifiConfiguration getWifiConfigurationForNetworkId(int networkId) { argument
309 if (mLastInfo != null && networkId == config.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/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 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();
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...]

Completed in 352 milliseconds