Home
last modified time | relevance | path

Searched refs:ServiceInfoCallback (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/framework-t/src/android/net/nsd/
DNsdManager.java996 public interface ServiceInfoCallback { interface in NsdManager
1147 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()
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DNsdPublisherTest.java555 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()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java96 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()
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/
DIntegrationTestUtils.java368 NsdManager.ServiceInfoCallback callback = in resolveServiceUntil()
436 private static class DefaultServiceInfoCallback implements NsdManager.ServiceInfoCallback {
/packages/modules/Connectivity/framework-t/api/
Dcurrent.txt236 …, @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 {
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DThreadNetworkControllerTest.java1184 NsdManager.ServiceInfoCallback callback =
1234 private static class DefaultServiceInfoCallback implements NsdManager.ServiceInfoCallback {
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DNsdPublisher.java569 private final class ServiceInfoListener implements NsdManager.ServiceInfoCallback {