/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | ServiceStateTracker.java | 1018 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/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | ConfigurationMap.java | 39 final WifiConfiguration current = mPerID.put(config.networkId, config); 43 mPerIDForCurrentUser.put(config.networkId, config); 48 mHiddenNetworkIdsForCurrentUser.add(config.networkId); 65 if (entries.next().getValue().networkId == netID) { 108 mHiddenNetworkIdsForCurrentUser.add(config.networkId);
|
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 | SupplicantStateTracker.java | 311 stateChangeResult.networkId); 312 handleNetworkConnectionFailure(stateChangeResult.networkId,
|
H A D | WifiConfigManager.java | 448 // 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 D | WifiConfigStore.java | 254 if (VDBG) localLog("readNetworkVariables: " + config.networkId); 255 int netId = config.networkId; 339 readNetworkBitsetVariable(config.networkId, config.allowedProtocols, 342 readNetworkBitsetVariable(config.networkId, config.allowedKeyManagement, 345 readNetworkBitsetVariable(config.networkId, config.allowedAuthAlgorithms, 348 readNetworkBitsetVariable(config.networkId, config.allowedPairwiseCiphers, 351 readNetworkBitsetVariable(config.networkId, config.allowedGroupCiphers, 391 config.networkId = Integer.parseInt(result[0]); 392 last_id = config.networkId; 402 Map<String, String> extras = mWifiNative.getNetworkExtra(config.networkId, [all...] |
H A D | WifiConnectivityManager.java | 651 && (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 D | WifiMonitor.java | 1330 data.networkId = Integer.parseInt(matchGsm.group(1)); 1336 data.networkId = Integer.parseInt(matchUmts.group(1)); 1367 int networkId = -1; 1388 networkId = value; 1407 new StateChangeResult(networkId, wifiSsid, BSSID, newSupplicantState)); 1413 int networkId = -1; 1425 networkId = Integer.parseInt(match.group(2)); 1427 networkId = -1; 1430 sendMessage(iface, NETWORK_CONNECTION_EVENT, networkId, reason, BSSID);
|
H A D | WifiNative.java | 1703 public int networkId; field in class:WifiNative.PnoNetwork 1716 return ((Objects.equals(ssid, other.ssid)) && (networkId == other.networkId)
|
H A D | WifiNetworkHistory.java | 171 + " nid:" + config.networkId 204 + Integer.toString(config.networkId) + NL); 376 Log.w(TAG, "Upgrading network " + config.networkId 634 ScanDetailCache cache = scanDetailCaches.get(config.networkId); 635 if (cache == null && config.networkId != WifiConfiguration.INVALID_NETWORK_ID) { 637 scanDetailCaches.put(config.networkId, cache);
|
H A D | WifiQualifiedNetworkSelector.java | 205 return (network.SSID + ":" + network.networkId); 223 + currentNetwork.networkId); 399 + network.networkId + " final score:" + score + "\n\n"); 416 WifiConfiguration config = mWifiConfigManager.getWifiConfiguration(network.networkId); 422 mWifiConfigManager.tryEnableQualifiedNetwork(network.networkId); 487 WifiConfiguration config = mWifiConfigManager.getWifiConfiguration(network.networkId); 489 if (config.networkId == selected.networkId) { 493 + config.SSID + " : " + config.networkId); 776 (lastUserSelectedNetwork == null ? false : lastUserSelectedNetwork.networkId [all...] |
H A D | WifiServiceImpl.java | 204 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 D | WifiStateMachine.java | 930 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/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | SupplicantWifiScannerImpl.java | 676 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 D | WifiScanningServiceImpl.java | 1723 nativePnoSetting.networkList[i].networkId = pnoSettings.networkList[i].networkId; 2712 .append(pnoSettings.networkList[i].networkId)
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | ConfigurationMapTest.java | 127 assertEquals(config, mConfigs.getForAllUsers(config.networkId)); 135 assertEquals(config, mConfigs.getForCurrentUser(config.networkId)); 151 assertNull(mConfigs.getForCurrentUser(config.networkId)); 214 config2.networkId = config1.networkId; 229 assertEquals(config2, mConfigs.remove(config2.networkId));
|
H A D | ScanTestUtil.java | 370 assertEquals("networkList[" + i + "].networkId", 371 expected.networkList[i].networkId, actual.networkList[i].networkId);
|
H A D | WifiConfigManagerTest.java | 220 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...] |
H A D | WifiConfigurationTestUtil.java | 37 * @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 D | WifiQualifiedNetworkSelectorTest.java | 1660 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
H A D | SupplicantPnoScannerTest.java | 361 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);
|
H A D | WifiScanningServiceTest.java | 1424 nativePnoSettings.networkList[i].networkId = 1425 requestPnoSettings.networkList[i].networkId;
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiConfiguration.java | 216 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 D | WifiManager.java | 704 * <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 D | WifiScanner.java | 176 * 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();
|