Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DNsdResolveQueue.java57 NsdManager.ResolveListener listener) { in resolve()
82 class NsdResolveRequest implements NsdManager.ResolveListener {
85 private final NsdManager.ResolveListener mListener;
90 NsdManager.ResolveListener listener) { in NsdResolveRequest()
DMdnsDiscovery.java220 private class Resolver implements NsdManager.ResolveListener {
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java95 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 …]
/packages/modules/Connectivity/tests/unit/java/android/net/nsd/
DNsdManagerTest.java181 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()
/packages/modules/Connectivity/framework-t/src/android/net/nsd/
DNsdManager.java949 public interface ResolveListener { interface in NsdManager
1127 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()
/packages/modules/Connectivity/framework-t/api/
Dcurrent.txt237 …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 {