Home
last modified time | relevance | path

Searched refs:mSocketRequestMonitor (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketProviderTest.java122 @Mock private SocketRequestMonitor mSocketRequestMonitor; field in MdnsSocketProviderTest
176 mSocketRequestMonitor); in setUp()
338 final InOrder cbMonitorOrder = inOrder(mSocketRequestMonitor);
345 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketRequestFulfilled(eq(TEST_NETWORK),
352 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketRequestFulfilled(eq(TEST_NETWORK),
360 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketRequestFulfilled(eq(TEST_NETWORK),
369 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketRequestFulfilled(eq(null),
378 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketRequestFulfilled(eq(null),
390 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketDestroyed(eq(TEST_NETWORK), any());
396 cbMonitorOrder.verify(mSocketRequestMonitor).onSocketDestroyed(eq(null), any());
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketProvider.java102 private final SocketRequestMonitor mSocketRequestMonitor; field in MdnsSocketProvider
174 mSocketRequestMonitor = socketRequestMonitor; in MdnsSocketProvider()
592 mSocketRequestMonitor.onSocketDestroyed(network, socketInfo.mSocket); in removeNetworkSocket()
601 mSocketRequestMonitor.onSocketDestroyed(null /* network */, socketInfo.mSocket); in removeTetherInterfaceSocket()
611 mSocketRequestMonitor.onSocketRequestFulfilled(network, socketInfo.mSocket, in notifySocketCreated()
651 mSocketRequestMonitor.onSocketRequestFulfilled(network, socketInfo.mSocket, in retrieveAndNotifySocketFromNetwork()
667 mSocketRequestMonitor.onSocketRequestFulfilled(null /* socketNetwork */, in retrieveAndNotifySocketFromInterface()
723 mSocketRequestMonitor.onSocketDestroyed(network, info.mSocket); in unrequestSocket()
733 mSocketRequestMonitor.onSocketDestroyed(null /* network */, info.mSocket); in unrequestSocket()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java201 SocketRequestMonitor mSocketRequestMonitor; field in NsdServiceTest
256 mSocketRequestMonitor = cbMonitorCaptor.getValue(); in setUp()
1821 mSocketRequestMonitor.onSocketRequestFulfilled( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
1823 mSocketRequestMonitor.onSocketRequestFulfilled( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
1826 mSocketRequestMonitor.onSocketRequestFulfilled( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
1834 mHandler.post(() -> mSocketRequestMonitor.onSocketRequestFulfilled( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
1841 mHandler.post(() -> mSocketRequestMonitor.onSocketRequestFulfilled( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
1847 mHandler.post(() -> mSocketRequestMonitor.onSocketDestroyed( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
1853 mHandler.post(() -> mSocketRequestMonitor.onSocketDestroyed( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
1859 mHandler.post(() -> mSocketRequestMonitor.onSocketDestroyed( in testTakeMulticastLockOnBehalfOfClient_ForWifiNetworksOnly()
[all …]