Home
last modified time | relevance | path

Searched refs:Dependencies (Results 1 – 17 of 17) sorted by relevance

/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java161 interface Dependencies { interface in IpReachabilityMonitor
165 static Dependencies makeDefault(Context context, String iface) { in makeDefault()
170 return new Dependencies() { in makeDefault()
187 private final Dependencies mDependencies;
204 Dependencies.makeDefault(context, ifParams.name), new IpConnectivityLog(), netd);
209 Callback callback, boolean usingMultinetworkPolicyTracker, Dependencies dependencies,
DIpClient.java456 private final Dependencies mDependencies;
501 public static class Dependencies { class in IpClient
528 InterfaceParams ifParams, DhcpClient.Dependencies deps) { in makeDhcpClient()
535 public DhcpClient.Dependencies getDhcpClientDependencies( in getDhcpClientDependencies()
537 return new DhcpClient.Dependencies(ipMemoryStore, metrics); in getDhcpClientDependencies()
558 this(context, ifName, callback, observerRegistry, nssManager, new Dependencies()); in IpClient()
564 Dependencies deps) { in IpClient()
/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java59 private final Dependencies mDependencies;
100 protected static class Dependencies { class in NetworkStackNotifier
107 this(context, looper, new Dependencies()); in NetworkStackNotifier()
111 @NonNull Dependencies dependencies) { in NetworkStackNotifier()
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java119 private final Dependencies mDependencies;
144 public TcpSocketTracker(@NonNull final Dependencies dps, @NonNull final Network network) { in TcpSocketTracker()
526 public static class Dependencies { class in TcpSocketTracker
529 public Dependencies(final Context context) { in Dependencies() method in TcpSocketTracker.Dependencies
/packages/modules/NetworkStack/src/com/android/server/
DNetworkStackService.java142 public static class Dependencies { class in NetworkStackService
188 private final Dependencies mDeps;
276 this(context, new PermissionChecker(), new Dependencies()); in NetworkStackConnector()
282 @NonNull Dependencies deps) { in NetworkStackConnector()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
DTcpSocketTrackerTest.java209 @Mock private TcpSocketTracker.Dependencies mDependencies;
349 assertFalse(new TcpSocketTracker.Dependencies(getInstrumentation().getContext()) in testTcpInfoParsingNotSupportedOnQ()
355 assertTrue(new TcpSocketTracker.Dependencies(getInstrumentation().getContext()) in testTcpInfoParsingSupportedFromR()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServer.java113 private final Dependencies mDeps;
154 public interface Dependencies { interface in DhcpServer
200 private class DependenciesImpl implements Dependencies {
251 @NonNull SharedLog log, @Nullable Dependencies deps) { in DhcpServer()
DDhcpClient.java340 private Dependencies mDependencies;
383 public static class Dependencies { class in DhcpClient
387 public Dependencies(NetworkStackIpMemoryStore store, IpProvisioningMetrics metrics) { in Dependencies() method in DhcpClient.Dependencies
452 Dependencies deps) { in DhcpClient()
510 Dependencies deps) { in makeDhcpClient()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/
DNetworkStackServiceTest.kt37 import com.android.server.NetworkStackService.Dependencies
79 private val deps = mock(Dependencies::class.java).apply { in <lambda>()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java54 import android.net.dhcp.DhcpServer.Dependencies;
118 private Dependencies mDeps;
143 Dependencies deps) { in MyDhcpServer()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java221 private Dependencies mDependencies;
276 private class Dependencies extends IpClient.Dependencies { class in IpClientIntegrationTest
316 InterfaceParams ifParams, DhcpClient.Dependencies deps) { in makeDhcpClient()
322 public DhcpClient.Dependencies getDhcpClientDependencies( in getDhcpClientDependencies()
324 return new DhcpClient.Dependencies(ipMemoryStore, metrics) { in getDhcpClientDependencies()
382 mDependencies = new Dependencies();
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt51 import com.android.networkstack.NetworkStackNotifier.Dependencies
80 private lateinit var mDependencies: Dependencies
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java429 private final Dependencies mDependencies;
548 Dependencies.DEFAULT, getTcpSocketTrackerOrNull(context, network)); in NetworkMonitor()
554 @NonNull NetworkStackServiceManager serviceManager, Dependencies deps, in NetworkMonitor()
3117 public static class Dependencies { class in NetworkMonitor
3224 public static final Dependencies DEFAULT = new Dependencies();
3549 return ((Dependencies.DEFAULT.getDeviceConfigPropertyInt( in getTcpSocketTrackerOrNull()
3554 ? new TcpSocketTracker(new TcpSocketTracker.Dependencies(context), network) in getTcpSocketTrackerOrNull()
/packages/inputmethods/LatinIME/
DAndroid.bp20 … // Dependencies for Dicttool. Most of these files are needed by BinaryDictionary.java. Note that
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpReachabilityMonitorTest.kt101 private val dependencies = mock(IpReachabilityMonitor.Dependencies::class.java)
DIpClientTest.java118 @Mock private IpClient.Dependencies mDependencies;
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java230 private @Mock NetworkMonitor.Dependencies mDependencies;
238 private @Mock TcpSocketTracker.Dependencies mTstDependencies;
581 private TcpSocketTracker getTcpSocketTrackerOrNull(NetworkMonitor.Dependencies dp) { in getTcpSocketTrackerOrNull()