/tools/doc_generation/ |
D | switcher4.py | 75 def insert_stub(doc, java, both): argument 85 print("File: ", stubs, doc) 87 fn = os.path.split(doc) 98 file_path = doc[len(java_ref_root)+1:] 99 stub = doc.replace(java_source_abs_path, kotlin_source_abs_path) 101 …}\\n{% setvar can_switch %}1{% endsetvar %}\\n{% include \"reference\/_java_switcher2.md\" %}",doc) 103 …= "sed -i 's/<\/h1>/{}/' {}".format("<\/h1>\\n{% include \"reference\/_java_switcher2.md\" %}",doc) 105 file_path = doc[len(kotlin_ref_root)+1:] 106 stub = doc.replace(kotlin_source_abs_path, java_source_abs_path) 108 …\n{% setvar can_switch %}1{% endsetvar %}\\n{% include \"reference\/_kotlin_switcher2.md\" %}",doc) [all …]
|
/tools/asuite/atest/bazel/reporter/src/com/android/tradefed/result/ |
D | BazelXmlResultReporter.java | 177 Document doc = builder.newDocument(); in writeXmlFile() local 178 doc.setXmlStandalone(true); in writeXmlFile() 186 writeTestResult(doc, mTestRunResult); in writeXmlFile() 188 DOMSource source = new DOMSource(doc); in writeXmlFile() 206 private void writeTestResult(Document doc, TestRunResult testRunResult) { in writeTestResult() argument 208 Element testSuites = writeTestSuites(doc, testRunResult); in writeTestResult() 209 doc.appendChild(testSuites); in writeTestResult() 211 Element testSuite = writeTestSuite(doc, testRunResult); in writeTestResult() 221 testSuite.appendChild(writeTestCase(doc, testEntry.getKey(), testEntry.getValue())); in writeTestResult() 225 private Element writeTestSuites(Document doc, TestRunResult testRunResult) { in writeTestSuites() argument [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | DocAnalyzer.kt | 228 val doc = in <lambda>() constant 238 if (doc.contains("null") && mentionsNull.matcher(doc).find()) { in <lambda>() 354 val doc = if (from != null && to != null) { in <lambda>() constant 363 appendDocumentation(doc, item, true) in <lambda>() 531 private fun appendDocumentation(doc: String?, item: Item, returnValue: Boolean) { in <lambda>() 532 doc ?: return in <lambda>() 535 is ParameterItem -> item.containingMethod().appendDocumentation(doc, item.name()) in <lambda>() 538 item.appendDocumentation(doc, if (returnValue) "@return" else null) in <lambda>() 539 else -> item.appendDocumentation(doc) in <lambda>() 627 var doc = item.documentation in <lambda>() variable [all …]
|
D | AndroidApiChecks.kt | 98 val doc = item.documentation in findDocumentation() constant 99 if (doc.isBlank()) { in findDocumentation() 104 return doc in findDocumentation() 110 begin = doc.indexOf("@return") in findDocumentation() 114 begin = doc.indexOf(tag, begin) in findDocumentation() 122 val c = doc[i] in findDocumentation() 124 if (c == 'm' && doc.startsWith("@param", i - 5, true)) { in findDocumentation() 147 var end = doc.length in findDocumentation() 148 for (i in begin + 1 until doc.length) { in findDocumentation() 149 val c = doc[i] in findDocumentation() [all …]
|
D | KotlinInteropChecks.kt | 95 val doc = method.documentation.ifEmpty { method.property?.documentation.orEmpty() } in <lambda>() constant 119 if (!doc.contains(exception.simpleName())) { in <lambda>()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | JavadocTest.kt | 184 fun `Rewrite relative documentation links in doc-stubs`() { in Rewrite relative documentation links in doc-stubs() 285 fun `Rewrite relative documentation links in doc-stubs 2`() { in Rewrite relative documentation links in doc-stubs 2() 364 fun `Rewrite relative documentation links in doc-stubs 3`() { in Rewrite relative documentation links in doc-stubs 3() 435 fun `Rewrite relative documentation links in doc-stubs but preserve custom link text`() { in Rewrite relative documentation links in doc-stubs but preserve custom link text() 506 fun `Rewrite relative documentation links in doc-stubs 4`() { in Rewrite relative documentation links in doc-stubs 4() 633 fun `Rewrite relative documentation links in doc-stubs 5`() { in Rewrite relative documentation links in doc-stubs 5()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiSourceFileItem.kt | 177 val doc = item.documentation in getImportStatements() constant 178 if (doc.isNotBlank()) { in getImportStatements() 181 if (docContainsWord(doc, name)) { in getImportStatements() 239 private fun docContainsWord(doc: String, word: String): Boolean { in hashCode() 240 if (!doc.contains(word)) { in hashCode() 249 return regex.find(doc) != null in hashCode()
|
D | Javadoc.kt | 119 val doc = trimDocIndent(existingDoc) in mergeDocumentation() constant 127 val docComment = factory.createDocCommentFromText(doc) in mergeDocumentation() 138 doc.length - 2 in mergeDocumentation() 140 return insertInto(doc, "@return $newText", offset) in mergeDocumentation() 146 return insertInto(doc, newText, offset) in mergeDocumentation() 166 else -> doc.length - 2 // "*/ in mergeDocumentation() 169 return insertInto(doc, "$tagName $newText", offset) in mergeDocumentation() 175 return insertInto(doc, newText, offset) in mergeDocumentation() 183 } else firstTag?.textRange?.startOffset ?: doc.length - 2 in mergeDocumentation() 185 return insertInto(doc, if (startOffset > 4) "<br>\n$newText" else newText, startOffset) in mergeDocumentation()
|
/tools/asuite/atest/bazel/rules/ |
D | common_settings.bzl | 23 doc = "A singleton provider that contains the raw value of a build setting", 44 …doc = "The list of allowed values for this setting. An error is raised if any other value is given… 47 doc = "A string-typed build setting that can be set on the command line", 56 doc = "A string list-typed build setting that can be set on the command line",
|
D | soong_prebuilt.bzl | 22 doc = "Info about a prebuilt Soong build module", 93 doc = "A rule that imports artifacts prebuilt by Soong into the Bazel workspace", 118 doc = "A rule for targets with no runtime outputs",
|
D | tradefed_test.bzl | 123 doc = "A rule used to run host-side deviceless tests using Tradefed", 155 doc = "A rule used to run device tests using Tradefed",
|
D | tradefed_test_info.bzl | 18 doc = "Info required by Tradefed rules to run tests",
|
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/ |
D | GameCoreConfigurationXmlParser.java | 93 Document doc = db.parse(inputStream); in parse() local 94 doc.getDocumentElement().normalize(); in parse() 97 doc.getDocumentElement(), in parse() 104 parseList(doc.getDocumentElement(), "apk-info", this::createApkInfo); in parse()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | Codebase.kt | 285 val doc = parseDocument(manifest?.readText(UTF_8) ?: "", true) in getPermissionLevel() constant 286 var current = getFirstSubTagByName(doc.documentElement, TAG_PERMISSION) in getPermissionLevel() 310 val doc = parseDocument(manifest?.readText(UTF_8) ?: "", true) in getMinSdkVersion() constant 311 val usesSdk = getFirstSubTagByName(doc.documentElement, TAG_USES_SDK) in getMinSdkVersion()
|
/tools/asuite/atest/bazel/reporter/javatests/com/android/tradefed/result/ |
D | BazelXmlResultReporterTest.java | 182 Document doc = dBuilder.parse(Files.newInputStream(filePath)); in assertXmlFileContainsTagWithAttribute() local 183 doc.getDocumentElement().normalize(); in assertXmlFileContainsTagWithAttribute() 185 doc.getElementsByTagName(tagName).item(0), attributeName, attributeValue); in assertXmlFileContainsTagWithAttribute()
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | DocAnalyzerTest.kt | 855 fun `Add new parameter when no doc exists`() { in Add new parameter when no doc exists() 943 fun `Add new parameter when doc exists but no param doc`() { in Add new parameter when doc exists but no param doc()
|
/tools/metalava/ |
D | USAGE.md | 3 This doc lists out known usages of Metalava with specific features used by each user. The main user… 17 - Java stubs for docs generation (`--doc-stubs`) for passing to documentation tools
|
/tools/treble/hacksaw/ |
D | README.md | 93 Building hacksaw requires [golang to be installed](https://golang.org/doc/install).
|
/tools/metalava/src/test/java/com/android/tools/metalava/stub/ |
D | StubsTest.kt | 1900 fun `Rewrite unknown nullability annotations as doc stubs`() { in <lambda>()
|