Home
last modified time | relevance | path

Searched refs:connectActionListener (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java741 IActionListener connectActionListener = mock(IActionListener.class); in canForgetNetwork() local
742 mCmi.forget(0, mock(Binder.class), connectActionListener, 0, Binder.getCallingUid()); in canForgetNetwork()
744 verify(connectActionListener).onSuccess(); in canForgetNetwork()
774 IActionListener connectActionListener = mock(IActionListener.class); in canSaveNetworkConfig() local
775 mCmi.save(config, mock(Binder.class), connectActionListener, 0, Binder.getCallingUid()); in canSaveNetworkConfig()
777 verify(connectActionListener).onSuccess(); in canSaveNetworkConfig()
805 IActionListener connectActionListener = mock(IActionListener.class); in saveNetworkConfigFailsWithNullConfig() local
806 mCmi.save(null, mock(Binder.class), connectActionListener, 0, Binder.getCallingUid()); in saveNetworkConfigFailsWithNullConfig()
808 verify(connectActionListener).onFailure(WifiManager.ERROR); in saveNetworkConfigFailsWithNullConfig()
826 IActionListener connectActionListener = mock(IActionListener.class); in saveNetworkConfigFailsWithConfigAddFailure() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DAvailableNetworkNotifier.java439 ConnectActionListener connectActionListener = new ConnectActionListener(); in handleConnectToNetworkAction() local
440 mClientModeImpl.connect(null, result.netId, new Binder(), connectActionListener, in handleConnectToNetworkAction()
441 connectActionListener.hashCode(), Process.SYSTEM_UID); in handleConnectToNetworkAction()
DWifiNetworkFactory.java774 ConnectActionListener connectActionListener = new ConnectActionListener(); in connectToNetwork() local
776 connectActionListener, connectActionListener.hashCode(), in connectToNetwork()