Searched refs:addNetwork (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiClientTest.java121 int netId = mWifiManager.addNetwork(config);
158 int netId = mWifiManager.addNetwork(config);
208 int netId = mWifiManager.addNetwork(config);
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/
H A DPlatformAdapter.java225 * 1. The network id is not returned. addNetwork cannot be called from here since the method
255 int networkId = wifiManager.addNetwork(config);
284 Integer spNwk = addNetwork(homeSP, certs, privateKey, osuNetwork);
446 private Integer addNetwork(HomeSP homeSP, Map<OSUCertType, List<X509Certificate>> certs, method in class:PlatformAdapter
460 int nwkId = wifiManager.addNetwork(config);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DSupplicantStaIfaceHalTest.java474 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class));
488 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class));
503 }).when(mISupplicantStaIfaceMock).addNetwork(
1498 }).when(mISupplicantStaIfaceMock).addNetwork(
1514 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSupplicantStaIfaceHal.java373 SupplicantStaNetworkHal network = addNetwork();
652 private SupplicantStaNetworkHal addNetwork() { method in class:SupplicantStaIfaceHal
654 final String methodStr = "addNetwork";
658 mISupplicantStaIface.addNetwork((SupplicantStatus status,
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java1034 public int addNetwork(WifiConfiguration config) { method in class:WifiManager
1194 * @param netId the ID of the network as returned by {@link #addNetwork} or {@link
1228 * @param netId the ID of the network as returned by {@link #addNetwork} or {@link
1266 * @param netId the ID of the network as returned by {@link #addNetwork} or {@link
1657 * {@link #addNetwork(WifiConfiguration)}, {@link #updateNetwork(WifiConfiguration)}
2778 * sequence of addNetwork(), enableNetwork(), saveConfiguration() and
2804 * @param networkId the ID of the network as returned by {@link #addNetwork} or {@link
2822 * sequence of addNetwork(), enableNetwork() and saveConfiguration().

Completed in 360 milliseconds