Home
last modified time | relevance | path

Searched refs:module (Results 1 – 25 of 75) sorted by relevance

123

/tools/asuite/aidegen/lib/
Dproject_info.py216 for module in modules:
217 if self.modules_info.is_robolectric_test(module):
223 for module in _EXCLUDE_MODULES:
224 self.dep_modules.pop(module, None)
358 module = self._generate_moduledata(module_name, module_data)
359 module.locate_sources_path()
360 self.source_path['source_folder_path'].update(set(module.src_dirs))
361 self.source_path['test_folder_path'].update(set(module.test_dirs))
362 self.source_path['r_java_path'].update(set(module.r_java_paths))
363 self.source_path['srcjar_path'].update(set(module.srcjar_paths))
[all …]
Dmodule_info_util.py286 for module in mk_dict.keys():
287 merged_dict[module] = dict()
288 for key in mk_dict[module].keys():
289 if key in _MERGE_NEEDED_ITEMS and mk_dict[module][key] != []:
290 merged_dict[module][key] = mk_dict[module][key]
308 for module in bp_dict.keys():
309 if module not in merged_dict.keys():
310 merged_dict[module] = dict()
311 _merge_module_keys(merged_dict[module], bp_dict[module])
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayer.java87 for (TestRunResult module : mModuleResult.keySet()) { in run()
88 ReplayModuleHolder holder = mModuleResult.get(module); in run()
104 testSet = module.getTestResults().entrySet(); in run()
107 forwardTestResults(module, testSet, listener); in run()
138 TestRunResult module, in addToReplay() argument
140 ReplayModuleHolder holder = mModuleResult.get(module); in addToReplay()
144 mModuleResult.put(module, holder); in addToReplay()
163 TestRunResult module, in forwardTestResults() argument
166 listener.testRunStarted(module.getName(), testSet.size()); in forwardTestResults()
200 if (module.isRunFailure()) { in forwardTestResults()
[all …]
/tools/treble/split/
Dmanifest_split.py138 def module_has_valid_path(module): argument
139 return ("path" in module_info[module] and module_info[module]["path"] and
140 not module_info[module]["path"][0].startswith("out/"))
143 module: module_info[module]["path"][0]
144 for module in module_info
145 if module_has_valid_path(module)
148 module: scan_repo_projects(repo_projects, module_paths[module])
149 for module in module_paths
152 for module, project_path in module_project_paths.items():
155 (module, module_info[module]))
[all …]
/tools/asuite/aidegen/
Drun_tests.sh70 local module=$(echo $1| awk -F: '{print $1}')
73 echo -en "Module $RED$module$NC is missing. Start to install..."
74 cmd="python3 -m pip install $module $FLAG"
75 eval "$cmd" >/dev/null || { echo Failed to install $module; exit 1; }
D.coveragerc5 # module names must be listed one per line.
/tools/security/sanitizer-status/
Dsanitizer-status.go14 module := cc.LibrarySharedFactory()
15 android.AddLoadHook(module, loadHook)
16 return module
/tools/ndkports/src/main/kotlin/com/android/ndkports/
DPrefabPackageBuilder.kt124 private fun makeModuleMetadata(module: Module, moduleDirectory: File) { in <lambda>()
128 exportLibraries = module.dependencies in <lambda>()
134 private fun installLibForAbi(module: Module, abi: Abi, libsDir: File) { in <lambda>()
227 for (module in port.modules) { in <lambda>() method
228 val moduleDirectory = modulesDirectory.resolve(module.name).apply { in <lambda>()
232 makeModuleMetadata(module, moduleDirectory) in <lambda>()
234 if (module.includesPerAbi) { in <lambda>()
244 installLibForAbi(module, abi, libsDir) in <lambda>()
/tools/test/connectivity/acts/framework/acts/
Dtest_runner.py165 module = importlib.import_module(name)
182 for member_name in dir(module):
185 test_class = getattr(module, member_name)
190 def set_test_util_logs(self, module=None): argument
200 if not module:
201 module = importlib.import_module('acts.test_utils')
204 pkg_iter = pkgutil.iter_modules(module.__path__, module.__name__ + '.')
208 self.set_test_util_logs(module=m)
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleSplitter.java125 ModuleDefinition module = in createAndAddModule() local
132 currentList.add(module); in createAndAddModule()
151 ModuleDefinition module = in createAndAddModule() local
158 currentList.add(module); in createAndAddModule()
187 ModuleDefinition module = in addModuleToListFromSingleTest() local
194 currentList.add(module); in addModuleToListFromSingleTest()
DITestSuite.java517 ModuleDefinition module = in createExecutionList() local
525 module.disableAutoRetryReportingTime(); in createExecutionList()
527 module.setDevice(mDevice); in createExecutionList()
528 module.setBuild(mBuildInfo); in createExecutionList()
529 runModules.add(module); in createExecutionList()
652 ModuleDefinition module = mRunModules.remove(0); in run() local
655 if (module.hasTests()) { in run()
661 module.getModuleInvocationContext() in run()
663 module.getModuleInvocationContext() in run()
666 listener.testModuleStarted(module.getModuleInvocationContext()); in run()
[all …]
/tools/tradefederation/core/python-lib/tradefed_py/
Dtf_main.py29 def __init__(self, module='__main__', defaultTest=None, argument
77 self.module = None
97 TradefedProgram(module=None)
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java282 for (TestRunResult module : sortedModuleList) { in writeResults()
285 if (holder.modulesAbi.get(module.getName()) != null) { in writeResults()
286 String moduleAbi = holder.modulesAbi.get(module.getName()).getName(); in writeResults()
287 String moduleNameStripped = module.getName().replace(moduleAbi + " ", ""); in writeResults()
291 serializer.attribute(NS, NAME_ATTR, module.getName()); in writeResults()
293 serializer.attribute(NS, RUNTIME_ATTR, String.valueOf(module.getElapsedTime())); in writeResults()
294 boolean isDone = module.isRunComplete() && !module.isRunFailure(); in writeResults()
298 NS, PASS_ATTR, Integer.toString(module.getNumTestsInState(TestStatus.PASSED))); in writeResults()
299 serializer.attribute(NS, TOTAL_TESTS_ATTR, Integer.toString(module.getNumTests())); in writeResults()
302 String message = module.getRunFailureMessage(); in writeResults()
[all …]
/tools/acloud/setup/
Dhost_setup_runner.py195 for module in module_list:
196 if module not in current_modules:
197 logger.info("missing module: %s", module)
/tools/asuite/asuite_plugin/
DREADME.md25 2. Fill in the test module.
26 * Enter a target module, e.g. aidegen_unittests.
/tools/test/connectivity/acts/framework/acts/controllers/
Dpdu.py90 module = importlib.import_module(module_name)
91 return module.PduDevice(host, username, password)
Dsniffer.py45 module = importlib.import_module(module_name)
46 objs.append(module.Sniffer(interface,
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DSdk28ModuleController.java16 package com.android.tradefed.testtype.suite.module;
DSdk30ModuleController.java16 package com.android.tradefed.testtype.suite.module;
DSdk29ModuleController.java16 package com.android.tradefed.testtype.suite.module;
DIModuleController.java16 package com.android.tradefed.testtype.suite.module;
/tools/test/connectivity/acts/framework/tests/
Dacts_import_unit_test.py140 module = import_module(fake_module_name, path)
141 self.assertIsNotNone(module)
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/module/
DTestFailureModuleController.java16 package com.android.tradefed.testtype.suite.module;
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/
DCarModuleControllerTest.java16 package com.android.tradefed.testtype.suite.module;
27 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
DDeviceFeatureModuleControllerTest.java16 package com.android.tradefed.testtype.suite.module;
28 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;

123