/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | StateChangeResult.java | 29 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 D | WifiConnectivityHelper.java | 166 * Remove the request |networkId| from supplicant if it's the current network, 167 * if the current configured network matches |networkId|. 169 * @param networkId network id of the network to be removed from supplicant. 171 public void removeNetworkIfCurrent(int networkId) { argument 172 mWifiNative.removeNetworkIfCurrent(networkId);
|
H A D | WifiMonitor.java | 400 * @param networkId ID of the network in wpa_supplicant. 403 public void broadcastNetworkIdentityRequestEvent(String iface, int networkId, String ssid) { argument 404 sendMessage(iface, SUP_REQUEST_IDENTITY, 0, networkId, ssid); 412 * @param networkId ID of the network in wpa_supplicant. 416 public void broadcastNetworkGsmAuthRequestEvent(String iface, int networkId, String ssid, argument 419 new SimAuthRequestData(networkId, WifiEnterpriseConfig.Eap.SIM, ssid, data)); 427 * @param networkId ID of the network in wpa_supplicant. 431 public void broadcastNetworkUmtsAuthRequestEvent(String iface, int networkId, String ssid, argument 434 new SimAuthRequestData(networkId, WifiEnterpriseConfig.Eap.AKA, ssid, data)); 512 * @param networkId I 515 broadcastNetworkConnectionEvent(String iface, int networkId, String bssid) argument 540 broadcastSupplicantStateChangeEvent(String iface, int networkId, WifiSsid wifiSsid, String bssid, SupplicantState newSupplicantState) argument [all...] |
H A D | SupplicantStaIfaceHal.java | 261 return mCurrentNetworkLocalConfig.networkId; 444 if (getCurrentNetworkId() != config.networkId) { 477 for (Integer networkId : networkIds) { 478 SupplicantStaNetworkHal network = getNetwork(networkId); 480 Log.e(TAG, "Failed to get network with ID: " + networkId); 492 Log.e(TAG, "Failed to load wifi configuration for network with ID: " + networkId 500 networkExtras.put(networkId, networkExtra); 505 Log.i(TAG, "Replacing duplicate network: " + duplicateConfig.networkId); 506 removeNetwork(duplicateConfig.networkId); 507 networkExtras.remove(duplicateConfig.networkId); 519 removeNetworkIfCurrent(int networkId) argument [all...] |
H A D | WifiConfigManager.java | 91 * methods of this class using the configuration's unique networkId. 157 void onSavedNetworkAdded(int networkId); argument 161 void onSavedNetworkEnabled(int networkId); argument 165 void onSavedNetworkPermanentlyDisabled(int networkId); argument 169 void onSavedNetworkRemoved(int networkId); argument 173 void onSavedNetworkTemporarilyDisabled(int networkId); argument 177 void onSavedNetworkUpdated(int networkId); argument 501 * Retrieves the configured network corresponding to the provided networkId with password 504 * @param networkId networkId o 507 getConfiguredNetwork(int networkId) argument 544 getConfiguredNetworkWithPassword(int networkId) argument 585 getInternalConfiguredNetwork(int networkId) argument 1107 removeNetwork(int networkId, int uid) argument 1323 updateNetworkSelectionStatus(int networkId, int reason) argument 1338 updateNetworkNotRecommended(int networkId, boolean notRecommended) argument 1393 tryEnableNetwork(int networkId) argument 1410 enableNetwork(int networkId, boolean disableOthers, int uid) argument 1445 disableNetwork(int networkId, int uid) argument 1485 checkAndUpdateLastConnectUid(int networkId, int uid) argument 1519 updateNetworkAfterConnect(int networkId) argument 1546 updateNetworkAfterDisconnect(int networkId) argument 1571 setNetworkDefaultGwMacAddress(int networkId, String macAddress) argument 1591 clearNetworkCandidateScanResult(int networkId) argument 1618 setNetworkCandidateScanResult(int networkId, ScanResult scanResult, int score) argument 1665 clearNetworkConnectChoice(int networkId) argument 1693 setNetworkConnectChoice( int networkId, String connectChoiceConfigKey, long timestamp) argument 1714 incrementNetworkNoInternetAccessReports(int networkId) argument 1730 setNetworkValidatedInternetAccess(int networkId, boolean validated) argument 1748 setNetworkNoInternetAccessExpected(int networkId, boolean expected) argument 1774 setLastSelectedNetwork(int networkId) argument 1825 getScanDetailCacheForNetwork(int networkId) argument 1978 updateScanDetailForNetwork(int networkId, ScanDetail scanDetail) argument 2189 fetchChannelSetForNetworkForPartialScan(int networkId, long ageInMillis, int homeChannelFreq) argument [all...] |
H A D | WifiConnectivityManager.java | 491 public void onSavedNetworkAdded(int networkId) { argument 495 public void onSavedNetworkEnabled(int networkId) { argument 499 public void onSavedNetworkRemoved(int networkId) { argument 503 public void onSavedNetworkUpdated(int networkId) { argument 507 public void onSavedNetworkTemporarilyDisabled(int networkId) { argument 508 mConnectivityHelper.removeNetworkIfCurrent(networkId); 511 public void onSavedNetworkPermanentlyDisabled(int networkId) { argument 512 mConnectivityHelper.removeNetworkIfCurrent(networkId); 698 && (currentConnectedNetwork.networkId == candidate.networkId [all...] |
H A D | WifiNative.java | 791 /** Remove the request |networkId| from supplicant if it's the current network, 792 * if the current configured network matches |networkId|. 794 * @param networkId network id of the network to be removed from supplicant. 796 public void removeNetworkIfCurrent(int networkId) { argument 797 mSupplicantStaIfaceHal.removeNetworkIfCurrent(networkId);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkState.java | 35 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 D | NetworkIdentity.java | 63 int type, int subType, String subscriberId, String networkId, boolean roaming, 68 mNetworkId = networkId; 106 builder.append(", networkId=").append(mNetworkId); 191 String networkId = null; 209 if (state.networkId != null) { 210 networkId = state.networkId; 215 networkId = info != null ? info.getSSID() : null; 219 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered); 62 NetworkIdentity( int type, int subType, String subscriberId, String networkId, boolean roaming, boolean metered) argument
|
H A D | NetworkTemplate.java | 130 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 D | SupplicantStateTrackerTest.java | 63 private Message getSupplicantStateChangeMessage(int networkId, WifiSsid wifiSsid, argument 66 new StateChangeResult(networkId, wifiSsid, bssid, newSupplicantState));
|
H A D | WifiNetworkSelectorTestUtil.java | 106 eq(chosenCandidate.networkId), eq(chosenScanResult), anyInt()); 186 if (netId == config.networkId) { 358 * @param networkId ID of the ephemeral network 363 int networkId, ScanDetail scanDetail, boolean meteredHint) { 366 .thenReturn(new NetworkUpdateResult(networkId)); 370 config.networkId = networkId; 375 when(wifiConfigManager.getConfiguredNetwork(eq(networkId))) 382 eq(networkId), any(ScanResult.class), anyInt())) 392 when(wifiConfigManager.updateNetworkSelectionStatus(eq(networkId), 362 setupEphemeralNetwork(WifiConfigManager wifiConfigManager, int networkId, ScanDetail scanDetail, boolean meteredHint) argument [all...] |
H A D | SupplicantStaNetworkHalTest.java | 212 mSupplicantVariables.networkId = 5; 216 assertEquals(mSupplicantVariables.networkId, loadConfig.networkId); 718 eq(IFACE_NAME), eq(config.networkId), eq(config.SSID), eq(expectedRands)); 743 eq(IFACE_NAME), eq(config.networkId), eq(config.SSID), eq(expectedRands)); 759 eq(IFACE_NAME), eq(config.networkId), eq(config.SSID)); 834 cb.onValues(mStatusSuccess, mSupplicantVariables.networkId); 1295 public int networkId; field in class:SupplicantStaNetworkHalTest.SupplicantNetworkVariables
|
H A D | WifiConfigurationTestUtil.java | 92 * @param networkId the configuration's networkId 101 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, argument 105 config.networkId = networkId; 117 * @param networkId the configuration's networkId 127 public static WifiConfiguration generateWifiConfig(int networkId, int uid, String ssid, argument 130 WifiConfiguration config = generateWifiConfig(networkId, uid, ssid, shared, enabled, fqdn, 536 * This importantly checks that the networkId' [all...] |
H A D | WifiConfigManagerTest.java | 250 verify(mWcmListener).onSavedNetworkAdded(openNetwork.networkId); 262 verify(mWcmListener).onSavedNetworkUpdated(openNetwork.networkId); 286 verify(mWcmListener, never()).onSavedNetworkAdded(ephemeralNetwork.networkId); 458 verify(mWcmListener).onSavedNetworkAdded(openNetwork.networkId); 467 verify(mWcmListener).onSavedNetworkRemoved(openNetwork.networkId); 482 verify(mWcmListener, never()).onSavedNetworkAdded(ephemeralNetwork.networkId); 487 verify(mWcmListener, never()).onSavedNetworkRemoved(ephemeralNetwork.networkId); 501 verify(mWcmListener, never()).onSavedNetworkAdded(passpointNetwork.networkId); 506 verify(mWcmListener, never()).onSavedNetworkRemoved(passpointNetwork.networkId); 524 assertTrue(mWifiConfigManager.removeNetwork(passpointNetwork.networkId, Proces 3244 verifyAddOrUpdateNetworkWithProxySettingsAndPermissions( boolean withConfOverride, boolean withProfileOwnerPolicy, boolean withDeviceOwnerPolicy, IpConfiguration ipConfiguration, boolean assertSuccess, int networkId) argument 3762 verifyUpdateNetworkSelectionStatus( int networkId, int reason, int temporaryDisableReasonCounter) argument 3920 verifyUpdateNetworkAfterConnectHasEverConnectedTrue(int networkId) argument [all...] |
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
H A D | TestAccessPointBuilder.java | 58 wifiConfig.networkId = mNetworkId; 165 * Set the networkId in the WifiConfig. 170 public TestAccessPointBuilder setNetworkId(int networkId) { argument 171 mNetworkId = networkId;
|
/frameworks/base/telephony/java/android/telephony/cdma/ |
H A D | CdmaCellLocation.java | 73 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/service/java/com/android/server/wifi/util/ |
H A D | TelephonyUtil.java | 292 public SimAuthRequestData(int networkId, int protocol, String ssid, String[] data) { argument 293 this.networkId = networkId; 299 public int networkId; field in class:TelephonyUtil.SimAuthRequestData
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | SupplicantP2pIfaceCallback.java | 62 * @param networkId Network ID allocated to the corresponding network. 64 public void onNetworkAdded(int networkId) { argument 71 * @param networkId Network ID allocated to the corresponding network. 73 public void onNetworkRemoved(int networkId) { argument
|
H A D | SupplicantP2pIfaceHal.java | 961 * @param networkId Used to specify the persistent group. 966 public boolean reinvoke(int networkId, String peerAddress) { argument 967 if (TextUtils.isEmpty(peerAddress) || networkId < 0) return false; 983 "reinvoke(" + networkId + ", " + peerAddress + ")"); 985 result.setResult(mISupplicantP2pIface.reinvoke(networkId, macAddress)); 1001 * @param networkId Used to specify the restart of a persistent group. 1006 public boolean groupAdd(int networkId, boolean isPersistent) { argument 1010 new SupplicantResult("groupAdd(" + networkId + ", " + isPersistent + ")"); 1012 result.setResult(mISupplicantP2pIface.addGroup(isPersistent, networkId)); 1023 * This is a helper method that invokes groupAdd(networkId, isPersisten 1704 removeNetwork(int networkId) argument 1749 getNetwork(int networkId) argument 2073 setClientList(int networkId, String clientListStr) argument 2110 getClientList(int networkId) argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | AccessPoint.java | 135 private int networkId = WifiConfiguration.INVALID_NETWORK_ID; field in class:AccessPoint 241 this.networkId = that.networkId; 311 result += 23 * networkId; 444 networkId = WifiConfiguration.INVALID_NETWORK_ID; 855 * For ephemeral connections (networkId is invalid), this returns false if the network is 860 (networkId != WifiConfiguration.INVALID_NETWORK_ID || 893 if (isPasspoint() == false && networkId != WifiConfiguration.INVALID_NETWORK_ID) { 894 return networkId == info.getNetworkId(); 907 return networkId ! [all...] |
H A D | WifiTracker.java | 441 private WifiConfiguration getWifiConfigurationForNetworkId(int networkId) { argument 445 if (mLastInfo != null && networkId == config.networkId &&
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | ServiceState.java | 1021 mNetworkId = m.getInt("networkId"); 1052 m.putInt("networkId", mNetworkId); 1110 public void setSystemAndNetworkId(int systemId, int networkId) { argument 1112 this.mNetworkId = networkId;
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 231 public int networkId; field in class:WifiConfiguration 1403 networkId = INVALID_NETWORK_ID; 1479 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID). 1939 networkId = source.networkId; 2019 dest.writeInt(networkId); 2086 config.networkId = in.readInt();
|
H A D | WifiManager.java | 946 * <li>networkId</li> 1020 * The {@code networkId} field of the supplied configuration object 1038 config.networkId = -1; 1048 * are non-<code>null</code>. The {@code networkId} field 1052 * @return Returns the {@code networkId} of the supplied 1055 * Returns {@code -1} on failure, including when the {@code networkId} 1060 if (config == null || config.networkId < 0) { 2799 * Connect to a network with the given networkId. 2804 * @param networkId the ID of the network as returned by {@link #addNetwork} or {@link 2811 public void connect(int networkId, ActionListene argument [all...] |