Home
last modified time | relevance | path

Searched refs:requestSocket (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketProviderTest.java340 runOnHandler(() -> mSocketProvider.requestSocket(TEST_NETWORK, testCallback1));
349 runOnHandler(() -> mSocketProvider.requestSocket(TEST_NETWORK, testCallback2));
356 runOnHandler(() -> mSocketProvider.requestSocket(null /* network */, testCallback3));
431 runOnHandler(() -> mSocketProvider.requestSocket(null /* network */, testCallbackAll));
488 runOnHandler(() -> mSocketProvider.requestSocket(TEST_NETWORK, testCallback));
513 runOnHandler(() -> mSocketProvider.requestSocket(TEST_NETWORK, testCallback));
530 runOnHandler(() -> mSocketProvider.requestSocket(TEST_NETWORK, testCallback2));
549 runOnHandler(() -> mSocketProvider.requestSocket(null, testCallback));
574 runOnHandler(() -> mSocketProvider.requestSocket(null, testCallback));
593 runOnHandler(() -> mSocketProvider.requestSocket(TEST_NETWORK, testCallback));
[all …]
DMdnsAdvertiserTest.kt236 verify(socketProvider).requestSocket(eq(TEST_NETWORK_1), socketCbCaptor.capture()) in testAddService_OneNetwork()
300 verify(socketProvider).requestSocket(eq(ALL_NETWORKS_SERVICE_SUBTYPE.network), in testAddService_AllNetworksWithSubType()
394 verify(socketProvider).requestSocket(eq(SERVICE_1.network), socketCbCaptor.capture()) in testAddService_OffloadPriority()
440 verify(socketProvider).requestSocket(eq(TEST_NETWORK_1), oneNetSocketCbCaptor.capture()) in testAddService_Conflicts()
447 verify(socketProvider).requestSocket(eq(null), allNetSocketCbCaptor.capture()) in testAddService_Conflicts()
529 verify(socketProvider).requestSocket(eq(null), socketCbCaptor.capture()) in testAddOrUpdateService_Updates()
571 verify(socketProvider).requestSocket(eq(null), socketCbCaptor.capture()) in testAddOrUpdateService_customTtl_registeredSuccess()
DMdnsMultinetworkSocketClientTest.java118 .requestSocket(eq(requestedNetwork), callbackCaptor.capture()); in expectSocketCallback()
289 verify(mProvider, times(2)).requestSocket(eq(null), callback2Captor.capture()); in testSocketRemovedAfterNetworkUnrequested()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsMultinetworkSocketClient.java189 mSocketProvider.requestSocket(network, callback); in notifyNetworkRequested()
DMdnsSocketProvider.java679 public void requestSocket(@Nullable Network network, @NonNull SocketCallback cb) { in requestSocket() method in MdnsSocketProvider
DMdnsAdvertiser.java356 mSocketProvider.requestSocket(requestedNetwork, this); in InterfaceAdvertiserRequest()