Home
last modified time | relevance | path

Searched refs:addNetwork (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/Osu2/tests/src/com/android/osu/
DNetworkConnectionTest.java73 when(mWifiManager.addNetwork(any(WifiConfiguration.class))).thenReturn(-1); in networkAddFailed()
85 when(mWifiManager.addNetwork(any(WifiConfiguration.class))).thenReturn(TEST_NETWORK_ID); in networkEnableFailed()
99 when(mWifiManager.addNetwork(any(WifiConfiguration.class))).thenReturn(TEST_NETWORK_ID); in openNetworkConnectionEstablished()
107 verify(mWifiManager).addNetwork(wifiConfig.capture()); in openNetworkConnectionEstablished()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java121 int netId = mWifiManager.addNetwork(config); in testAddRemoveNetwork()
158 int netId = mWifiManager.addNetwork(config); in testEnableDisableNetwork()
208 int netId = mWifiManager.addNetwork(config); in testSaveConfig()
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/
DPlatformAdapter.java255 int networkId = wifiManager.addNetwork(config); in connect()
284 Integer spNwk = addNetwork(homeSP, certs, privateKey, osuNetwork); in provisioningComplete()
446 private Integer addNetwork(HomeSP homeSP, Map<OSUCertType, List<X509Certificate>> certs, in addNetwork() method in PlatformAdapter
460 int nwkId = wifiManager.addNetwork(config); in addNetwork()
/frameworks/base/packages/Osu2/src/com/android/osu/
DNetworkConnection.java135 int networkId = mWifiManager.addNetwork(config); in connect()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java474 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in testConnectToNetworkWithDifferentConfigReplacesNetworkInSupplicant()
488 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in connectToNetworkWithSameNetworkDoesNotRemoveNetworkFromSupplicant()
503 }).when(mISupplicantStaIfaceMock).addNetwork( in testConnectFailureDueToNetworkAddFailure()
1498 }).when(mISupplicantStaIfaceMock).addNetwork( in setupMocksForConnectSequence()
1514 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in validateConnectSequence()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java401 SupplicantStaNetworkHal network = addNetwork(); in addNetworkAndSaveConfig()
707 private SupplicantStaNetworkHal addNetwork() { in addNetwork() method in SupplicantStaIfaceHal
713 mISupplicantStaIface.addNetwork((SupplicantStatus status, in addNetwork()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1066 public int addNetwork(WifiConfiguration config) { in addNetwork() method in WifiManager
/frameworks/base/services/
Dart-profile6108 PLandroid/hardware/wifi/supplicant/V1_0/ISupplicantStaIface$Proxy;->addNetwork(Landroid/hardware/wi…
14493 PLcom/android/server/wifi/SupplicantStaIfaceHal;->addNetwork()Lcom/android/server/wifi/SupplicantSt…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18029 method public int addNetwork(android.net.wifi.WifiConfiguration);
/frameworks/base/api/
Dcurrent.txt26619 method public int addNetwork(android.net.wifi.WifiConfiguration);
Dtest-current.txt26775 method public int addNetwork(android.net.wifi.WifiConfiguration);
Dsystem-current.txt29144 method public int addNetwork(android.net.wifi.WifiConfiguration);