/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/ |
D | monsoon_proxy.py | 266 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/ |
D | test_decorators.py | 208 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 …]
|
D | records.py | 231 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})
|
D | config_parser.py | 44 for k in keys.Config.reserved_keys.value: 47 if (k == keys.Config.key_test_paths.value 48 or k == keys.Config.key_log_path.value): 51 if k not in test_config: 53 k)
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/net/ |
D | ui_utils.py | 30 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':
|
/tools/repohooks/rh/ |
D | shell_unittest.py | 95 self._testData(aux, {k: k for k in tests_quote.values()}, False) 96 self._testData(aux, {k: k for k in tests_quote}, False)
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | power_monitor.py | 41 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/asuite/atest/integration_tests/ |
D | result_compare_test.py | 138 for k, v in result1.items(): 139 if v != result2[k]: 141 print('{0:100} {1:20} {2}'.format(k, v, result2[k])) 154 for k, v in json_result['test_runner']['AtestTradefedTestRunner'].items(): 155 name = k.split()[-1]
|
/tools/treble/build/treble_build/report/ |
D | run.go | 159 for k, _ := range outFiles { 160 out.OutputFiles = append(out.OutputFiles, k) 162 for k, _ := range inFiles { 163 out.InputFiles = append(out.InputFiles, k) 165 for k, _ := range unknownSrcFiles { 166 out.UnknownFiles = append(out.UnknownFiles, k)
|
/tools/treble/build/sandbox/ |
D | rbe.py | 89 for k,v in os.environ.items(): 90 if k.startswith('RBE_'): 91 prepared_env[k] = v 104 return ['%s=%s' % (k,v) for k,v in prepared_env.items()]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/bt/ |
D | gattc_lib.py | 344 for k in range(len(descriptor_uuids)): 347 j, k) 351 self.discovered_services_index, i, j, k, 356 self.discovered_services_index, i, j, k) 377 for k in range(len(descriptor_uuids)): 380 j, k) 384 self.discovered_services_index, i, j, k, 389 self.discovered_services_index, i, j, k) 460 for k in range(len(descriptor_uuids)): 464 descriptor_uuids[k])) [all …]
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | SignatureFileCache.kt | 40 return map.computeIfAbsent(key) { k -> in <lambda>() method 41 signatureFileLoader.loadFiles(k.signatureFiles, k.classResolver) in <lambda>()
|
/tools/test/connectivity/acts_tests/tests/google/wifi/ |
D | WifiRttManagerTest.py | 182 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/ |
D | hostapd_constants.py | 176 FREQUENCY_MAP = {v: k for k, v in CHANNEL_MAP.items()} 233 v: k 234 for k, v in N_CAPABILITIES_MAPPING.items() 313 v: k 314 for k, v in AC_CAPABILITIES_MAPPING.items()
|
D | hostapd_bss_settings.py | 49 for k, v in security_settings.items(): 50 settings[k] = v
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | FakeTest.java | 144 for (int k = 0; k < repeat; ++k) { in decodeRle() 182 for (int k = 0; k < repeat; ++k) { in decode()
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | Tokenizer.kt | 104 val k = buffer[position] in getToken() constant 105 if (k == '\n' || k == '\r') { in getToken() 114 when (k) { in getToken()
|
/tools/aadevtools/dev/ |
D | change_report_test.py | 97 for k in range(expected_len, actual_len): 98 print(actual[k]) 99 offending_line_indexes.append(k)
|
/tools/tradefederation/core/javatests/com/android/tradefed/postprocessor/ |
D | StatsdEventMetricPostProcessorTest.java | 292 parsedMetrics.keySet().stream().noneMatch(k -> k.contains("should_be_ignored"))); in testIgnoresRepeatedFieldInBothKeyAndValue() 317 parsedMetrics.keySet().stream().noneMatch(k -> k.contains("should_be_ignored"))); in testIgnoresMultipleRepeatedFieldInKeyOrValue() 337 parsedMetrics.keySet().stream().noneMatch(k -> k.contains("should_be_ignored"))); in testIgnoresInvalidFieldReference() 353 parsedMetrics.keySet().stream().noneMatch(k -> k.contains("should_be_ignored"))); in testIgnoresInvalidAtomReference()
|
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | MetricsTest.java | 55 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()
|
D | DetectRegressionTest.java | 60 (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/asuite/atest/metrics/ |
D | metrics_base.py | 145 k 146 for k, v in vars(cls).items() 147 if not k.startswith('_') and v in allowed
|
/tools/tradefederation/core/test_framework/com/android/tradefed/postprocessor/ |
D | StatsdBeforeAfterGaugeMetricPostProcessor.java | 331 metricsOutput.computeIfAbsent(atomName, k -> new MultiMap<String, String>()); in parseMetricsByFormatters() 333 atomName, k -> new HashMap<String, Set<String>>()); in parseMetricsByFormatters() 356 .computeIfAbsent(key, k -> new HashSet<String>()); in parseMetricsByFormatters() 447 k -> in formatAtomMetricsForLoggingByMetricKeys() 449 + (k.isEmpty() ? "<empty>" : k) in formatAtomMetricsForLoggingByMetricKeys() 451 + String.join(",", metricsForAtom.get(k))) in formatAtomMetricsForLoggingByMetricKeys()
|
/tools/security/gdb/gdb_json_printer/test_examples/ |
D | basic_types.cpp | 34 const char *k = "Hello"; in main() local 56 const char *k = "Hello"; in main() local
|
/tools/security/fuzzing/llm/tinyxml2_fuzzer/ |
D | gen_corpus2.py | 25 attr_value = "".join(random.choices("abcdefghijklmnopqrstuvwxyz ", k=random.randint(0, 15))) 29 …text_content = "".join(random.choices("abcdefghijklmnopqrstuvwxyz <>&\"'", k=random.randint(0, ma…
|