Home
last modified time | relevance | path

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

12345

/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 writeCharByIdWithoutResponse(self, id, write_value): argument
136 "identifier": id,
144 def enableNotifyCharacteristic(self, id): argument
155 "identifier": id,
162 def disableNotifyCharacteristic(self, id): argument
173 "identifier": id,
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DReporter.kt103 fun report(id: Issues.Issue, element: PsiElement?, message: String): Boolean { in getBaseline()
104 val severity = configuration.getSeverity(id) in getBaseline()
111 if (element != null && baseline != null && baseline.mark(element, message, id)) { in getBaseline()
115 return report(severity, elementToLocation(element), message, id) in getBaseline()
118 fun report(id: Issues.Issue, file: File?, message: String): Boolean { in report()
119 val severity = configuration.getSeverity(id) in report()
126 if (file != null && baseline != null && baseline.mark(file, message, id)) { in report()
130 return report(severity, file?.path, message, id) in report()
133 fun report(id: Issues.Issue, item: Item?, message: String, psi: PsiElement? = null): Boolean { in report()
134 val severity = configuration.getSeverity(id) in report()
[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/tradefederation/contrib/src/com/android/regression/tests/
DMetrics.java120 for (Pair<TestDescription, String> id : mTestMetrics.keySet()) { in validate()
121 if (mTestMetrics.get(id).size() < mNumRuns) { in validate()
125 id.first, id.second, mNumRuns, mTestMetrics.get(id).size())); in validate()
157 for (Pair<TestDescription, String> id : mTestMetrics.keySet()) { in crossValidate()
158 if (!after.mTestMetrics.containsKey(id)) { in crossValidate()
162 id.first, id.second)); in crossValidate()
166 for (Pair<TestDescription, String> id : after.mTestMetrics.keySet()) { in crossValidate()
167 if (!mTestMetrics.containsKey(id)) { in crossValidate()
171 id.first, id.second)); in crossValidate()
/tools/loganalysis/src/com/android/loganalysis/util/
DLogTailUtil.java44 public LogLine(Integer id, String line) { in LogLine() argument
45 mId = id; in LogLine()
76 public void addLine(Integer id, String line) { in addLine() argument
77 mRingBuffer.add(new LogLine(id, line)); in addLine()
115 public String getIdTail(int id) { in getIdTail() argument
116 return getIdTail(id, mIdTailSize); in getIdTail()
126 public String getIdTail(int id, int size) { in getIdTail() argument
132 if (line.mId != null && line.mId.equals(id)) { in getIdTail()
/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/
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")
DCpuModel.kt21 val id: Int = fragment.id constant
26 if (id == InvalidId) throw IllegalArgumentException("Cpu has invalid id")
DModel.kt44 if (it.id != InvalidId) { in <lambda>()
46 processBuilder.put(it.id, ProcessModel(this, it)) in <lambda>()
53 cpuBuilder.sortBy { it.id } in <lambda>()
/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()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DUserCleaner.java44 for (Integer id : device.listUsers()) { in tearDown()
45 if (id != ownerId && !device.removeUser(id)) { in tearDown()
46 CLog.w("Failed to remove user %d", id); in tearDown()
/tools/carrier_settings/java/
DCarrierConfigConverterV2.java215 CarrierId id = parseCarrierId(element).setMccMnc(mccMnc).build(); in convert() local
216 carriers.add(id); in convert()
243 CarrierId.Builder id = parseCarrierId(element); in convert() local
252 if (id.getMccMnc().isEmpty()) { in convert()
254 carriers.add(id.setMccMnc(MCCMNC_FOR_DEFAULT_SETTINGS).build()); in convert()
255 } else if (id.getMccMnc().length() == 3) { in convert()
257 carriers.add(id.build()); in convert()
258 } else if (id.getMccMnc().length() == 5 || id.getMccMnc().length() == 6) { in convert()
260 carriers.add(id.build()); in convert()
262 System.err.printf("Invalid mcc/mnc: %s. Ignore.\n", id.getMccMnc()); in convert()
[all …]
/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/tradefederation/core/common_util/com/android/tradefed/util/
DAbiUtils.java219 public static String[] parseId(String id) { in parseId() argument
220 if (id == null || !id.contains(" ")) { in parseId()
223 return id.split(" "); in parseId()
230 public static String parseTestName(String id) { in parseTestName() argument
231 return parseId(id)[1]; in parseTestName()
238 public static String parseAbi(String id) { in parseAbi() argument
239 return parseId(id)[0]; in parseAbi()
/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/ndkports/
Dsettings.gradle.kts6 if (requested.id.id == "kotlinx-serialization") { in <lambda>()
/tools/tradefederation/core/tests/test-apps/UITestApp/src/com/android/tradefed/uitestapp/
DEditBoxActivityTest.java40 EditText editText = (EditText)getActivity().findViewById(R.id.EditText); in testEditTextFocus()
51 EditText editText = (EditText)getActivity().findViewById(R.id.EditText); in testEditTextModified()
63 EditText editText = (EditText)getActivity().findViewById(R.id.EditText); in testInstrumentationStringSync()
/tools/test/connectivity/acts/framework/tests/
Dacts_proto_utils_test.py55 def compare_test_entry(self, entry, name, id, nested): argument
57 self.assertEqual(entry.id, id)
80 test_proto_entry.id = TEST_ID
82 self.assertEqual(test_proto.entries[0].id, TEST_ID)
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DSignatureAlgorithm.java139 SignatureAlgorithm(int id, in SignatureAlgorithm() argument
144 mId = id; in SignatureAlgorithm()
184 public static SignatureAlgorithm findById(int id) { in findById() argument
186 if (alg.getId() == id) { in findById()
DContentDigestAlgorithm.java38 int id, String jcaMessageDigestAlgorithm, int chunkDigestOutputSizeBytes) { in ContentDigestAlgorithm() argument
39 mId = id; in ContentDigestAlgorithm()
/tools/test/connectivity/acts/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/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)
/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

12345