/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
StateChangeResult.java | 29 StateChangeResult(int networkId, WifiSsid wifiSsid, String BSSID, 34 this.networkId = networkId; 37 int networkId; 48 sb.append(" nid: ").append(networkId);
|
SupplicantStateTracker.java | 290 stateChangeResult.networkId); 291 handleNetworkConnectionFailure(stateChangeResult.networkId, 297 stateChangeResult.networkId); 298 handleNetworkConnectionFailure(stateChangeResult.networkId, 340 stateChangeResult.networkId); 341 handleNetworkConnectionFailure(stateChangeResult.networkId,
|
/frameworks/base/core/java/android/net/ |
NetworkState.java | 34 public final String networkId; 38 String networkId) { 44 this.networkId = networkId; 53 networkId = in.readString(); 68 out.writeString(networkId);
|
NetworkIdentity.java | 60 int type, int subType, String subscriberId, String networkId, boolean roaming) { 64 mNetworkId = networkId; 100 builder.append(", networkId=").append(mNetworkId); 163 String networkId = null; 175 if (state.networkId != null) { 176 networkId = state.networkId; 181 networkId = info != null ? info.getSSID() : null; 185 return new NetworkIdentity(type, subType, subscriberId, networkId, roaming);
|
NetworkTemplate.java | 130 public static NetworkTemplate buildTemplateWifi(String networkId) { 131 return new NetworkTemplate(MATCH_WIFI, null, networkId); 165 public NetworkTemplate(int matchRule, String subscriberId, String networkId) { 166 this(matchRule, subscriberId, new String[] { subscriberId }, networkId); 170 String networkId) { 174 mNetworkId = networkId; 210 builder.append(", networkId=").append(mNetworkId);
|
/external/chromium_org/chrome/browser/resources/chromeos/network_configuration/js/ |
main_config.js | 32 networkConfig.networkId, 34 getShowMessageCallback('Set properties of ' + networkConfig.networkId)); 39 networkConfig.networkId, 41 'Requested connect to ' + networkConfig.networkId)); 46 networkConfig.networkId, 48 'Requested disconnect from ' + networkConfig.networkId));
|
main_status.js | 12 chrome.extension.getURL('config.html?network=' + action.networkId);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowWifiManager.java | 69 int networkId = networkIdToConfiguredNetworks.size(); 70 config.networkId = -1; 71 networkIdToConfiguredNetworks.put(networkId, makeCopy(config, networkId)); 72 return networkId; 75 private WifiConfiguration makeCopy(WifiConfiguration config, int networkId) { 77 copy.networkId = networkId; 84 if (config == null || config.networkId < 0) { 87 networkIdToConfiguredNetworks.put(config.networkId, makeCopy(config, config.networkId)) [all...] |
ShadowWifiConfiguration.java | 14 realObject.networkId = -1; 34 config.networkId = realObject.networkId;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
WifiManagerTest.java | 66 int networkId = 666; 67 wifiManager.enableNetwork(networkId, true); 87 wifiConfiguration.networkId = -1; 88 int networkId = wifiManager.addNetwork(wifiConfiguration); 89 assertThat(networkId, equalTo(0)); 91 assertThat(wifiConfiguration.networkId, equalTo(-1)); 92 assertThat(wifiManager.getConfiguredNetworks().get(0).networkId, equalTo(0)); 96 assertThat(anotherConfig.networkId, equalTo(-1)); 97 assertThat(wifiManager.getConfiguredNetworks().get(1).networkId, equalTo(1)); 103 wifiConfiguration.networkId = -1 [all...] |
WifiConfigurationTest.java | 25 wifiConfiguration.networkId = 1; 45 assertThat(copy.networkId, equalTo(1));
|
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkIdentitySet.java | 51 final String networkId; 53 networkId = readOptionalString(in); 55 networkId = null; 64 add(new NetworkIdentity(type, subType, subscriberId, networkId, false));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
EditIpSettingsActivity.java | 51 public static Intent createIntent(Context context, int networkId) { 53 .putExtra(EXTRA_NETWORK_ID, networkId); 63 int networkId = getIntent().getIntExtra(EXTRA_NETWORK_ID, NETWORK_ID_ETHERNET); 64 if (networkId == NETWORK_ID_ETHERNET) { 71 ((WifiConfig) mConfiguration).load(networkId); 77 Log.e(TAG, "Could not find existing configuration for network id: " + networkId);
|
EditProxySettingsActivity.java | 51 public static Intent createIntent(Context context, int networkId) { 53 .putExtra(EXTRA_NETWORK_ID, networkId); 63 int networkId = getIntent().getIntExtra(EXTRA_NETWORK_ID, -1); 64 if (networkId == NETWORK_ID_ETHERNET) { 71 ((WifiConfig) mConfiguration).load(networkId); 77 Log.e(TAG, "Could not find existing configuration for network id: " + networkId);
|
WifiConfigHelper.java | 171 public static WifiConfiguration getWifiConfiguration(WifiManager wifiManager, int networkId) { 175 if (configuredNetwork.networkId == networkId) { 187 return config != null && config.networkId > -1; 230 int networkId = wifiMan.addNetwork(config); 231 if (networkId == -1) { 236 if (!wifiMan.enableNetwork(networkId, false)) { 237 if (DEBUG) Log.e(TAG, "enable network failed: " + networkId + "; " + config.toString()); 267 wifiMan.forget(wc.networkId, null); 281 int networkId = wifiInfo.getNetworkId() [all...] |
WifiConfig.java | 53 * Load IpConfiguration from system with the given networkId. 55 public void load(int networkId) { 56 mWifiConfiguration = WifiConfigHelper.getWifiConfiguration(mWifiManager, networkId);
|
ConnectivityListener.java | 246 int networkId = getWifiNetworkId(); 247 if (networkId != -1) { 248 mWifiManager.forget(networkId, null); 264 int networkId = wifiInfo.getNetworkId(); 268 if (configuredNetwork.networkId == networkId) { 338 int networkId = wifiInfo.getNetworkId(); 342 if (configuredNetwork.networkId == networkId) {
|
WifiConfigurationActivity.java | 335 int networkId = getNetworkId(); 336 if (networkId != -1) { 338 EditProxySettingsActivity.createIntent(this, networkId), 348 int networkId = getNetworkId(); 349 if (networkId != -1) { 351 EditIpSettingsActivity.createIntent(this, networkId), 364 int networkId = getNetworkId(); 365 if (networkId != -1) { 366 mWifiManager.forget(networkId, null);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
AccessPointControllerImpl.java | 121 if (DEBUG) Log.d(TAG, "connect networkId=" + ap.networkId); 122 if (ap.networkId < 0) { 137 mWifiManager.connect(ap.networkId, mConnectListener); 193 ap.networkId = config != null ? config.networkId : AccessPoint.NO_NETWORK; 198 ap.isConnected = (ap.networkId != AccessPoint.NO_NETWORK 199 && ap.networkId == connectedNetworkId) || 200 (ap.networkId == WifiConfiguration.INVALID_NETWORK_ID && wifiInfo != null &&
|
NetworkController.java | 64 public int networkId;
|
/packages/apps/Settings/src/com/android/settings/net/ |
DataUsageMeteredSettings.java | 111 final String networkId = config.SSID; 112 final NetworkTemplate template = NetworkTemplate.buildTemplateWifi(networkId); 114 pref.setTitle(removeDoubleQuotes(networkId)); 200 final String networkId = config.SSID; 203 data.title = removeDoubleQuotes(networkId);
|
/packages/apps/Nfc/src/com/android/nfc/ |
ConfirmConnectToWifiNetworkActivity.java | 85 int networkId = wifiManager.addNetwork(mCurrentWifiConfiguration); 87 if (networkId < 0) { 91 wifiManager.connect(networkId,
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
AccessPoint.java | 105 int networkId = -1; 236 networkId = config.networkId; 306 if (networkId != WifiConfiguration.INVALID_NETWORK_ID 307 && other.networkId == WifiConfiguration.INVALID_NETWORK_ID) return -1; 308 if (networkId == WifiConfiguration.INVALID_NETWORK_ID 309 && other.networkId != WifiConfiguration.INVALID_NETWORK_ID) return 1; 331 result += 23 * networkId; 368 if (networkId != WifiConfiguration.INVALID_NETWORK_ID) { 369 return networkId == info.getNetworkId() [all...] |
/frameworks/base/telephony/java/android/telephony/cdma/ |
CdmaCellLocation.java | 73 this.mNetworkId = bundle.getInt("networkId", mNetworkId); 149 int baseStationLongitude, int systemId, int networkId) { 155 this.mNetworkId = networkId; 216 bundleToFill.putInt("networkId", this.mNetworkId);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
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) {
|