Searched refs:onSocketDestroyed (Results 1 – 9 of 9) sorted by relevance
348 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()
195 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()
390 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketDestroyed(eq(TEST_NETWORK), any());396 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketDestroyed(eq(null), any());405 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketDestroyed(eq(null), any());
592 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
86 void onSocketDestroyed(@NonNull SocketKey socketKey); in onSocketDestroyed() method
101 mSocketCreationCallback.onSocketDestroyed(socketKey); in onInterfaceDestroyed()108 mSocketCreationCallback.onSocketDestroyed(socketKey); in notifySocketDestroyed()
281 public void onSocketDestroyed(@NonNull SocketKey socketKey) { in handleRegisterListener()
1847 mHandler.post(() -> mSocketRequestMonitor.onSocketDestroyed( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()1853 mHandler.post(() -> mSocketRequestMonitor.onSocketDestroyed( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()1859 mHandler.post(() -> mSocketRequestMonitor.onSocketDestroyed( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
463 public void onSocketDestroyed(@Nullable Network socketNetwork, in onSocketDestroyed() method in NsdService.SocketRequestMonitor