/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 | 461 // directly by its key or networkId. 532 * Fetch the list of networkId's which are hidden in current user's configuration. 587 // directly by its key or networkId. 713 if (sVDBG) localLogNetwork("selectNetwork", config.networkId); 714 if (config.networkId == INVALID_NETWORK_ID) return false; 717 loge("selectNetwork " + Integer.toString(config.networkId) + ": Network config is not " 726 if (config2.networkId != INVALID_NETWORK_ID) { 744 logd("Setting SSID for WPA supplicant network " + config.networkId + " to " 760 selectNetworkWithoutBroadcast(config.networkId); 777 if (config == null || (config.networkId 1426 tryEnableQualifiedNetwork(int networkId) argument 3171 canModifyNetwork(int uid, int networkId, boolean onlyAnnotate) argument [all...] |
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 | WifiStateMachine.java | 932 int networkId; field in class:WifiStateMachine.SimAuthRequestData 1636 // Retrieve the list of hidden networkId's to scan for. 2098 * @param networkId id of the network to be removed 2100 public boolean syncRemoveNetwork(AsyncChannel channel, int networkId) { argument 2101 Message resultMsg = channel.sendMessageSynchronously(CMD_REMOVE_NETWORK, networkId); 2517 sb.append(" nid=").append(lastSavedConfigurationAttempt.networkId); 2542 sb.append(" nid=").append(lastForgetConfigurationAttempt.networkId); 3541 mWifiInfo.setNetworkId(stateChangeResult.networkId); 5560 + " cnid=" + config.networkId 5689 if (config.networkId 8196 autoConnectToNetwork(int networkId, String bssid) argument 8210 autoRoamToNetwork(int networkId, ScanResult scanResult) argument [all...] |
/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 | 61 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 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 | 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 | 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)) 1601 checkHasEverConnectedTrue(int networkId) argument 1607 checkHasEverConnectedFalse(int networkId) argument [all...] |
/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/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);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | AccessPoint.java | 115 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 D | WifiTracker.java | 305 private WifiConfiguration getWifiConfigurationForNetworkId(int networkId) { argument 309 if (mLastInfo != null && networkId == config.networkId &&
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | ServiceState.java | 993 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 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();
|
H A D | WifiConfiguration.java | 228 public int networkId; field in class:WifiConfiguration 1344 networkId = INVALID_NETWORK_ID; 1417 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID). 1852 networkId = source.networkId; 1937 dest.writeInt(networkId); 2009 config.networkId = in.readInt();
|
H A D | WifiManager.java | 727 * <li>networkId</li> 794 * The {@code networkId} field of the supplied configuration object 810 config.networkId = -1; 820 * are non-<code>null</code>. The {@code networkId} field 822 * @return Returns the {@code networkId} of the supplied 825 * Returns {@code -1} on failure, including when the {@code networkId} 830 if (config == null || config.networkId < 0) { 2057 * Connect to a network with the given networkId. 2062 * @param networkId the network id identifiying the network in the 2069 public void connect(int networkId, ActionListene argument [all...] |