Searched refs:ServiceInfoCallback (Results 1 – 7 of 7) sorted by relevance
996 public interface ServiceInfoCallback { interface in NsdManager1147 executor.execute(() -> ((ServiceInfoCallback) listener) in handleMessage()1151 executor.execute(() -> ((ServiceInfoCallback) listener) in handleMessage()1155 executor.execute(() -> ((ServiceInfoCallback) listener).onServiceLost()); in handleMessage()1159 executor.execute(() -> ((ServiceInfoCallback) listener) in handleMessage()1702 @NonNull Executor executor, @NonNull ServiceInfoCallback listener) { in registerServiceInfoCallback()1728 public void unregisterServiceInfoCallback(@NonNull ServiceInfoCallback listener) { in unregisterServiceInfoCallback()
555 ArgumentCaptor<NsdManager.ServiceInfoCallback> serviceInfoCallbackArgumentCaptor = in resolveService_serviceResolved()556 ArgumentCaptor.forClass(NsdManager.ServiceInfoCallback.class); in resolveService_serviceResolved()599 ArgumentCaptor<NsdManager.ServiceInfoCallback> serviceInfoCallbackArgumentCaptor = in stopServiceResolution()600 ArgumentCaptor.forClass(NsdManager.ServiceInfoCallback.class); in stopServiceResolution()
96 import android.net.nsd.NsdManager.ServiceInfoCallback;568 mock(ServiceInfoCallback.class)); in testDiscoverOnTetheringDownstream_DiscoveryManager()1001 final ServiceInfoCallback serviceInfoCallback = mock( in testRegisterAndUnregisterServiceInfoCallback()1002 ServiceInfoCallback.class); in testRegisterAndUnregisterServiceInfoCallback()1093 final ServiceInfoCallback serviceInfoCallback = mock( in testRegisterServiceCallbackFailed()1094 ServiceInfoCallback.class); in testRegisterServiceCallbackFailed()1107 final ServiceInfoCallback serviceInfoCallback = mock( in testUnregisterNotRegisteredCallback()1108 ServiceInfoCallback.class); in testUnregisterNotRegisteredCallback()1934 final ServiceInfoCallback infoCb = mock(ServiceInfoCallback.class); in testTakeMulticastLockOnBehalfOfClient_ForForegroundAppsOnly()
368 NsdManager.ServiceInfoCallback callback = in resolveServiceUntil()436 private static class DefaultServiceInfoCallback implements NsdManager.ServiceInfoCallback {
236 …, @NonNull java.util.concurrent.Executor, @NonNull android.net.nsd.NsdManager.ServiceInfoCallback);242 …public void unregisterServiceInfoCallback(@NonNull android.net.nsd.NsdManager.ServiceInfoCallback);278 public static interface NsdManager.ServiceInfoCallback {
1184 NsdManager.ServiceInfoCallback callback =1234 private static class DefaultServiceInfoCallback implements NsdManager.ServiceInfoCallback {
569 private final class ServiceInfoListener implements NsdManager.ServiceInfoCallback {