Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt202 private inner class TestConnectivityService(deps: Dependencies) : ConnectivityService( in <lambda>()
203 context, dnsResolver, log, netd, deps) in <lambda>()
206 val deps = spy(ConnectivityService.Dependencies()) in <lambda>() constant
207 doReturn(networkStackClient).`when`(deps).networkStack in <lambda>()
208 doReturn(mock(ProxyTracker::class.java)).`when`(deps).makeProxyTracker(any(), any()) in <lambda>()
209 doReturn(mock(MockableSystemProperties::class.java)).`when`(deps).systemProperties in <lambda>()
210 doReturn(TestNetIdManager()).`when`(deps).makeNetIdManager() in <lambda>()
216 }.`when`(deps).makeMultinetworkPolicyTracker(any(), any(), any()) in <lambda>()
217 return deps in <lambda>()
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java109 public BpfCoordinatorShimImpl(@NonNull final Dependencies deps) { in BpfCoordinatorShimImpl() argument
110 mLog = deps.getSharedLog().forSubComponent(TAG); in BpfCoordinatorShimImpl()
112 mBpfDownstream4Map = deps.getBpfDownstream4Map(); in BpfCoordinatorShimImpl()
113 mBpfUpstream4Map = deps.getBpfUpstream4Map(); in BpfCoordinatorShimImpl()
114 mBpfDownstream6Map = deps.getBpfDownstream6Map(); in BpfCoordinatorShimImpl()
115 mBpfUpstream6Map = deps.getBpfUpstream6Map(); in BpfCoordinatorShimImpl()
116 mBpfStatsMap = deps.getBpfStatsMap(); in BpfCoordinatorShimImpl()
117 mBpfLimitMap = deps.getBpfLimitMap(); in BpfCoordinatorShimImpl()
118 mBpfDevMap = deps.getBpfDevMap(); in BpfCoordinatorShimImpl()
/packages/modules/Virtualization/microdroid/
DAndroid.bp46 deps: [
78 deps: [
115 deps: [
122 deps: [
188 deps: [
219 deps: ["virt_device_prebuilts_kernel_modules-5.10-arm64"],
222 deps: ["virt_device_prebuilts_kernel_modules-5.10-x86_64"],
225 deps: [
/packages/modules/Connectivity/Tethering/apishim/common/com/android/networkstack/tethering/apishim/common/
DBpfCoordinatorShim.java41 public static BpfCoordinatorShim getBpfCoordinatorShim(@NonNull final Dependencies deps) { in getBpfCoordinatorShim() argument
42 if (deps.isAtLeastS()) { in getBpfCoordinatorShim()
44 deps); in getBpfCoordinatorShim()
47 deps); in getBpfCoordinatorShim()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringDependencies.java48 @NonNull BpfCoordinator.Dependencies deps) { in getBpfCoordinator()
49 return new BpfCoordinator(deps); in getBpfCoordinator()
64 @NonNull SharedLog log, @NonNull OffloadController.Dependencies deps) { in getOffloadController() argument
68 getContext().getContentResolver(), statsManager, log, deps); in getOffloadController()
DTetheringService.java74 final TetheringDependencies deps = makeTetheringDependencies(); in onCreate() local
77 mConnector = new TetheringConnector(makeTethering(deps), TetheringService.this); in onCreate()
86 public Tethering makeTethering(TetheringDependencies deps) { in makeTethering() argument
87 return new Tethering(deps); in makeTethering()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/
DNetworkStackServiceTest.kt82 private val deps = mock(Dependencies::class.java).apply { in <lambda>() constant in com.android.server.NetworkStackServiceTest
100 private val connector = NetworkStackConnector(context, permChecker, deps)
168 verify(deps).makeDhcpServer(any(), eq(TEST_IFACE), any(), any()) in prepareDumpVersionTest()
182 verify(deps).makeNetworkMonitor(any(), any(), eq(Network(123)), any(), any()) in prepareDumpVersionTest()
194 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/Virtualization/tests/
DAndroid.bp84 deps: [kernel_modules_stem + "-arm64"],
87 deps: [kernel_modules_stem + "-x86_64"],
90 deps: [
/packages/modules/Connectivity/Tethering/apishim/30/com/android/networkstack/tethering/apishim/api30/
DBpfCoordinatorShimImpl.java50 public BpfCoordinatorShimImpl(@NonNull final Dependencies deps) { in BpfCoordinatorShimImpl() argument
51 mLog = deps.getSharedLog().forSubComponent(TAG); in BpfCoordinatorShimImpl()
52 mNetd = deps.getNetd(); in BpfCoordinatorShimImpl()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServer.java252 @NonNull SharedLog log, @Nullable Dependencies deps) { in DhcpServer() argument
255 if (deps == null) { in DhcpServer()
256 deps = new DependenciesImpl(); in DhcpServer()
262 mDeps = deps; in DhcpServer()
263 mClock = deps.makeClock(); in DhcpServer()
264 mLeaseRepo = deps.makeLeaseRepository(mServingParams, mLog, mClock); in DhcpServer()
265 mDhcpRapidCommitEnabled = deps.isFeatureEnabled(context, DHCP_RAPID_COMMIT_VERSION); in DhcpServer()
DDhcpClient.java473 Dependencies deps) { in DhcpClient() argument
476 mDependencies = deps; in DhcpClient()
480 mIpMemoryStore = deps.getIpMemoryStore(); in DhcpClient()
481 mMetrics = deps.getIpProvisioningMetrics(); in DhcpClient()
520 final boolean sendHostname = deps.getSendHostnameOption(context); in DhcpClient()
522 deps.getDeviceName(mContext)) : null; in DhcpClient()
532 Dependencies deps) { in makeDhcpClient() argument
533 DhcpClient client = new DhcpClient(context, controller, ifParams.name, deps); in makeDhcpClient()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimPreparedModel.cpp231 std::vector<const ANeuralNetworksEvent*> deps(waitFor.size()); in executeFenced() local
233 std::transform(waitFor.begin(), waitFor.end(), deps.begin(), in executeFenced()
243 const auto guard = ::android::base::make_scope_guard([this, deps] { in executeFenced()
244 for (auto& dep : deps) { in executeFenced()
254 auto result = execution.startComputeWithDependencies(deps, durationNs, &e); in executeFenced()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkQuirkMetrics.java53 public NetworkQuirkMetrics(Dependencies deps) { in NetworkQuirkMetrics() argument
54 mDependencies = deps; in NetworkQuirkMetrics()
/packages/apps/WallpaperPicker2/
DAndroid.bp25 name: "wallpaper-common-deps",
97 "wallpaper-common-deps",
/packages/modules/NeuralNetworks/runtime/test/
DTestNeuralNetworksWrapper.h464 std::vector<const ANeuralNetworksEvent*> deps(dependencies.size()); in startComputeWithDependencies()
465 std::transform(dependencies.begin(), dependencies.end(), deps.begin(), in startComputeWithDependencies()
469 mExecution, deps.data(), deps.size(), duration, &ev)); in startComputeWithDependencies()
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworksWrapper.h671 std::vector<const ANeuralNetworksEvent*> deps(dependencies.size());
672 std::transform(dependencies.begin(), dependencies.end(), deps.begin(),
677 mExecution, deps.data(), deps.size(), duration, &ev)));
/packages/modules/Gki/build/
Draw_img_ota.go39 func keysToVars(deps map[string]string) []string {
41 for dep := range deps {
DAndroid.bp23 deps: [
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java570 InterfaceParams ifParams, DhcpClient.Dependencies deps) { in makeDhcpClient() argument
571 return DhcpClient.makeDhcpClient(context, controller, ifParams, deps); in makeDhcpClient()
630 Dependencies deps) { in IpClient() argument
640 mDependencies = deps; in IpClient()
641 mMetricsLog = deps.getIpConnectivityLog(); in IpClient()
642 mNetworkQuirkMetrics = deps.getNetworkQuirkMetrics(); in IpClient()
646 mIpMemoryStore = deps.getIpMemoryStore(context, nssManager); in IpClient()
657 mNetd = deps.getNetd(mContext); in IpClient()
/packages/modules/NeuralNetworks/tools/test_generator/
Dtest_generator.py577 def TopologicalSortHelper(self, op, deps, visited): argument
579 assert op not in deps, "Cycle detected in the graph"
582 for i in deps[op]:
583 self.TopologicalSortHelper(i, deps, visited)
585 deps.pop(op)
589 deps = {op: list() for op in self.operations}
590 [deps[o].append(i) for op in self.operands for o in op.outs for i in op.ins]
595 self.TopologicalSortHelper(op, deps, visited)
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNat464Xlat.java104 ConnectivityService.Dependencies deps) { in Nat464Xlat() argument
108 mEnableClatOnCellular = deps.getCellular464XlatEnabled(); in Nat464Xlat()
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h625 Result startComputeWithDependencies(const std::vector<const ANeuralNetworksEvent*>& deps, in startComputeWithDependencies() argument
630 mExecution, deps.data(), deps.size(), duration, &ev))); in startComputeWithDependencies()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DMockTetheringService.java41 public Tethering makeTethering(TetheringDependencies deps) { in makeTethering() argument
/packages/apps/WallpaperPicker2/tests/
DAndroid.bp37 "wallpaper-common-deps",

12