Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/com/android/server/
DNetworkStackServiceTest.kt79 private val deps = mock(Dependencies::class.java).apply { in <lambda>() constant
97 private val connector = NetworkStackConnector(context, permChecker, deps)
165 verify(deps).makeDhcpServer(any(), eq(TEST_IFACE), any(), any()) in prepareDumpVersionTest()
178 verify(deps).makeNetworkMonitor(any(), any(), eq(Network(123)), any(), any()) in prepareDumpVersionTest()
190 verify(deps).makeIpClient(any(), eq(TEST_IFACE), any(), any(), any()) in prepareDumpVersionTest()
/packages/apps/Camera2/src/com/android/camera/async/
DObservableCombiner.java67 ArrayList<I> deps = new ArrayList<>(); in transform()
69 deps.add(dependency.get()); in transform()
71 return function.apply(deps); in transform()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServer.java251 @NonNull SharedLog log, @Nullable Dependencies deps) { in DhcpServer() argument
254 if (deps == null) { in DhcpServer()
255 deps = new DependenciesImpl(); in DhcpServer()
261 mDeps = deps; in DhcpServer()
262 mClock = deps.makeClock(); in DhcpServer()
263 mLeaseRepo = deps.makeLeaseRepository(mServingParams, mLog, mClock); in DhcpServer()
264 mDhcpRapidCommitEnabled = deps.isFeatureEnabled(context, DHCP_RAPID_COMMIT_VERSION); in DhcpServer()
DDhcpClient.java452 Dependencies deps) { in DhcpClient() argument
455 mDependencies = deps; in DhcpClient()
459 mIpMemoryStore = deps.getIpMemoryStore(); in DhcpClient()
460 mMetrics = deps.getIpProvisioningMetrics(); in DhcpClient()
498 final boolean sendHostname = deps.getSendHostnameOption(context); in DhcpClient()
500 deps.getDeviceName(mContext)) : null; in DhcpClient()
510 Dependencies deps) { in makeDhcpClient() argument
511 DhcpClient client = new DhcpClient(context, controller, ifParams.name, deps); in makeDhcpClient()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java528 InterfaceParams ifParams, DhcpClient.Dependencies deps) { in makeDhcpClient() argument
529 return DhcpClient.makeDhcpClient(context, controller, ifParams, deps); in makeDhcpClient()
564 Dependencies deps) { in IpClient() argument
574 mDependencies = deps; in IpClient()
575 mMetricsLog = deps.getIpConnectivityLog(); in IpClient()
579 mIpMemoryStore = deps.getIpMemoryStore(context, nssManager); in IpClient()
590 mNetd = deps.getNetd(mContext); in IpClient()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java554 @NonNull NetworkStackServiceManager serviceManager, Dependencies deps, in NetworkMonitor() argument
568 mDependencies = deps; in NetworkMonitor()
570 mCleartextDnsNetwork = deps.getPrivateDnsBypassNetwork(network); in NetworkMonitor()
592 mMetricsEnabled = deps.isFeatureEnabled(context, NAMESPACE_CONNECTIVITY, in NetworkMonitor()
600 mRandom = deps.getRandom(); in NetworkMonitor()
1539 final ValidationProperties deps = new ValidationProperties(mNetworkCapabilities); in enter() local
1541 isCaptivePortal(deps)))); in enter()
/packages/modules/NetworkStack/src/com/android/server/
DNetworkStackService.java282 @NonNull Dependencies deps) { in NetworkStackConnector() argument
285 mDeps = deps; in NetworkStackConnector()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java143 Dependencies deps) { in MyDhcpServer() argument
144 super(context, ifName, params, log, deps); in MyDhcpServer()
/packages/apps/Car/libs/androidx-room/
DAndroid.bp24 "car-androidx-room-compiler-tools-common-m2-deps",
/packages/apps/TV/libs/
DAndroid.bp69 jars: ["google-java-format-1.7-all-deps.jar"],
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java316 InterfaceParams ifParams, DhcpClient.Dependencies deps) { in makeDhcpClient() argument
317 mDhcpClient = DhcpClient.makeDhcpClient(context, controller, ifParams, deps); in makeDhcpClient()