Home
last modified time | relevance | path

Searched refs:k (Results 1 – 25 of 44) sorted by relevance

12

/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon_proxy.py266 for k in status.keys():
267 if k.endswith('VoltageSetting'):
268 status[k] = 2.0 + status[k] * 0.01
269 elif k.endswith('FineCurrent'):
271 elif k.endswith('CoarseCurrent'):
273 elif k.startswith('voltage') or k.endswith('Voltage'):
274 status[k] = status[k] * 0.000125
275 elif k.endswith('Resistor'):
276 status[k] = 0.05 + status[k] * 0.0001
277 if k.startswith('aux') or k.startswith('defAux'):
[all …]
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py208 for k, v in gathered_extras.items():
209 if k not in new_signal.extras:
210 new_signal.extras[k] = v
212 if not isinstance(new_signal.extras[k], list):
213 new_signal.extras[k] = [new_signal.extras[k]]
215 new_signal.extras[k].insert(0, v)
249 for k, v in self.keyed_info.items():
250 if v and k not in extras:
251 extras[k] = v
252 elif v and k in extras:
[all …]
Drecords.py231 l = ["%s %s" % (k, v) for k, v in self.summary_dict().items()]
247 l.append({k: record.to_dict()[k] for k in keys})
Dconfig_parser.py45 for k in keys.Config.reserved_keys.value:
48 if (k == keys.Config.key_test_paths.value
49 or k == keys.Config.key_log_path.value):
52 if k not in test_config:
54 k)
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/
Dui_utils.py30 return ' '.join(['%s="%s"' % (k, v) for k, v in kv_pairs.items()])
91 for k, v in matcher.items():
92 if k == 'class_name':
93 key = k.replace('class_name', 'class')
94 elif k == 'text_contains':
95 key = k.replace('text_contains', 'text')
97 key = k.replace('_', '-')
99 if k == 'text_contains':
Dipsec_test_utils.py238 for k in auth_method_key.keys():
239 auth_key = auth_method_key[k]
240 lst = auth_method_trunc[k]
244 combo.append(k)
/tools/repohooks/rh/
Dshell_unittest.py94 self._testData(aux, {k: k for k in tests_quote.values()}, False)
95 self._testData(aux, {k: k for k in tests_quote}, False)
/tools/test/connectivity/acts/framework/acts/controllers/
Dpower_monitor.py41 for k, v in registry.items():
42 if k in _REGISTRY:
43 if v == _REGISTRY[k]:
48 'with %s.' % (k, _REGISTRY[k], v))
49 _REGISTRY[k] = v
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/
Dgattc_lib.py345 for k in range(len(descriptor_uuids)):
348 j, k)
352 self.discovered_services_index, i, j, k,
357 self.discovered_services_index, i, j, k)
378 for k in range(len(descriptor_uuids)):
381 j, k)
385 self.discovered_services_index, i, j, k,
390 self.discovered_services_index, i, j, k)
461 for k in range(len(descriptor_uuids)):
465 descriptor_uuids[k]))
[all …]
Dbt_gatt_utils.py408 for k in range(len(descriptor_uuids)):
410 bluetooth_gatt, discovered_services_index, i, j, k)
412 hex(desc_inst_id), descriptor_uuids[k]))
416 for k in range(len(descriptor_uuids)):
418 descriptor_uuids[k]))
/tools/treble/build/sandbox/
Drbe.py85 for k,v in os.environ.items():
86 if k.startswith('RBE_'):
87 prepared_env[k] = v
100 return ['%s=%s' % (k,v) for k,v in prepared_env.items()]
Drbe_action.py49 shell_env = ' '.join(['%s=%s' % (k,v) for k, v in env.items()])
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRttManagerTest.py182 for k, v in target_params.items():
183 if k not in network_info:
185 if type(network_info[k]) is str:
186 network_info[k] = network_info[k].lower()
188 if network_info[k] != v:
473 for k, v in expected_caps.items():
474 asserts.assert_true(k in caps, "%s missing in capabilities." % k)
475 asserts.assert_true(v == caps[k], "Expected %s for %s, got %s." %
476 (v, k, caps[k]))
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd_constants.py174 FREQUENCY_MAP = {v: k for k, v in CHANNEL_MAP.items()}
231 v: k
232 for k, v in N_CAPABILITIES_MAPPING.items()
311 v: k
312 for k, v in AC_CAPABILITIES_MAPPING.items()
Dhostapd.py186 pairs = ('%s=%s' % (k, v) for k, v in interface_configs.items())
192 config_pairs = ('%s=%s' % (k, v)
193 for k, v in packaged_config.items()
Dhostapd_bss_settings.py49 for k, v in security_settings.items():
50 settings[k] = v
/tools/asuite/atest/metrics/
Dmetrics_base.py117 fields = [k for k, v in vars(cls).items()
118 if not k.startswith('_') and v in allowed]
/tools/asuite/atest-py2/metrics/
Dmetrics_base.py117 fields = [k for k, v in vars(cls).items()
118 if not k.startswith('_') and v in allowed]
/tools/tradefederation/prebuilts/filegroups/tradefed/
Dtf-contrib-tests.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/tools/asuite/aidegen/project/
Dproject_splitter.py165 projects = sorted(self._projects, key=lambda k: len(
166 k.project_relative_path), reverse=True)
187 projects = sorted(self._projects, key=lambda k: len(
188 k.project_relative_path))
198 dep_projects = sorted(self._projects, key=lambda k: len(
199 k.project_relative_path))
/tools/security/gdb/gdb_json_printer/test_examples/
Dbasic_types.cpp34 const char *k = "Hello"; in main() local
56 const char *k = "Hello"; in main() local
/tools/asuite/atest/
Datest_execution_info.py121 summary_str = ', '.join([k[:1]+':'+str(v)
122 for k, v in total_summary.items()])
162 print(', '.join([(k+':'+str(v))
163 for k, v in total_summary.items()]))
Datest.py206 not_match = [k for k in arg_maps if k not in vars(args)]
210 extra_args.update({arg_maps.get(k): v for k, v in vars(args).items()
211 if arg_maps.get(k) and v})
/tools/security/gdb/gdb_json_printer/test/
Dgdb_json_printer_test.py61 for (k, v) in input_json.items():
62 if k == "address":
63 input_json[k] = None
/tools/asuite/atest-py2/
Datest.py198 not_match = [k for k in arg_maps if k not in vars(args)]
202 extra_args.update({arg_maps.get(k): v for k, v in vars(args).items()
203 if arg_maps.get(k) and v})

12