/tools/asuite/aidegen/lib/ |
D | project_info.py | 216 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 …]
|
D | module_info_util.py | 286 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/ |
D | ResultsPlayer.java | 87 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/ |
D | manifest_split.py | 138 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/ |
D | run_tests.sh | 70 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 | .coveragerc | 5 # module names must be listed one per line.
|
/tools/security/sanitizer-status/ |
D | sanitizer-status.go | 14 module := cc.LibrarySharedFactory() 15 android.AddLoadHook(module, loadHook) 16 return module
|
/tools/ndkports/src/main/kotlin/com/android/ndkports/ |
D | PrefabPackageBuilder.kt | 124 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/ |
D | test_runner.py | 165 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/ |
D | ModuleSplitter.java | 125 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()
|
D | ITestSuite.java | 517 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/ |
D | tf_main.py | 29 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/ |
D | XmlSuiteResultFormatter.java | 282 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/ |
D | host_setup_runner.py | 195 for module in module_list: 196 if module not in current_modules: 197 logger.info("missing module: %s", module)
|
/tools/asuite/asuite_plugin/ |
D | README.md | 25 2. Fill in the test module. 26 * Enter a target module, e.g. aidegen_unittests.
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | pdu.py | 90 module = importlib.import_module(module_name) 91 return module.PduDevice(host, username, password)
|
D | sniffer.py | 45 module = importlib.import_module(module_name) 46 objs.append(module.Sniffer(interface,
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/ |
D | Sdk28ModuleController.java | 16 package com.android.tradefed.testtype.suite.module;
|
D | Sdk30ModuleController.java | 16 package com.android.tradefed.testtype.suite.module;
|
D | Sdk29ModuleController.java | 16 package com.android.tradefed.testtype.suite.module;
|
D | IModuleController.java | 16 package com.android.tradefed.testtype.suite.module;
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_import_unit_test.py | 140 module = import_module(fake_module_name, path) 141 self.assertIsNotNone(module)
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/module/ |
D | TestFailureModuleController.java | 16 package com.android.tradefed.testtype.suite.module;
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/module/ |
D | CarModuleControllerTest.java | 16 package com.android.tradefed.testtype.suite.module; 27 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
|
D | DeviceFeatureModuleControllerTest.java | 16 package com.android.tradefed.testtype.suite.module; 28 import com.android.tradefed.testtype.suite.module.IModuleController.RunStrategy;
|