Home
last modified time | relevance | path

Searched refs:onSocketCreated (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsMultinetworkSocketClientTest.java152 callback.onSocketCreated(mSocketKey, mSocket, List.of()); in testSendPacket()
153 verify(mSocketCreationCallback).onSocketCreated(mSocketKey); in testSendPacket()
154 callback.onSocketCreated(tetherSocketKey1, tetherIfaceSock1, List.of()); in testSendPacket()
155 verify(mSocketCreationCallback).onSocketCreated(tetherSocketKey1); in testSendPacket()
156 callback.onSocketCreated(tetherSocketKey2, tetherIfaceSock2, List.of()); in testSendPacket()
157 verify(mSocketCreationCallback).onSocketCreated(tetherSocketKey2); in testSendPacket()
212 callback.onSocketCreated(mSocketKey, mSocket, List.of()); in testReceivePacket()
213 verify(mSocketCreationCallback).onSocketCreated(mSocketKey); in testReceivePacket()
264 callback.onSocketCreated(mSocketKey, mSocket, List.of()); in testSocketRemovedAfterNetworkUnrequested()
265 callback.onSocketCreated(socketKey2, socket2, List.of()); in testSocketRemovedAfterNetworkUnrequested()
[all …]
DMdnsDiscoveryManagerTests.java175 runOnHandler(() -> callback.onSocketCreated(SOCKET_KEY_NULL_NETWORK)); in registerListener_unregisterListener()
192 runOnHandler(() -> callback.onSocketCreated(SOCKET_KEY_NULL_NETWORK)); in onSocketDestroy_shutdownExecutorService()
205 runOnHandler(() -> callback.onSocketCreated(SOCKET_KEY_NULL_NETWORK)); in registerMultipleListeners()
207 runOnHandler(() -> callback.onSocketCreated(SOCKET_KEY_NETWORK_1)); in registerMultipleListeners()
212 runOnHandler(() -> callback2.onSocketCreated(SOCKET_KEY_NULL_NETWORK)); in registerMultipleListeners()
214 runOnHandler(() -> callback2.onSocketCreated(SOCKET_KEY_NETWORK_2)); in registerMultipleListeners()
224 runOnHandler(() -> callback.onSocketCreated(SOCKET_KEY_NULL_NETWORK)); in onResponseReceived()
227 runOnHandler(() -> callback.onSocketCreated(SOCKET_KEY_NETWORK_1)); in onResponseReceived()
234 runOnHandler(() -> callback2.onSocketCreated(SOCKET_KEY_NETWORK_2)); in onResponseReceived()
275 runOnHandler(() -> callback.onSocketCreated(SOCKET_KEY_NETWORK_1)); in testSocketCreatedAndDestroyed()
[all …]
DMdnsAdvertiserTest.kt239 postSync { socketCb.onSocketCreated(TEST_SOCKETKEY_1, mockSocket1, listOf(TEST_LINKADDR)) } in testAddService_OneNetwork()
304 postSync { socketCb.onSocketCreated(TEST_SOCKETKEY_1, mockSocket1, listOf(TEST_LINKADDR)) } in testAddService_AllNetworksWithSubType()
305 postSync { socketCb.onSocketCreated(TEST_SOCKETKEY_2, mockSocket2, listOf(TEST_LINKADDR)) } in testAddService_AllNetworksWithSubType()
397 postSync { socketCb.onSocketCreated(TEST_SOCKETKEY_1, mockSocket1, listOf(TEST_LINKADDR)) } in testAddService_OffloadPriority()
460 oneNetSocketCb.onSocketCreated(TEST_SOCKETKEY_1, mockSocket1, listOf(TEST_LINKADDR)) in testAddService_Conflicts()
461 allNetSocketCb.onSocketCreated(TEST_SOCKETKEY_1, mockSocket1, listOf(TEST_LINKADDR)) in testAddService_Conflicts()
532 postSync { socketCb.onSocketCreated(TEST_SOCKETKEY_1, mockSocket1, listOf(TEST_LINKADDR)) } in testAddOrUpdateService_Updates()
555 postSync { socketCb.onSocketCreated(TEST_SOCKETKEY_2, mockSocket2, listOf(TEST_LINKADDR2)) } in testAddOrUpdateService_Updates()
573 postSync { socketCb.onSocketCreated(TEST_SOCKETKEY_1, mockSocket1, listOf(TEST_LINKADDR)) } in testAddOrUpdateService_customTtl_registeredSuccess()
DMdnsSocketProviderTest.java271 public void onSocketCreated(SocketKey socketKey, MdnsInterfaceSocket socket,
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketClientBase.java83 void onSocketCreated(@NonNull SocketKey socketKey); in onSocketCreated() method
DMdnsMultinetworkSocketClient.java82 public void onSocketCreated(@NonNull SocketKey socketKey, in onSocketCreated() method in MdnsMultinetworkSocketClient.InterfaceSocketCallback
94 mSocketCreationCallback.onSocketCreated(socketKey); in onSocketCreated()
DMdnsSocketProvider.java609 mCallbacksToRequestedNetworks.keyAt(i).onSocketCreated(socketInfo.mSocketKey, in notifySocketCreated()
650 cb.onSocketCreated(socketInfo.mSocketKey, socketInfo.mSocket, socketInfo.mAddresses); in retrieveAndNotifySocketFromNetwork()
666 cb.onSocketCreated(socketInfo.mSocketKey, socketInfo.mSocket, socketInfo.mAddresses); in retrieveAndNotifySocketFromInterface()
754 default void onSocketCreated(@NonNull SocketKey socketKey, in onSocketCreated() method
DMdnsDiscoveryManager.java253 public void onSocketCreated(@NonNull SocketKey socketKey) { in handleRegisterListener()
DMdnsSocketClient.java234 socketCreationCallback.onSocketCreated(new SocketKey(multicastSocket.getInterfaceIndex())); in notifyNetworkRequested()
DMdnsAdvertiser.java540 public void onSocketCreated(@NonNull SocketKey socketKey, in onSocketCreated() method in MdnsAdvertiser.InterfaceAdvertiserRequest