Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNativeInterfaceManagementTest.java1327 BaseNetworkObserver networkObserver) throws Exception { in executeAndValidateTeardownClientInterface() argument
1337 anyOtherStaIface, anyOtherApIface, ifaceName, callback, networkObserver); in executeAndValidateTeardownClientInterface()
1343 BaseNetworkObserver networkObserver) throws Exception { in validateOnDestroyedClientInterface() argument
1345 if (networkObserver != null) { in validateOnDestroyedClientInterface()
1346 mInOrder.verify(mNwManagementService).unregisterObserver(networkObserver); in validateOnDestroyedClientInterface()
1399 BaseNetworkObserver networkObserver) throws Exception { in executeAndValidateTeardownClientInterfaceForScan() argument
1409 anyOtherStaIface, anyOtherApIface, ifaceName, callback, networkObserver); in executeAndValidateTeardownClientInterfaceForScan()
1415 BaseNetworkObserver networkObserver) throws Exception { in validateOnDestroyedClientInterfaceForScan() argument
1417 if (networkObserver != null) { in validateOnDestroyedClientInterfaceForScan()
1418 mInOrder.verify(mNwManagementService).unregisterObserver(networkObserver); in validateOnDestroyedClientInterfaceForScan()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java141 public NetworkObserverInternal networkObserver; field in WifiNative.Iface
463 if (!unregisterNetworkObserver(iface.networkObserver)) { in onClientInterfaceForConnectivityDestroyed()
481 if (!unregisterNetworkObserver(iface.networkObserver)) { in onClientInterfaceForScanDestroyed()
494 if (!unregisterNetworkObserver(iface.networkObserver)) { in onSoftApInterfaceDestroyed()
961 iface.networkObserver = new NetworkObserverInternal(iface.id); in setupInterfaceForClientInConnectivityMode()
962 if (!registerNetworkObserver(iface.networkObserver)) { in setupInterfaceForClientInConnectivityMode()
1015 iface.networkObserver = new NetworkObserverInternal(iface.id); in setupInterfaceForClientInScanMode()
1016 if (!registerNetworkObserver(iface.networkObserver)) { in setupInterfaceForClientInScanMode()
1072 iface.networkObserver = new NetworkObserverInternal(iface.id); in setupInterfaceForSoftApMode()
1073 if (!registerNetworkObserver(iface.networkObserver)) { in setupInterfaceForSoftApMode()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java225 ArgumentCaptor<INetworkManagementEventObserver> networkObserver = in setUp() local
227 verify(mNetManager).registerObserver(networkObserver.capture()); in setUp()
228 mNetworkObserver = networkObserver.getValue(); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java420 final ArgumentCaptor<INetworkManagementEventObserver> networkObserver = in callSystemReady() local
422 verify(mNetworkManager).registerObserver(networkObserver.capture()); in callSystemReady()
423 mNetworkObserver = networkObserver.getValue(); in callSystemReady()