Home
last modified time | relevance | path

Searched refs:keys (Results 1 – 25 of 68) sorted by relevance

123

/test/vts/utils/python/reporting/
Dlog_uploading_utils.py20 from vts.runners.host import keys
36 _TOGGLE_PARAM = keys.ConfigKeys.IKEY_ENABLE_LOG_UPLOADING
38 keys.ConfigKeys.IKEY_ANDROID_DEVICE,
41 keys.ConfigKeys.KEY_TESTBED_NAME,
42 keys.ConfigKeys.IKEY_LOG_UPLOADING_USE_DATE_DIRECTORY,
43 keys.ConfigKeys.IKEY_LOG_UPLOADING_PATH,
44 keys.ConfigKeys.IKEY_LOG_UPLOADING_URL_PREFIX,
45 keys.ConfigKeys.IKEY_LOG_UPLOADING_GCS_BUCKET_NAME,
46 keys.ConfigKeys.IKEY_SERVICE_JSON_PATH
70 keys.ConfigKeys.IKEY_LOG_UPLOADING_GCS_BUCKET_NAME,
[all …]
/test/vts/utils/python/web/
Dweb_utils.py25 from vts.runners.host import keys
42 _TOGGLE_PARAM = keys.ConfigKeys.IKEY_ENABLE_WEB
44 keys.ConfigKeys.IKEY_DASHBOARD_POST_COMMAND,
45 keys.ConfigKeys.IKEY_SERVICE_JSON_PATH,
46 keys.ConfigKeys.KEY_TESTBED_NAME, keys.ConfigKeys.IKEY_BUILD,
47 keys.ConfigKeys.IKEY_ANDROID_DEVICE, keys.ConfigKeys.IKEY_ABI_NAME,
48 keys.ConfigKeys.IKEY_ABI_BITNESS
51 keys.ConfigKeys.RUN_AS_VTS_SELFTEST,
52 keys.ConfigKeys.IKEY_ENABLE_PROFILING,
72 post_cmd = getattr(self, keys.ConfigKeys.IKEY_DASHBOARD_POST_COMMAND)
[all …]
/test/vts/utils/python/systrace/
Dsystrace_utils.py20 from vts.runners.host import keys
35 _TOGGLE_PARAM = keys.ConfigKeys.IKEY_ENABLE_SYSTRACE
37 keys.ConfigKeys.KEY_TESTBED_NAME, keys.ConfigKeys.IKEY_ANDROID_DEVICE,
38 keys.ConfigKeys.IKEY_DATA_FILE_PATH,
39 keys.ConfigKeys.IKEY_SYSTRACE_REPORT_PATH,
40 keys.ConfigKeys.IKEY_SYSTRACE_REPORT_URL_PREFIX
42 _OPTIONAL_PARAMS = [keys.ConfigKeys.IKEY_SYSTRACE_PROCESS_NAME]
68 keys.ConfigKeys.IKEY_SYSTRACE_PROCESS_NAME, '')
70 data_file_path = getattr(self, keys.ConfigKeys.IKEY_DATA_FILE_PATH)
73 android_devices = getattr(self, keys.ConfigKeys.IKEY_ANDROID_DEVICE)
[all …]
/test/vts/utils/python/precondition/
Dprecondition_utils.py22 from vts.runners.host import keys
48 keys.ConfigKeys.IKEY_ABI_BITNESS,
49 keys.ConfigKeys.IKEY_PRECONDITION_HWBINDER_SERVICE,
50 keys.ConfigKeys.IKEY_PRECONDITION_FILE_PATH_PREFIX,
51 keys.ConfigKeys.IKEY_PRECONDITION_LSHAL,
55 bitness = str(getattr(test_instance, keys.ConfigKeys.IKEY_ABI_BITNESS, ""))
59 keys.ConfigKeys.IKEY_PRECONDITION_HWBINDER_SERVICE, ""))
88 getattr(test_instance, keys.ConfigKeys.IKEY_PRECONDITION_LSHAL, ""))
110 keys.ConfigKeys.IKEY_PRECONDITION_FEATURE,
115 getattr(test_instance, keys.ConfigKeys.IKEY_PRECONDITION_FEATURE, ""))
[all …]
/test/vts/runners/host/
Dconfig_parser.py24 from vts.runners.host import keys
42 result[keys.ConfigKeys.KEY_TESTBED][
43 keys.ConfigKeys.KEY_TESTBED_NAME] = test_name
69 if keys.ConfigKeys.KEY_TESTBED not in configs and baseline_config:
74 for tb in configs[keys.ConfigKeys.KEY_TESTBED]:
75 if tb[keys.ConfigKeys.KEY_TESTBED_NAME] in tb_filters:
82 configs[keys.ConfigKeys.KEY_TESTBED] = tbs
84 _validate_testbed_configs(configs[keys.ConfigKeys.KEY_TESTBED])
85 k_log_path = keys.ConfigKeys.KEY_LOG_PATH
87 tps = configs[keys.ConfigKeys.KEY_TEST_PATHS]
[all …]
Dtest_runner.py32 from vts.runners.host import keys
95 baseline_config[keys.ConfigKeys.KEY_TESTBED] = [
96 baseline_config[keys.ConfigKeys.KEY_TESTBED]
167 self.test_run_info[keys.ConfigKeys.IKEY_DATA_FILE_PATH] = getattr(
168 test_configs, keys.ConfigKeys.IKEY_DATA_FILE_PATH, "./")
170 self.testbed_configs = self.test_configs[keys.ConfigKeys.KEY_TESTBED]
172 keys.ConfigKeys.KEY_TESTBED_NAME]
176 l_path = os.path.join(self.test_configs[keys.ConfigKeys.KEY_LOG_PATH],
180 keys.ConfigKeys.KEY_LOG_SEVERITY, "INFO").upper()
378 keys.ConfigKeys.IKEY_TESTBED_NAME] = self.testbed_name
[all …]
Dbase_test.py29 from vts.runners.host import keys
147 timeout_milli = self.getUserParam(keys.ConfigKeys.KEY_TEST_TIMEOUT, 0)
155 keys.ConfigKeys.KEY_TEST_SUITE,
156 keys.ConfigKeys.KEY_INCLUDE_FILTER
161 keys.ConfigKeys.KEY_TEST_SUITE,
162 keys.ConfigKeys.KEY_EXCLUDE_FILTER
167 keys.ConfigKeys.KEY_TESTBED_NAME,
178 keys.ConfigKeys.IKEY_ABI_NAME, default_value=None)
180 keys.ConfigKeys.IKEY_ABI_BITNESS, default_value=None)
182 keys.ConfigKeys.IKEY_SKIP_ON_32BIT_ABI, default_value=False)
[all …]
/test/vts/utils/python/coverage/
Dcoverage_utils.py26 from vts.runners.host import keys
80 _TOGGLE_PARAM = keys.ConfigKeys.IKEY_ENABLE_COVERAGE
81 _REQUIRED_PARAMS = [keys.ConfigKeys.IKEY_ANDROID_DEVICE]
83 keys.ConfigKeys.IKEY_MODULES,
84 keys.ConfigKeys.IKEY_OUTPUT_COVERAGE_REPORT,
85 keys.ConfigKeys.IKEY_GLOBAL_COVERAGE,
86 keys.ConfigKeys.IKEY_EXCLUDE_COVERAGE_PATH,
87 keys.ConfigKeys.IKEY_COVERAGE_REPORT_PATH,
119 self, keys.ConfigKeys.IKEY_COVERAGE_REPORT_PATH, None)
124 self, keys.ConfigKeys.IKEY_GLOBAL_COVERAGE, True)
[all …]
Dsancov_utils.py23 from vts.runners.host import keys
39 _TOGGLE_PARAM = keys.ConfigKeys.IKEY_ENABLE_SANCOV
40 _REQUIRED_PARAMS = [keys.ConfigKeys.IKEY_ANDROID_DEVICE]
80 keys.ConfigKeys.IKEY_ANDROID_DEVICE)
85 serial = str(device.get(keys.ConfigKeys.IKEY_SERIAL))
87 device.get(keys.ConfigKeys.IKEY_SANCOV_RESOURCES_PATH))
/test/vts/testcases/template/binary_test/
Dbinary_test.py26 from vts.runners.host import keys
64 keys.ConfigKeys.IKEY_DATA_FILE_PATH,
67 keys.ConfigKeys.IKEY_BINARY_TEST_SOURCE,
68 keys.ConfigKeys.IKEY_BINARY_TEST_WORKING_DIRECTORY,
69 keys.ConfigKeys.IKEY_BINARY_TEST_ENVP,
70 keys.ConfigKeys.IKEY_BINARY_TEST_ARGS,
71 keys.ConfigKeys.IKEY_BINARY_TEST_LD_LIBRARY_PATH,
72 keys.ConfigKeys.IKEY_BINARY_TEST_PROFILING_LIBRARY_PATH,
73 keys.ConfigKeys.IKEY_NATIVE_SERVER_PROCESS_NAME,
74 keys.ConfigKeys.IKEY_PRECONDITION_FILE_PATH_PREFIX,
[all …]
/test/vts/utils/python/profiling/
Dprofiling_utils.py25 from vts.runners.host import keys
101 _TOGGLE_PARAM = keys.ConfigKeys.IKEY_ENABLE_PROFILING
102 _REQUIRED_PARAMS = [keys.ConfigKeys.IKEY_DATA_FILE_PATH]
104 keys.ConfigKeys.IKEY_PROFILING_TRACING_PATH,
105 keys.ConfigKeys.IKEY_TRACE_FILE_TOOL_NAME,
106 keys.ConfigKeys.IKEY_SAVE_TRACE_FILE_REMOTE,
107 keys.ConfigKeys.IKEY_ABI_BITNESS,
108 keys.ConfigKeys.IKEY_PROFILING_ARG_VALUE,
127 keys.ConfigKeys.IKEY_DATA_FILE_PATH, None)
194 bitness = getattr(self, keys.ConfigKeys.IKEY_ABI_BITNESS, None)
[all …]
/test/vts-testcase/fuzz/template/func_fuzzer_test/
Dfunc_fuzzer_test.py22 from vts.runners.host import keys
47 keys.ConfigKeys.IKEY_DATA_FILE_PATH,
48 keys.ConfigKeys.IKEY_HAL_HIDL_PACKAGE_NAME,
51 logging.info('%s: %s', keys.ConfigKeys.IKEY_DATA_FILE_PATH,
53 logging.info('%s: %s', keys.ConfigKeys.IKEY_HAL_HIDL_PACKAGE_NAME,
/test/vts-testcase/security/poc/host/
DSecurityPoCKernelTest.py25 from vts.runners.host import keys
48 keys.ConfigKeys.IKEY_DATA_FILE_PATH,
49 keys.ConfigKeys.IKEY_ABI_BITNESS,
54 logging.info("%s: %s", keys.ConfigKeys.IKEY_DATA_FILE_PATH,
70 bitness = getattr(self, keys.ConfigKeys.IKEY_ABI_BITNESS)
99 if not device_model in poc_config.keys():
/test/vts/testcases/template/hal_hidl_gtest/
Dhal_hidl_gtest.py21 from vts.runners.host import keys
55 opt_params = [keys.ConfigKeys.IKEY_SKIP_IF_THERMAL_THROTTLING,
56 keys.ConfigKeys.IKEY_DISABLE_CPU_FREQUENCY_SCALING]
60 keys.ConfigKeys.IKEY_SKIP_IF_THERMAL_THROTTLING,
63 keys.ConfigKeys.IKEY_DISABLE_CPU_FREQUENCY_SCALING,
105 keys.ConfigKeys.IKEY_PASSTHROUGH_MODE, default_value=False)
221 self.user_params[keys.ConfigKeys.IKEY_PASSTHROUGH_MODE] = True
/test/vts-testcase/fuzz/kernel/syzkaller/
Dsyzkaller_test.py28 from vts.runners.host import keys
51 keys.ConfigKeys.IKEY_SERVICE_JSON_PATH,
52 keys.ConfigKeys.IKEY_FUZZING_GCS_BUCKET_NAME,
53 keys.ConfigKeys.IKEY_SYZKALLER_PACKAGES_PATH,
54 keys.ConfigKeys.IKEY_SYZKALLER_TEMPLATE_PATH
/test/vts/utils/python/gcs/
Dgcs_utils.py22 from vts.runners.host import keys
37 _REQUIRED_PARAMS = [keys.ConfigKeys.IKEY_SERVICE_JSON_PATH]
55 gcloud_key = getattr(self, keys.ConfigKeys.IKEY_SERVICE_JSON_PATH)
/test/vts-testcase/kernel/api/net/
DVtsKernelNetTest.py24 from vts.runners.host import keys
41 keys.ConfigKeys.IKEY_DATA_FILE_PATH,
44 logging.info('%s: %s', keys.ConfigKeys.IKEY_DATA_FILE_PATH,
/test/mlts/benchmark/src/com/android/nn/benchmark/evaluators/
DMelCepLogF0.java65 protected void AddValidationResult(List<String> keys, List<Float> values) { in AddValidationResult() argument
66 keys.add("max_mel_cep_distortion"); in AddValidationResult()
68 keys.add("max_log_f0_error"); in AddValidationResult()
DPhoneErrorRate.java28 protected void AddValidationResult(List<String> keys, List<Float> values) { in AddValidationResult() argument
29 keys.add("max_phone_error_rate"); in AddValidationResult()
/test/framework/harnesses/host_controller/tfc/
Dapi_message.py37 def ToJson(self, keys): argument
46 return dict((x, getattr(self, x)) for x in keys if hasattr(self, x))
/test/vts-testcase/fuzz/template/libfuzzer_test/
Dlibfuzzer_test.py25 from vts.runners.host import keys
45 keys.ConfigKeys.IKEY_DATA_FILE_PATH,
46 keys.ConfigKeys.IKEY_BINARY_TEST_SOURCE,
50 logging.info('%s: %s', keys.ConfigKeys.IKEY_DATA_FILE_PATH,
52 logging.info('%s: %s', keys.ConfigKeys.IKEY_BINARY_TEST_SOURCE,
/test/vts/testcases/template/llvmfuzzer_test/
Dllvmfuzzer_test.py23 from vts.runners.host import keys
47 keys.ConfigKeys.IKEY_DATA_FILE_PATH,
52 self._testcases = map(lambda x: str(x), self.fuzzer_configs.keys())
55 logging.debug("%s: %s", keys.ConfigKeys.IKEY_DATA_FILE_PATH,
/test/vts/testcases/template/host_binary_test/
Dhost_binary_test.py23 from vts.runners.host import keys
39 required_params = [keys.ConfigKeys.IKEY_BINARY_TEST_SOURCE]
/test/vts-testcase/kernel/linux_kselftest/
DLinuxKselftestTest.py23 from vts.runners.host import keys
44 keys.ConfigKeys.IKEY_DATA_FILE_PATH,
49 logging.info("%s: %s", keys.ConfigKeys.IKEY_DATA_FILE_PATH,
/test/suite_harness/tools/cts-test-metrics/
Dparse_test_metrics.py39 stream_names = json_data.keys()
44 for key in metrics.keys():

123