/build/soong/scripts/ |
D | manifest_fixer.py | 80 def raise_min_sdk_version(doc, min_sdk_version, target_sdk_version, library): argument 92 manifest = parse_manifest(doc) 101 element = doc.createElement('uses-sdk') 107 manifest.insertBefore(doc.createTextNode(indent), manifest.firstChild) 113 min_attr = doc.createAttributeNS(android_ns, 'android:minSdkVersion') 124 target_attr = doc.createAttributeNS(android_ns, 'android:targetSdkVersion') 137 def add_logging_parent(doc, logging_parent_value): argument 147 manifest = parse_manifest(doc) 155 application = doc.createElement('application') 158 manifest.insertBefore(doc.createTextNode(indent), first) [all …]
|
D | test_config_fixer_test.py | 60 …doc = minidom.parseString(self.test_config % ("com.android.foo", "com.android.foo", "com.android.b… 63 test_config_fixer.overwrite_package_name(doc, manifest, "com.soong.foo") 65 test_config_fixer.write_xml(output, doc) 100 doc = minidom.parseString(self.test_config_test_app_install_setup % ("foo.apk")) 102 test_config_fixer.overwrite_test_file_name(doc, "bar.apk") 104 test_config_fixer.write_xml(output, doc) 111 doc = minidom.parseString(self.test_config_suite_apk_installer % ("foo.apk")) 113 test_config_fixer.overwrite_test_file_name(doc, "bar.apk") 115 test_config_fixer.write_xml(output, doc) 142 doc = minidom.parseString(self.test_config % ("com.android.old.package.name")) [all …]
|
D | manifest.py | 44 def parse_manifest(doc): argument 47 manifest = doc.documentElement 53 def ensure_manifest_android_ns(doc): argument 56 manifest = parse_manifest(doc) 60 attr = doc.createAttributeNS(minidom.XMLNS_NAMESPACE, 'xmlns:android') 68 def parse_test_config(doc): argument 71 test_config = doc.documentElement 123 def write_xml(f, doc): argument 125 for node in doc.childNodes:
|
D | modify_permissions_allowlist.py | 60 doc = minidom.parse(args.input) 61 modify_allowlist(doc, args.package_name) 63 doc.writexml(output_file, encoding='utf-8')
|
D | manifest_fixer_test.py | 59 doc = minidom.parseString(input_manifest) 60 manifest_fixer.raise_min_sdk_version(doc, min_sdk_version, 63 manifest_fixer.write_xml(output, doc) 239 doc = minidom.parseString(input_manifest) 241 manifest_fixer.add_logging_parent(doc, logging_parent) 243 manifest_fixer.write_xml(output, doc) 283 doc = minidom.parseString(input_manifest) 284 manifest_fixer.add_uses_libraries(doc, new_uses_libraries, True) 286 manifest_fixer.write_xml(output, doc) 372 doc = minidom.parseString(input_manifest) [all …]
|
D | test_config_fixer.py | 138 doc = minidom.parse(args.input) 144 overwrite_package_name(doc, manifest_doc, args.package_name) 148 overwrite_single_test_file_name(doc, args.orig_test_file_name, args.test_file_name) 153 overwrite_test_file_name(doc, args.test_file_name) 156 overwrite_mainline_module_package_name(doc, args.mainline_package_name) 159 add_test_runner_options_toplevel(doc, args.test_runner_options) 162 write_xml(f, doc)
|
/build/make/tools/sbom/ |
D | generate-sbom-framework_res.py | 47 doc = sbom_data.Document(name='<name>', 65 doc.packages.append(package) 66 doc.files.append(file) 67 doc.describes = package_id 77 doc.external_refs = [ 86 doc.relationships = [ 90 doc.relationships.append( 96 sbom_writers.JSONWriter.write(doc, f)
|
D | generate-sbom.py | 440 doc = sbom_data.Document(name=args.build_version, 461 doc.add_package(package) 462 doc.files.append(file) 463 doc.describes = file_id 464 doc.add_relationship(relationship) 465 doc.created = datetime.datetime.now(tz=datetime.timezone.utc).strftime('%Y-%m-%dT%H:%M:%SZ') 469 sbom_writers.JSONWriter.write(doc, file) 472 sbom_writers.TagValueWriter.write(doc, file, fragment=True) 502 doc = sbom_data.Document(name=doc_name, 507 doc.packages.append(product_package) [all …]
|
/build/bazel/rules/cc/ |
D | cc_library_headers.bzl | 43 …"export_absolute_includes": attr.string_list(doc = "List of exec-root relative or absolute search … 44 …"export_includes": attr.string_list(doc = "Package-relative list of search paths for headers, usua… 45 …"export_system_includes": attr.string_list(doc = "Package-relative list of search paths for header… 46 …"deps": attr.label_list(doc = "Re-propagates the includes obtained from these dependencies.", prov… 47 "hdrs": attr.label_list(doc = "Header files.", allow_files = constants.hdr_dot_exts), 53 doc = "A library that contains c/c++ headers which are imported by other targets.",
|
D | cc_xsd_config_library.bzl | 128 doc = "This rule generates .cpp/.h files from an xsd file using xsdc", 132 doc = "The main xsd file", 137 doc = "The (transitive) xsd files included by `src` using xs:include", 140 doc = "Namespace to use in the generated .cpp file", 144 doc = "Add xml writer to the generated .cpp file", 149 …doc = "Whether getter name of boolean element or attribute is getX or isX. If true, getter name is… 153 doc = "Generate code that uses libtinyxml2 instead of libxml2", 157 doc = "If set, xsdc will generate parser code only for the specified root elements",
|
D | yasm.bzl | 57 doc = "Generate object files from a .asm file using yasm.", 62 doc = "The asm source files for this rule", 66 doc = "All files that could possibly be included from source files. " + 71 doc = "Include directories", 74 doc = "A list of options to be added to the yasm command line.",
|
/build/bazel/rules/java/ |
D | sdk_library.bzl | 42 doc = "public api surface file", 46 doc = "system api surface file", 50 doc = "test api surface file", 54 doc = "module_lib api surface file", 58 doc = "system_server api surface file",
|
D | java_xsd_config_library.bzl | 105 doc = "This rule generates .java parser files from an xsd file using xsdc", 109 doc = "The main xsd file", 114 doc = "The (transitive) xsd files included by `src` using xs:include", 117 doc = "Package name to use in the generated .java files", 121 doc = "Add @NonNull or @Nullable annotation to the generated .java files", 125 doc = "Generate public hasX() method", 129 doc = "Add xml writer to the generated .java files", 132 …doc = "Whether getter name of boolean element or attribute is getX or isX. If true, getter name is… 136 doc = "If set, xsdc will generate parser code only for the specified root elements",
|
D | bootclasspath.bzl | 34 doc = "The list of libraries to use as javac's --bootclasspath argument.", 38 doc = "The java_system_modules target to use as javac's --system argument.", 42 doc = "The list of libraries to include first in javac's --classpath.", 46 doc = """Provides BootClassPathInfo to a Java toolchain.
|
/build/blueprint/bootstrap/bpdoc/ |
D | reader.go | 39 goPkgs map[string]*doc.Package // Map of package name to parsed Go AST, protected by mutex 46 goPkgs: make(map[string]*doc.Package), 203 func (r *Reader) goPkg(pkgPath string) (*doc.Package, error) { 212 pkg = doc.New(pkgAST, pkgPath, doc.AllDecls) 221 func (r *Reader) getGoPkg(pkgPath string) *doc.Package { 228 func (r *Reader) putGoPkg(pkgPath string, pkg *doc.Package) *doc.Package {
|
/build/bazel/rules/android/android_binary_aosp_internal/ |
D | rule.bzl | 47 … doc = "Implicit attr used to extract target device ABI information (for apk lib naming).", 51 doc = "PlatformSdkFinal product variable", 55 doc = "UnbundledBuildApps product variable", 59 …doc = "If the app is updatable, and this attribute is specified, and higher than the value specifi… 67 doc = "The sdk_version this app should build against.", 72 doc = "Whether this app is updatable.",
|
/build/soong/third_party/zip/testdata/ |
D | readme.notzip | 17 visit https://golang.org/ or load doc/install.html in your web browser. 20 doc/install.html by running godoc --http=:6060 21 and then visiting http://localhost:6060/doc/install.html. 34 from sources by running all.bash (see doc/install.html). 44 See doc/install.html for more details.
|
/build/bazel/rules/ |
D | gensrcs.bzl | 73 doc = "This rule generates files, where each of the `srcs` files is " + 79 doc = "A list of inputs such as source files to process", 82 doc = "The extension that will be substituted for output files", 86 doc = "The command to run. Subject to $(location) expansion. " + 94 doc = "A list of tool dependencies for this rule. " + 101 doc = "Additional files needed for build that are not tooling " +
|
D | prebuilt_xml.bzl | 72 doc = """ 84 doc = "Optional DTD or XSD that will be used to validate the xml file", 86 "filename": attr.string(doc = "Optional name for the installed file"), 88 doc = "Optional. When filename is not provided and" +
|
/build/bazel/rules/android/android_library_aosp_internal/ |
D | attrs.bzl | 33 doc = """The list of common multi-platform source files that are processed to create 65 doc = ( 94 doc = ( 102 doc = ( 112 doc = (
|
/build/make/tools/aconfig/aconfig_device_paths/ |
D | Cargo.toml | 6 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
/build/bazel_common_rules/exec/impl/ |
D | exec.bzl | 54 doc = """Run a script when `bazel run` this target. 64 …"data": attr.label_list(aspects = [exec_aspect], allow_files = True, doc = """A list of labels pro… 70 "hashbang": attr.string(default = _DEFAULT_HASHBANG, doc = "Hashbang of the script."), 71 "script": attr.string(doc = """The script. 86 doc = """Run a test script when `bazel test` this target. 96 …"data": attr.label_list(aspects = [exec_aspect], allow_files = True, doc = """A list of labels pro… 102 "hashbang": attr.string(default = _DEFAULT_HASHBANG, doc = "Hashbang of the script."), 103 "script": attr.string(doc = """The script.
|
/build/bazel/toolchains/clang/host/linux-x86/ |
D | cc_toolchain_features_env_based_flags_test.bzl | 44 doc = "Flags expected to be supplied to the command line", 56 doc = "Flags expected to be supplied to the command line", 68 doc = "Flags expected to be supplied to the command line", 80 doc = "Flags expected to be supplied to the command line", 89 doc = "Flags expected to be supplied to the command line",
|
/build/blueprint/gotestmain/ |
D | gotestmain.go | 43 Examples []*doc.Example 48 func findTests(srcs []string) (tests []string, examples []*doc.Example, hasMain bool) { 65 examples = append(examples, doc.Examples(f)...)
|
/build/bazel/rules/test_common/ |
D | rules.bzl | 28 doc = "This test checks that a rule fails with the expected failure_message", 37 doc = "This test checks that the target under test exists without failure",
|