/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Reporter.kt | 104 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 …]
|
D | Options.kt | 2544 id: String, in <lambda>() 2548 if (id.contains(",")) { // Handle being passed in multiple comma separated id's in <lambda>() 2549 id.split(",").forEach { in <lambda>() 2556 id.toInt() in <lambda>() 2561 val issue = Issues.findIssueById(id) in <lambda>() 2566 "$arg ${it.name} instead of $arg $id" in <lambda>() 2568 } ?: Issues.findIssueByIdIgnoringCase(id)?.also { in <lambda>() 2572 "$arg ${it.name} instead of $arg $id" in <lambda>() 2574 } ?: throw DriverException("Unknown issue id: $arg $id") in <lambda>()
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/bt/ |
D | gattc_lib.py | 59 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/test/connectivity/acts_tests/tests/google/fuchsia/bt/ |
D | command_input.py | 1027 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/tradefederation/contrib/src/com/android/regression/tests/ |
D | Metrics.java | 120 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/platform-compat/java/android/processor/compat/changeid/ |
D | Change.java | 23 final Long id; field in Change 46 Change(Long id, String name, boolean disabled, boolean loggingOnly, Integer enabledAfter, in Change() argument 49 this.id = id; in Change() 62 Long id; field in Change.Builder 76 public Builder id(long id) { in id() argument 77 this.id = id; in id() 127 return new Change(id, name, disabled, loggingOnly, enabledAfter, description, in build()
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/ |
D | ProcessModelFragment.kt | 22 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>()
|
D | ThreadModelFragment.kt | 24 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()
|
D | SchedulingProcessFragment.kt | 33 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/dexter/dexter/ |
D | dissasembler.cc | 47 …("............................. 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/loganalysis/src/com/android/loganalysis/util/ |
D | LogTailUtil.java | 44 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/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/ |
D | FtraceImporterTest.kt | 75 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/tradefederation/core/common_util/com/android/tradefed/util/ |
D | AbiUtils.java | 219 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/apk/v1/ |
D | V1SchemeVerifier.java | 799 Collection<X509Certificate> certs, SignerIdentifier id) { in findCertificate() argument 801 if (isMatchingCerticicate(cert, id)) { in findCertificate() 835 private static boolean isMatchingCerticicate(X509Certificate cert, SignerIdentifier id) { in isMatchingCerticicate() argument 836 if (id.issuerAndSerialNumber == null) { in isMatchingCerticicate() 840 IssuerAndSerialNumber issuerAndSerialNumber = id.issuerAndSerialNumber; in isMatchingCerticicate() 1602 int id; in checkForStrippedApkSignatures() local 1604 id = Integer.parseInt(idText); in checkForStrippedApkSignatures() 1610 if (supportedApkSigSchemeIds.contains(id)) { in checkForStrippedApkSignatures() 1611 supportedExpectedApkSigSchemeIds.add(id); in checkForStrippedApkSignatures() 1616 id); in checkForStrippedApkSignatures() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/ |
D | aware_test_utils.py | 42 def decorate_event(event_name, id): argument 43 return '%s_%d' % (event_name, id) 488 def get_network_specifier(dut, id, dev_type, peer_mac, sec): argument 501 id, dev_type, peer_mac) 504 id, dev_type, peer_mac, sec) 506 id, dev_type, peer_mac, None, sec) 724 id = dut.droid.wifiAwareAttach(True) 729 return id, mac
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/netstack/ |
D | netstack_lib.py | 51 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/platform-compat/javatest/android/processor/compat/changeid/ |
D | XmlWriterTest.java | 48 .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/apksig/src/main/java/com/android/apksig/internal/apk/v2/ |
D | V2SchemeVerifier.java | 433 int id = attribute.getInt(); in parseSigner() local 436 new ApkSigningBlockUtils.Result.SignerInfo.AdditionalAttribute(id, value)); in parseSigner() 437 switch (id) { in parseSigner() 450 result.addWarning(Issue.V2_SIG_UNKNOWN_ADDITIONAL_ATTRIBUTE, id); in parseSigner() 460 for (int id : supportedExpectedApkSigSchemeIds) { in parseSigner() 461 if (!foundApkSigSchemeIds.contains(id)) { in parseSigner() 462 String apkSigSchemeName = supportedApkSigSchemeNames.get(id); in parseSigner()
|
/tools/test/connectivity/acts/framework/tests/event/ |
D | subscription_bundle_test.py | 78 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/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/ |
D | WifiUtil.java | 199 final int id = expectInteger("id"); in onStart() local 202 wifiManager.enableNetwork(id, true /* disable other networks */)); in onStart() 208 final int id = expectInteger("id"); in onStart() local 210 result.putBoolean("result", wifiManager.disableNetwork(id)); in onStart() 243 final int id = expectInteger("id"); in onStart() local 245 result.putBoolean("result", wifiManager.removeNetwork(id)); in onStart()
|
/tools/test/connectivity/acts/tests/google/wifi/aware/stress/ |
D | MessagesStressTest.py | 48 def init_info(self, msg, id, messages_by_msg, messages_by_id): argument 58 messages_by_msg[msg][KEY_ID] = id 62 messages_by_id[id] = msg 91 id = event["data"][aconsts.SESSION_CB_KEY_MESSAGE_ID] 92 if id in messages_by_id: 93 msg = messages_by_id[id]
|
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/ |
D | DiscoveryTest.py | 362 id = dut.droid.wifiAwareAttach(False) 370 disc_id = dut.droid.wifiAwarePublish(id, config, True) 376 disc_id = dut.droid.wifiAwareSubscribe(id, config, True) 391 disc_id = dut.droid.wifiAwarePublish(id, config, True) 397 disc_id = dut.droid.wifiAwareSubscribe(id, config, True) 425 disc_id = dut.droid.wifiAwarePublish(id, config, True) 431 disc_id = dut.droid.wifiAwareSubscribe(id, config, True)
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/ |
D | ProcessModel.kt | 23 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>()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | WifiHelper.java | 261 int id = asInt(runWifiUtil("addOpenNetwork", "ssid", ssid, "scanSsid", in addOpenNetwork() local 263 if (id < 0) { in addOpenNetwork() 266 if (!asBool(runWifiUtil("associateNetwork", "id", Integer.toString(id)))) { in addOpenNetwork() 289 int id = asInt(runWifiUtil("addWpaPskNetwork", "ssid", ssid, "psk", psk, "scan_ssid", in addWpaPskNetwork() local 291 if (id < 0) { in addWpaPskNetwork() 294 if (!asBool(runWifiUtil("associateNetwork", "id", Integer.toString(id)))) { in addWpaPskNetwork()
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_proto_utils_test.py | 55 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)
|