Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsAdvertiser.java20 import static com.android.server.connectivity.mdns.MdnsInterfaceAdvertiser.CONFLICT_HOST;
21 import static com.android.server.connectivity.mdns.MdnsInterfaceAdvertiser.CONFLICT_SERVICE;
84 private final ArrayMap<MdnsInterfaceSocket, MdnsInterfaceAdvertiser> mAllAdvertisers =
103 public MdnsInterfaceAdvertiser makeAdvertiser(@NonNull MdnsInterfaceSocket socket, in makeAdvertiser()
106 @NonNull MdnsInterfaceAdvertiser.Callback cb, in makeAdvertiser()
111 return new MdnsInterfaceAdvertiser(socket, initialAddresses, looper, in makeAdvertiser()
147 private final MdnsInterfaceAdvertiser.Callback mInterfaceAdvertiserCb =
148 new MdnsInterfaceAdvertiser.Callback() {
151 @NonNull MdnsInterfaceAdvertiser advertiser, int serviceId) {
187 public void onServiceConflict(@NonNull MdnsInterfaceAdvertiser advertiser, int serviceId,
[all …]
DMdnsInterfaceAdvertiser.java48 public class MdnsInterfaceAdvertiser implements MulticastPacketReader.PacketHandler { class
88 void onServiceProbingSucceeded(@NonNull MdnsInterfaceAdvertiser advertiser, int serviceId); in onServiceProbingSucceeded()
101 @NonNull MdnsInterfaceAdvertiser advertiser, int serviceId, int conflictType); in onServiceConflict()
128 MdnsInterfaceAdvertiser.this, info.getServiceId())); in onFinished()
215 public MdnsInterfaceAdvertiser(@NonNull MdnsInterfaceSocket socket, in MdnsInterfaceAdvertiser() method in MdnsInterfaceAdvertiser
224 public MdnsInterfaceAdvertiser(@NonNull MdnsInterfaceSocket socket, in MdnsInterfaceAdvertiser() method in MdnsInterfaceAdvertiser
DMdnsRecordRepository.java22 import static com.android.server.connectivity.mdns.MdnsInterfaceAdvertiser.CONFLICT_HOST;
23 import static com.android.server.connectivity.mdns.MdnsInterfaceAdvertiser.CONFLICT_SERVICE;
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsAdvertiserTest.kt35 import com.android.server.connectivity.mdns.MdnsInterfaceAdvertiser.CONFLICT_SERVICE
178 private val mockInterfaceAdvertiser1 = mock(MdnsInterfaceAdvertiser::class.java)
179 private val mockInterfaceAdvertiser2 = mock(MdnsInterfaceAdvertiser::class.java)
241 val intAdvCbCaptor = ArgumentCaptor.forClass(MdnsInterfaceAdvertiser.Callback::class.java) in testAddService_OneNetwork()
307 val intAdvCbCaptor1 = ArgumentCaptor.forClass(MdnsInterfaceAdvertiser.Callback::class.java) in testAddService_AllNetworksWithSubType()
308 val intAdvCbCaptor2 = ArgumentCaptor.forClass(MdnsInterfaceAdvertiser.Callback::class.java) in testAddService_AllNetworksWithSubType()
399 val intAdvCbCaptor1 = ArgumentCaptor.forClass(MdnsInterfaceAdvertiser.Callback::class.java) in testAddService_OffloadPriority()
487 val intAdvCbCaptor = ArgumentCaptor.forClass(MdnsInterfaceAdvertiser.Callback::class.java) in testAddService_Conflicts()
DMdnsInterfaceAdvertiserTest.kt29 import com.android.server.connectivity.mdns.MdnsInterfaceAdvertiser.CONFLICT_SERVICE in <lambda>()
30 import com.android.server.connectivity.mdns.MdnsInterfaceAdvertiser.EXIT_ANNOUNCEMENT_DELAY_MS in <lambda>()
94 private val cb = mock(MdnsInterfaceAdvertiser.Callback::class.java)
95 private val deps = mock(MdnsInterfaceAdvertiser.Dependencies::class.java)
117 MdnsInterfaceAdvertiser( in <lambda>()
DMdnsRecordRepositoryTest.kt26 import com.android.server.connectivity.mdns.MdnsInterfaceAdvertiser.CONFLICT_HOST in <lambda>()
27 import com.android.server.connectivity.mdns.MdnsInterfaceAdvertiser.CONFLICT_SERVICE in <lambda>()
/packages/modules/Connectivity/service-t/
DAndroid.bp115 "src/com/android/server/connectivity/mdns/MdnsInterfaceAdvertiser.java",