Searched refs:mResolveHostCallback (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | NsdPublisherTest.java | 78 @Mock private INsdResolveHostCallback mResolveHostCallback; field in NsdPublisherTest 631 mNsdPublisher.resolveHost("test", mResolveHostCallback, 10 /* listenerId */); in resolveHost_hostResolved() 653 verify(mResolveHostCallback, times(1)) in resolveHost_hostResolved() 661 mNsdPublisher.resolveHost("test", mResolveHostCallback, 10 /* listenerId */); in resolveHost_errorReported() 679 verify(mResolveHostCallback, times(1)).onHostResolved("test", Collections.emptyList()); in resolveHost_errorReported() 686 mNsdPublisher.resolveHost("test", mResolveHostCallback, 10 /* listenerId */); in stopHostResolution()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | NsdPublisher.java | 655 private final INsdResolveHostCallback mResolveHostCallback; field in NsdPublisher.HostInfoListener 665 this.mResolveHostCallback = resolveHostCallback; in HostInfoListener() 690 mResolveHostCallback.onHostResolved(mHostname, addressStrings); in onAnswer() 710 mResolveHostCallback.onHostResolved(mHostname, Collections.emptyList()); in onError()
|