Home
last modified time | relevance | path

Searched refs:ProbingInfo (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsProber.java39 public class MdnsProber extends MdnsPacketRepeater<MdnsProber.ProbingInfo> {
43 @NonNull PacketRepeaterCallback<ProbingInfo> cb, @NonNull SharedLog sharedLog) { in MdnsProber()
48 public static class ProbingInfo implements Request { class in MdnsProber
59 ProbingInfo(int serviceId, @NonNull List<MdnsRecord> probeRecords) { in ProbingInfo() method in MdnsProber.ProbingInfo
132 public void startProbing(@NonNull ProbingInfo info) { in startProbing()
136 private void startProbing(@NonNull ProbingInfo info, long delay) { in startProbing()
143 public void restartForConflict(@NonNull ProbingInfo newInfo) { in restartForConflict()
DMdnsInterfaceAdvertiser.java118 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()
208 @NonNull PacketRepeaterCallback<MdnsProber.ProbingInfo> cb, in makeMdnsProber()
319 final List<MdnsProber.ProbingInfo> probingInfos = in removeService()
374 final MdnsProber.ProbingInfo probingInfo = mRecordRepository.setServiceProbing(serviceId); in maybeRestartProbingForConflict()
388 final MdnsProber.ProbingInfo probingInfo = mRecordRepository.renameServiceForConflict( in renameServiceForConflict()
471 private void reprobeServices(List<MdnsProber.ProbingInfo> probingInfos) { in reprobeServices()
472 for (MdnsProber.ProbingInfo probingInfo : probingInfos) { in reprobeServices()
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>()
62 as MdnsPacketRepeater.PacketRepeaterCallback<ProbingInfo> in <lambda>()
79 ProbingInfo(1 /* serviceId */, probeRecords) { in <lambda>()
88 cb: PacketRepeaterCallback<ProbingInfo>, in <lambda>()
DMdnsInterfaceAdvertiserTest.kt32 import com.android.server.connectivity.mdns.MdnsProber.ProbingInfo in <lambda>()
105 as ArgumentCaptor<PacketRepeaterCallback<ProbingInfo>>
204 val probingInfo = mock(ProbingInfo::class.java) in testAddRemoveServiceWithCustomHost_restartProbingForProbingServices()
479 val mockProbingInfo = mock(ProbingInfo::class.java) in testRestartProbingForConflict()
489 val mockProbingInfo = mock(ProbingInfo::class.java) in testRenameServiceForConflict()
521 ProbingInfo { in addServiceAndStartProbing()
522 val testProbingInfo = mock(ProbingInfo::class.java) in addServiceAndStartProbing()