Home
last modified time | relevance | path

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

1234

/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.py285 for module in mk_dict.keys():
286 merged_dict[module] = dict()
287 for key in mk_dict[module].keys():
288 if key in _MERGE_NEEDED_ITEMS and mk_dict[module][key] != []:
289 merged_dict[module][key] = mk_dict[module][key]
307 for module in bp_dict.keys():
308 if module not in merged_dict.keys():
309 merged_dict[module] = dict()
310 _merge_module_keys(merged_dict[module], bp_dict[module])
Dproject_info_unittest.py369 module = mock.Mock()
370 mock_module_data.return_value = module
413 module = mock.Mock()
414 mock_module_data.return_value = module
442 module = mock.Mock()
443 mock_module_data.return_value = module
Dsource_locator_unittest.py48 module = source_locator.ModuleData(
51 module._collect_srcs_paths()
56 module._collect_srcs_paths()
60 module._collect_srcs_paths()
/tools/treble/split/
Dmanifest_split.py164 def module_has_valid_path(module): argument
165 return ("path" in module_info[module] and module_info[module]["path"] and
166 not module_info[module]["path"][0].startswith("out/"))
169 module: module_info[module]["path"][0]
170 for module in module_info
171 if module_has_valid_path(module)
174 module: scan_repo_projects(repo_projects, module_paths[module])
175 for module in module_paths
178 for module, project_path in module_project_paths.items():
181 (module, module_info[module]))
[all …]
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
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 …]
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()
DBaseTestSuite.java472 for (File module : modules) { in setupFilters()
473 if (module.getName().equals(exactModuleName)) { in setupFilters()
474 newModules.add(module); in setupFilters()
/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/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/test/connectivity/acts/framework/acts/
Dtest_runner.py167 module = importlib.import_module(name)
185 for member_name in dir(module):
188 test_class = getattr(module, member_name)
193 def set_test_util_logs(self, module=None): argument
203 if not module:
204 module = importlib.import_module('acts.test_utils')
207 pkg_iter = pkgutil.iter_modules(module.__path__, module.__name__ + '.')
211 self.set_test_util_logs(module=m)
Dbase_test.py214 module = importlib.import_module("acts.controllers.%s" %
216 builtin_controllers.append(module)
343 for module in self._import_builtin_controllers():
344 self.register_controller(module, builtin=True)
/tools/repohooks/tools/
Dpylintrc52 # A comma-separated list of package or module names from where C extensions may
103 import-star-module-level,
179 # Put messages in a separate file for each module / package specified on the
223 # List of module names for which member attributes should not be checked
226 # supports qualified module names, as well as Unix pattern matching.
300 # Maximum number of lines in a module
301 max-module-lines=1000
386 # Regular expression matching correct module names
387 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
389 # Naming hint for module names
[all …]
/tools/asuite/aidegen/
Drun_tests.sh69 local module=$(echo $1| awk -F: '{print $1}')
72 echo -en "Module $RED$module$NC is missing. Start to install..."
73 cmd="python3 -m pip install $module $FLAG"
74 eval "$cmd" >/dev/null || { echo Failed to install $module; exit 1; }
/tools/asuite/atest/
Dresult_reporter.py459 module = ''
461 module = mod_list[1]
462 if module:
463 flakes_info = au.get_flakes(test_module=module)
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java73 import com.android.tradefed.testtype.suite.module.BaseModuleController;
74 import com.android.tradefed.testtype.suite.module.IModuleController;
75 import com.android.tradefed.testtype.suite.module.TestFailureModuleController;
443 ModuleDefinition module = in testDynamicDownloadThrows_ReportsRunFailed() local
455 module.setEnableDynamicDownload(true); in testDynamicDownloadThrows_ReportsRunFailed()
456 module.getModuleInvocationContext().addAllocatedDevice(DEFAULT_DEVICE_NAME, mMockDevice); in testDynamicDownloadThrows_ReportsRunFailed()
461 module.run(mModuleInfo, mMockListener); in testDynamicDownloadThrows_ReportsRunFailed()
DSuiteModuleLoaderTest.java127 File module = new File(mTestsDir, moduleName + SuiteModuleLoader.CONFIG_EXT); in createModuleConfig() local
128 FileUtil.writeToFile(TEST_CONFIG, module); in createModuleConfig()
132 File module = new File(mTestsDir, moduleName + SuiteModuleLoader.CONFIG_EXT); in createInstantModuleConfig() local
133 FileUtil.writeToFile(TEST_INSTANT_CONFIG, module); in createInstantModuleConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/
DUnitTests.java324 import com.android.tradefed.testtype.suite.module.BaseModuleControllerTest;
325 import com.android.tradefed.testtype.suite.module.CarModuleControllerTest;
326 import com.android.tradefed.testtype.suite.module.DeviceFeatureModuleControllerTest;
327 import com.android.tradefed.testtype.suite.module.MinApiLevelModuleControllerTest;
328 import com.android.tradefed.testtype.suite.module.NativeBridgeModuleControllerTest;
/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/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/tradefederation/core/src/com/android/tradefed/util/
DSubprocessTestResultsParser.java494 TestModuleStartedEventInfo module = in handleEvent() local
496 mCurrentModuleContext = module.mModuleContext; in handleEvent()
497 mListener.testModuleStarted(module.mModuleContext); in handleEvent()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryTestTest.java244 final String module = "test1"; in testRun_moduleName() local
250 module); in testRun_moduleName()
253 mRustBinaryTest.setModuleName(module); in testRun_moduleName()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestTest.java222 final String module = "test1"; in testRun_moduleName() local
224 GTest.DEFAULT_NATIVETEST_PATH, FileListingService.FILE_SEPARATOR, module); in testRun_moduleName()
227 mGTest.setModuleName(module); in testRun_moduleName()
/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/
Dsniffer.py45 module = importlib.import_module(module_name)
46 objs.append(module.Sniffer(interface,

1234