Home
last modified time | relevance | path

Searched refs:connectToNetwork (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java679 assertTrue(mDut.connectToNetwork(WLAN0_IFACE_NAME, config)); in testConnectToNetworkWithDifferentConfigReplacesNetworkInSupplicant()
693 assertTrue(mDut.connectToNetwork(WLAN0_IFACE_NAME, config)); in connectToNetworkWithSameNetworkDoesNotRemoveNetworkFromSupplicant()
714 assertTrue(mDut.connectToNetwork(WLAN0_IFACE_NAME, config)); in connectToNetworkWithSameNetworkButDifferentBssidUpdatesNetworkFromSupplicant()
736 assertFalse(mDut.connectToNetwork(WLAN0_IFACE_NAME, createTestWifiConfiguration())); in testConnectFailureDueToNetworkAddFailure()
750 assertFalse(mDut.connectToNetwork(WLAN0_IFACE_NAME, createTestWifiConfiguration())); in testConnectFailureDueToNetworkSaveFailure()
768 assertFalse(mDut.connectToNetwork(WLAN0_IFACE_NAME, createTestWifiConfiguration())); in testConnectFailureDueToNetworkSaveException()
784 assertFalse(mDut.connectToNetwork(WLAN0_IFACE_NAME, createTestWifiConfiguration())); in testConnectFailureDueToNetworkSelectFailure()
794 assertTrue(mDut.connectToNetwork(WLAN0_IFACE_NAME, createTestWifiConfiguration())); in testRoamToSameNetwork()
2315 assertTrue(mDut.connectToNetwork(WLAN0_IFACE_NAME, config)); in executeAndValidateConnectSequenceWithKeyMgmt()
DWifiNativeTest.java578 mWifiNative.connectToNetwork(WIFI_IFACE_NAME, config); in testConnectToNetwork()
581 verify(mStaIfaceHal).connectToNetwork(WIFI_IFACE_NAME, config); in testConnectToNetwork()
DClientModeImplTest.java467 when(mWifiNative.connectToNetwork(any(), any())).thenReturn(true); in setUp()
925 verify(mWifiNative).connectToNetwork(eq(WIFI_IFACE_NAME), eq(config)); in validateSuccessfulConnectSequence()
934 verify(mWifiNative, never()).connectToNetwork(eq(WIFI_IFACE_NAME), eq(config)); in validateFailureConnectSequence()
974 verify(mWifiNative).connectToNetwork(eq(WIFI_IFACE_NAME), eq(config)); in triggerConnectFromNonSettingsApp()
1380 verify(mWifiNative, never()).connectToNetwork(eq(WIFI_IFACE_NAME), eq(config)); in triggerConnectWithNoNetworkRequestAndAlreadyConnectedButNonPrivilegedApp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkFactory.java749 private void connectToNetwork(@NonNull WifiConfiguration network) { in connectToNetwork() method in WifiNetworkFactory
795 connectToNetwork(networkToConnect); in handleConnectToNetworkUserSelectionInternal()
883 connectToNetwork(mUserSelectedNetwork); in handleNetworkConnectionFailure()
DWifiConnectivityManager.java286 connectToNetwork(candidate); in handleScanResults()
703 private void connectToNetwork(WifiConfiguration candidate) { in connectToNetwork() method in WifiConnectivityManager
DWifiNative.java2121 public boolean connectToNetwork(@NonNull String ifaceName, WifiConfiguration configuration) { in connectToNetwork() method in WifiNative
2124 return mSupplicantStaIfaceHal.connectToNetwork(ifaceName, configuration); in connectToNetwork()
DSupplicantStaIfaceHal.java850 public boolean connectToNetwork(@NonNull String ifaceName, @NonNull WifiConfiguration config) { in connectToNetwork() method in SupplicantStaIfaceHal
915 return connectToNetwork(ifaceName, config); in roamToNetwork()
DClientModeImpl.java4315 if (mWifiNative.connectToNetwork(mInterfaceName, config)) { in processMessage()