/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiSettings.java | 195 if (mSelected.networkId != -1) { 212 if (mSelected.networkId != -1) { 214 connect(mSelected.networkId); 221 int networkId = mWifiManager.addNetwork(config); 222 mWifiManager.enableNetwork(networkId, false); 223 connect(networkId); 229 forget(mSelected.networkId); 258 forget(mSelected.networkId); 264 connect(mSelected.networkId); 266 } else if (config.networkId != -1) [all...] |
AccessPoint.java | 44 final int networkId; 79 networkId = config.networkId; 89 networkId = -1; 123 if ((networkId ^ other.networkId) < 0) { 124 return (networkId != -1) ? -1 : 1; 148 if (info != null && networkId != -1 && networkId == info.getNetworkId()) {
|
WifiDialog.java | 89 if (mAccessPoint != null && mAccessPoint.networkId != -1 && !edit) { 100 } else if (mAccessPoint.networkId == -1) { 104 config.networkId = mAccessPoint.networkId; 213 if (mAccessPoint.networkId == -1 || edit) { 223 if (mAccessPoint.networkId != -1) { 249 ((mAccessPoint == null || mAccessPoint.networkId == -1) && 296 if (mAccessPoint != null && mAccessPoint.networkId != -1) { 318 if (mAccessPoint != null && mAccessPoint.networkId != -1) {
|
/system/core/nexus/ |
Supplicant.h | 56 WifiNetwork *lookupNetwork(int networkId); 61 int setNetworkVar(int networkId, const char *var, const char *value); 62 const char *getNetworkVar(int networkid, const char *var, char *buffer, 64 int enableNetwork(int networkId, bool enabled); 92 WifiNetwork *lookupNetwork_UNLOCKED(int networkId);
|
Supplicant.cpp | 417 WifiNetwork *Supplicant::lookupNetwork(int networkId) { 419 WifiNetwork *wn = lookupNetwork_UNLOCKED(networkId); 424 WifiNetwork *Supplicant::lookupNetwork_UNLOCKED(int networkId) { 427 if ((*it)->getNetworkId() == networkId) { 495 int Supplicant::setNetworkVar(int networkId, const char *var, const char *val) { 499 LOGD("netid %d, var '%s' = '%s'", networkId, var, val); 501 asprintf(&tmp, "SET_NETWORK %d %s %s", networkId, var, val); 516 const char *Supplicant::getNetworkVar(int networkId, const char *var, 521 asprintf(&tmp, "GET_NETWORK %d %s", networkId, var); 530 int Supplicant::enableNetwork(int networkId, bool enabled) [all...] |
WifiController.h | 238 int removeNetwork(int networkId);
|
WifiNetwork.h | 303 WifiNetwork(WifiController *c, Supplicant *suppl, int networkId);
|
WifiController.cpp | 344 int WifiController::removeNetwork(int networkId) { 346 WifiNetwork *wn = mSupplicant->lookupNetwork(networkId);
|
WifiNetwork.cpp | 87 WifiNetwork::WifiNetwork(WifiController *c, Supplicant *suppl, int networkId) { 90 mNetid = networkId;
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiMonitor.java | 338 int networkId = -1; 360 networkId = value; 378 mWifiStateTracker.notifyStateChange(networkId, BSSID, newSupplicantState); 384 int networkId = -1; 392 networkId = Integer.parseInt(match.group(2)); 394 networkId = -1; 398 mWifiStateTracker.notifyStateChange(newState, BSSID, networkId);
|
WifiStateTracker.java | 325 SupplicantStateChangeResult(int networkId, String BSSID, SupplicantState state) { 328 this.networkId = networkId; 330 int networkId; 341 NetworkStateChangeResult(DetailedState state, String BSSID, int networkId) { 344 this.networkId = networkId; 348 int networkId; 532 * @param networkId the configured network on which the state change occurred 535 void notifyStateChange(int networkId, String BSSID, SupplicantState newState) [all...] |
WifiConfiguration.java | 209 public int networkId; 299 networkId = -1; 324 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID). 405 networkId = -1; 437 dest.writeInt(networkId); 464 config.networkId = in.readInt();
|
WifiManager.java | 366 * <li>networkId</li> 389 * The {@code networkId} field of the supplied configuration object 405 config.networkId = -1; 415 * are non-<code>null</code>. The {@code networkId} field 417 * @return Returns the {@code networkId} of the supplied 420 * Returns {@code -1} on failure, including when the {@code networkId} 425 if (config == null || config.networkId < 0) { [all...] |
/frameworks/base/telephony/java/android/telephony/cdma/ |
CdmaCellLocation.java | 73 this.mNetworkId = bundle.getInt("networkId", mNetworkId); 137 int baseStationLongitude, int systemId, int networkId) { 143 this.mNetworkId = networkId; 204 bundleToFill.putInt("networkId", this.mNetworkId);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoWifiStatePermissionTest.java | 173 TEST_WIFI_CONFIGURATION.networkId = 2;
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestActivity.java | 306 int networkId = mWifiManager.addNetwork(config); 308 mWifiManager.enableNetwork(networkId, true); 344 mWifiManager.removeNetwork(conf.networkId);
|
/frameworks/base/telephony/java/android/telephony/ |
ServiceState.java | 566 mNetworkId = m.getInt("networkId"); 588 m.putInt("networkId", mNetworkId); 607 public void setSystemAndNetworkId(int systemId, int networkId) { 609 this.mNetworkId = networkId;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaServiceStateTracker.java | 363 int networkId = -1; 385 networkId = Integer.parseInt(states[9]); 393 baseStationLongitude, systemId, networkId); 676 int networkId = 0; //[9] networkId 711 networkId = Integer.parseInt(states[9]); 748 newSS.setSystemAndNetworkId(systemId, networkId); 756 baseStationLongitude, systemId, networkId); [all...] |
/frameworks/base/services/java/com/android/server/ |
WifiService.java | 832 config.networkId = Integer.parseInt(result[0]); [all...] |
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManagerTest.java | 351 mWifiManager.removeNetwork(wifiConfiguration.networkId);
|
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |