HomeSort by relevance Sort by last modified time
    Searched full:networkid (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /external/nist-sip/java/gov/nist/javax/sip/header/ims/
PVisitedNetworkID.java 55 private String networkID;
67 public PVisitedNetworkID(String networkID) {
70 setVisitedNetworkID(networkID);
103 * @param networkID - string value
105 public void setVisitedNetworkID(String networkID) {
106 if (networkID == null)
107 throw new NullPointerException(" the networkID parameter is null");
109 this.networkID = networkID;
117 * @param networkID - token valu
    [all...]
PVisitedNetworkIDHeader.java 92 * @param networkID - string value
94 public void setVisitedNetworkID(String networkID);
98 * @param networkID - token value
100 public void setVisitedNetworkID(Token networkID);
  /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);
ConfigurationMap.java 42 config.networkId, WifiConfigStore.idStringVarName));
44 Log.d(WifiConfigStore.TAG, "Matched " + id_str + " with " + config.networkId);
59 mPerFQDN.put(fqdn, config.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;
  /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);
  /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));
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
EditIpSettingsActivity.java 40 public static Intent createIntent(Context context, int networkId) {
42 .putExtra(EXTRA_NETWORK_ID, networkId);
52 int networkId = getIntent().getIntExtra(EXTRA_NETWORK_ID, NETWORK_ID_ETHERNET);
53 if (networkId == NETWORK_ID_ETHERNET) {
60 ((WifiConfig) mConfiguration).load(networkId);
66 Log.e(TAG, "Could not find existing configuration for network id: " + networkId);
EditProxySettingsActivity.java 40 public static Intent createIntent(Context context, int networkId) {
42 .putExtra(EXTRA_NETWORK_ID, networkId);
52 int networkId = getIntent().getIntExtra(EXTRA_NETWORK_ID, -1);
53 if (networkId == NETWORK_ID_ETHERNET) {
60 ((WifiConfig) mConfiguration).load(networkId);
66 Log.e(TAG, "Could not find existing configuration for network id: " + networkId);
WifiConfig.java 53 * Load IpConfiguration from system with the given networkId.
55 public void load(int networkId) {
56 mWifiConfiguration = WifiConfigHelper.getWifiConfiguration(mWifiManager, 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...]
ConnectivityListener.java 254 int networkId = getWifiNetworkId();
255 if (networkId != -1) {
256 mWifiManager.forget(networkId, null);
272 int networkId = wifiInfo.getNetworkId();
276 if (configuredNetwork.networkId == networkId) {
346 int networkId = wifiInfo.getNetworkId();
350 if (configuredNetwork.networkId == networkId) {
WifiConfigurationActivity.java 334 int networkId = getNetworkId();
335 if (networkId != -1) {
337 EditProxySettingsActivity.createIntent(this, networkId),
347 int networkId = getNetworkId();
348 if (networkId != -1) {
350 EditIpSettingsActivity.createIntent(this, networkId),
363 int networkId = getNetworkId();
364 if (networkId != -1) {
365 mWifiManager.forget(networkId, null);
ConnectToWifiFragment.java 201 int networkId = mWifiManager.addNetwork(mWifiConfiguration);
202 if (networkId == -1) {
207 } else if (!mWifiManager.enableNetwork(networkId, true)) {
209 Log.d(TAG, "Failed to enable network id " + networkId + "!");
  /external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
userdatarequest.h 36 int networkid; member in class:UserDataRequest
userdatarequest.cpp 58 networkid = atoi(pos);
90 QString::number(networkid) + ':' +
  /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/Settings/src/com/android/settings/net/
DataUsageMeteredSettings.java 117 final String networkId = config.SSID;
118 final NetworkTemplate template = NetworkTemplate.buildTemplateWifi(networkId);
120 pref.setTitle(removeDoubleQuotes(networkId));
206 final String networkId = config.SSID;
209 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,
  /frameworks/base/wifi/java/android/net/wifi/passpoint/
WifiPasspointDmTree.java 862 public HashMap<String, NetworkID> networkID = new HashMap<String, NetworkID>();
870 public NetworkID createNetworkID(String name, String ssid, String hessid) {
871 NetworkID obj = new NetworkID(name, ssid, hessid);
872 networkID.put(name, obj);
900 out.writeMap(networkID);
913 in.readMap(networkID, NetworkID.class.getClassLoader())
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
WifiConfigLockdownTest.java 75 mWifiManager.removeNetwork(config.networkId);
106 assertTrue(mWifiManager.removeNetwork(config.networkId));
119 startRegularActivity(ACTION_UPDATE_WIFI_CONFIG, config.networkId,
145 startRegularActivity(ACTION_REMOVE_WIFI_CONFIG, config.networkId,
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
AccessPoint.java 112 private int networkId = WifiConfiguration.INVALID_NETWORK_ID;
180 if (networkId != WifiConfiguration.INVALID_NETWORK_ID
181 && other.networkId == WifiConfiguration.INVALID_NETWORK_ID) return -1;
182 if (networkId == WifiConfiguration.INVALID_NETWORK_ID
183 && other.networkId != WifiConfiguration.INVALID_NETWORK_ID) return 1;
205 result += 23 * networkId;
249 networkId = WifiConfiguration.INVALID_NETWORK_ID;
610 * For ephemeral connections (networkId is invalid), this returns false if the network is
615 (networkId != WifiConfiguration.INVALID_NETWORK_ID ||
638 if (isPasspoint() == false && networkId != WifiConfiguration.INVALID_NETWORK_ID)
    [all...]

Completed in 1596 milliseconds

1 2 3 4