Home
last modified time | relevance | path

Searched refs:modules (Results 1 – 20 of 20) sorted by relevance

/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterTest.java162 List<IModuleResult> modules = result.getModules(); in testResultReporting() local
163 assertEquals("Expected 1 module", 1, modules.size()); in testResultReporting()
164 IModuleResult module = modules.get(0); in testResultReporting()
217 List<IModuleResult> modules = result.getModules(); in testRepeatedExecutions() local
218 assertEquals("Expected 1 module", 1, modules.size()); in testRepeatedExecutions()
219 IModuleResult module = modules.get(0); in testRepeatedExecutions()
281 List<IModuleResult> modules = result.getModules(); in testRetry() local
282 assertEquals("Expected 1 module", 1, modules.size()); in testRetry()
283 IModuleResult module = modules.get(0); in testRetry()
337 List<IModuleResult> modules = result.getModules(); in testRetryCanSetDone() local
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DModuleRepo.java512 List<IModuleDef> modules = getShard(mNonTokenModules, shardIndex, mTotalShards); in getModules() local
513 if (modules == null) { in getModules()
514 modules = new LinkedList<IModuleDef>(); in getModules()
517 for (IModuleDef def : modules) { in getModules()
530 modules.add(def); in getModules()
545 modules.addAll(mTokenModules); in getModules()
549 Collections.sort(modules, new ExecutionOrderComparator()); in getModules()
550 int uniqueCount = UniqueModuleCountUtil.countUniqueModules(modules); in getModules()
553 CLog.d("module list for this shard: %s", modules); in getModules()
555 tests.addAll(modules); in getModules()
[all …]
DCompatibilityTest.java375 LinkedList<IModuleDef> modules = initializeModuleRepo(); in run() local
387 int moduleCount = modules.size(); in run()
397 int uniqueModuleCount = UniqueModuleCountUtil.countUniqueModules(modules); in run()
418 IModuleDef module = modules.get(i); in run()
455 while (!modules.isEmpty()) { in run()
458 IModuleDef module = modules.poll(); in run()
762 List<String> modules = ModuleRepo.getModuleNamesMatching( in setupFilters() local
764 if (modules.size() == 0) { in setupFilters()
767 } else if (modules.size() > 1) { in setupFilters()
770 mModuleName, ArrayUtil.join("\n", modules))); in setupFilters()
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DRetryFilterHelper.java272 List<String> modules = ModuleRepo.getModuleNamesMatching( in populatePreviousSessionFilters() local
274 if (modules.size() == 0) { in populatePreviousSessionFilters()
277 } else if (modules.size() > 1) { in populatePreviousSessionFilters()
280 mModuleName, ArrayUtil.join("\n", modules))); in populatePreviousSessionFilters()
282 String module = modules.get(0); in populatePreviousSessionFilters()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DInvocationResult.java62 ArrayList<IModuleResult> modules = new ArrayList<>(mModuleResults.values()); in getModules() local
63 Collections.sort(modules); in getModules()
64 return modules; in getModules()
DLightInvocationResult.java77 List<IModuleResult> modules = new ArrayList<IModuleResult>(); in getModules() local
79 modules.add(new ModuleResult(id)); in getModules()
81 return modules; // return empty modules in getModules()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DModuleRepoTest.java245 List<IModuleDef> modules = mRepo.getModules(SERIAL1, 0); in testGetModules_onlyTokenModules() local
246 assertNotNull(modules); in testGetModules_onlyTokenModules()
247 assertEquals(2, modules.size()); in testGetModules_onlyTokenModules()
330 List<IModuleDef> modules = mRepo.getModules(SERIAL1, 0); in testFiltering() local
331 assertEquals("Incorrect number of modules", 1, modules.size()); in testFiltering()
332 IModuleDef module = modules.get(0); in testFiltering()
368 List<IModuleDef> modules = mRepo.getModules(SERIAL1, 0); in testFiltering_empty() local
369 assertEquals("Incorrect number of modules", 0, modules.size()); in testFiltering_empty()
375 List<IModuleDef> modules = mRepo.getModules(SERIAL3, 0); in testParsing() local
377 for (IModuleDef module : modules) { in testParsing()
[all …]
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DResultHandlerTest.java463 String modules = String.join("", moduleA, moduleB); in writeResultDir() local
472 buildInfo, summary, modules); in writeResultDir()
499 List<IModuleResult> modules = lightResult.getModules(); in checkLightResult() local
501 assertEquals("Expected 2 total modules", 2, modules.size()); in checkLightResult()
533 List<IModuleResult> modules = result.getModules(); in checkResult() local
534 assertEquals("Expected 2 modules", 2, modules.size()); in checkResult()
536 IModuleResult moduleA = modules.get(0); in checkResult()
559 IModuleResult moduleB = modules.get(1); in checkResult()
/test/vts/testcases/host/camera_its/
DCameraITSTest.py112 modules = [
116 for m in modules:
/test/mts/
DREADME.md5 a set of mainline modules).
/test/vts/hals/
DREADME.md1 The files and sub dirs under this dir contain test HAL modules that are functionally similar to the…
/test/vts/testcases/vts_selftest/test_framework/python_virtualenv_preparer_test/
DREADME.md6 Two modules are included in this project:
/test/vts-testcase/hal/
DAndroid.bp44 // Userdebug only, should not be used to build modules contained in a user build device image.
/test/mts/tools/mts-tradefed/
DREADME5 top of the Android Trade Federation test harness to test mainline modules.
/test/vts/utils/python/coverage/
Dcoverage_utils.py523 modules = getattr(self, keys.ConfigKeys.IKEY_MODULES, None)
525 for module in modules:
/test/vts/testcases/template/mobly/
Dmobly_test.py280 sys.modules['__main__'].__dict__[cls] = getattr(
/test/vts/proto/
DAndroidSystemControlMessage.proto26 // To get a list of available HAL modules.
DComponentSpecificationMessage.proto495 // a VTS driver and other modules (e.g., agent and host-side module).
578 // The modules to import (e.g., package_path.component_name).
DVtsReportMessage.proto328 // Keys used to find all TestReportMessage messages of test modules in
/test/vts/runners/host/
Dtest_runner.py58 main_module_members = sys.modules["__main__"]