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.java64 HalDeviceManager.InterfaceDestroyedListener externalListener) { in InterfaceDestroyedListenerInternal() argument
65 mExternalListener = externalListener; in InterfaceDestroyedListenerInternal()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNative.java253 public InterfaceCallback externalListener; field in WifiNative.Iface
675 iface.externalListener.onDestroyed(iface.name); in onInterfaceDestroyed()
793 iface.externalListener.onUp(iface.name); in onInterfaceStateChanged()
795 iface.externalListener.onDown(iface.name); in onInterfaceStateChanged()
1154 iface.externalListener = interfaceCallback; in setupInterfaceForClientInConnectivityMode()
1218 iface.externalListener = interfaceCallback; in setupInterfaceForClientInScanMode()
1281 iface.externalListener = interfaceCallback; in setupInterfaceForSoftApMode()
DWifiVendorHal.java436 StaInterfaceDestroyedListenerInternal(InterfaceDestroyedListener externalListener) { in StaInterfaceDestroyedListenerInternal() argument
437 mExternalListener = externalListener; in StaInterfaceDestroyedListenerInternal()
537 ApInterfaceDestroyedListenerInternal(InterfaceDestroyedListener externalListener) { in ApInterfaceDestroyedListenerInternal() argument
538 mExternalListener = externalListener; in ApInterfaceDestroyedListenerInternal()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java2765 ActionListener externalListener = mock(ActionListener.class); in testConnectWithListener() local
2766 mWifiManager.connect(TEST_NETWORK_ID, externalListener); in testConnectWithListener()
2776 verify(externalListener).onSuccess(); in testConnectWithListener()
2781 verify(externalListener).onFailure(BUSY); in testConnectWithListener()
2791 ActionListener externalListener = mock(ActionListener.class); in testConnectWithListenerHandleSecurityException() local
2792 mWifiManager.connect(TEST_NETWORK_ID, externalListener); in testConnectWithListenerHandleSecurityException()
2795 verify(externalListener).onFailure(NOT_AUTHORIZED); in testConnectWithListenerHandleSecurityException()
2805 ActionListener externalListener = mock(ActionListener.class); in testConnectWithListenerHandleRemoteException() local
2806 mWifiManager.connect(TEST_NETWORK_ID, externalListener); in testConnectWithListenerHandleRemoteException()
2809 verify(externalListener).onFailure(ERROR); in testConnectWithListenerHandleRemoteException()