/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsMultinetworkSocketClient.java | 82 public void onSocketCreated(@NonNull SocketKey socketKey, in onSocketCreated() 98 public void onInterfaceDestroyed(@NonNull SocketKey socketKey, in onInterfaceDestroyed() 105 private void notifySocketDestroyed(@NonNull SocketKey socketKey) { in notifySocketDestroyed() 115 final SocketKey socketKey = mActiveSockets.keyAt(i); in onNetworkUnrequested() local 122 private boolean isSocketActive(@NonNull SocketKey socketKey) { in isSocketActive() 144 private void maybeCleanupPacketHandler(@NonNull SocketKey socketKey) { in maybeCleanupPacketHandler() 152 ReadPacketHandler(@NonNull SocketKey socketKey) { in ReadPacketHandler() 247 private void processResponsePacket(byte[] recvbuf, int length, @NonNull SocketKey socketKey) { in processResponsePacket() 272 @NonNull SocketKey socketKey, boolean onlyUseIpv6OnIpv6OnlyNetworks) { in sendPacketRequestingMulticastResponse() 290 @NonNull SocketKey socketKey, boolean onlyUseIpv6OnIpv6OnlyNetworks) { in sendPacketRequestingUnicastResponse()
|
D | MdnsDiscoveryManager.java | 67 public void put(@NonNull String serviceType, @NonNull SocketKey socketKey, in put() 77 @NonNull String serviceType, @NonNull SocketKey socketKey) { in get() 96 public List<MdnsServiceTypeClient> getBySocketKey(@NonNull SocketKey socketKey) { in getBySocketKey() 336 public void onResponseReceived(@NonNull MdnsPacket packet, @NonNull SocketKey socketKey) { in onResponseReceived() 342 @NonNull SocketKey socketKey) { in handleOnResponseReceived() 348 private List<MdnsServiceTypeClient> getMdnsServiceTypeClient(@NonNull SocketKey socketKey) { in getMdnsServiceTypeClient() 358 @NonNull SocketKey socketKey) { in onFailedToParseMdnsResponse() 364 @NonNull SocketKey socketKey) { in handleOnFailedToParseMdnsResponse() 372 @NonNull SocketKey socketKey) { in createServiceTypeClient()
|
D | MdnsSocketClientBase.java | 73 void onResponseReceived(@NonNull MdnsPacket packet, @NonNull SocketKey socketKey); in onResponseReceived() 77 @NonNull SocketKey socketKey); in onFailedToParseMdnsResponse() 83 void onSocketCreated(@NonNull SocketKey socketKey); in onSocketCreated() 86 void onSocketDestroyed(@NonNull SocketKey socketKey); in onSocketDestroyed()
|
D | QueryTaskConfig.java | 68 final SocketKey socketKey; field in QueryTaskConfig 91 @Nullable SocketKey socketKey) { in QueryTaskConfig()
|
D | EnqueueMdnsQueryCallable.java | 73 private final SocketKey socketKey; field in EnqueueMdnsQueryCallable 95 @NonNull SocketKey socketKey, in EnqueueMdnsQueryCallable()
|
D | MdnsServiceTypeClient.java | 72 @NonNull private final SocketKey socketKey; field in MdnsServiceTypeClient 260 @NonNull SocketKey socketKey, in MdnsServiceTypeClient() 275 @NonNull SocketKey socketKey, in MdnsServiceTypeClient() 499 @NonNull SocketKey socketKey) { in processResponse() 653 private List<MdnsResponse> makeResponsesForResolve(@NonNull SocketKey socketKey) { in makeResponsesForResolve()
|
D | MdnsSocketProvider.java | 328 @NonNull SocketKey socketKey) { in SocketInfo() 536 final SocketKey socketKey = new SocketKey(network, networkInterface.getIndex()); in createSocket() local 754 default void onSocketCreated(@NonNull SocketKey socketKey, in onSocketCreated() 762 default void onInterfaceDestroyed(@NonNull SocketKey socketKey, in onInterfaceDestroyed() 768 default void onAddressesChanged(@NonNull SocketKey socketKey, in onAddressesChanged()
|
D | MdnsAdvertiser.java | 540 public void onSocketCreated(@NonNull SocketKey socketKey, in onSocketCreated() 566 public void onInterfaceDestroyed(@NonNull SocketKey socketKey, in onInterfaceDestroyed() 573 public void onAddressesChanged(@NonNull SocketKey socketKey, in onAddressesChanged()
|
D | MdnsServiceCache.java | 55 CacheKey(@NonNull String serviceType, @NonNull SocketKey socketKey) { in CacheKey()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsServiceTypeClientTests.java | 140 private SocketKey socketKey; field in MdnsServiceTypeClientTests 274 private void processResponse(MdnsPacket packet, SocketKey socketKey) { in processResponse() 768 List<String> subTypes, Map<String, String> attributes, SocketKey socketKey) { in verifyServiceInfo() 921 String serviceName, String[] serviceType, SocketKey socketKey) { in verifyServiceRemovedCallback() 945 Collections.emptyMap(), TEST_TTL), socketKey); in processResponse_goodBye() local 960 Collections.emptyMap(), 0L), socketKey); in processResponse_goodBye() local 1028 Collections.emptyMap(), TEST_TTL), socketKey); in processResponse_searchOptionsEnableServiceRemoval_shouldRemove() local 1061 Collections.emptyMap(), TEST_TTL), socketKey); in processResponse_searchOptionsNotEnableServiceRemoval_shouldNotRemove() local 1086 Collections.emptyMap(), TEST_TTL), socketKey); in processResponse_removeServiceAfterTtlExpiresEnabled_shouldRemove() local 1111 Collections.emptyMap(), TEST_TTL), socketKey); in testProcessResponse_InOrder() local [all …]
|
D | MdnsServiceCacheTest.kt | 56 private val socketKey = SocketKey(null /* network */, INTERFACE_INDEX) in <lambda>() constant in com.android.server.connectivity.mdns.MdnsServiceCacheTest
|