Home
last modified time | relevance | path

Searched defs:socketKey (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsMultinetworkSocketClient.java82 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()
DMdnsDiscoveryManager.java67 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()
DMdnsSocketClientBase.java73 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()
DQueryTaskConfig.java68 final SocketKey socketKey; field in QueryTaskConfig
91 @Nullable SocketKey socketKey) { in QueryTaskConfig()
DEnqueueMdnsQueryCallable.java73 private final SocketKey socketKey; field in EnqueueMdnsQueryCallable
95 @NonNull SocketKey socketKey, in EnqueueMdnsQueryCallable()
DMdnsServiceTypeClient.java72 @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()
DMdnsSocketProvider.java328 @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()
DMdnsAdvertiser.java540 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()
DMdnsServiceCache.java55 CacheKey(@NonNull String serviceType, @NonNull SocketKey socketKey) { in CacheKey()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsServiceTypeClientTests.java140 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 …]
DMdnsServiceCacheTest.kt56 private val socketKey = SocketKey(null /* network */, INTERFACE_INDEX) in <lambda>() constant in com.android.server.connectivity.mdns.MdnsServiceCacheTest