Home
last modified time | relevance | path

Searched refs:SharedLog (Results 1 – 25 of 90) sorted by relevance

1234

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DSharedLogTest.java47 final SharedLog logTop = new SharedLog(TAG); in testBasicOperation()
52 final SharedLog logLevel2a = logTop.forSubComponent("twoA"); in testBasicOperation()
53 final SharedLog logLevel2b = logTop.forSubComponent("twoB"); in testBasicOperation()
59 final SharedLog logLevel3 = logLevel2a.forSubComponent("three"); in testBasicOperation()
89 private static void assertDumpLogs(String[] expected, SharedLog log) { in assertDumpLogs()
94 private static String dump(SharedLog log) { in dump()
98 private static String reverseDump(SharedLog log) { in reverseDump()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringDependencies.java40 import com.android.net.module.util.SharedLog;
66 public OffloadHardwareInterface makeOffloadHardwareInterface(Handler h, SharedLog log) { in makeOffloadHardwareInterface()
75 @NonNull SharedLog log, @NonNull OffloadController.Dependencies deps) { in makeOffloadController()
87 SharedLog log, UpstreamNetworkMonitor.EventListener listener) { in makeUpstreamNetworkMonitor()
95 ArrayList<IpServer> notifyList, SharedLog log) { in makeIPv6TetheringCoordinator()
107 public EntitlementManager makeEntitlementManager(Context ctx, Handler h, SharedLog log, in makeEntitlementManager()
115 public TetheringConfiguration generateTetheringConfiguration(Context ctx, SharedLog log, in generateTetheringConfiguration()
DOffloadHardwareInterface.java33 import com.android.net.module.util.SharedLog;
76 private final SharedLog mLog;
170 public OffloadHardwareInterface(Handler h, SharedLog log) { in OffloadHardwareInterface()
174 OffloadHardwareInterface(Handler h, SharedLog log, Dependencies deps) { in OffloadHardwareInterface()
183 private final SharedLog mLog;
185 Dependencies(Handler handler, SharedLog log) { in Dependencies()
DOffloadHalAidlImpl.java38 import com.android.net.module.util.SharedLog;
52 private final SharedLog mLog;
61 @NonNull SharedLog log) { in OffloadHalAidlImpl()
219 public static IOffloadHal getIOffloadHal(Handler handler, SharedLog log) { in getIOffloadHal()
237 public final SharedLog log;
240 Handler h, OffloadHalCallback cb, SharedLog sharedLog) { in TetheringOffloadCallback()
DOffloadHalHidlImpl.java38 import com.android.net.module.util.SharedLog;
53 private final SharedLog mLog;
63 @NonNull IOffloadControl control, @NonNull Handler handler, @NonNull SharedLog log) { in OffloadHalHidlImpl()
284 public static IOffloadHal getIOffloadHal(Handler handler, SharedLog log) { in getIOffloadHal()
339 public final SharedLog log;
343 Handler h, OffloadHalCallback cb, SharedLog sharedLog, int offloadControlVersion) { in TetheringOffloadCallback()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DSharedLog.java40 public class SharedLog { class
63 public SharedLog(String tag) { in SharedLog() method in SharedLog
67 public SharedLog(int maxRecords, String tag) { in SharedLog() method in SharedLog
71 private SharedLog(LocalLog localLog, String tag, String component) { in SharedLog() method in SharedLog
84 public SharedLog forSubComponent(String component) { in forSubComponent()
88 return new SharedLog(mLocalLog, mTag, component); in forSubComponent()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocket.java24 import com.android.net.module.util.SharedLog;
48 private final SharedLog sharedLog;
52 SharedLog sharedLog) in MdnsSocket()
59 MulticastSocket multicastSocket, SharedLog sharedLog) throws IOException { in MdnsSocket()
DMulticastNetworkInterfaceProvider.java25 import com.android.net.module.util.SharedLog;
44 private final SharedLog sharedLog;
55 @NonNull SharedLog sharedLog) { in MulticastNetworkInterfaceProvider()
154 @NonNull SharedLog sharedLog) { in canScanOnInterface()
DConnectivityMonitorWithConnectivityManager.java28 import com.android.net.module.util.SharedLog;
33 private final SharedLog sharedLog;
45 SharedLog sharedLog) { in ConnectivityMonitorWithConnectivityManager()
DMdnsInterfaceAdvertiser.java32 import com.android.net.module.util.SharedLog;
75 private final SharedLog mSharedLog;
188 @NonNull SharedLog sharedLog, @NonNull MdnsFeatureFlags mdnsFeatureFlags) { in makeReplySender()
199 @NonNull SharedLog sharedLog) { in makeMdnsAnnouncer()
209 @NonNull SharedLog sharedLog) { in makeMdnsProber()
218 @NonNull String[] deviceHostName, @NonNull SharedLog sharedLog, in MdnsInterfaceAdvertiser()
227 @NonNull String[] deviceHostName, @NonNull SharedLog sharedLog, in MdnsInterfaceAdvertiser()
DSocketNetLinkMonitorFactory.java22 import com.android.net.module.util.SharedLog;
34 @NonNull SharedLog log, @NonNull MdnsSocketProvider.NetLinkMonitorCallBack cb) { in createNetLinkMonitor()
DMdnsPacketRepeater.java30 import com.android.net.module.util.SharedLog;
52 private final SharedLog mSharedLog;
148 @Nullable PacketRepeaterCallback<T> cb, @NonNull SharedLog sharedLog, in MdnsPacketRepeater()
DMdnsReplySender.java33 import com.android.net.module.util.SharedLog;
66 private final SharedLog mSharedLog;
106 @NonNull byte[] packetCreationBuffer, @NonNull SharedLog sharedLog, in MdnsReplySender()
114 @NonNull byte[] packetCreationBuffer, @NonNull SharedLog sharedLog, in MdnsReplySender()
DMdnsInterfaceSocket.java34 import com.android.net.module.util.SharedLog;
61 @NonNull private final SharedLog mSharedLog;
66 @NonNull Looper looper, @NonNull byte[] packetReadBuffer, @NonNull SharedLog sharedLog) in MdnsInterfaceSocket()
DMdnsAnnouncer.java26 import com.android.net.module.util.SharedLog;
112 @NonNull SharedLog sharedLog) { in MdnsAnnouncer()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/util/
DMdnsLogger.java22 import com.android.net.module.util.SharedLog;
29 public final SharedLog mLog;
37 mLog = new SharedLog(tag); in MdnsLogger()
/packages/modules/NetworkStack/src/com/android/server/
DNetworkStackService.java69 import com.android.net.module.util.SharedLog;
168 @NonNull DhcpServingParams params, @NonNull SharedLog log) { in makeDhcpServer()
176 @NonNull SharedLog log, @NonNull NetworkStackServiceManager nsServiceManager) { in makeNetworkMonitor()
208 private final ArrayDeque<SharedLog> mValidationLogs = new ArrayDeque<>(MAX_VALIDATION_LOGS);
273 private SharedLog addValidationLogs(Network network, String name) { in addValidationLogs()
274 final SharedLog log = new SharedLog(NUM_VALIDATION_LOG_LINES, network + " - " + name); in addValidationLogs()
340 private final SharedLog mLog = new SharedLog(TAG);
371 final SharedLog log = addValidationLogs(network, name); in makeNetworkMonitor()
485 for (SharedLog p : mValidationLogs) { in dump()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ip/
DNetlinkMonitor.java38 import com.android.net.module.util.SharedLog;
59 protected final SharedLog mLog;
83 public NetlinkMonitor(@NonNull Handler h, @NonNull SharedLog log, @NonNull String tag, in NetlinkMonitor()
93 public NetlinkMonitor(@NonNull Handler h, @NonNull SharedLog log, @NonNull String tag, in NetlinkMonitor()
DInterfaceController.java29 import com.android.net.module.util.SharedLog;
46 private final SharedLog mLog;
48 public InterfaceController(String ifname, INetd netd, SharedLog log) { in InterfaceController()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/internal/
DSocketNetlinkMonitor.java24 import com.android.net.module.util.SharedLog;
40 private final SharedLog mSharedLog;
45 @NonNull SharedLog log, in SocketNetlinkMonitor()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DFakeTetheringConfiguration.java24 import com.android.net.module.util.SharedLog;
28 FakeTetheringConfiguration(Context ctx, SharedLog log, int id) { in FakeTetheringConfiguration()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DSkDestroyListenerTest.kt21 import com.android.net.module.util.SharedLog
37 @Mock lateinit var sharedLog: SharedLog
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DConntrackSocketTest.java41 import com.android.net.module.util.SharedLog;
68 private final SharedLog mLog = new SharedLog("privileged-test");
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DSkDestroyListener.java25 import com.android.net.module.util.SharedLog;
54 final Handler handler, final SharedLog log) { in SkDestroyListener()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsProberTest.kt24 import com.android.net.module.util.SharedLog in <lambda>()
59 private val sharedLog = mock(SharedLog::class.java) in <lambda>()
89 sharedLog: SharedLog in <lambda>()

1234