Searched refs:mSocketKey (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsMultinetworkSocketClientTest.java | 78 private SocketKey mSocketKey; field in MdnsMultinetworkSocketClientTest 87 mSocketKey = new SocketKey(1000 /* interfaceIndex */); in setUp() 152 callback.onSocketCreated(mSocketKey, mSocket, List.of()); in testSendPacket() 153 verify(mSocketCreationCallback).onSocketCreated(mSocketKey); in testSendPacket() 160 mSocketClient.sendPacketRequestingMulticastResponse(List.of(ipv4Packet), mSocketKey, in testSendPacket() local 168 mSocketClient.sendPacketRequestingMulticastResponse(List.of(ipv4Packet), mSocketKey, in testSendPacket() local 212 callback.onSocketCreated(mSocketKey, mSocket, List.of()); in testReceivePacket() 213 verify(mSocketCreationCallback).onSocketCreated(mSocketKey); in testReceivePacket() 264 callback.onSocketCreated(mSocketKey, mSocket, List.of()); in testSocketRemovedAfterNetworkUnrequested() 267 verify(mSocketCreationCallback).onSocketCreated(mSocketKey); in testSocketRemovedAfterNetworkUnrequested() [all …]
|
D | MdnsSocketProviderTest.java | 240 public final SocketKey mSocketKey; 244 mSocketKey = socketKey; 291 assertEquals(network, event.mSocketKey.getNetwork()); 299 assertEquals(network, event.mSocketKey.getNetwork()); 307 assertEquals(network, event.mSocketKey.getNetwork());
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsServiceCache.java | 53 @NonNull final SocketKey mSocketKey; field in MdnsServiceCache.CacheKey 57 mSocketKey = socketKey; in CacheKey() 61 return Objects.hash(mLowercaseServiceType, mSocketKey); in hashCode() 72 && Objects.equals(mSocketKey, ((CacheKey) other).mSocketKey); in equals()
|
D | MdnsSocketProvider.java | 325 @NonNull final SocketKey mSocketKey; field in MdnsSocketProvider.SocketInfo 332 mSocketKey = socketKey; in SocketInfo() 609 mCallbacksToRequestedNetworks.keyAt(i).onSocketCreated(socketInfo.mSocketKey, in notifySocketCreated() 622 .onInterfaceDestroyed(socketInfo.mSocketKey, socketInfo.mSocket); in notifyInterfaceDestroyed() 633 .onAddressesChanged(socketInfo.mSocketKey, socketInfo.mSocket, addresses); in notifyAddressesChanged() 650 cb.onSocketCreated(socketInfo.mSocketKey, socketInfo.mSocket, socketInfo.mAddresses); in retrieveAndNotifySocketFromNetwork() 666 cb.onSocketCreated(socketInfo.mSocketKey, socketInfo.mSocket, socketInfo.mAddresses); in retrieveAndNotifySocketFromInterface()
|
D | MdnsMultinetworkSocketClient.java | 150 @NonNull private final SocketKey mSocketKey; field in MdnsMultinetworkSocketClient.ReadPacketHandler 153 mSocketKey = socketKey; in ReadPacketHandler() 158 processResponsePacket(recvbuf, length, mSocketKey); in handlePacket()
|