Searched refs:requestSocket (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsSocketProviderTest.java | 340 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 …]
|
D | MdnsAdvertiserTest.kt | 236 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()
|
D | MdnsMultinetworkSocketClientTest.java | 118 .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/ |
D | MdnsMultinetworkSocketClient.java | 189 mSocketProvider.requestSocket(network, callback); in notifyNetworkRequested()
|
D | MdnsSocketProvider.java | 679 public void requestSocket(@Nullable Network network, @NonNull SocketCallback cb) { in requestSocket() method in MdnsSocketProvider
|
D | MdnsAdvertiser.java | 356 mSocketProvider.requestSocket(requestedNetwork, this); in InterfaceAdvertiserRequest()
|