Home
last modified time | relevance | path

Searched refs:manifest (Results 1 – 25 of 62) sorted by relevance

123

/build/soong/scripts/
Dmanifest_fixer.py26 from manifest import android_ns
27 from manifest import compare_version_gt
28 from manifest import ensure_manifest_android_ns
29 from manifest import find_child_with_attribute
30 from manifest import get_children_with_tag
31 from manifest import get_indent
32 from manifest import parse_manifest
33 from manifest import write_xml
85 manifest = parse_manifest(doc)
88 uses_sdk = get_children_with_tag(manifest, 'uses-sdk')
[all …]
Dmanifest_check.py29 from manifest import android_ns
30 from manifest import get_children_with_tag
31 from manifest import parse_manifest
32 from manifest import write_xml
77 def enforce_uses_libraries(manifest, required, optional, relax, is_apk, path): argument
89 manifest_required, manifest_optional, tags = extract_uses_libs_apk(manifest)
91 manifest_required, manifest_optional, tags = extract_uses_libs_xml(manifest)
146 manifest = parse_manifest(xml)
147 elems = get_children_with_tag(manifest, 'application')
198 def extract_target_sdk_version(manifest, is_apk = False): argument
[all …]
Dtest_config_fixer.py26 from manifest import get_children_with_tag
27 from manifest import parse_manifest
28 from manifest import parse_test_config
29 from manifest import write_xml
49 manifest = parse_manifest(manifest_doc)
50 original_package = manifest.getAttribute('package')
81 if not args.manifest:
83 manifest_doc = minidom.parse(args.manifest)
Dmanifest.py47 manifest = doc.documentElement
48 if manifest.tagName != 'manifest':
50 return manifest
56 manifest = parse_manifest(doc)
58 ns = manifest.getAttributeNodeNS(minidom.XMLNS_NAMESPACE, 'android')
62 manifest.setAttributeNode(attr)
Dtest_config_fixer_test.py32 manifest = ( variable in OverwritePackageNameTest
59 manifest = minidom.parseString(self.manifest)
61 test_config_fixer.overwrite_package_name(doc, manifest, "com.soong.foo")
Dconstruct_context.py24 from manifest import compare_version_gt
/build/make/tools/
Dauto_gen_test_config.py60 manifest = parse(android_manifest)
61 instrumentation_elements = manifest.getElementsByTagName('instrumentation')
62 manifest_elements = manifest.getElementsByTagName('manifest')
71 manifest = manifest_elements[0]
77 package = manifest.attributes[ATTRIBUTE_PACKAGE].value
/build/soong/java/
Ddroidstubs_test.go69 manifest := m.Output("metalava.sbox.textproto")
70 sboxProto := android.RuleBuilderSboxProtoForTests(t, manifest)
110 manifest := android.RuleBuilderSboxProtoForTests(t, m.Output("metalava.sbox.textproto"))
111 …if g, w := manifest.Commands[0].GetCommand(), "reference __SBOX_SANDBOX_DIR__/out/.intermediates/f…
Dandroid_manifest.go46 func manifestFixer(ctx android.ModuleContext, manifest android.Path, sdkContext android.SdkContext,
115 Input: manifest,
128 func manifestMerger(ctx android.ModuleContext, manifest android.Path, staticLibManifests android.Pa…
141 Input: manifest,
Dapp_builder.go123 `cp ${manifest} ${outDir}/AndroidManifest.xml && ` +
132 classesJar, manifest, rTxt android.Path, res android.Paths) { argument
136 deps := android.Paths{manifest, rTxt}
149 "manifest": manifest.String(),
165 …Command: `${config.Zip2ZipCmd} -i ${in} -o ${out} AndroidManifest.xml:manifest/AndroidManifest…
Drobolectric.go77 manifest android.Path member
138 r.manifest = instrumentedApp.mergedManifestFile
188 r.data = append(r.data, r.manifest, r.resourceApk)
195 …talledManifest := ctx.InstallFile(installPath, ctx.ModuleName()+"-AndroidManifest.xml", r.manifest)
216 manifest := instrumentedApp.mergedManifestFile
221 Textf(`echo "android_merged_manifest=%s" >>`, manifest.String()).Output(outputFile).Text("&&").
225 Implicit(manifest).
Dlint.go68 manifest android.Path member
234 if l.manifest != nil {
235 cmd.FlagWithInput("--manifest ", l.manifest)
369 if l.manifest == nil {
370 manifest := l.generateManifest(ctx, rule)
371 l.manifest = manifest
372 rule.Temporary(manifest)
/build/make/tools/product_config/
DAndroid.bp13 manifest: "MANIFEST.MF"
25 manifest: "TEST_MANIFEST.MF",
/build/bazel/examples/android_app/java/com/app/
DBUILD5 manifest = "AndroidManifest.xml",
18 manifest = "AndroidManifest.xml",
/build/make/target/board/
DAndroid.mk40 LOCAL_MODULE_STEM := manifest.xml
44 GEN := $(local-generated-sources-dir)/manifest.xml
103 LOCAL_MODULE_STEM := manifest.xml
108 GEN := $(local-generated-sources-dir)/manifest.xml
/build/soong/cmd/sbox/
Dsbox.go115 manifest, err := readManifest(manifestFile)
117 if len(manifest.Commands) == 0 {
159 useSubDir := len(manifest.Commands) > 1
162 for i, command := range manifest.Commands {
180 outputDepFile := manifest.GetOutputDepfile()
204 manifest := sbox_proto.Manifest{}
206 err = proto.UnmarshalText(string(manifestData), &manifest)
211 return &manifest, nil
/build/make/core/
Dandroid_manifest.mk23 $(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)/manifest/AndroidManifest.xml)
26 full_android_manifest := $(intermediates.COMMON)/manifest/AndroidManifest.xml
30 fixed_android_manifest := $(intermediates.COMMON)/manifest/AndroidManifest.xml.fixed
Dgenerate_enforce_rro.mk22 $(rro_android_manifest_file): build/make/tools/generate-enforce-rro-android-manifest.py
23 $(hide) build/make/tools/generate-enforce-rro-android-manifest.py \
Dhost_java_library.mk107 $(PRIVATE_JAR_MANIFEST) > $(dir $@)/manifest.mf)
108 $(MERGE_ZIPS) -j --ignore-duplicates $(if $(PRIVATE_JAR_MANIFEST),-m $(dir $@)/manifest.mf) \
Dforce_aapt2.mk51 $(call create-default-manifest-file,$(LOCAL_FULL_MANIFEST_FILE),$(call module-min-sdk-version))
/build/soong/android/
Drule_builder_test.go685 manifest := filepath.Join(outDir, "sbox.textproto")
690 sbox + ` --sandbox-path ` + sandboxPath + ` --manifest ` + manifest
693 cmd, outFile, depFile, rspFile, rspFile2, false, []string{manifest}, []string{sbox})
701 manifest := filepath.Join(outDir, "sbox.textproto")
706 sbox + ` --sandbox-path ` + sandboxPath + ` --manifest ` + manifest
710 cmd, outFile, depFile, rspFile, rspFile2, false, []string{manifest}, []string{sbox})
780 manifest := RuleBuilderSboxProtoForTests(t, gen.Output("sbox.textproto"))
781 hash := manifest.Commands[0].GetInputHash()
/build/make/tools/releasetools/
Dfind_shareduid_violation.py79 success, manifest, error_msg = execute(cmd)
88 for line in manifest.split("\n"):
/build/make/tools/atree/
DAndroid.bp3 // Copies files into the directory structure described by a manifest
/build/soong/cmd/merge_zips/
Dmerge_zips.go534 func mergeZips(inputZips []InputZip, writer *zip.Writer, manifest, pyMain string, argument
541 if manifest != "" {
542 if err := out.addManifest(manifest); err != nil {
626 manifest = flag.String("m", "", "manifest file to insert in jar") var
741 if *manifest != "" && !*emulateJar {
755 err = mergeZips(inputZips, writer, *manifest, *pyMain, *sortEntries, *emulateJar, *emulatePar,
/build/soong/zip/cmd/
Dmain.go154 manifest := flags.String("m", "", "input jar manifest file name")
221 ManifestSourcePath: *manifest,

123