Searched refs:addNetwork (Results 1 – 8 of 8) sorted by relevance
121 int netId = mWifiManager.addNetwork(config); in testAddRemoveNetwork()158 int netId = mWifiManager.addNetwork(config); in testEnableDisableNetwork()208 int netId = mWifiManager.addNetwork(config); in testSaveConfig()
95 when(mWifiManager.addNetwork(any(WifiConfiguration.class))).thenReturn(TEST_NETWORK_ID); in setUp()187 when(mWifiManager.addNetwork(any(WifiConfiguration.class))).thenReturn(-1); in verifyNetworkConnectionWhenAddNetworkFails()317 verify(mWifiManager, times(1)).addNetwork(wifiConfigurationCaptor.capture()); in verifyWifiConfigurationForOsuNetwork()
199 mNetworkId = mWifiManager.addNetwork(config); in connect()
682 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in testConnectToNetworkWithDifferentConfigReplacesNetworkInSupplicant()696 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in connectToNetworkWithSameNetworkDoesNotRemoveNetworkFromSupplicant()718 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant()733 }).when(mISupplicantStaIfaceMock).addNetwork( in testConnectFailureDueToNetworkAddFailure()2265 }).when(mISupplicantStaIfaceMock).addNetwork( in setupMocksForConnectSequence()2281 .addNetwork(any(ISupplicantStaIface.addNetworkCallback.class)); in validateConnectSequence()
793 SupplicantStaNetworkHal network = addNetwork(ifaceName); in addNetworkAndSaveConfig()1165 private SupplicantStaNetworkHal addNetwork(@NonNull String ifaceName) { in addNetwork() method in SupplicantStaIfaceHal1172 iface.addNetwork((SupplicantStatus status, in addNetwork()
1457 assertEquals(mWifiManager.addNetwork(configuration), TEST_NETWORK_ID); in testAddNetwork()1461 assertEquals(mWifiManager.addNetwork(null), -1); in testAddNetwork()
1348 public int addNetwork(WifiConfiguration config) { in addNetwork() method in WifiManager
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...