/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsServiceTypeClientTests.java | 676 verify(mockListenerOne).onServiceFound(any(), eq(false) /* isServiceFromCache */); in testQueryScheduledWhenAnsweredFromCache() 682 verify(mockListenerTwo).onServiceFound(any(), eq(true) /* isServiceFromCache */); in testQueryScheduledWhenAnsweredFromCache() 803 verify(mockListenerOne, never()).onServiceFound(any(MdnsServiceInfo.class), anyBoolean()); in processResponse_incompleteResponse() 837 verify(mockListenerOne).onServiceFound( in processIPv4Response_completeResponseForNewServiceInstance() 891 verify(mockListenerOne).onServiceFound( in processIPv6Response_getCorrectServiceInfo() 990 verify(mockListenerOne).onServiceFound( in reportExistingServiceToNewlyRegisteredListeners() 1011 verify(mockListenerTwo, never()).onServiceFound(any(MdnsServiceInfo.class), anyBoolean()); in reportExistingServiceToNewlyRegisteredListeners() 1143 inOrder.verify(mockListenerOne).onServiceFound( in testProcessResponse_InOrder() 1295 inOrder.verify(mockListenerOne).onServiceFound( in testProcessResponse_Resolve() 1297 verify(mockListenerTwo).onServiceFound(any(), anyBoolean()); in testProcessResponse_Resolve() [all …]
|
/packages/modules/Connectivity/tests/unit/java/android/net/nsd/ |
D | NsdManagerTest.java | 342 mCallback.onServiceFound(key2, reply1); in doTestDiscoverService() 343 verify(listener, timeout(mTimeoutMs).times(1)).onServiceFound(reply1); in doTestDiscoverService() 345 mCallback.onServiceFound(key2, reply2); in doTestDiscoverService() 346 verify(listener, timeout(mTimeoutMs).times(1)).onServiceFound(reply2); in doTestDiscoverService() 367 mCallback.onServiceFound(key2, reply3); in doTestDiscoverService() 391 mCallback.onServiceFound(key3, reply1); in doTestDiscoverService() 392 verify(listener, timeout(mTimeoutMs).times(0)).onServiceFound(reply1); in doTestDiscoverService()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsServiceBrowserListener.java | 37 void onServiceFound(@NonNull MdnsServiceInfo serviceInfo, boolean isServiceFromCache); in onServiceFound() method
|
D | MdnsServiceTypeClient.java | 388 listener.onServiceFound(info, true /* isServiceFromCache */); in startSendAndReceive() 628 listener.onServiceFound(serviceInfo, false /* isServiceFromCache */); in onResponseModified()
|
/packages/modules/Connectivity/framework-t/src/android/net/nsd/ |
D | INsdManagerCallback.aidl | 30 void onServiceFound(int listenerKey, in NsdServiceInfo info); in onServiceFound() method
|
D | NsdManager.java | 690 public void onServiceFound(NsdServiceInfo serviceInfo) { in onServiceFound() method in NsdManager.PerNetworkDiscoveryTracker.DelegatingDiscoveryListener 697 mWrappedExecutor.execute(() -> mWrapped.onServiceFound(serviceInfo)); in onServiceFound() 785 public void onServiceFound(int listenerKey, NsdServiceInfo info) { in onServiceFound() method in NsdManager.NsdCallbackImpl 928 public void onServiceFound(NsdServiceInfo serviceInfo); in onServiceFound() method 1085 executor.execute(() -> ((DiscoveryListener) listener).onServiceFound( in handleMessage()
|
/packages/modules/Connectivity/service-t/src/com/android/server/ |
D | NsdService.java | 297 public void onServiceFound(@NonNull MdnsServiceInfo serviceInfo, in onServiceFound() method in NsdService.MdnsListener 377 public void onServiceFound(MdnsServiceInfo serviceInfo, boolean isServiceFromCache) { in onServiceFound() method in NsdService.ResolutionListener 408 public void onServiceFound(@NonNull MdnsServiceInfo serviceInfo, in onServiceFound() method in NsdService.ServiceInfoListener 1422 clientInfo.onServiceFound(clientRequestId, servInfo, request); in handleMDnsServiceEvent() 1643 clientInfo.onServiceFound(clientRequestId, info, request); in handleMdnsDiscoveryManagerEvent() 2675 public void onServiceFound(String serviceName) { in onServiceFound() method in NsdService.ClientRequest 3027 void onServiceFound(int listenerKey, NsdServiceInfo info, ClientRequest request) { in onServiceFound() method in NsdService.ClientInfo 3028 request.onServiceFound(info.getServiceName()); in onServiceFound() 3030 mCb.onServiceFound(listenerKey, info); in onServiceFound() 3184 request.onServiceFound(info.getServiceName()); in onServiceUpdated()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/ |
D | IntegrationTestUtils.java | 325 public void onServiceFound(NsdServiceInfo serviceInfo) { in discoverService() 430 public void onServiceFound(NsdServiceInfo serviceInfo) {} in onServiceFound() method in IntegrationTestUtils.DefaultDiscoveryListener
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | MdnsDiscovery.java | 196 public void onServiceFound(final NsdServiceInfo info) { in onServiceFound() method in MdnsDiscovery.NsdServiceListener
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | NsdServiceTest.java | 459 verify(discListener, timeout(TIMEOUT_MS)).onServiceFound(discoveredInfoCaptor.capture()); in testDiscoverOnTetheringDownstream() 560 verify(discListener, timeout(TIMEOUT_MS)).onServiceFound(foundInfoCaptor.capture()); in testDiscoverOnTetheringDownstream_DiscoveryManager() 605 verify(discListener, never()).onServiceFound(any()); in testDiscoverOnBlackholeNetwork() 1038 listener.onServiceFound(mdnsServiceInfo, true /* isServiceFromCache */); in testRegisterAndUnregisterServiceInfoCallback() 1076 listener.onServiceFound(updatedServiceInfo, false /* isServiceFromCache */); in testRegisterAndUnregisterServiceInfoCallback() 1200 verify(discListener, timeout(TIMEOUT_MS)).onServiceFound(argThat(info -> in testDiscoveryWithMdnsDiscoveryManager() 1345 listener.onServiceFound(mdnsServiceInfo, true /* isServiceFromCache */); in testResolutionWithMdnsDiscoveryManager()
|
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | NsdPublisherTest.java | 489 actualDiscoveryListener.onServiceFound(serviceInfo); in discoverService_serviceDiscovered() 539 actualDiscoveryListener.onServiceFound(serviceInfo); in stopServiceDiscovery()
|
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/ |
D | ThreadNetworkControllerTest.java | 1142 public void onServiceFound(NsdServiceInfo serviceInfo) { 1228 public void onServiceFound(NsdServiceInfo serviceInfo) {}
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | NsdPublisher.java | 542 public void onServiceFound(NsdServiceInfo serviceInfo) { in onServiceFound() method in NsdPublisher.DiscoveryListener
|
/packages/modules/Connectivity/framework-t/api/ |
D | current.txt | 258 method public void onServiceFound(android.net.nsd.NsdServiceInfo);
|