/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 | WifiConfigManager.java | 92 * methods of this class using the configuration's unique networkId. 162 void onSavedNetworkAdded(int networkId); argument 166 void onSavedNetworkEnabled(int networkId); argument 170 void onSavedNetworkPermanentlyDisabled(int networkId, int disableReason); argument 174 void onSavedNetworkRemoved(int networkId); argument 178 void onSavedNetworkTemporarilyDisabled(int networkId, int disableReason); argument 182 void onSavedNetworkUpdated(int networkId); argument 516 * Retrieves the configured network corresponding to the provided networkId with password 519 * @param networkId networkId o 522 getConfiguredNetwork(int networkId) argument 559 getConfiguredNetworkWithPassword(int networkId) argument 579 getConfiguredNetworkWithoutMasking(int networkId) argument 618 getInternalConfiguredNetwork(int networkId) argument 1169 removeNetwork(int networkId, int uid) argument 1416 updateNetworkSelectionStatus(int networkId, int reason) argument 1431 updateNetworkNotRecommended(int networkId, boolean notRecommended) argument 1486 tryEnableNetwork(int networkId) argument 1503 enableNetwork(int networkId, boolean disableOthers, int uid) argument 1538 disableNetwork(int networkId, int uid) argument 1573 updateLastConnectUid(int networkId, int uid) argument 1602 updateNetworkAfterConnect(int networkId) argument 1629 updateNetworkAfterDisconnect(int networkId) argument 1654 setNetworkDefaultGwMacAddress(int networkId, String macAddress) argument 1670 setNetworkRandomizedMacAddress(int networkId, MacAddress macAddress) argument 1690 clearNetworkCandidateScanResult(int networkId) argument 1717 setNetworkCandidateScanResult(int networkId, ScanResult scanResult, int score) argument 1764 clearNetworkConnectChoice(int networkId) argument 1792 setNetworkConnectChoice( int networkId, String connectChoiceConfigKey, long timestamp) argument 1813 incrementNetworkNoInternetAccessReports(int networkId) argument 1829 setNetworkValidatedInternetAccess(int networkId, boolean validated) argument 1847 setNetworkNoInternetAccessExpected(int networkId, boolean expected) argument 1873 setLastSelectedNetwork(int networkId) argument 1924 getScanDetailCacheForNetwork(int networkId) argument 2080 updateScanDetailForNetwork(int networkId, ScanDetail scanDetail) argument 2291 fetchChannelSetForNetworkForPartialScan(int networkId, long ageInMillis, int homeChannelFreq) argument [all...] |
H A D | SavedNetworkEvaluator.java | 108 mWifiConfigManager.tryEnableNetwork(network.networkId); 114 mWifiConfigManager.clearNetworkCandidateScanResult(network.networkId); 177 && lastUserSelectedNetworkId == network.networkId) { 190 && (network.networkId == currentNetwork.networkId 291 network.networkId, scanResult, score); 304 mWifiConfigManager.getConfiguredNetwork(network.networkId))); 314 network.networkId, scanResultCandidate, highestScore); 316 candidate = mWifiConfigManager.getConfiguredNetwork(network.networkId);
|
H A D | ConfigurationMap.java | 30 final WifiConfiguration current = mPerID.put(config.networkId, config); 33 mPerIDForCurrentUser.put(config.networkId, config); 51 if (scanResultMatchInfoEntries.next().getValue().networkId == netID) {
|
H A D | WifiMonitor.java | 382 * @param networkId ID of the network in wpa_supplicant. 385 public void broadcastNetworkIdentityRequestEvent(String iface, int networkId, String ssid) { argument 386 sendMessage(iface, SUP_REQUEST_IDENTITY, 0, networkId, ssid); 394 * @param networkId ID of the network in wpa_supplicant. 398 public void broadcastNetworkGsmAuthRequestEvent(String iface, int networkId, String ssid, argument 401 new SimAuthRequestData(networkId, WifiEnterpriseConfig.Eap.SIM, ssid, data)); 409 * @param networkId ID of the network in wpa_supplicant. 413 public void broadcastNetworkUmtsAuthRequestEvent(String iface, int networkId, String ssid, argument 416 new SimAuthRequestData(networkId, WifiEnterpriseConfig.Eap.AKA, ssid, data)); 496 * @param networkId I 499 broadcastNetworkConnectionEvent(String iface, int networkId, String bssid) argument 524 broadcastSupplicantStateChangeEvent(String iface, int networkId, WifiSsid wifiSsid, String bssid, SupplicantState newSupplicantState) argument [all...] |
H A D | ScoredNetworkEvaluator.java | 174 && currentNetwork.networkId == configuredNetwork.networkId 247 mWifiConfigManager.setNetworkCandidateScanResult(config.networkId, scanResult, 0); 267 mWifiConfigManager.setNetworkCandidateScanResult(config.networkId, scanResult, 0); 280 candidateNetworkId = mEphemeralConfig.networkId; 316 candidateNetworkId = mSavedConfig.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(mWifiNative.getClientInterfaceName(), networkId);
|
H A D | WifiNetworkSelector.java | 145 + " , ID: " + network.networkId); 260 return (network.SSID + ":" + network.networkId); 441 if (network.networkId == selected.networkId) { 445 + network.SSID + " : " + network.networkId); 446 mWifiConfigManager.clearNetworkConnectChoice(network.networkId); 457 mWifiConfigManager.setNetworkConnectChoice(network.networkId, key, currentTime);
|
H A D | WifiConnectivityManager.java | 531 public void onSavedNetworkAdded(int networkId) { argument 535 public void onSavedNetworkEnabled(int networkId) { argument 539 public void onSavedNetworkRemoved(int networkId) { argument 543 public void onSavedNetworkUpdated(int networkId) { argument 549 public void onSavedNetworkTemporarilyDisabled(int networkId, int disableReason) { argument 551 mConnectivityHelper.removeNetworkIfCurrent(networkId); 554 public void onSavedNetworkPermanentlyDisabled(int networkId, int disableReason) { argument 555 mConnectivityHelper.removeNetworkIfCurrent(networkId); 750 && (currentConnectedNetwork.networkId == candidate.networkId [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkState.java | 38 public final String networkId; field in class:NetworkState 42 String networkId) { 48 this.networkId = networkId; 67 networkId = in.readString(); 82 out.writeString(networkId); 40 NetworkState(NetworkInfo networkInfo, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, Network network, String subscriberId, String networkId) argument
|
H A D | NetworkIdentity.java | 64 int type, int subType, String subscriberId, String networkId, boolean roaming, 69 mNetworkId = networkId; 110 builder.append(", networkId=").append(mNetworkId); 202 String networkId = null; 220 if (state.networkId != null) { 221 networkId = state.networkId; 226 networkId = info != null ? info.getSSID() : null; 230 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered, 63 NetworkIdentity( int type, int subType, String subscriberId, String networkId, boolean roaming, boolean metered, boolean defaultNetwork) argument
|
H A D | NetworkTemplate.java | 128 public static NetworkTemplate buildTemplateWifi(String networkId) { argument 129 return new NetworkTemplate(MATCH_WIFI, null, networkId); 176 public NetworkTemplate(int matchRule, String subscriberId, String networkId) { argument 177 this(matchRule, subscriberId, new String[] { subscriberId }, networkId); 181 String networkId) { 182 this(matchRule, subscriberId, matchSubscriberIds, networkId, METERED_ALL, ROAMING_ALL, 187 String networkId, int metered, int roaming, int defaultNetwork) { 191 mNetworkId = networkId; 241 builder.append(", networkId=").append(mNetworkId); 508 String networkId 180 NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, String networkId) argument 186 NetworkTemplate(int matchRule, String subscriberId, String[] matchSubscriberIds, String networkId, int metered, int roaming, int defaultNetwork) argument [all...] |
H A D | INetworkPolicyManager.aidl | 65 void setWifiMeteredOverride(String networkId, int meteredOverride);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | ConfigurationMapTest.java | 145 assertEquals(config, mConfigs.getForAllUsers(config.networkId)); 151 assertEquals(config, mConfigs.getForCurrentUser(config.networkId)); 164 assertNull(mConfigs.getForCurrentUser(config.networkId)); 241 config2.networkId = config1.networkId; 256 assertEquals(config2, mConfigs.remove(config2.networkId)); 303 config.networkId = 5; 309 mConfigs.remove(config.networkId); 321 config.networkId = 5;
|
H A D | WifiConfigManagerTest.java | 270 verify(mWcmListener).onSavedNetworkAdded(openNetwork.networkId); 282 verify(mWcmListener).onSavedNetworkUpdated(openNetwork.networkId); 306 verify(mWcmListener, never()).onSavedNetworkAdded(ephemeralNetwork.networkId); 478 verify(mWcmListener).onSavedNetworkAdded(openNetwork.networkId); 487 verify(mWcmListener).onSavedNetworkRemoved(openNetwork.networkId); 502 verify(mWcmListener, never()).onSavedNetworkAdded(ephemeralNetwork.networkId); 507 verify(mWcmListener, never()).onSavedNetworkRemoved(ephemeralNetwork.networkId); 521 verify(mWcmListener, never()).onSavedNetworkAdded(passpointNetwork.networkId); 526 verify(mWcmListener, never()).onSavedNetworkRemoved(passpointNetwork.networkId); 544 assertTrue(mWifiConfigManager.removeNetwork(passpointNetwork.networkId, Proces 3566 verifyAddOrUpdateNetworkWithProxySettingsAndPermissions( boolean withNetworkSettings, boolean withProfileOwnerPolicy, boolean withDeviceOwnerPolicy, IpConfiguration ipConfiguration, boolean assertSuccess, int networkId) argument 4097 verifyUpdateNetworkSelectionStatus( int networkId, int reason, int temporaryDisableReasonCounter) argument 4239 verifyUpdateNetworkAfterConnectHasEverConnectedTrue(int networkId) argument [all...] |
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 | WifiStateMachineTest.java | 698 int networkId = TEST_NETWORK_ID; 700 .thenReturn(new NetworkUpdateResult(networkId)); 701 when(mWifiConfigManager.enableNetwork(eq(networkId), eq(false), anyInt())) 710 verify(mWifiConfigManager).enableNetwork(eq(networkId), eq(false), anyInt()); 773 int networkId = 5; 775 .thenReturn(new NetworkUpdateResult(networkId)); 776 when(mWifiConfigManager.enableNetwork(eq(networkId), eq(false), anyInt())) 785 verify(mWifiConfigManager).enableNetwork(eq(networkId), eq(false), anyInt()); 804 config.networkId = FRAMEWORK_NETWORK_ID; 859 when(mWifiConfigManager.enableNetwork(eq(config.networkId), e [all...] |
H A D | WifiMonitorTest.java | 256 int networkId = NETWORK_ID; 259 mWifiMonitor.broadcastNetworkGsmAuthRequestEvent(WLAN_IFACE_NAME, networkId, ssid, data); 267 assertEquals(networkId, authData.networkId); 280 int networkId = NETWORK_ID; 283 mWifiMonitor.broadcastNetworkUmtsAuthRequestEvent(WLAN_IFACE_NAME, networkId, ssid, data); 291 assertEquals(networkId, authData.networkId); 423 int networkId = NETWORK_ID; 425 mWifiMonitor.broadcastNetworkConnectionEvent(WLAN_IFACE_NAME, networkId, bssi [all...] |
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
H A D | AccessPointTest.java | 283 wifiInfo.setNetworkId(configuration.networkId); 299 wifiInfo.setNetworkId(configuration.networkId); 332 wifiInfo.setNetworkId(configuration.networkId); 466 int networkId = 123; 470 config.networkId = networkId; 472 wifiInfo.setNetworkId(networkId); 481 .setNetworkId(networkId) 551 configuration.networkId = 123; 661 int networkId [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkIdentitySet.java | 57 final String networkId; 59 networkId = readOptionalString(in); 61 networkId = null; 87 add(new NetworkIdentity(type, subType, subscriberId, networkId, roaming, metered,
|
/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/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
H A D | WifiClientTest.java | 128 if (c.networkId == netId && c.SSID.equals(config.SSID)) { 142 if (c.networkId == netId) { 168 if (c.networkId == netId) { 182 if (c.networkId == netId) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | SupplicantP2pIfaceHal.java | 1095 * @param networkId Used to specify the persistent group. 1100 public boolean reinvoke(int networkId, String peerAddress) { argument 1101 if (TextUtils.isEmpty(peerAddress) || networkId < 0) return false; 1117 "reinvoke(" + networkId + ", " + peerAddress + ")"); 1119 result.setResult(mISupplicantP2pIface.reinvoke(networkId, macAddress)); 1135 * @param networkId Used to specify the restart of a persistent group. 1140 public boolean groupAdd(int networkId, boolean isPersistent) { argument 1144 new SupplicantResult("groupAdd(" + networkId + ", " + isPersistent + ")"); 1146 result.setResult(mISupplicantP2pIface.addGroup(isPersistent, networkId)); 1157 * This is a helper method that invokes groupAdd(networkId, isPersisten 1838 removeNetwork(int networkId) argument 1883 getNetwork(int networkId) argument 2207 setClientList(int networkId, String clientListStr) argument 2244 getClientList(int networkId) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | AccessPointControllerImpl.java | 116 if (DEBUG) Log.d(TAG, "connect networkId=" + ap.getConfig().networkId); 118 mWifiTracker.getManager().connect(ap.getConfig().networkId, mConnectListener);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | NetworkPolicyEditor.java | 218 final String networkId = template.getNetworkId(); 219 final String strippedNetworkId = WifiInfo.removeDoubleQuotes(networkId); 220 if (!TextUtils.equals(strippedNetworkId, networkId)) {
|