/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | GattEnum.py | 67 "evt": GattCbStrings.CHAR_WRITE_REQ.value, 68 "err": GattCbErr.CHAR_WRITE_REQ_ERR.value 71 "evt": GattCbStrings.EXEC_WRITE.value, 72 "err": GattCbErr.EXEC_WRITE_ERR.value 75 "evt": GattCbStrings.CHAR_WRITE.value, 76 "err": GattCbErr.CHAR_WRITE_ERR.value 79 "evt": GattCbStrings.DESC_WRITE_REQ.value, 80 "err": GattCbErr.DESC_WRITE_REQ_ERR.value 83 "evt": GattCbStrings.DESC_WRITE.value, 84 "err": GattCbErr.DESC_WRITE_ERR.value [all …]
|
D | gatts_lib.py | 97 def characteristic_set_value_by_instance_id(self, instance_id, value): argument 100 int(instance_id, 16), value) 140 value = self.write_mapping[key] 142 key, value)) 144 key, value) 157 value = event['data']['value'] 160 instance_id] = self.write_mapping[instance_id] + value 166 instance_id, value)) 167 self.write_mapping[instance_id] = value 169 instance_id, value)) [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | UAnnotationItem.kt | 182 value: UExpression?, in <lambda>() 191 when (value) { in <lambda>() 193 is ULiteralExpression -> sb.append(CodePrinter.constantToSource(value.value)) in <lambda>() 195 when (val resolved = value.resolve()) { in <lambda>() 223 sb.append(value.sourcePsi?.text ?: value.asSourceString()) in <lambda>() 228 appendValue(codebase, sb, value.leftOperand, target, showDefaultAttrs) in <lambda>() 230 sb.append(value.operator.text) in <lambda>() 232 appendValue(codebase, sb, value.rightOperand, target, showDefaultAttrs) in <lambda>() 235 if (value.isArrayInitializer()) { in <lambda>() 238 for (initializer in value.valueArguments) { in <lambda>() [all …]
|
D | CodePrinter.kt | 77 fun toSourceExpression(value: PsiAnnotationMemberValue, owner: Item): String { in toSourceExpression() 79 appendSourceExpression(value, sb, owner) in toSourceExpression() 83 …private fun appendSourceExpression(value: PsiAnnotationMemberValue, sb: StringBuilder, owner: Item… in appendSourceExpression() 84 if (value is PsiReference) { in appendSourceExpression() 85 val resolved = value.resolve() in appendSourceExpression() 90 } else if (value is PsiLiteral) { in appendSourceExpression() 91 return appendSourceLiteral(value.value, sb, owner) in appendSourceExpression() 92 } else if (value is PsiClassObjectAccessExpression) { in appendSourceExpression() 93 sb.append(value.operand.type.canonicalText).append(DOT_CLASS) in appendSourceExpression() 95 } else if (value is PsiArrayInitializerMemberValue) { in appendSourceExpression() [all …]
|
D | PsiAnnotationItem.kt | 94 parameter.name ?: ATTR_VALUE, parameter.value ?: continue in <lambda>() 150 list.add(Pair(attr.name, attr.value)) in <lambda>() 197 value: PsiAnnotationMemberValue?, in <lambda>() 206 when (value) { in <lambda>() 208 is PsiLiteral -> sb.append(constantToSource(value.value)) in <lambda>() 210 when (val resolved = value.resolve()) { in <lambda>() 238 sb.append(value.text) in <lambda>() 243 appendValue(codebase, sb, value.lOperand, target, showDefaultAttrs) in <lambda>() 245 sb.append(value.operationSign.text) in <lambda>() 247 appendValue(codebase, sb, value.rOperand, target, showDefaultAttrs) in <lambda>() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_retail_ap.py | 381 for setting, value in settings_to_update.items(): 382 if self.ap_settings[setting] != value: 383 self.ap_settings[setting] = value 399 for key, value in self.channel_band_map.items(): 400 if channel in value: 549 for key, value in self.config_page_fields.items(): 553 config_item = browser.find_by_name(value) 559 config_item = browser.find_by_name(value) 563 config_item.first.value] 567 config_item.first.value] [all …]
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiEnterpriseTest.py | 322 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.NONE.value 328 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.PAP.value 334 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAP.value 340 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value 346 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value 352 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value 358 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value 364 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.MSCHAPV2.value 370 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.GTC.value 411 config[WifiEnums.Enterprise.PHASE2] = WifiEnums.EapPhase2.NONE.value [all …]
|
/tools/acloud/public/data/ |
D | default.config | 25 value: "1,32,24,checker-sliding" 30 value: "1,640,480,checker-fixed" 35 value: "512" 40 value: "2048" 45 value: "default" 50 value: "37.422,122.084,100,0,1,1" 59 value: "cpu:4,resolution:720x1280,dpi:320,memory:6g" 64 value: "cpu:4,resolution:1280x800,dpi:160,memory:6g" 69 value: "cpu:4,resolution:320x320,dpi:240,memory:2g" 74 value: "cpu:4,resolution:2560x1800,dpi:320,memory:6g" [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | md8475a.py | 147 bandwidth_str = bts_bandwidth.value 154 if bandwidth_str == BtsBandwidth.LTE_BANDWIDTH_20MHz.value: 156 elif bandwidth_str == BtsBandwidth.LTE_BANDWIDTH_15MHz.value: 158 elif bandwidth_str == BtsBandwidth.LTE_BANDWIDTH_10MHz.value: 160 elif bandwidth_str == BtsBandwidth.LTE_BANDWIDTH_5MHz.value: 162 elif bandwidth_str == BtsBandwidth.LTE_BANDWIDTH_3MHz.value: 164 elif bandwidth_str == BtsBandwidth.LTE_BANDWIDTH_1dot4MHz.value: 172 BtsBandwidth.LTE_BANDWIDTH_1dot4MHz.value: 6, 173 BtsBandwidth.LTE_BANDWIDTH_3MHz.value: 15, 174 BtsBandwidth.LTE_BANDWIDTH_5MHz.value: 25, [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | DocAnalyzer.kt | 173 private fun findPermissionField(codebase: Codebase, value: Any): FieldItem? { in <lambda>() 174 val perm = value.toString() in <lambda>() 236 ?.value?.value()?.toString() ?: return in <lambda>() 296 conditional = attribute.value.value() == true in <lambda>() 308 for (value in values) { in <lambda>() variable 315 val resolved = value.resolve() in <lambda>() 319 val v: Any = value.value() ?: value.toSource() in <lambda>() 328 val v = value.value()?.toString() ?: value.toSource() in <lambda>() 337 … "Cannot find permission field for $value required by $item (may be hidden or removed)" in <lambda>() 340 sb.append(value.toSource()) in <lambda>() [all …]
|
D | Options.kt | 1328 val value = getValue(args, ++index) in <lambda>() constant in com.android.tools.metalava.Options 1329 if (value.toUpperCase() != "UTF-8") { in <lambda>() 1330 throw DriverException("$value: Only UTF-8 encoding is supported") in <lambda>() 1335 val value = getValue(args, ++index) in <lambda>() constant 1336 val level = LanguageLevel.parse(value) in <lambda>() 1338 … level == null -> throw DriverException("$value is not a valid or supported Java language level") in <lambda>() 1345 val value = getValue(args, ++index) in <lambda>() constant 1347 LanguageVersion.fromVersionString(value) in <lambda>() 1348 … ?: throw DriverException("$value is not a valid or supported Kotlin language level") in <lambda>() 1564 val value = if (dash == -1) { in <lambda>() constant in com.android.tools.metalava.Options [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | AnnotationItem.kt | 675 val value: AnnotationAttributeValue constant 683 AnnotationAttributeValue.addValues(value, result) in leafValues() 694 fun value(): Any? in toSource() method 700 … fun addValues(value: AnnotationAttributeValue, into: MutableList<AnnotationAttributeValue>) { in toSource() 701 if (value is AnnotationArrayAttributeValue) { in toSource() 702 for (v in value.values) { in toSource() 705 } else if (value is AnnotationSingleAttributeValue) { in toSource() 706 into.add(value) in toSource() 717 val value: Any? constant 719 override fun value() = value in value() method [all …]
|
D | FieldItem.kt | 159 val value = in <lambda>() constant 162 if (value != null) { in <lambda>() 163 when (value) { in <lambda>() 166 writer.print(value) in <lambda>() 168 writer.print(Integer.toHexString(value)) in <lambda>() 173 writer.print(javaEscapeString(value)) in <lambda>() 179 writer.print(value) in <lambda>() 180 writer.print(String.format("L; // 0x%xL", value)) in <lambda>() 184 writer.print(value) in <lambda>() 189 writer.print(value) in <lambda>() [all …]
|
/tools/dexter/slicer/export/slicer/ |
D | hash_table.h | 59 T* value = nullptr; member 66 bool Insert(T* value); 93 void Insert(T* value); 126 bool HashTable<Key, T, Hash>::Partition::Insert(T* value) { in Insert() argument 127 SLICER_CHECK(value != nullptr); in Insert() 132 auto key = hasher_.GetKey(value); in Insert() 134 if (buckets_[bucket_index].value == nullptr) { in Insert() 135 buckets_[bucket_index].value = value; in Insert() 138 new_bucket.value = value; in Insert() 151 auto value = buckets_[index].value; in Lookup() local [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ArgsOptionParserTest.java | 593 final String value = "set"; in testParseBestEffort_oneArg() local 595 new String[] {option, value}); in testParseBestEffort_oneArg() 596 assertEquals(value, object.mMyOption); in testParseBestEffort_oneArg() 638 final String value = "set"; in testParseBestEffort_oneLeftover_oneArg() local 641 new String[] {badOption, goodOption, value}); in testParseBestEffort_oneLeftover_oneArg() 646 assertEquals(value, leftovers.get(2)); in testParseBestEffort_oneLeftover_oneArg() 657 final String value = "set"; in testParseBestEffort_manualStop() local 660 new String[] {"--", badOption, goodOption, value}); in testParseBestEffort_manualStop() 665 assertEquals(value, leftovers.get(2)); in testParseBestEffort_manualStop() 676 final String value = "set"; in testParseBestEffort_bareWord() local [all …]
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils.py | 574 def _is_apk_target(name, value): argument 588 if _APK_RE.match(value): 590 if name == 'push' and value.endswith(_APK_SUFFIX): 615 value = tag.attrib[_XML_VALUE].strip() 616 if _is_apk_target(name, value): 617 target_to_add = _get_apk_target(value) 618 elif _PERF_SETUP_LABEL in value: 684 value = tag.attrib[_XML_VALUE].strip() 686 if name == _VTS_BITNESS and value == _VTS_BITNESS_TRUE: 691 def _get_vts_binary_src_target(value, rel_out_dir): argument [all …]
|
/tools/tradefederation/core/atest/test_finders/ |
D | test_finder_utils.py | 563 def _is_apk_target(name, value): argument 577 if _APK_RE.match(value): 579 if name == 'push' and value.endswith(_APK_SUFFIX): 604 value = tag.attrib[_XML_VALUE].strip() 605 if _is_apk_target(name, value): 606 target_to_add = _get_apk_target(value) 607 elif _PERF_SETUP_LABEL in value: 673 value = tag.attrib[_XML_VALUE].strip() 675 if name == _VTS_BITNESS and value == _VTS_BITNESS_TRUE: 680 def _get_vts_binary_src_target(value, rel_out_dir): argument [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | ZipUtils.java | 250 static void setUnsignedInt16(ByteBuffer buffer, int offset, int value) { in setUnsignedInt16() argument 251 if ((value < 0) || (value > 0xffff)) { in setUnsignedInt16() 252 throw new IllegalArgumentException("uint16 value of out range: " + value); in setUnsignedInt16() 254 buffer.putShort(offset, (short) value); in setUnsignedInt16() 257 static void setUnsignedInt32(ByteBuffer buffer, int offset, long value) { in setUnsignedInt32() argument 258 if ((value < 0) || (value > 0xffffffffL)) { in setUnsignedInt32() 259 throw new IllegalArgumentException("uint32 value of out range: " + value); in setUnsignedInt32() 261 buffer.putInt(offset, (int) value); in setUnsignedInt32() 264 public static void putUnsignedInt16(ByteBuffer buffer, int value) { in putUnsignedInt16() argument 265 if ((value < 0) || (value > 0xffff)) { in putUnsignedInt16() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | OptionSetter.java | 395 Object value = handler.translate(valueText); in setOptionValue() local 396 if (value == null) { in setOptionValue() 423 if (setFieldValue(optionName, optionSource, field, key, value)) { in setOptionValue() 446 Object value) throws ConfigurationException { in setFieldValue() argument 465 if (value instanceof Collection) { in setFieldValue() 466 collection.addAll((Collection)value); in setFieldValue() 467 } else if (!((Class<?>) fieldType).isInstance(value)) { in setFieldValue() 472 value, fieldType)); in setFieldValue() 474 collection.add(value); in setFieldValue() 483 if (value instanceof Map) { in setFieldValue() [all …]
|
D | ArgsOptionParser.java | 321 String value = null; in parseLongOption() local 326 value = name.substring(equalsIndex + 1); in parseLongOption() 330 if (value == null) { in parseLongOption() 336 value = "false"; in parseLongOption() 338 value = name.startsWith(BOOL_FALSE_PREFIX, idx + 1) ? "false" : "true"; in parseLongOption() 349 value = parts[1].replaceAll("\\\\=", "="); in parseLongOption() 356 value = grabNextValue(args, name, "for its value").replaceAll("\\\\=", "="); in parseLongOption() 359 value = grabNextValue(args, name); in parseLongOption() 363 value = getKeyStoreValueIfNeeded(value, getTypeForOption(name)); in parseLongOption() 364 setOptionValue(name, key, value); in parseLongOption() [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/rohdeschwarz_lib/ |
D | cmw500.py | 203 state = state.value 268 cmd = 'ROUTe:LTE:SIGN:SCENario:{}'.format(mimo.value) 383 cmd = 'CONFigure:LTE:SIGN:CONNection:KRRC {}'.format(state.value) 414 cmd = 'CONFigure:LTE:SIGN:CONNection:DLPadding {}'.format(state.value) 429 cmd = 'CONFigure:LTE:SIGN:CONNection:CTYPe {}'.format(ctype.value) 460 self._bts = bts_num.value 479 cmd = 'CONFigure:LTE:SIGN:{}:DMODe {}'.format(self._bts, mode.value) 549 self._bts, bandwidth.value) 607 self._bts, tm_mode.value) 702 self._bts, mode.value) [all …]
|
/tools/test/connectivity/acts/framework/acts/ |
D | config_parser.py | 45 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): 94 for file_path_key in keys.Config.file_path_keys.value: 191 testbeds = configs[keys.Config.key_testbed.value] 195 tb_dict[testbed[keys.Config.key_testbed_name.value]] = testbed 201 testbed[keys.Config.key_testbed_name.value] = name 214 if (keys.Config.key_log_path.value not in configs 218 configs[keys.Config.key_log_path.value] = os.environ[_ENV_ACTS_LOGPATH] 219 if (keys.Config.key_test_paths.value not in configs [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | MultiMap.java | 46 List<V> value = map.get(key); in MultiMap() local 47 mInternalMap.put(key, value); in MultiMap() 79 public boolean containsValue(V value) { in containsValue() argument 81 if (valueList.contains(value)) { in containsValue() 114 for (V value : get(key)) { in entries() 115 entries.add(new AbstractMap.SimpleImmutableEntry<>(key, value)); in entries() 126 public V put(K key, V value) { in put() argument 132 valueList.add(value); in put() 133 return value; in put() 151 for (V value : m.get(key)) { in putAll() [all …]
|
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
D | OptionSetter.java | 252 Object value = handler.translate(valueText); in setOptionValue() local 253 if (value == null) { in setOptionValue() 259 setFieldValue(optionName, optionSource, field, value); in setOptionValue() 273 static void setFieldValue(String optionName, Object optionSource, Field field, Object value) in setFieldValue() argument 285 if (value instanceof Collection) { in setFieldValue() 286 collection.addAll((Collection)value); in setFieldValue() 288 collection.add(value); in setFieldValue() 298 if (value instanceof Map) { in setFieldValue() 299 map.putAll((Map)value); in setFieldValue() 317 field.set(optionSource, rule.update(optionName, optionSource, field, value)); in setFieldValue() [all …]
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/ |
D | LittleEndianUtils.java | 98 public static void writeUnsigned4Le(@Nonnull ByteBuffer output, long value) in writeUnsigned4Le() argument 101 Preconditions.checkArgument(value >= 0, "value (%s) < 0", value); in writeUnsigned4Le() 103 value <= 0x00000000ffffffffL, in writeUnsigned4Le() 105 value); in writeUnsigned4Le() 107 output.put((byte) (value & 0xff)); in writeUnsigned4Le() 108 output.put((byte) ((value >> 8) & 0xff)); in writeUnsigned4Le() 109 output.put((byte) ((value >> 16) & 0xff)); in writeUnsigned4Le() 110 output.put((byte) ((value >> 24) & 0xff)); in writeUnsigned4Le() 120 public static void writeUnsigned2Le(@Nonnull ByteBuffer output, int value) in writeUnsigned2Le() argument 123 Preconditions.checkArgument(value >= 0, "value (%s) < 0", value); in writeUnsigned2Le() [all …]
|