Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketProvider.java87 @NonNull private final SharedLog mSharedLog; field in MdnsSocketProvider
122 mSharedLog.wtf("Wifi p2p interface is changed from " + mWifiP2pTetherInterface
137 mDependencies.getNetworkInterfaceIndexByName(newP2pIface, mSharedLog);
173 mSharedLog = sharedLog; in MdnsSocketProvider()
207 mSharedLog.forSubComponent("NetlinkMonitor"), new NetLinkMessageProcessor()); in MdnsSocketProvider()
341 mSharedLog.v("Already monitoring sockets."); in startMonitoringSockets()
344 mSharedLog.i("Start monitoring sockets."); in startMonitoringSockets()
373 mSharedLog.i("Stop monitoring sockets."); in maybeStopMonitoringSockets()
396 mSharedLog.v("Monitoring sockets hasn't been started."); in requestStopWhenInactive()
416 mSharedLog.v("Ignore LinkProperties change. There is no request for the" in handleLinkPropertiesChanged()
[all …]
DMdnsPacketRepeater.java52 private final SharedLog mSharedLog; field in MdnsPacketRepeater
115 mSharedLog.v("Sending packets for iteration " + index + " out of " in handleMessage()
125 mSharedLog.e("Error sending packet to " + destination, e); in handleMessage()
137 if (mEnableDebugLog) mSharedLog.v("Scheduled next packet in " + delay + "ms"); in handleMessage()
153 mSharedLog = sharedLog; in MdnsPacketRepeater()
159 mSharedLog.v("Starting send with id " + id + ", request " in startSending()
178 mSharedLog.v("Stopping send on id " + id); in stop()
DMdnsAdvertiser.java89 @NonNull private final SharedLog mSharedLog; field in MdnsAdvertiser
154 mSharedLog.wtf("Register succeeded for unknown registration");
189 mSharedLog.i("Found conflict, restarted probing for service "
245 if (DBG) { mSharedLog.i("onAllServicesRemoved: " + socket); }
329 if (DBG) { mSharedLog.i("MdnsInterfaceAdvertiser is destroyed: " + advertiser); } in destroyAdvertiser()
335 if (DBG) { mSharedLog.i("AdvertiserRequest is removed: " + advertiserRequest); } in destroyAdvertiser()
372 mSharedLog.wtf( in onAdvertiserDestroyed()
493 mSharedLog.wtf("Name conflict adding services that should have unique names", in addService()
547 mSharedLog.forSubComponent(socket.getInterface().getName()), in onSocketCreated()
559 mSharedLog.wtf("Name conflict adding services that should have unique names", in onSocketCreated()
[all …]
DMdnsMultinetworkSocketClient.java53 @NonNull private final SharedLog mSharedLog; field in MdnsMultinetworkSocketClient
67 mSharedLog = sharedLog; in MdnsMultinetworkSocketClient()
186 if (DBG) mSharedLog.v("notifyNetworkRequested: network=" + network); in notifyNetworkRequested()
198 mSharedLog.e("Can not be unrequested with unknown listener=" + listener); in notifyNetworkUnrequested()
221 mSharedLog.e("No socket matches targetSocketKey=" + targetSocketKey); in sendMdnsPackets()
242 mSharedLog.e("Failed to send a mDNS packet.", e); in sendMdnsPackets()
255 mSharedLog.e(e.getMessage(), e); in processResponsePacket()
DMdnsInterfaceAdvertiser.java75 private final SharedLog mSharedLog; field in MdnsInterfaceAdvertiser
126 mSharedLog.i("Probing finished for service " + info.getServiceId()); in onFinished()
132 mSharedLog.e("Error building announcements", e); in onFinished()
241 mSharedLog = sharedLog; in MdnsInterfaceAdvertiser()
279 mSharedLog.i("Service " + replacedExitingService in addService()
410 mSharedLog.e("Error parsing mDNS packet", e); in handlePacket()
412 mSharedLog.v("Packet: " + HexDump.toHexString(recvbuf, 0, length)); in handlePacket()
420 mSharedLog.v("Parsed packet with " + packet.questions.size() + " questions, " in handlePacket()
466 mSharedLog.wtf("Cannot create rawOffloadPacket: ", e); in getRawOffloadPayload()
DMdnsReplySender.java66 private final SharedLog mSharedLog; field in MdnsReplySender
120 mSharedLog = sharedLog; in MdnsReplySender()
196 mSharedLog.v("Scheduling " + reply); in queueReply()
244 mSharedLog.wtf("Unknown reply info."); in handleMessage()
248 if (mEnableDebugLog) mSharedLog.v("Sending " + replyInfo); in handleMessage()
260 mSharedLog.e("Error sending MDNS response", e); in handleMessage()
DMdnsInterfaceSocket.java61 @NonNull private final SharedLog mSharedLog; field in MdnsInterfaceSocket
89 mSharedLog = sharedLog; in MdnsInterfaceSocket()
127 mSharedLog.e("Error joining multicast group for " + mNetworkInterface, e); in joinGroup()
158 mSharedLog.e("Close file descriptor failed."); in destroy()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/internal/
DSocketNetlinkMonitor.java40 private final SharedLog mSharedLog; field in SocketNetlinkMonitor
50 mSharedLog = log; in SocketNetlinkMonitor()
76 mSharedLog.e("Unknown rtnetlink address msg type " + msg.getHeader().nlmsg_type); in processRtNetlinkAddressMessage()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinatorTest.java72 @Mock private SharedLog mSharedLog; field in IPv6TetheringCoordinatorTest
77 when(mSharedLog.forSubComponent(anyString())).thenReturn(mSharedLog); in setUp()
79 mIPv6TetheringCoordinator = new IPv6TetheringCoordinator(mNotifyList, mSharedLog); in setUp()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsMultinetworkSocketClientTest.java74 @Mock private SharedLog mSharedLog; field in MdnsMultinetworkSocketClientTest
89 mSharedLog, MdnsFeatureFlags.newBuilder().build()); in setUp()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java173 @Mock private SharedLog mSharedLog; field in IpServerTest
278 when(mSharedLog.forSubComponent(anyString())).thenReturn(mSharedLog); in setUp()
309 return new IpServer(IFACE_NAME, mHandler, interfaceType, mSharedLog, mNetd, mBpfCoordinator, in createIpServer()