/packages/modules/NetworkStack/tests/unit/src/com/android/server/util/ |
D | SharedLogTest.java | 22 import android.net.util.SharedLog; 41 final SharedLog logTop = new SharedLog("top"); in testBasicOperation() 44 final SharedLog logLevel2a = logTop.forSubComponent("twoA"); in testBasicOperation() 45 final SharedLog logLevel2b = logTop.forSubComponent("twoB"); in testBasicOperation() 51 final SharedLog logLevel3 = logLevel2a.forSubComponent("three"); in testBasicOperation() 77 private static void verifyLogLines(String[] expected, SharedLog log) { in verifyLogLines()
|
/packages/modules/NetworkStack/common/moduleutils/src/android/net/util/ |
D | SharedLog.java | 37 public class SharedLog { class 58 public SharedLog(String tag) { in SharedLog() method in SharedLog 62 public SharedLog(int maxRecords, String tag) { in SharedLog() method in SharedLog 66 private SharedLog(LocalLog localLog, String tag, String component) { in SharedLog() method in SharedLog 79 public SharedLog forSubComponent(String component) { in forSubComponent() 83 return new SharedLog(mLocalLog, mTag, component); in forSubComponent()
|
/packages/modules/NetworkStack/src/com/android/server/ |
D | NetworkStackService.java | 46 import android.net.util.SharedLog; 158 @NonNull DhcpServingParams params, @NonNull SharedLog log) { in makeDhcpServer() 166 @NonNull SharedLog log, @NonNull NetworkStackServiceManager nsServiceManager) { in makeNetworkMonitor() 199 private final ArrayDeque<SharedLog> mValidationLogs = new ArrayDeque<>(MAX_VALIDATION_LOGS); 264 private SharedLog addValidationLogs(Network network, String name) { in addValidationLogs() 265 final SharedLog log = new SharedLog(NUM_VALIDATION_LOG_LINES, network + " - " + name); in addValidationLogs() 338 private final SharedLog mLog = new SharedLog(TAG); 369 final SharedLog log = addValidationLogs(network, name); in makeNetworkMonitor() 460 for (SharedLog p : mValidationLogs) { in dump()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpReachabilityMonitor.java | 35 import android.net.util.SharedLog; 163 IpNeighborMonitor makeIpNeighborMonitor(Handler h, SharedLog log, NeighborEventConsumer cb); in makeIpNeighborMonitor() 175 public IpNeighborMonitor makeIpNeighborMonitor(Handler h, SharedLog log, in makeDefault() 185 private final SharedLog mLog; 201 Context context, InterfaceParams ifParams, Handler h, SharedLog log, Callback callback, 208 IpReachabilityMonitor(Context context, InterfaceParams ifParams, Handler h, SharedLog log,
|
D | IpClientLinkObserver.java | 35 import android.net.util.SharedLog; 124 Configuration config, SharedLog log) { in IpClientLinkObserver() 292 MyNetlinkMonitor(Handler h, SharedLog log, String tag) { in MyNetlinkMonitor()
|
D | IpClient.java | 55 import android.net.util.SharedLog; 130 private static final ConcurrentHashMap<String, SharedLog> sSmLogs = new ConcurrentHashMap<>(); 146 final SharedLog smLog = sSmLogs.get(ifname); in dumpAllLogs() 187 private final SharedLog mLog; 192 protected IpClientCallbacksWrapper(IIpClientCallbacks callback, SharedLog log, in IpClientCallbacksWrapper() 464 private final SharedLog mLog; 581 sSmLogs.putIfAbsent(mInterfaceName, new SharedLog(MAX_LOG_RECORDS, mTag)); in IpClient()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpReachabilityMonitorTest.kt | 30 import android.net.util.SharedLog in <lambda>() 102 private val log = mock(SharedLog::class.java) 120 log: SharedLog, 169 val log = inv.getArgument<SharedLog>(1) in setUp()
|
D | InterfaceControllerTest.java | 30 import android.net.util.SharedLog; 53 @Mock private SharedLog mLog;
|
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/ |
D | InterfaceController.java | 25 import android.net.util.SharedLog; 46 private final SharedLog mLog; 48 public InterfaceController(String ifname, INetd netd, SharedLog log) { in InterfaceController()
|
D | NetlinkMonitor.java | 30 import android.net.util.SharedLog; 54 protected final SharedLog mLog; 71 public NetlinkMonitor(@NonNull Handler h, @NonNull SharedLog log, @NonNull String tag, in NetlinkMonitor()
|
D | IpNeighborMonitor.java | 29 import android.net.util.SharedLog; 125 public IpNeighborMonitor(Handler h, SharedLog log, NeighborEventConsumer cb) { in IpNeighborMonitor()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpServer.java | 52 import android.net.util.SharedLog; 111 private final SharedLog mLog; 172 @NonNull SharedLog log, @NonNull Clock clock); in makeLeaseRepository() 209 @NonNull SharedLog log, @NonNull Clock clock) { in makeLeaseRepository() 245 @NonNull DhcpServingParams params, @NonNull SharedLog log) { in DhcpServer() 251 @NonNull SharedLog log, @Nullable Dependencies deps) { in DhcpServer()
|
D | DhcpLeaseRepository.java | 33 import android.net.util.SharedLog; 71 private final SharedLog mLog; 134 long leaseTimeMs, @Nullable Inet4Address clientAddr, @NonNull SharedLog log, in DhcpLeaseRepository()
|
/packages/modules/NetworkStack/common/moduleutils/ |
D | Android.bp | 23 "src/android/net/util/SharedLog.java", 60 "src/android/net/util/SharedLog.java",
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServerTest.java | 55 import android.net.util.SharedLog; 142 MyDhcpServer(Context context, String ifName, DhcpServingParams params, SharedLog log, in MyDhcpServer() 207 new SharedLog(DhcpServerTest.class.getSimpleName()), mDeps); in setUp()
|
D | DhcpLeaseRepositoryTest.java | 51 import android.net.util.SharedLog; 95 private SharedLog mLog; 118 mLog = new SharedLog("DhcpLeaseRepositoryTest"); in initDhcpLeaseRepositoryWithOption()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 120 import android.net.util.SharedLog; 485 private final SharedLog mValidationLogs; 546 SharedLog validationLog, @NonNull NetworkStackServiceManager serviceManager) { in NetworkMonitor() 553 IpConnectivityLog logger, SharedLog validationLogs, in NetworkMonitor()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 55 import android.net.util.SharedLog; 940 super(mock(IIpClientCallbacks.class), mock(SharedLog.class), in MockIpClientCallback()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 116 import android.net.util.SharedLog; 211 private @Mock SharedLog mValidationLogger;
|