Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/split/
DSplitDependencyLoader.java83 final int[] deps = mDependencies.get(splitIdx); in loadDependenciesForSplit() local
84 if (deps != null && deps.length > 0) { in loadDependenciesForSplit()
85 splitIdx = deps[0]; in loadDependenciesForSplit()
109 final int[] deps = mDependencies.get(splitIdx); in collectConfigSplitIndices() local
110 if (deps == null || deps.length <= 1) { in collectConfigSplitIndices()
113 return Arrays.copyOfRange(deps, 1, deps.length); in collectConfigSplitIndices()
236 final int[] deps = splitDependencies.get(splitIdx); in createDependenciesFromPackage() local
237 splitIdx = deps != null ? deps[0] : -1; in createDependenciesFromPackage()
/frameworks/opt/setupwizard/library/
Drules.gradle54 // Read the dependencies from the "deps" map in the extra properties.
60 // deps = ['project-name': project(':project-path')]
67 // deps = ['project-name': 'com.example.group:project-name:1.0.0']
70 platformDeprecatedCompile deps['support-annotations']
72 gingerbreadCompatCompile deps['support-appcompat-v7']
73 gingerbreadCompatCompile deps['support-recyclerview-v7']
Dstandalone-rules.gradle20 // deps = ['project-name': 'com.example.group:project-name:1.0.0']
25 // compile deps['project-name']
28 deps = [
Dbuild.gradle25 // deps = ['project-name': project(':project-path')]
30 // compile deps['project-name']
33 deps = [
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt173 private inner class TestConnectivityService(deps: Dependencies) : ConnectivityService(
174 context, netManager, statsService, policyManager, dnsResolver, log, netd, deps)
177 val deps = spy(ConnectivityService.Dependencies()) in makeDependencies() constant
178 doReturn(networkStackClient).`when`(deps).networkStack in makeDependencies()
179 doReturn(metricsLogger).`when`(deps).metricsLogger in makeDependencies()
180 doReturn(mock(ProxyTracker::class.java)).`when`(deps).makeProxyTracker(any(), any()) in makeDependencies()
181 doReturn(mock(MockableSystemProperties::class.java)).`when`(deps).systemProperties in makeDependencies()
182 doReturn(TestNetIdManager()).`when`(deps).makeNetIdManager() in makeDependencies()
183 return deps in makeDependencies()
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceHelper.h543 std::shared_ptr<Deps>& ... deps) {
546 setSetter([typedParam, fn, &deps...](
563 C2R result = fn(mayBlock, oldValue, helper, factory.get(deps)...);
572 setDependencies(std::vector<C2Param::Index>{ deps->index()... },
573 std::vector<ParamRef>{ ParamRef(deps)... });
585 C2R (*fn)(bool, C2P<T> &, const C2P<Deps> &...), std::shared_ptr<Deps>& ... deps) {
587 setSetter([typedParam, fn, &deps...](
603 C2R result = fn(mayBlock, helper, factory.get(deps)...);
612 setDependencies(std::vector<C2Param::Index>{ deps->index()... },
613 std::vector<ParamRef>{ ParamRef(deps)... });
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringDependencies.java49 @NonNull BpfCoordinator.Dependencies deps) { in getBpfCoordinator()
50 return new BpfCoordinator(deps); in getBpfCoordinator()
65 @NonNull SharedLog log, @NonNull OffloadController.Dependencies deps) { in getOffloadController() argument
69 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()
84 public Tethering makeTethering(TetheringDependencies deps) { in makeTethering() argument
86 return new Tethering(deps); in makeTethering()
DOffloadHardwareInterface.java144 OffloadHardwareInterface(Handler h, SharedLog log, Dependencies deps) { in OffloadHardwareInterface() argument
147 mDeps = deps; in OffloadHardwareInterface()
DOffloadController.java145 @NonNull Dependencies deps) { in OffloadController() argument
161 mDeps = deps; in OffloadController()
DBpfCoordinator.java174 public BpfCoordinator(@NonNull Dependencies deps) { in BpfCoordinator() argument
175 mDeps = deps; in BpfCoordinator()
DTethering.java263 public Tethering(TetheringDependencies deps) { in Tethering() argument
265 mDeps = deps; in Tethering()
276 mTetherMainSM = new TetherMainSM("TetherMain", mLooper, deps); in Tethering()
1428 TetherMainSM(String name, Looper looper, TetheringDependencies deps) { in TetherMainSM() argument
1448 mIPv6TetheringCoordinator = deps.getIPv6TetheringCoordinator(mNotifyList, mLog); in TetherMainSM()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DDependencyFinder.java80 Map<String, Set<String>> deps = findClassesDeps(zipClasses); in findDeps() local
82 Map<String, Set<String>> missing = findMissingClasses(deps, zipClasses.keySet()); in findDeps()
85 result.add(deps); in findDeps()
95 Map<String, Set<String>> deps = result.get(0); in printAllDeps() local
102 mLog.info("++++++ %d Entries found in source JARs", deps.size()); in printAllDeps()
105 for (Entry<String, Set<String>> entry : deps.entrySet()) { in printAllDeps()
138 @SuppressWarnings("unused") Map<String, Set<String>> deps = result.get(0); in printMissingDeps() local
240 Map<String, Set<String>> deps, in findMissingClasses() argument
244 for (Entry<String, Set<String>> entry : deps.entrySet()) { in findMissingClasses()
DAsmAnalyzer.java67 private Result(Map<String, ClassReader> found, Map<String, ClassReader> deps, in Result() argument
70 mDeps = deps; in Result()
158 Map<String, ClassReader> deps = new HashMap<>(); in analyze() local
165 deps.put(depEntry.getKey(), depEntry.getValue()); in analyze()
170 found.size(), deps.size()); in analyze()
172 return new Result(found, deps, filesFound, mReplaceMethodCallClasses); in analyze()
381 TreeMap<String, ClassReader> deps = new TreeMap<>(); in findDeps() local
388 deps, new_deps); in findDeps()
399 deps.putAll(new_deps); in findDeps()
407 inOutKeepClasses.size(), deps.size()); in findDeps()
/frameworks/ml/nn/runtime/include/
DNeuralNetworksWrapper.h468 std::vector<const ANeuralNetworksEvent*> deps(dependencies.size()); in startComputeWithDependencies()
469 std::transform(dependencies.begin(), dependencies.end(), deps.begin(), in startComputeWithDependencies()
473 mExecution, deps.data(), deps.size(), duration, &ev)); in startComputeWithDependencies()
/frameworks/ml/nn/runtime/test/
DTestNeuralNetworksWrapper.h402 std::vector<const ANeuralNetworksEvent*> deps(dependencies.size()); in startComputeWithDependencies()
403 std::transform(dependencies.begin(), dependencies.end(), deps.begin(), in startComputeWithDependencies()
407 mExecution, deps.data(), deps.size(), duration, &ev)); in startComputeWithDependencies()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DMockTetheringService.java41 public Tethering makeTethering(TetheringDependencies deps) { in makeTethering() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java153 Collection<PackageParser.Package> deps = in applyPackageFilter() local
155 if (!deps.isEmpty()) { in applyPackageFilter()
156 deps.removeAll(result); in applyPackageFilter()
157 result.addAll(deps); in applyPackageFilter()
158 packages.removeAll(deps); in applyPackageFilter()
/frameworks/base/services/net/java/android/net/
DConnectivityModuleConnector.java88 ConnectivityModuleConnector(@NonNull Dependencies deps) { in ConnectivityModuleConnector() argument
89 mDeps = deps; in ConnectivityModuleConnector()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java133 public MultipathPolicyTracker(Context ctx, Handler handler, Dependencies deps) { in MultipathPolicyTracker() argument
136 mClock = deps.getClock(); in MultipathPolicyTracker()
137 mDeps = deps; in MultipathPolicyTracker()
DPermissionMonitor.java139 @NonNull final Dependencies deps) { in PermissionMonitor() argument
143 mDeps = deps; in PermissionMonitor()
/frameworks/ml/nn/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)
/frameworks/native/cmds/installd/
DAndroid.bp141 defaults: ["libapexd-deps"],
/frameworks/base/tools/aapt/
DResource.cpp3366 status_t deps = -1; in writePathsToFile() local
3370 deps++; in writePathsToFile()
3372 return deps; in writePathsToFile()
3378 status_t deps = -1; in writeDependencyPreReqs() local
3379 deps += writePathsToFile(assets->getFullResPaths(), fp); in writeDependencyPreReqs()
3381 deps += writePathsToFile(assets->getFullAssetPaths(), fp); in writeDependencyPreReqs()
3383 return deps; in writeDependencyPreReqs()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1230 final ConnectivityService.Dependencies deps = makeDependencies(); in setUp() local
1238 deps); in setUp()
1240 verify(deps).makeMultinetworkPolicyTracker(any(), any(), any()); in setUp()
1265 final ConnectivityService.Dependencies deps = mock(ConnectivityService.Dependencies.class); in makeDependencies() local
1266 doReturn(mCsHandlerThread).when(deps).makeHandlerThread(); in makeDependencies()
1267 doReturn(new TestNetIdManager()).when(deps).makeNetIdManager(); in makeDependencies()
1268 doReturn(mNetworkStack).when(deps).getNetworkStack(); in makeDependencies()
1269 doReturn(systemProperties).when(deps).getSystemProperties(); in makeDependencies()
1270 doReturn(mock(ProxyTracker.class)).when(deps).makeProxyTracker(any(), any()); in makeDependencies()
1271 doReturn(mMetricsService).when(deps).getMetricsLogger(); in makeDependencies()
[all …]

12