Searched refs:connectToNetwork (Results 1 – 8 of 8) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaIfaceHalTest.java | 679 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()
|
D | WifiNativeTest.java | 578 mWifiNative.connectToNetwork(WIFI_IFACE_NAME, config); in testConnectToNetwork() 581 verify(mStaIfaceHal).connectToNetwork(WIFI_IFACE_NAME, config); in testConnectToNetwork()
|
D | ClientModeImplTest.java | 467 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/ |
D | WifiNetworkFactory.java | 749 private void connectToNetwork(@NonNull WifiConfiguration network) { in connectToNetwork() method in WifiNetworkFactory 795 connectToNetwork(networkToConnect); in handleConnectToNetworkUserSelectionInternal() 883 connectToNetwork(mUserSelectedNetwork); in handleNetworkConnectionFailure()
|
D | WifiConnectivityManager.java | 286 connectToNetwork(candidate); in handleScanResults() 703 private void connectToNetwork(WifiConfiguration candidate) { in connectToNetwork() method in WifiConnectivityManager
|
D | WifiNative.java | 2121 public boolean connectToNetwork(@NonNull String ifaceName, WifiConfiguration configuration) { in connectToNetwork() method in WifiNative 2124 return mSupplicantStaIfaceHal.connectToNetwork(ifaceName, configuration); in connectToNetwork()
|
D | SupplicantStaIfaceHal.java | 850 public boolean connectToNetwork(@NonNull String ifaceName, @NonNull WifiConfiguration config) { in connectToNetwork() method in SupplicantStaIfaceHal 915 return connectToNetwork(ifaceName, config); in roamToNetwork()
|
D | ClientModeImpl.java | 4315 if (mWifiNative.connectToNetwork(mInterfaceName, config)) { in processMessage()
|