Searched refs:ResolveListener (Results 1 – 6 of 6) sorted by relevance
57 NsdManager.ResolveListener listener) { in resolve()82 class NsdResolveRequest implements NsdManager.ResolveListener {85 private final NsdManager.ResolveListener mListener;90 NsdManager.ResolveListener listener) { in NsdResolveRequest()
220 private class Resolver implements NsdManager.ResolveListener {
95 import android.net.nsd.NsdManager.ResolveListener;373 final ResolveListener listener3 = mock(ResolveListener.class); in testClientRequestsAreGCedAtDisconnection()468 final ResolveListener resolveListener = mock(ResolveListener.class); in testDiscoverOnTetheringDownstream()566 client.resolveService(foundInfo, mock(ResolveListener.class)); in testDiscoverOnTetheringDownstream_DiscoveryManager()702 final ResolveListener resolveListener = mock(ResolveListener.class); in testServiceResolutionFailed()738 final ResolveListener resolveListener = mock(ResolveListener.class); in testGettingAddressFailed()874 final ResolveListener resolveListener = mock(ResolveListener.class); in testNoCrashWhenProcessResolutionAfterBinderDied()891 final ResolveListener resolveListener = mock(ResolveListener.class); in testStopServiceResolution()918 final ResolveListener resolveListener = mock(ResolveListener.class); in testStopResolutionFailed()944 final ResolveListener resolveListener = mock(ResolveListener.class); in testStopResolutionDuringGettingAddress()[all …]
181 NsdManager.ResolveListener listener = mock(NsdManager.ResolveListener.class); in doTestResolveService()202 NsdManager.ResolveListener listener1 = mock(NsdManager.ResolveListener.class); in doTestParallelResolveService()203 NsdManager.ResolveListener listener2 = mock(NsdManager.ResolveListener.class); in doTestParallelResolveService()400 NsdManager.ResolveListener listener3 = mock(NsdManager.ResolveListener.class); in doTestInvalidCalls()
949 public interface ResolveListener { interface in NsdManager1127 executor.execute(() -> ((ResolveListener) listener).onResolveFailed( in handleMessage()1132 executor.execute(() -> ((ResolveListener) listener).onServiceResolved( in handleMessage()1137 executor.execute(() -> ((ResolveListener) listener).onStopResolutionFailed( in handleMessage()1142 executor.execute(() -> ((ResolveListener) listener).onResolutionStopped( in handleMessage()1628 public void resolveService(NsdServiceInfo serviceInfo, ResolveListener listener) { in resolveService()1648 @NonNull Executor executor, @NonNull ResolveListener listener) { in resolveService()1672 public void stopServiceResolution(@NonNull ResolveListener listener) { in stopServiceResolution()
237 …ic void resolveService(android.net.nsd.NsdServiceInfo, android.net.nsd.NsdManager.ResolveListener);238 …Info, @NonNull java.util.concurrent.Executor, @NonNull android.net.nsd.NsdManager.ResolveListener);240 method public void stopServiceResolution(@NonNull android.net.nsd.NsdManager.ResolveListener);271 public static interface NsdManager.ResolveListener {