Home
last modified time | relevance | path

Searched refs:onSocketDestroyed (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsMultinetworkSocketClientTest.java348 verify(mSocketCreationCallback, never()).onSocketDestroyed(mSocketKey); in testNotifyNetworkUnrequested_SocketsOnNullNetwork()
349 verify(mSocketCreationCallback, never()).onSocketDestroyed(otherSocketKey); in testNotifyNetworkUnrequested_SocketsOnNullNetwork()
354 verify(mSocketCreationCallback).onSocketDestroyed(mSocketKey); in testNotifyNetworkUnrequested_SocketsOnNullNetwork()
355 verify(mSocketCreationCallback).onSocketDestroyed(otherSocketKey); in testNotifyNetworkUnrequested_SocketsOnNullNetwork()
373 verify(mSocketCreationCallback).onSocketDestroyed(mSocketKey); in testSocketCreatedAndDestroyed_NullNetwork()
375 verify(mSocketCreationCallback).onSocketDestroyed(otherSocketKey); in testSocketCreatedAndDestroyed_NullNetwork()
408 verify(creationCallback1).onSocketDestroyed(mSocketKey); in testSocketDestroyed_MultipleCallbacks()
409 verify(creationCallback2).onSocketDestroyed(mSocketKey); in testSocketDestroyed_MultipleCallbacks()
410 verify(creationCallback3).onSocketDestroyed(mSocketKey); in testSocketDestroyed_MultipleCallbacks()
411 verify(creationCallback3, never()).onSocketDestroyed(socketKey2); in testSocketDestroyed_MultipleCallbacks()
DMdnsDiscoveryManagerTests.java195 runOnHandler(() -> callback.onSocketDestroyed(SOCKET_KEY_NULL_NETWORK)); in onSocketDestroy_shutdownExecutorService()
295 runOnHandler(() -> callback.onSocketDestroyed(SOCKET_KEY_NETWORK_1)); in testSocketCreatedAndDestroyed()
310 runOnHandler(() -> callback2.onSocketDestroyed(SOCKET_KEY_NETWORK_2)); in testSocketCreatedAndDestroyed()
339 runOnHandler(() -> callback.onSocketDestroyed(SOCKET_KEY_NULL_NETWORK)); in testUnregisterListenerAfterSocketDestroyed()
385 callback.onSocketDestroyed(SOCKET_KEY_NETWORK_1); in testInterfaceIndexRequested_OnlyUsesSelectedInterface()
386 callback.onSocketDestroyed(SOCKET_KEY_NULL_NETWORK); in testInterfaceIndexRequested_OnlyUsesSelectedInterface()
387 callback.onSocketDestroyed(matchingIfaceWithNetworkKey); in testInterfaceIndexRequested_OnlyUsesSelectedInterface()
388 callback.onSocketDestroyed(unusedIfaceKey); in testInterfaceIndexRequested_OnlyUsesSelectedInterface()
DMdnsSocketProviderTest.java390 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketDestroyed(eq(TEST_NETWORK), any());
396 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketDestroyed(eq(null), any());
405 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketDestroyed(eq(null), any());
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketProvider.java592 mSocketRequestMonitor.onSocketDestroyed(network, socketInfo.mSocket); in removeNetworkSocket()
601 mSocketRequestMonitor.onSocketDestroyed(null /* network */, socketInfo.mSocket); in removeTetherInterfaceSocket()
723 mSocketRequestMonitor.onSocketDestroyed(network, info.mSocket); in unrequestSocket()
733 mSocketRequestMonitor.onSocketDestroyed(null /* network */, info.mSocket); in unrequestSocket()
795 default void onSocketDestroyed(@Nullable Network socketNetwork, in onSocketDestroyed() method
DMdnsSocketClientBase.java86 void onSocketDestroyed(@NonNull SocketKey socketKey); in onSocketDestroyed() method
DMdnsMultinetworkSocketClient.java101 mSocketCreationCallback.onSocketDestroyed(socketKey); in onInterfaceDestroyed()
108 mSocketCreationCallback.onSocketDestroyed(socketKey); in notifySocketDestroyed()
DMdnsDiscoveryManager.java281 public void onSocketDestroyed(@NonNull SocketKey socketKey) { in handleRegisterListener()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java1847 mHandler.post(() -> mSocketRequestMonitor.onSocketDestroyed( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
1853 mHandler.post(() -> mSocketRequestMonitor.onSocketDestroyed( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
1859 mHandler.post(() -> mSocketRequestMonitor.onSocketDestroyed( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java463 public void onSocketDestroyed(@Nullable Network socketNetwork, in onSocketDestroyed() method in NsdService.SocketRequestMonitor