Home
last modified time | relevance | path

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

12

/test/vts/testcases/target/
DAndroid.build.mk20 LOCAL_MODULE := $(module)
28 LOCAL_MODULE_STEM_32 := $(module)32
29 LOCAL_MODULE_STEM_64 := $(module)64
32 ifneq ($($(module)_install_to_out_data_dir),)
33 $(module)_install_to_out_data := true
36 ifeq ($($(module)_install_to_out_data),true)
37 ifeq ($($(module)_install_to_out_data_dir),)
38 $(module)_install_to_out_data_dir := $(module)
40 …LOCAL_MODULE_PATH_32 := $($(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_OUT_DATA_NATIVE_TESTS)/$($(module)_i…
41 LOCAL_MODULE_PATH_64 := $(TARGET_OUT_DATA_NATIVE_TESTS)/$($(module)_install_to_out_data_dir)
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DSubPlanHelper.java231 for (IModuleResult module : mResult.getModules()) { in createSubPlan()
232 if (shouldRunModule(module)) { in createSubPlan()
234 new TestFilter(module.getAbi(), module.getName(), null /*test*/); in createSubPlan()
235 if (shouldRunEntireModule(module)) { in createSubPlan()
238 } else if (mResultTypes.contains(NOT_EXECUTED) && !module.isDone()) { in createSubPlan()
241 for (ICaseResult caseResult : module.getResults()) { in createSubPlan()
244 TestFilter testExclude = new TestFilter(module.getAbi(), in createSubPlan()
245 module.getName(), testResult.getFullName()); in createSubPlan()
253 for (ICaseResult caseResult : module.getResults()) { in createSubPlan()
256 TestFilter testInclude = new TestFilter(module.getAbi(), in createSubPlan()
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DResultReporterTest.java165 IModuleResult module = modules.get(0); in testResultReporting() local
166 assertTrue(module.isDone()); in testResultReporting()
167 assertEquals("Incorrect ID", ID, module.getId()); in testResultReporting()
168 List<ICaseResult> caseResults = module.getResults(); in testResultReporting()
220 IModuleResult module = modules.get(0); in testRepeatedExecutions() local
221 assertEquals("Incorrect ID", ID, module.getId()); in testRepeatedExecutions()
222 List<ICaseResult> caseResults = module.getResults(); in testRepeatedExecutions()
284 IModuleResult module = modules.get(0); in testRetry() local
285 List<ICaseResult> cases = module.getResults(); in testRetry()
340 IModuleResult module = modules.get(0); in testRetryCanSetDone() local
[all …]
DChecksumReporterTest.java126 IModuleResult module = mInvocationResult.getModules().get(1); in testInvalidChecksums() local
127 module.setDone(!module.isDone()); in testInvalidChecksums()
129 assertFalse("Checksum should contain module: " + module.getName(), in testInvalidChecksums()
130 mReporter.containsModuleResult(module, fingerprint)); in testInvalidChecksums()
186 for (IModuleResult module : invocation.getModules()) { in VerifyInvocationResults()
188 assertTrue("Checksum should contain module: " + module.getName(), in VerifyInvocationResults()
189 reporter.containsModuleResult(module, buildFingerprint)); in VerifyInvocationResults()
190 for (ICaseResult caseResult : module.getResults()) { in VerifyInvocationResults()
193 reporter.containsTestResult(result, module, buildFingerprint)); in VerifyInvocationResults()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DChecksumReporter.java144 for (IModuleResult module : invocationResult.getModules()) { in addInvocation()
146 addModuleResult(module, buildFingerprint); in addInvocation()
147 for (ICaseResult caseResult : module.getResults()) { in addInvocation()
149 addTestResult(testResult, module, buildFingerprint); in addInvocation()
273 static String generateTestResultSignature(ITestResult testResult, IModuleResult module, in generateTestResultSignature() argument
283 .append(module.getId()).append(SEPARATOR) in generateTestResultSignature()
328 private static String generateModuleResultSignature(IModuleResult module, in generateModuleResultSignature() argument
332 .append(module.getId()).append(SEPARATOR) in generateModuleResultSignature()
333 .append(module.isDone()).append(SEPARATOR) in generateModuleResultSignature()
334 .append(module.countResults(TestStatus.FAIL)); in generateModuleResultSignature()
[all …]
DResultHandler.java225 IModuleResult module = invocation.getOrCreateModule(moduleId); in getResultFromDir() local
226 module.initializeDone(done); in getResultFromDir()
228 module.addRuntime(runtime); in getResultFromDir()
232 ICaseResult testCase = module.getOrCreateResult(caseName); in getResultFromDir()
280 !checksumReporter.containsTestResult(test, module, reportFingerprint) in getResultFromDir()
282 test, module, unalteredFingerprint) : true); in getResultFromDir()
293 !checksumReporter.containsModuleResult(module, reportFingerprint) && in getResultFromDir()
295 module, unalteredFingerprint) : true); in getResultFromDir()
297 module.initializeDone(false); in getResultFromDir()
406 for (IModuleResult module : result.getModules()) { in writeResults()
[all …]
DInvocationResult.java71 for (IModuleResult module : mModuleResults.values()) { in getNotExecuted()
72 numTests += module.getNotExecuted(); in getNotExecuted()
199 for (IModuleResult module : mModuleResults.values()) { in getModuleCompleteCount()
200 if (module.isDone()) { in getModuleCompleteCount()
/test/vts/runners/host/
Dtest_runner.py226 module = importlib.import_module(name)
243 for member_name in dir(module):
246 test_class = getattr(module, member_name)
251 def verifyControllerModule(self, module): argument
266 if not hasattr(module, attr):
269 "controller module attribute %s.") % (module.__name__,
271 if not getattr(module, attr):
274 "cannot be null.") % (attr, module.__name__))
276 def registerController(self, module, start_services=True): argument
299 logging.info("adb devices: %s", module.list_adb_devices())
[all …]
/test/vts/testcases/vts_selftest/test_framework/python_virtualenv_preparer_test/
DREADME.md8 * VtsSelfTestPythonVirtualenvPreparerTestPart0: to verify the python module (numpy) that's going to…
9 …honVirtualenvPreparerTestPart1: test duplicated module preparer to install a new module and empty
10 * VtsSelfTestPythonVirtualenvPreparerTestPart2: test whether a python module installed in previous …
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTest.java416 IModuleDef module = modules.get(i); in run() local
417 module.setBuild(mBuildHelper.getBuildInfo()); in run()
418 module.setDevice(mDevice); in run()
419 module.setPreparerWhitelist(mPreparerWhitelist); in run()
422 module.setCollectTestsOnly(mCollectTestsOnly); in run()
424 isPrepared &= (module.prepare(mSkipPreconditions, mPreconditionArgs)); in run()
456 IModuleDef module = modules.poll(); in run() local
472 runPreModuleCheck(module.getName(), checkers, mDevice, listener); in run()
475 moduleContext.setConfigurationDescriptor(module.getConfigurationDescriptor()); in run()
476 moduleContext.addInvocationAttribute(IModuleDef.MODULE_NAME, module.getName()); in run()
[all …]
/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/
DDynamicConfigHandlerTest.java96 String module = "test1"; in testDynamicConfigHandler() local
97 File localConfigFile = createFileFromStr(LOCAL_CONFIG, module); in testDynamicConfigHandler()
101 .getMergedDynamicConfigFile(localConfigFile, OVERRIDE_JSON, module); in testDynamicConfigHandler()
125 private File createFileFromStr(String configStr, String module) throws IOException { in createFileFromStr() argument
126 File file = File.createTempFile(module, "dynamic"); in createFileFromStr()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationChecksumHelper.java194 private static String generateModuleResultSignature(TestRunResult module, in generateModuleResultSignature() argument
198 .append(module.getName()).append(SEPARATOR) in generateModuleResultSignature()
199 .append(module.isRunComplete()).append(SEPARATOR) in generateModuleResultSignature()
200 .append(module.getNumTestsInState(TestStatus.FAILURE)); in generateModuleResultSignature()
204 private static String generateModuleSummarySignature(TestRunResult module, in generateModuleSummarySignature() argument
208 .append(module.getName()).append(SEPARATOR) in generateModuleSummarySignature()
209 .append(module.getNumTestsInState(TestStatus.FAILURE)); in generateModuleSummarySignature()
214 Entry<TestDescription, TestResult> testResult, TestRunResult module, in generateTestResultSignature() argument
224 .append(module.getName()).append(SEPARATOR) in generateTestResultSignature()
/test/vts/harnesses/tradefed/src/com/android/tradefed/module/
DVtsHalAdapterModuleController.java16 package com.android.tradefed.module;
23 import com.android.tradefed.testtype.suite.module.IModuleController;
24 import com.android.tradefed.testtype.suite.module.BaseModuleController;
/test/suite_harness/build/
Dtradefed_binary.go44 module := java.BinaryHostFactory()
45 module.AddProperties(props)
46 android.AddLoadHook(module, tradefedBinaryLoadHook(props))
48 return module
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DRetryFilterHelper.java282 String module = modules.get(0); in populatePreviousSessionFilters() local
283 cleanFilters(mRetryIncludes, module); in populatePreviousSessionFilters()
284 cleanFilters(mRetryExcludes, module); in populatePreviousSessionFilters()
285 mRetryIncludes.add(new TestFilter(mAbiName, module, mTestName).toString()); in populatePreviousSessionFilters()
300 private static void cleanFilters(Set<String> filters, String module) { in cleanFilters() argument
303 if (module.equals(TestFilter.createFrom(filter).getName())) { in cleanFilters()
/test/framework/harnesses/host_controller/utils/parser/
Dresult_utils.py113 def GetTestName(module, testcase, test): argument
124 abi = module.attrib.get(common._ABI_ATTR_KEY, "")
126 module_name = module.attrib.get(common._NAME_ATTR_KEY, "")
/test/vts/testcases/target/hal_power/
DAndroid.mk94 module := libHalPowerStandardTests
108 module := libHalPowerTests
165 module := halpower-unit-tests
179 module := halpower-unit-tests-gcc
/test/vts/testcases/target/hal_lights/
DAndroid.mk94 module := libHalLightsStandardTests
108 module := libHalLightsTests
165 module := hallights-unit-tests
179 module := hallights-unit-tests-gcc
/test/vts/utils/python/coverage/
DREADME.md1 # To run from another Python module
3 Import the CoverageReport module by including the line:
/test/vts/hals/light/bullhead/
Dlights.c222 static int open_lights(const struct hw_module_t* module, char const* name, in open_lights() argument
248 dev->common.module = (struct hw_module_t*)module; in open_lights()
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/module/
DVtsHalAdapterModuleControllerTest.java17 package com.android.tradefed.module;
25 import com.android.tradefed.testtype.suite.module.IModuleController;
/test/framework/harnesses/host_controller/command_processor/
Dcommand_sheet.py312 for module, testcase, test in result_utils.IterateTestResults(xml_file):
315 test_name = result_utils.GetTestName(module, testcase, test)
377 for module, testcase, test in result_utils.IterateTestResults(ref_xml):
381 name = result_utils.GetTestName(module, testcase, test)
/test/suite_harness/tools/cts-instant-tradefed/
DREADME44 To run a test module:
45 'run cts-instant --module <module_name>'
48 'run cts-instant --module <module_name> --test <test_name>'
/test/suite_harness/tools/cts-tradefed/
DREADME52 To run a test module:
53 'run cts --module <module_name>'
56 'run cts --module <module_name> --test <test_name>'
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DModuleRepoTest.java332 IModuleDef module = modules.get(0); in testFiltering() local
333 assertEquals("Incorrect ID", ID_A_64, module.getId()); in testFiltering()
334 checkArgs(module); in testFiltering()
374 for (IModuleDef module : modules) { in testParsing()
375 idSet.add(module.getId()); in testParsing()
384 for (IModuleDef module : modules) { in testParsing()
385 checkArgs(module); in testParsing()
389 private void checkArgs(IModuleDef module) { in checkArgs() argument
390 IRemoteTest test = module.getTest(); in checkArgs()

12