Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsInterfaceAdvertiser.java71 private final MdnsProber mProber;
118 private class ProbingCallback implements PacketRepeaterCallback<MdnsProber.ProbingInfo> {
120 public void onSent(int index, @NonNull MdnsProber.ProbingInfo info, int sentPacketCount) { in onSent()
124 public void onFinished(MdnsProber.ProbingInfo info) { in onFinished()
206 public MdnsProber makeMdnsProber(@NonNull String interfaceTag, @NonNull Looper looper, in makeMdnsProber()
208 @NonNull PacketRepeaterCallback<MdnsProber.ProbingInfo> cb, in makeMdnsProber()
210 return new MdnsProber(looper, replySender, cb, sharedLog.forSubComponent( in makeMdnsProber()
211 MdnsProber.class.getSimpleName() + "/" + interfaceTag)); in makeMdnsProber()
319 final List<MdnsProber.ProbingInfo> probingInfos = in removeService()
374 final MdnsProber.ProbingInfo probingInfo = mRecordRepository.setServiceProbing(serviceId); in maybeRestartProbingForConflict()
[all …]
DMdnsProber.java39 public class MdnsProber extends MdnsPacketRepeater<MdnsProber.ProbingInfo> { class
42 public MdnsProber(@NonNull Looper looper, @NonNull MdnsReplySender replySender, in MdnsProber() method in MdnsProber
DMdnsRecordRepository.java505 private MdnsProber.ProbingInfo makeProbingInfo( in makeProbingInfo()
547 return new MdnsProber.ProbingInfo(serviceId, probingRecords); in makeProbingInfo()
1031 public List<MdnsProber.ProbingInfo> restartProbingForHostname(@NonNull String hostname) { in restartProbingForHostname()
1032 final ArrayList<MdnsProber.ProbingInfo> probingInfos = new ArrayList<>(); in restartProbingForHostname()
1070 MdnsProber.ProbingInfo probeSuccessInfo) throws IOException { in onProbingSucceeded()
1365 public MdnsProber.ProbingInfo setServiceProbing(int serviceId) { in setServiceProbing()
1400 public MdnsProber.ProbingInfo renameServiceForConflict(int serviceId, NsdServiceInfo newInfo) { in renameServiceForConflict()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsProberTest.kt25 import com.android.server.connectivity.mdns.MdnsProber.ProbingInfo in <lambda>()
90 ) : MdnsProber(looper, replySender, cb, sharedLog) { in <lambda>()
DMdnsInterfaceAdvertiserTest.kt32 import com.android.server.connectivity.mdns.MdnsProber.ProbingInfo in <lambda>()
99 private val prober = mock(MdnsProber::class.java)
/packages/modules/Connectivity/service-t/
DAndroid.bp116 "src/com/android/server/connectivity/mdns/MdnsProber.java",