Home
last modified time | relevance | path

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

12

/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py110 for k, v in gathered_extras.items():
111 if k not in new_signal.extras:
112 new_signal.extras[k] = v
114 if not isinstance(new_signal.extras[k], list):
115 new_signal.extras[k] = [new_signal.extras[k]]
117 new_signal.extras[k].insert(0, v)
151 for k, v in self.keyed_info.items():
152 if v and k not in extras:
153 extras[k] = v
154 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/framework/acts/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon_proxy.py265 for k in status.keys():
266 if k.endswith('VoltageSetting'):
267 status[k] = 2.0 + status[k] * 0.01
268 elif k.endswith('FineCurrent'):
270 elif k.endswith('CoarseCurrent'):
272 elif k.startswith('voltage') or k.endswith('Voltage'):
273 status[k] = status[k] * 0.000125
274 elif k.endswith('Resistor'):
275 status[k] = 0.05 + status[k] * 0.0001
276 if k.startswith('aux') or k.startswith('defAux'):
[all …]
/tools/repohooks/rh/
Dshell_unittest.py97 self._testData(aux, {k: k for k in tests_quote.values()}, False)
98 self._testData(aux, {k: k for k in tests_quote}, False)
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd_constants.py133 FREQUENCY_MAP = {v: k for k, v in CHANNEL_MAP.items()}
182 v: k
183 for k, v in N_CAPABILITIES_MAPPING.items()
262 v: k
263 for k, v in AC_CAPABILITIES_MAPPING.items()
Dhostapd_bss_settings.py49 for k, v in security_settings.items():
50 settings[k] = v
Dhostapd.py184 pairs = ('%s=%s' % (k, v) for k, v in interface_configs.items())
190 config_pairs = ('%s=%s' % (k, v)
191 for k, v in packaged_config.items()
/tools/test/connectivity/acts/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/tradefederation/core/src/com/android/tradefed/testtype/
DFakeTest.java142 for (int k = 0; k < repeat; ++k) { in decodeRle()
180 for (int k = 0; k < repeat; ++k) { in decode()
/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/tradefederation/core/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/aidegen/project/
Dsource_splitter.py150 for child in sorted(self._projects, key=lambda k: len(
151 k.project_relative_path), reverse=True):
168 for project in sorted(self._projects, key=lambda k: len(
169 k.project_relative_path)):
178 for dep_proj in sorted(self._projects, key=lambda k: len(
179 k.project_relative_path)):
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/
DStatsdEventMetricPostProcessorTest.java280 parsedMetrics.keySet().stream().noneMatch(k -> k.contains("should_be_ignored"))); in testIgnoresRepeatedFieldInBothKeyAndValue()
305 parsedMetrics.keySet().stream().noneMatch(k -> k.contains("should_be_ignored"))); in testIgnoresMultipleRepeatedFieldInKeyOrValue()
325 parsedMetrics.keySet().stream().noneMatch(k -> k.contains("should_be_ignored"))); in testIgnoresInvalidFieldReference()
341 parsedMetrics.keySet().stream().noneMatch(k -> k.contains("should_be_ignored"))); in testIgnoresInvalidAtomReference()
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/
DMetricsTest.java55 data.forEach((k, v) -> v.forEach(e -> mMetrics.addRunMetric(k, e))); in testAddRunMetrics()
84 data.forEach((k, v) -> v.forEach(e -> mMetrics.addRunMetric(k, e))); in testValidate()
DDetectRegressionTest.java60 (k, v) -> { in testCalcMean() argument
61 assertTrue(equal(k, DetectRegression.calcMean(Doubles.asList(v)))); in testCalcMean()
71 (k, v) -> { in testCalcStdDev() argument
72 assertTrue(equal(k, DetectRegression.calcStdDev(Doubles.asList(v)))); in testCalcStdDev()
/tools/test/connectivity/acts/framework/acts/test_utils/net/
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/tradefederation/core/atest/
Datest_execution_info.py110 summary_str = ', '.join([k+':'+str(v)
111 for k, v in total_summary.items()])
135 print(', '.join([(k+':'+str(v))
136 for k, v in total_summary.items()]))
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})
/tools/asuite/atest/
Datest_execution_info.py111 summary_str = ', '.join([k+':'+str(v)
112 for k, v in total_summary.items()])
136 print(', '.join([(k+':'+str(v))
137 for k, v in total_summary.items()]))
Datest.py202 not_match = [k for k in arg_maps if k not in vars(args)]
206 extra_args.update({arg_maps.get(k): v for k, v in vars(args).items()
207 if arg_maps.get(k) and v})
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
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/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestMapping.java136 for (int k = 0; k < optionObject.names().length(); k++) { in TestMapping()
137 String name = optionObject.names().getString(k); in TestMapping()
433 allTests.computeIfAbsent(group, k -> new HashSet<>()).addAll(testCollection.get(group)); in getAllTests()
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py294 for k, v in self._dhcp_bss.items():
296 '%s/%s' % (self._dhcp_bss[k].router,
297 self._dhcp_bss[k].network.netmask))
298 self._ip_cmd.set_ipv4_address(str(k), bss_interface_ip)
303 for k, v in self._dhcp_bss.items():
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DRebootReasonCollector.java102 metricsForDevice.computeIfPresent(bootReasonKey, (k, v) -> v + 1); in onTestRunEnd()
103 metricsForDevice.computeIfAbsent(bootReasonKey, k -> 1); in onTestRunEnd()

12