Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 93) sorted by relevance

1234

/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/bt/
Dgattc_lib.py59 def listServices(self, id): argument
69 test_args = {"identifier": id}
102 def writeCharById(self, id, offset, write_value): argument
115 "identifier": id,
124 def writeLongCharById(self, id, offset, write_value, reliable_mode=False): argument
138 "identifier": id,
148 def writeLongDescById(self, id, offset, write_value): argument
161 "identifier": id,
170 def writeCharByIdWithoutResponse(self, id, write_value): argument
182 "identifier": id,
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DReporter.kt104 fun report(id: Issues.Issue, element: PsiElement?, message: String): Boolean { in hasErrors()
105 val severity = configuration.getSeverity(id) in hasErrors()
112 if (element != null && baseline != null && baseline.mark(element, message, id)) { in hasErrors()
116 return report(severity, elementToLocation(element), message, id) in hasErrors()
119 fun report(id: Issues.Issue, file: File?, message: String): Boolean { in report()
120 val severity = configuration.getSeverity(id) in report()
127 if (file != null && baseline != null && baseline.mark(file, message, id)) { in report()
131 return report(severity, file?.path, message, id) in report()
134 fun report(id: Issues.Issue, item: Item?, message: String, psi: PsiElement? = null): Boolean { in report()
135 val severity = configuration.getSeverity(id) in report()
[all …]
/tools/carrier_settings/java/
DCarrierConfigConverterV2.java211 CarrierId id = parseCarrierId(element).setMccMnc(mccMnc).build(); in convert() local
212 carriers.add(id); in convert()
239 CarrierId.Builder id = parseCarrierId(element); in convert() local
244 if (id.getMccMnc().length() == 3) { in convert()
246 carriers.add(id.build()); in convert()
247 } else if (id.getMccMnc().length() == 5 || id.getMccMnc().length() == 6) { in convert()
249 carriers.add(id.build()); in convert()
251 System.err.printf("Invalid mcc/mnc: %s. Ignore.\n", id.getMccMnc()); in convert()
261 CarrierIdentifier id = getCid(carrier, reverseAospCarrierList); in convert() local
262 if (id.getCarrierId() != -1) { in convert()
[all …]
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DProcessModelFragment.kt22 class ProcessModelFragment(id: Int, var name: String? = null, in <lambda>()
24 private var _id: Int = id in <lambda>()
25 var id: Int in <lambda>() variable
65 if (id != -1 && id != other.id) { in <lambda>()
83 fun hint(id: Int = InvalidId, name: String? = null) { in <lambda>()
84 if (this.id == InvalidId) this.id = id in <lambda>()
DThreadModelFragment.kt24 class ThreadModelFragment(var id: Int, var process: ProcessModelFragment, var name: String? = null)… variable in trebuchet.model.fragments.ThreadModelFragment
29 if (this.id == InvalidId) this.id = pid in hint()
31 if (this.process.id == InvalidId) this.process.id = tgid in hint()
DSchedulingProcessFragment.kt33 if (thread.id != 0) { in switchProcess()
43 return process.id.toString()
55 return thread.id
58 override val id: Int get() { constant in trebuchet.model.fragments.SchedulingProcessFragment
59 return process.id
/tools/platform-compat/java/android/processor/compat/changeid/
DChange.java23 final Long id; field in Change
48 Change(Long id, String name, boolean disabled, boolean loggingOnly, Integer enabledAfter, in Change() argument
52 this.id = id; in Change()
67 Long id; field in Change.Builder
83 public Builder id(long id) { in id() method in Change.Builder
84 this.id = id; in id()
144 return new Change(id, name, disabled, loggingOnly, enabledAfter, enabledSince, in build()
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/lib_controllers/
Dwlan_controller.py59 for id in iface_ids:
60 query_response = self.device.wlan_lib.wlanQueryInterface(id)
64 (id, query_response['error']))
67 return id
156 for id in phy_ids_response['result']:
157 get_country_response = self.device.wlan_lib.wlanGetCountry(id)
161 (id, get_country_response['error']))
170 'Expected: %s, Got: %s' % (id, country_code, set_code))
/tools/dexter/dexter/
Ddissasembler.cc47 …("............................. begin block %d .............................\n", current_block.id); in StartInstruction()
57 …(".............................. end block %d ..............................\n", current_block.id); in EndInstruction()
82 printf("Label_%d", target->id); in Visit()
94 printf("Label_%d", switchCase.target->id); in Visit()
109 printf("Label_%d", target->label->id); in Visit()
228 printf("Label_%d:%s\n", label->id, (label->aligned ? " <aligned>" : "")); in Visit()
235 printf("\t.try_begin_%d\n", try_begin->id); in Visit()
242 printf("\t.try_end_%d\n", try_end->try_begin->id); in Visit()
245 handler.label->id); in Visit()
248 printf("\t catch(...) : Label_%d\n", try_end->catch_all->id); in Visit()
/tools/platform-compat/javatest/android/processor/compat/changeid/
DXmlWriterTest.java48 .id(123456789L) in testOneChange()
66 .id(111L) in testSomeChanges()
71 .id(222L) in testSomeChanges()
76 .id(333L) in testSomeChanges()
81 .id(444L) in testSomeChanges()
87 .id(555L) in testSomeChanges()
92 .id(666L) in testSomeChanges()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/
DFtraceImporterTest.kt75 assertEquals(6381, process.id) in testImportBeginEnd()
79 assertEquals(6381, thread.id) in testImportBeginEnd()
111 assertEquals(6381, process.id) in testImportBeginEndNoTgids()
115 assertEquals(6381, thread.id) in testImportBeginEndNoTgids()
136 assertEquals(3691, p.id) in testCounters()
138 assertTrue(p.threads.any { it.id == 3691 }) in testCounters()
139 assertTrue(p.threads.any { it.id == 4931 }) in testCounters()
140 assertTrue(p.threads.any { it.id == 4932 }) in testCounters()
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/netstack/
Dnetstack_lib.py51 def getInterfaceInfo(self, id): argument
62 "identifier": id
69 def enableInterface(self, id): argument
80 "identifier": id
87 def disableInterface(self, id): argument
98 "identifier": id
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/
DProcessModel.kt23 val id: Int = fragment.id constant
24 val name: String = fragment.name ?: "<$id>"
31 if (id == InvalidId) throw IllegalArgumentException("Process has invalid id")
36 threadBuilder.sortBy { it.id } in <lambda>()
DThreadModel.kt22 val id: Int = fragment.id constant
23 val name: String = fragment.name ?: "<$id>"
29 if (id == InvalidId) throw IllegalArgumentException("Thread has invalid id")
/tools/test/connectivity/acts_tests/tests/google/fuchsia/bt/
Dcommand_input.py1027 id = int(args[0], 16)
1034 self.unique_mac_addr_id, id, offset, write_value)
1062 id = int(args[0], 16)
1072 self.unique_mac_addr_id, id, offset, write_value,
1098 id = int(args[0], 16)
1105 self.unique_mac_addr_id, id, offset, write_value)
1128 id = int(args[0], 16)
1134 self.unique_mac_addr_id, id, write_value)
1151 id = int(line, 16)
1153 self.unique_mac_addr_id, id)
[all …]
/tools/test/connectivity/acts/framework/tests/event/
Dsubscription_bundle_test.py78 package.subscriptions[mock_subscription] = id(mock_subscription)
91 package.subscriptions[mock_subscription] = id(mock_subscription)
97 self.assertTrue(unregistered_obj == id(mock_subscription) or
115 self.assertTrue(subscription in args or id(subscription) in args)
124 package.subscriptions[subscription] = id(subscription)
131 self.assertTrue(subscription in args or id(subscription) in args)
Devent_bus_test.py168 bus._registration_id_map[id(subscription)] = subscription
190 bus._registration_id_map[id(subscription)] = subscription
206 bus._registration_id_map[id(subscription)] = subscription
221 registration_id = id(subscription)
222 bus._registration_id_map[id(subscription)] = subscription
/tools/apksig/src/main/java/com/android/apksig/internal/x509/
DCertificate.java56 Collection<X509Certificate> certs, SignerIdentifier id) { in findCertificate() argument
58 if (isMatchingCerticicate(cert, id)) { in findCertificate()
65 private static boolean isMatchingCerticicate(X509Certificate cert, SignerIdentifier id) { in isMatchingCerticicate() argument
66 if (id.issuerAndSerialNumber == null) { in isMatchingCerticicate()
70 IssuerAndSerialNumber issuerAndSerialNumber = id.issuerAndSerialNumber; in isMatchingCerticicate()
/tools/platform-compat/build/
Dprocess_compat_config.py68 id = child.attrib['id']
71 if id in self.changes_by_id.keys():
72 duplicate = self.changes_by_id[id]
75 id, duplicate, this_change))
84 self.changes_by_id[id] = this_change
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/
Dmetrics.proto7 // next id: 9
23 // next id: 2
28 // next id: 3
34 // next id: 2
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java429 int id = attribute.getInt(); in parseSigner() local
432 new ApkSigningBlockUtils.Result.SignerInfo.AdditionalAttribute(id, value)); in parseSigner()
433 switch (id) { in parseSigner()
446 result.addWarning(Issue.V2_SIG_UNKNOWN_ADDITIONAL_ATTRIBUTE, id); in parseSigner()
456 for (int id : supportedExpectedApkSigSchemeIds) { in parseSigner()
457 if (!foundApkSigSchemeIds.contains(id)) { in parseSigner()
458 String apkSigSchemeName = supportedApkSigSchemeNames.get(id); in parseSigner()
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/stress/
DMessagesStressTest.py56 def init_info(self, msg, id, messages_by_msg, messages_by_id): argument
66 messages_by_msg[msg][KEY_ID] = id
70 messages_by_id[id] = msg
99 id = event["data"][aconsts.SESSION_CB_KEY_MESSAGE_ID]
100 if id in messages_by_id:
101 msg = messages_by_id[id]
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/functional/
DMacRandomTest.py64 id = dut.droid.wifiAwareAttach(True)
89 dut.droid.wifiAwareDestroy(id)
117 id = dut.droid.wifiAwareAttach(True)
139 dut.droid.wifiAwareDestroy(id)
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DSignatureAlgorithm.java162 SignatureAlgorithm(int id, in SignatureAlgorithm() argument
168 mId = id; in SignatureAlgorithm()
216 public static SignatureAlgorithm findById(int id) { in findById() argument
218 if (alg.getId() == id) { in findById()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/aware/
Daware_test_utils.py42 def decorate_event(event_name, id): argument
43 return '%s_%d' % (event_name, id)
551 def get_network_specifier(dut, id, dev_type, peer_mac, sec): argument
564 id, dev_type, peer_mac)
567 id, dev_type, peer_mac, sec)
569 id, dev_type, peer_mac, None, sec)
788 id = dut.droid.wifiAwareAttach(True)
793 return id, mac

1234