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.java142 public NetworkObserverInternal networkObserver; field in WifiNative.Iface
464 if (!unregisterNetworkObserver(iface.networkObserver)) { in onClientInterfaceForConnectivityDestroyed()
482 if (!unregisterNetworkObserver(iface.networkObserver)) { in onClientInterfaceForScanDestroyed()
495 if (!unregisterNetworkObserver(iface.networkObserver)) { in onSoftApInterfaceDestroyed()
962 iface.networkObserver = new NetworkObserverInternal(iface.id); in setupInterfaceForClientInConnectivityMode()
963 if (!registerNetworkObserver(iface.networkObserver)) { in setupInterfaceForClientInConnectivityMode()
1016 iface.networkObserver = new NetworkObserverInternal(iface.id); in setupInterfaceForClientInScanMode()
1017 if (!registerNetworkObserver(iface.networkObserver)) { in setupInterfaceForClientInScanMode()
1073 iface.networkObserver = new NetworkObserverInternal(iface.id); in setupInterfaceForSoftApMode()
1074 if (!registerNetworkObserver(iface.networkObserver)) { in setupInterfaceForSoftApMode()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java232 ArgumentCaptor<INetworkManagementEventObserver> networkObserver = in setUp() local
234 verify(mNetManager).registerObserver(networkObserver.capture()); in setUp()
235 mNetworkObserver = networkObserver.getValue(); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java421 final ArgumentCaptor<INetworkManagementEventObserver> networkObserver = in callSystemReady() local
423 verify(mNetworkManager).registerObserver(networkObserver.capture()); in callSystemReady()
424 mNetworkObserver = networkObserver.getValue(); in callSystemReady()