Home
last modified time | relevance | path

Searched refs:MdnsSocketProvider (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/internal/
DSocketNetlinkMonitor.java31 import com.android.server.connectivity.mdns.MdnsSocketProvider;
43 private final MdnsSocketProvider.NetLinkMonitorCallBack mCb;
46 @NonNull final MdnsSocketProvider.NetLinkMonitorCallBack cb) { in SocketNetlinkMonitor()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsMultinetworkSocketClient.java52 @NonNull private final MdnsSocketProvider mSocketProvider;
63 @NonNull MdnsSocketProvider provider, @NonNull SharedLog sharedLog, in MdnsMultinetworkSocketClient()
71 private class InterfaceSocketCallback implements MdnsSocketProvider.SocketCallback {
DSocketNetLinkMonitorFactory.java34 @NonNull SharedLog log, @NonNull MdnsSocketProvider.NetLinkMonitorCallBack cb) { in createNetLinkMonitor()
DMdnsSocketProvider.java72 public class MdnsSocketProvider { class
73 private static final String TAG = MdnsSocketProvider.class.getSimpleName();
160 public MdnsSocketProvider(@NonNull Context context, @NonNull Looper looper, in MdnsSocketProvider() method in MdnsSocketProvider
166 MdnsSocketProvider(@NonNull Context context, @NonNull Looper looper, in MdnsSocketProvider() method in MdnsSocketProvider
DMdnsAdvertiser.java81 private final MdnsSocketProvider mSocketProvider;
347 private class InterfaceAdvertiserRequest implements MdnsSocketProvider.SocketCallback {
811 public MdnsAdvertiser(@NonNull Looper looper, @NonNull MdnsSocketProvider socketProvider, in MdnsAdvertiser()
819 MdnsAdvertiser(@NonNull Looper looper, @NonNull MdnsSocketProvider socketProvider, in MdnsAdvertiser()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/internal/
DSocketNetlinkMonitorTest.kt14 import com.android.server.connectivity.mdns.MdnsSocketProvider
37 Mockito.mock(MdnsSocketProvider.NetLinkMonitorCallBack::class.java)
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketProviderTest.java74 import com.android.server.connectivity.mdns.MdnsSocketProvider.Dependencies;
75 import com.android.server.connectivity.mdns.MdnsSocketProvider.SocketRequestMonitor;
125 private MdnsSocketProvider mSocketProvider;
175 mSocketProvider = new MdnsSocketProvider(mContext, mHandlerThread.getLooper(), mDeps, mLog, in setUp()
227 @Nullable MdnsSocketProvider.NetLinkMonitorCallBack cb) {
238 private class TestSocketCallback implements MdnsSocketProvider.SocketCallback {
DMdnsMultinetworkSocketClientTest.java19 import static com.android.server.connectivity.mdns.MdnsSocketProvider.SocketCallback;
69 @Mock private MdnsSocketProvider mProvider;
DMdnsAdvertiserTest.kt36 import com.android.server.connectivity.mdns.MdnsSocketProvider.SocketCallback
172 private val socketProvider = mock(MdnsSocketProvider::class.java)
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java110 import com.android.server.connectivity.mdns.MdnsSocketProvider;
219 private final MdnsSocketProvider mMdnsSocketProvider;
444 private class SocketRequestMonitor implements MdnsSocketProvider.SocketRequestMonitor {
2020 @NonNull Looper looper, @NonNull MdnsSocketProvider socketProvider, in makeMdnsAdvertiser()
2029 public MdnsSocketProvider makeMdnsSocketProvider(@NonNull Context context, in makeMdnsSocketProvider()
2031 @NonNull MdnsSocketProvider.SocketRequestMonitor socketCreationCallback) { in makeMdnsSocketProvider()
2032 return new MdnsSocketProvider(context, looper, sharedLog, socketCreationCallback); in makeMdnsSocketProvider()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java123 import com.android.server.connectivity.mdns.MdnsSocketProvider;
124 import com.android.server.connectivity.mdns.MdnsSocketProvider.SocketRequestMonitor;
195 @Mock MdnsSocketProvider mSocketProvider;