Home
last modified time | relevance | path

Searched refs:common (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/
DUnitTests.java16 package com.android.compatibility.common.tradefed;
18 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelperTest;
19 import com.android.compatibility.common.tradefed.build.CompatibilityBuildProviderTest;
20 import com.android.compatibility.common.tradefed.command.CompatibilityConsoleTest;
21 import com.android.compatibility.common.tradefed.config.ConfigurationFactoryTest;
22 import com.android.compatibility.common.tradefed.presubmit.ApkPackageNameCheck;
23 import com.android.compatibility.common.tradefed.presubmit.CtsConfigLoadingTest;
24 import com.android.compatibility.common.tradefed.presubmit.DupFileTest;
25 import com.android.compatibility.common.tradefed.presubmit.IntegrationTest;
26 import com.android.compatibility.common.tradefed.presubmit.PresubmitSetupValidation;
[all …]
/test/framework/harnesses/host_controller/command_processor/
Dcommand_upload.py23 from host_controller import common
28 from vts.utils.python.common import cmd_utils
160 common._RESULTS_BASE_PATH)
196 common._ARTIFACT_TYPE_DEVICE]
198 if common._ARTIFACT_TYPE_GSI in self.console.detailed_fetch_info:
200 common._ARTIFACT_TYPE_GSI]
216 common._TEST_RESULT_XML)
219 latest_result_xml_path, common._RESULT_TAG, [
220 common._SUITE_NAME_ATTR_KEY, common._SUITE_PLAN_ATTR_KEY,
221 common._SUITE_VERSION_ATTR_KEY,
[all …]
Dcommand_retry.py22 from host_controller import common
27 from vts.utils.python.common import cmd_utils
36 common._DEFAULT_WIFI_AP,
62 if common._TEST_RESULT_XML in name:
122 default=common.DEFAULT_RETRY_COUNT,
124 common.DEFAULT_RETRY_COUNT)
172 results_path = os.path.join(tools_path, common._RESULTS_BASE_PATH)
204 results_path, unzipped_result_dir, common._TEST_RESULT_XML)
208 common._TEST_RESULT_XML)
212 common._TEST_RESULT_XML)
[all …]
Dcommand_sheet.py35 from host_controller import common
43 common._SUITE_NAME_ATTR_KEY, common._SUITE_PLAN_ATTR_KEY,
44 common._SUITE_VERSION_ATTR_KEY, common._SUITE_BUILD_NUM_ATTR_KEY,
45 common._START_DISPLAY_TIME_ATTR_KEY,
46 common._END_DISPLAY_TIME_ATTR_KEY
50 common._FINGERPRINT_ATTR_KEY,
51 common._SYSTEM_FINGERPRINT_ATTR_KEY,
52 common._VENDOR_FINGERPRINT_ATTR_KEY
56 common._PASSED_ATTR_KEY, common._FAILED_ATTR_KEY,
57 common._MODULES_TOTAL_ATTR_KEY, common._MODULES_DONE_ATTR_KEY
[all …]
Dcommand_upload_test.py26 from host_controller import common
55 "account_id": common._DEFAULT_ACCOUNT_ID,
62 "account_id": common._DEFAULT_ACCOUNT_ID,
69 "account_id": common._DEFAULT_ACCOUNT_ID_INTERNAL,
104 common._DEFAULT_ACCOUNT_ID)
114 common._DEFAULT_ACCOUNT_ID_INTERNAL)
153 common._SUITE_NAME_ATTR_KEY:
155 common._SUITE_PLAN_ATTR_KEY:
157 common._SUITE_VERSION_ATTR_KEY:
159 common._SUITE_BUILD_NUM_ATTR_KEY:
[all …]
Dcommand_repack.py24 from host_controller import common
58 common.FULL_ZIPFILE]
68 common.FULL_ZIPFILE_DIR)
70 common.FULL_ZIPFILE_DIR, _ANDROID_INFO_TXT_FILENAME)
82 if img_path not in (common.FULL_ZIPFILE,
83 common.FULL_ZIPFILE_DIR,
84 common.GSI_ZIPFILE,
85 common.GSI_ZIPFILE_DIR):
100 os.path.join(common._ADDITIONAL_FILES_DIR, file_name),
136 if common.GSI_ZIPFILE in self.console.device_image_info:
Dcommand_device.py25 from host_controller import common
31 from vts.utils.python.common import cmd_utils
74 device["status"] = common._DEVICE_STATUS_DICT[
97 "status"] = common._DEVICE_STATUS_DICT[
108 serial] = common._DEVICE_STATUS_DICT["use"]
115 common.DEFAULT_DEVICE_TIMEOUT_SECS,
132 "status"] = common._DEVICE_STATUS_DICT[
143 serial] = common._DEVICE_STATUS_DICT["use"]
150 common.DEFAULT_DEVICE_TIMEOUT_SECS,
163 serial] = common._DEVICE_STATUS_DICT["fastboot"]
[all …]
Dcommand_repack_test.py26 from host_controller import common
54 mock_console.device_image_info = {common.GSI_ZIPFILE: ""}
102 common.FULL_ZIPFILE: "/path/to/full-zipfile.zip",
116 common.FULL_ZIPFILE_DIR)
138 common.FULL_ZIPFILE: "/path/to/full-zipfile.zip",
156 common.FULL_ZIPFILE_DIR)
Dcommand_adb.py19 from host_controller import common
23 from vts.utils.python.common import cmd_utils
49 default=common.DEFAULT_DEVICE_TIMEOUT_SECS,
84 args.serial] = common._DEVICE_STATUS_DICT["error"]
Dcommand_fastboot.py19 from host_controller import common
24 from vts.utils.python.common import cmd_utils
57 default=common.DEFAULT_DEVICE_TIMEOUT_SECS,
99 args.serial] = common._DEVICE_STATUS_DICT["error"]
/test/framework/harnesses/host_controller/utils/parser/
Dresult_utils.py22 from host_controller import common
39 x.endswith(common._TEST_RESULT_XML) or
40 x.endswith(common._LOG_RESULT_XML))
68 if elem.tag == common._RESULT_TAG:
70 elif elem.tag == common._BUILD_TAG:
72 elif elem.tag == common._SUMMARY_TAG:
92 if elem.tag == common._MODULE_TAG:
94 elif elem.tag == common._TESTCASE_TAG:
97 if event == "end" and elem.tag == common._TEST_TAG:
124 abi = module.attrib.get(common._ABI_ATTR_KEY, "")
[all …]
/test/framework/harnesses/host_controller/campaigns/
Dcampaign_common.py19 from host_controller import common
99 pab_account_id = common._DEFAULT_ACCOUNT_ID_INTERNAL
116 if common.UNIVERSAL9810 in build_target:
133 if common.UNIVERSAL9810 in build_target:
151 if common.SDM845 in build_target:
254 if common.SDM845 in build_target and gsi:
256 for lib_file in common.SDM845_LIB_LIST:
267 if (common.K39TV1_BSP in build_target
268 or common.K39TV1_BSP_1G in build_target):
272 elif common.SDM845 in build_target and gsi:
[all …]
/test/framework/harnesses/host_controller/build/
Dbuild_provider.py24 from host_controller import common
86 self._last_fetched_artifact_type = common._ARTIFACT_TYPE_DEVICE
120 self.SetDeviceImage(common.FULL_ZIPFILE, path)
121 dir_key = common.FULL_ZIPFILE_DIR
122 fetch_type = common._ARTIFACT_TYPE_DEVICE
125 dir_key = common.GSI_ZIPFILE_DIR # "gsi-zipfile-dir"
126 fetch_type = common._ARTIFACT_TYPE_GSI
176 self._last_fetched_artifact_type = common._ARTIFACT_TYPE_TEST_SUITE
192 self._last_fetched_artifact_type = common._ARTIFACT_TYPE_INFRA
227 self._last_fetched_artifact_type = common._ARTIFACT_TYPE_INFRA
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/
DSubPlanHelperTest.java17 package com.android.compatibility.common.tradefed.result;
19 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper;
20 import com.android.compatibility.common.tradefed.testtype.ISubPlan;
21 import com.android.compatibility.common.tradefed.testtype.SubPlan;
22 import com.android.compatibility.common.util.ICaseResult;
23 import com.android.compatibility.common.util.IInvocationResult;
24 import com.android.compatibility.common.util.IModuleResult;
25 import com.android.compatibility.common.util.ITestResult;
26 import com.android.compatibility.common.util.InvocationResult;
27 import com.android.compatibility.common.util.ResultHandler;
[all …]
DChecksumReporterTest.java16 package com.android.compatibility.common.tradefed.result;
18 import com.android.compatibility.common.tradefed.build.CompatibilityBuildProvider;
19 import com.android.compatibility.common.util.ChecksumReporter;
20 import com.android.compatibility.common.util.ChecksumReporter.ChecksumValidationException;
21 import com.android.compatibility.common.util.ICaseResult;
22 import com.android.compatibility.common.util.IInvocationResult;
23 import com.android.compatibility.common.util.IModuleResult;
24 import com.android.compatibility.common.util.ITestResult;
25 import com.android.compatibility.common.util.ReportLog;
26 import com.android.compatibility.common.util.TestStatus;
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DBusinessLogicHostTestBase.java16 package com.android.compatibility.common.tradefed.testtype;
22 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper;
23 import com.android.compatibility.common.util.BusinessLogic;
24 import com.android.compatibility.common.util.BusinessLogicExecutor;
25 import com.android.compatibility.common.util.BusinessLogicFactory;
26 import com.android.compatibility.common.util.BusinessLogicHostExecutor;
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DSubPlanHelper.java16 package com.android.compatibility.common.tradefed.result;
18 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper;
19 import com.android.compatibility.common.tradefed.testtype.ISubPlan;
20 import com.android.compatibility.common.tradefed.testtype.SubPlan;
21 import com.android.compatibility.common.tradefed.testtype.suite.CompatibilityTestSuite;
22 import com.android.compatibility.common.tradefed.util.OptionHelper;
23 import com.android.compatibility.common.util.ICaseResult;
24 import com.android.compatibility.common.util.IInvocationResult;
25 import com.android.compatibility.common.util.IModuleResult;
26 import com.android.compatibility.common.util.ITestResult;
[all …]
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/util/
DVtsRetryFilterHelper.java17 package com.android.compatibility.common.tradefed.util;
19 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper;
20 import com.android.compatibility.common.tradefed.util.RetryFilterHelper;
21 import com.android.compatibility.common.tradefed.util.RetryType;
22 import com.android.compatibility.common.util.IInvocationResult;
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/testtype/retry/
DVtsRetryFactoryTest.java16 package com.android.compatibility.common.tradefed.testtype.retry;
18 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper;
19 import com.android.compatibility.common.tradefed.testtype.suite.CompatibilityTestSuite;
20 import com.android.compatibility.common.tradefed.util.VtsRetryFilterHelper;
/test/framework/harnesses/host_controller/utils/ipc/
Dshared_dict.py19 from host_controller import common
51 self._dict[key] = common._DEVICE_STATUS_DICT["unknown"]
63 if value not in range(len(common._DEVICE_STATUS_DICT)):
64 self._dict[key] = common._DEVICE_STATUS_DICT["unknown"]
Dfile_lock_semaphore.py19 from host_controller import common
74 diff = common.MAX_ADB_FASTBOOT_PROCESS - self.sem_max_value
76 max(0, self.sem_value + diff), common.MAX_ADB_FASTBOOT_PROCESS)
78 value_to_init = common.MAX_ADB_FASTBOOT_PROCESS
83 "%s\n%s" % (common.MAX_ADB_FASTBOOT_PROCESS, value_to_init))
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DRetryFilterHelper.java17 package com.android.compatibility.common.tradefed.util;
19 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper;
20 import com.android.compatibility.common.tradefed.result.SubPlanHelper;
21 import com.android.compatibility.common.tradefed.testtype.ISubPlan;
22 import com.android.compatibility.common.tradefed.testtype.ModuleRepo;
23 import com.android.compatibility.common.util.IInvocationResult;
24 import com.android.compatibility.common.util.LightInvocationResult;
25 import com.android.compatibility.common.util.ResultHandler;
26 import com.android.compatibility.common.util.TestFilter;
34 import com.google.common.annotations.VisibleForTesting;
/test/framework/harnesses/host_controller/
Dconsole.py35 from host_controller import common
71 from vts.utils.python.common import cmd_utils
172 serial, common._DEVICE_STATUS_DICT["use"])
196 serial, common._DEVICE_STATUS_DICT["ready"])
273 with open(common._VTSLAB_VERSION_TXT, "r") as file:
281 common._VTSLAB_VERSION_DEFAULT_VALUE)
282 self._vtslab_version = common._VTSLAB_VERSION_DEFAULT_VALUE
303 if common._ANDROID_SERIAL in os.environ:
304 self._serials = [os.environ[common._ANDROID_SERIAL]]
392 if artifact_type in common._ARTIFACT_TYPE_LIST:
[all …]
/test/suite_harness/common/util/
DAndroid.bp15 // Build the common utility library for use device-side
17 name: "compatibility-common-util-devicesidelib",
28 // Build the common utility library for use host-side
30 name: "compatibility-common-util-hostsidelib",
/test/vts/tools/vts-core-tradefed/tests/
Drun_vts_core_tests.sh23 --class com.android.compatibility.common.tradefed.UnitTests \
24 --class com.android.compatibility.common.util.HostUnitTests \
25 --class com.android.compatibility.common.util.UnitTests \

12345678910>>...14