Home
last modified time | relevance | path

Searched refs:attr (Results 1 – 25 of 35) sorted by relevance

12

/tools/apksig/src/main/java/com/android/apksig/internal/jar/
DManifestParser.java76 String attr; in readSection() local
79 attr = readAttribute(); in readSection()
80 if (attr == null) { in readSection()
83 } while (attr.length() == 0); in readSection()
85 attrs.add(parseAttr(attr)); in readSection()
89 attr = readAttribute(); in readSection()
90 if ((attr == null) || (attr.length() == 0)) { in readSection()
94 attrs.add(parseAttr(attr)); in readSection()
103 private static Attribute parseAttr(String attr) { in parseAttr() argument
108 int delimiterIndex = attr.indexOf(": "); in parseAttr()
[all …]
/tools/tradefederation/core/atest/
Datest_utils_unittest.py81 for attr in tm_option_attributes:
82 setattr(args, attr, attr == attr_to_test)
89 for attr in tm_option_attributes:
90 setattr(args, attr, False)
95 for attr in tm_option_attributes:
96 setattr(args, attr, False)
101 for attr in tm_option_attributes:
102 setattr(args, attr, False)
Dunittest_utils.py50 for attr in test_info_a.__dict__:
51 test_info_a_attr = getattr(test_info_a, attr)
52 test_info_b_attr = getattr(test_info_b, attr)
55 (attr, test_info_a_attr, test_info_b_attr)))
/tools/asuite/atest/
Datest_utils_unittest.py86 for attr in tm_option_attributes:
87 setattr(args, attr, attr == attr_to_test)
94 for attr in tm_option_attributes:
95 setattr(args, attr, False)
100 for attr in tm_option_attributes:
101 setattr(args, attr, False)
106 for attr in tm_option_attributes:
107 setattr(args, attr, False)
Dunittest_utils.py54 for attr in test_info_a.__dict__:
55 test_info_a_attr = getattr(test_info_a, attr)
56 test_info_b_attr = getattr(test_info_b, attr)
59 (attr, test_info_a_attr, test_info_b_attr)))
/tools/test/connectivity/acts/framework/acts/metrics/
Dlogger.py285 def __getattr__(self, attr): argument
300 return getattr(logger, attr)
302 def __setattr__(self, attr, value): argument
313 return super().__setattr__(attr, value)
314 if attr == '_logger':
315 return super().__setattr__(attr, value)
319 return setattr(logger, attr, value)
/tools/repohooks/tools/
Dcheckpatch.pl5479 my $attr = $1;
5480 …if ($line =~ /^\+\s*static\s+(?:const\s+)?(?:$attr\s+)?($NonptrTypeWithAttr)\s+(?:$attr\s+)?($Iden…
5483 if ((($ptr =~ /\b(union|struct)\s+$attr\b/ &&
5485 "$attr should be placed after $var\n" . $herecurr)) ||
5486 ($ptr !~ /\b(union|struct)\s+$attr\b/ &&
5488 "$attr should be placed after $var\n" . $herecurr))) &&
5490attr\s+)?($NonptrTypeWithAttr)\s+(?:$attr\s+)?($Ident(?:\[[^]]*\])?)\s*([=;])\s*/"$1" . trim(strin…
5497 my $attr = $1;
5498 $attr =~ /($InitAttributePrefix)(.*)/;
5511 my $attr = $1;
[all …]
Dpylintrc357 attr-rgx=[a-z_][a-z0-9_]{2,30}$
360 attr-name-hint=[a-z_][a-z0-9_]{2,30}$
453 defining-attr-methods=__init__,__new__,setUp
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DAndroidBinXmlParser.java381 ByteBuffer attr = in parseCurrentElementAttributesIfNotParsed() local
386 long nsId = getUnsignedInt32(attr); in parseCurrentElementAttributesIfNotParsed()
387 long nameId = getUnsignedInt32(attr); in parseCurrentElementAttributesIfNotParsed()
388 attr.position(attr.position() + 7); // skip ignored fields in parseCurrentElementAttributesIfNotParsed()
389 int valueType = getUnsignedInt8(attr); in parseCurrentElementAttributesIfNotParsed()
390 long valueData = getUnsignedInt32(attr); in parseCurrentElementAttributesIfNotParsed()
/tools/external_updater/
Darchive_utils.py33 attr = member.external_attr >> 16
34 if attr != 0:
35 os.chmod(ret_val, attr)
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py1799 for attr in ("startTime", "endTime", "direction", "isInterrupted",
1802 match = re.search(r"%s: (.*)" % attr, call)
1804 if attr in ("startTime", "endTime"):
1805 call_info[attr] = epoch_to_log_line_timestamp(
1808 call_info[attr] = match.group(1)
1823 for attr in ("startTime", "endTime", "direction", "isInterrupted",
1826 match = re.search(r"%s: (.*)" % attr, result)
1828 if attr in ("startTime", "endTime"):
1829 call_info[attr] = epoch_to_log_line_timestamp(
1832 call_info[attr] = match.group(1)
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DUAnnotationItem.kt134 for (attr in annotation.attributeValues) { in <lambda>() constant
135 list.add(Pair(attr.name, attr.expression)) in <lambda>()
DPsiAnnotationItem.kt149 for (attr in annotation.parameterList.attributes) { in <lambda>() constant
150 list.add(Pair(attr.name, attr.value)) in <lambda>()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java2044 for (Attribute attr : attrs) { in SignedAttributes()
2045 if (result.put(attr.attrType, attr.attrValues) != null) { in SignedAttributes()
2046 … throw new Pkcs7DecodingException("Duplicate signed attribute: " + attr.attrType); in SignedAttributes()
/tools/test/connectivity/acts/framework/acts/event/
Dsubscription_handle.py51 for attr, value in owner.__dict__.items():
53 setattr(instance, attr, ret)
/tools/test/connectivity/acts_tests/tests/google/gnss/
DGnssFunctionTest.py371 for attr in self.gnss_init_error_list:
372 error = self.ad.adb.shell("logcat -d | grep -E '%s'" % attr)
383 self.ad.log.info("NO \"%s\" initialization error found." % attr)
/tools/test/connectivity/acts_tests/tests/google/coex/performance_tests/
DWlanWithA2dpPerformanceTest.py44 attr, idx = self.dut.split(':')
45 self.dut_controller = getattr(self, attr)[int(idx)]
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerBTBaseTest.py80 attr, idx = bt_devices.split(':')
81 self.bt_device_controller = getattr(self, attr)[int(idx)]
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DA2dpBaseTest.py69 attr, idx = bt_devices.split(':')
70 self.bt_device_controller = getattr(self, attr)[int(idx)]
DBtSarBaseTest.py129 attr, idx = self.bt_devices.split(':')
130 self.bt_device_controller = getattr(self, attr)[int(idx)]
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterLogSaver.java136 (path, attr) -> in getPathStream()
137 attr.isRegularFile() in getPathStream()
/tools/test/connectivity/acts/framework/acts/test_utils/power/tel_simulations/
DBaseSimulation.py96 for attr, value in vars(new_config).items():
98 setattr(self, attr, value)
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DJavadocTest.kt701 fun `Handle @attr references`() { in Handle @attr references()
/tools/dexter/testdata/expected/
Dlarge.rewrite62 method android.R$attr.<init>():void
242366 .params "activityContext", "attr"
242557 .params "activityContext", "attr", "cName"
243107 .local v1, "attr", android.util.AttributeSet
503504 .local v16, "attr", java.lang.String
543117 .local v1, "attr", int
682323 .local v1, "attr", int
682462 .local v1, "attr", int
852078 .local v5, "attr", int
885835 31| const-string/jumbo v1, " attr="
[all …]
Dlarge.compact_cfg74 method android.R$attr.<init>():void
293543 .params "activityContext", "attr"
293766 .params "activityContext", "attr", "cName"
294398 .local v1, "attr", android.util.AttributeSet
615155 .local v16, "attr", java.lang.String
663634 .local v1, "attr", int
832517 .local v1, "attr", int
832689 .local v1, "attr", int
1037499 .local v5, "attr", int
1078048 31| const-string/jumbo v1, " attr="
[all …]

12