Home
last modified time | relevance | path

Searched refs:mRegistrationListeners (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DNsdPublisher.java72 private final SparseArray<RegistrationListener> mRegistrationListeners = new SparseArray<>(0); field in NsdPublisher
170 mRegistrationListeners.append(listenerId, listener); in registerInternal()
185 RegistrationListener registrationListener = mRegistrationListeners.get(listenerId); in unregisterInternal()
372 for (int i = 0; i < mRegistrationListeners.size(); ++i) { in resetInternal()
374 mNsdManager.unregisterService(mRegistrationListeners.valueAt(i)); in resetInternal()
380 + mRegistrationListeners.keyAt(i) in resetInternal()
382 + mRegistrationListeners.valueAt(i).mServiceInfo, in resetInternal()
386 mRegistrationListeners.clear(); in resetInternal()
417 mRegistrationListeners.remove(mListenerId); in onRegistrationFailed()
488 mRegistrationListeners.remove(mListenerId); in onServiceUnregistered()
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/
DServiceDiscoveryTest.java106 private final List<RegistrationListener> mRegistrationListeners = new ArrayList<>(); field in ServiceDiscoveryTest
133 for (RegistrationListener listener : mRegistrationListeners) { in tearDown()
346 mRegistrationListeners.add(listener); in discoveryProxy_multipleClientsBrowseAndResolveServiceOverMdns()