Home
last modified time | relevance | path

Searched refs:externalListener (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java92 HalDeviceManager.InterfaceDestroyedListener externalListener) { in InterfaceDestroyedListenerInternal() argument
93 mExternalListener = externalListener; in InterfaceDestroyedListenerInternal()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java264 StaInterfaceDestroyedListenerInternal(InterfaceDestroyedListener externalListener) { in StaInterfaceDestroyedListenerInternal() argument
265 mExternalListener = externalListener; in StaInterfaceDestroyedListenerInternal()
366 ApInterfaceDestroyedListenerInternal(InterfaceDestroyedListener externalListener) { in ApInterfaceDestroyedListenerInternal() argument
367 mExternalListener = externalListener; in ApInterfaceDestroyedListenerInternal()
DWifiNative.java390 public InterfaceCallback externalListener; field in WifiNative.Iface
880 iface.externalListener.onDestroyed(iface.name); in onInterfaceDestroyed()
998 iface.externalListener.onUp(iface.name); in onInterfaceStateChanged()
1000 iface.externalListener.onDown(iface.name); in onInterfaceStateChanged()
1528 iface.externalListener = interfaceCallback; in setupInterfaceForClientInScanMode()
1612 iface.externalListener = interfaceCallback; in setupInterfaceForSoftApMode()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java3005 ActionListener externalListener = mock(ActionListener.class); in testConnectWithListener() local
3006 mWifiManager.connect(TEST_NETWORK_ID, externalListener); in testConnectWithListener()
3017 verify(externalListener).onSuccess(); in testConnectWithListener()
3022 verify(externalListener).onFailure(WifiManager.ActionListener.FAILURE_BUSY); in testConnectWithListener()
3032 ActionListener externalListener = mock(ActionListener.class); in testConnectWithListenerHandleSecurityException() local
3033 mWifiManager.connect(TEST_NETWORK_ID, externalListener); in testConnectWithListenerHandleSecurityException()
3036 verify(externalListener).onFailure(ActionListener.FAILURE_NOT_AUTHORIZED); in testConnectWithListenerHandleSecurityException()
3046 ActionListener externalListener = mock(ActionListener.class); in testConnectWithListenerHandleRemoteException() local
3047 mWifiManager.connect(TEST_NETWORK_ID, externalListener); in testConnectWithListenerHandleRemoteException()
3050 verify(externalListener).onFailure(ActionListener.FAILURE_INTERNAL_ERROR); in testConnectWithListenerHandleRemoteException()