Searched refs:manifest (Results 1 – 21 of 21) sorted by relevance
64 ByteBuffer manifest = getAndroidManifest("original.apk"); in testGetMinSdkVersionFromBinaryAndroidManifest() local65 assertEquals(23, ApkUtils.getMinSdkVersionFromBinaryAndroidManifest(manifest)); in testGetMinSdkVersionFromBinaryAndroidManifest()70 ByteBuffer manifest = getAndroidManifest("original.apk"); in testGetDebuggableFromBinaryAndroidManifest() local71 assertFalse(ApkUtils.getDebuggableFromBinaryAndroidManifest(manifest)); in testGetDebuggableFromBinaryAndroidManifest()73 manifest = getAndroidManifest("debuggable-boolean.apk"); in testGetDebuggableFromBinaryAndroidManifest()74 assertTrue(ApkUtils.getDebuggableFromBinaryAndroidManifest(manifest)); in testGetDebuggableFromBinaryAndroidManifest()77 manifest = getAndroidManifest("debuggable-resource.apk"); in testGetDebuggableFromBinaryAndroidManifest()79 ApkUtils.getDebuggableFromBinaryAndroidManifest(manifest); in testGetDebuggableFromBinaryAndroidManifest()86 ByteBuffer manifest = getAndroidManifest("original.apk"); in testGetPackageNameFromBinaryAndroidManifest() local89 ApkUtils.getPackageNameFromBinaryAndroidManifest(manifest)); in testGetPackageNameFromBinaryAndroidManifest()[all …]
43 manifest = """<?xml version="1.0" encoding="UTF-8"?> in SystemService OK, loaded from signature file()80 manifest = """<?xml version="1.0" encoding="UTF-8"?> in SystemService OK, loaded from source()115 manifest = """<?xml version="1.0" encoding="UTF-8"?> in Check SystemService -- no permission annotation()143 manifest = """<?xml version="1.0" encoding="UTF-8"?> in Check SystemService -- can miss a permission with anyOf()180 manifest = """<?xml version="1.0" encoding="UTF-8"?> in Check SystemService such that at least one permission must be defined with anyOf()208 manifest = """<?xml version="1.0" encoding="UTF-8"?> in Check SystemService -- missing one permission with allOf()245 manifest = """<?xml version="1.0" encoding="UTF-8"?> in Check SystemService -- must be system permission, not normal()262 fun `Check SystemService -- missing manifest permissions`() { in Check SystemService -- missing manifest permissions()286 manifest = """<?xml version="1.0" encoding="UTF-8"?> in Check SystemService -- missing manifest permissions()293 fun `Invalid manifest`() { in Invalid manifest()[all …]
7 the target, it shouldn't be in the split manifest. This smaller manifest can be9 should be faster and smaller than a sync of a full manifest because it is13 manifest from a full manifest using dependency information from the source tree21 ### 1. Run a full build using a full manifest37 # target that should be buildable from your split manifest.45 # Create the split manifest using a sample config XML specific to aosp_arm64.47 --manifest .repo/manifests/default.xml \48 --split-manifest split_default.xml \54 ### 3. Build using the split manifest56 You should test that the split manifest created by the tool can be used to build[all …]
62 manifest = ET.ElementTree(ET.fromstring(manifest_contents))64 None, manifest, path_mappings=[])284 manifest = manifest_split.update_manifest(288 projects = manifest.getroot().findall('project')
161 def get_repo_projects(repo_list_file, manifest, path_mappings): argument179 root = manifest.getroot()421 def update_manifest(manifest, input_projects, remove_projects): argument434 root = manifest.getroot()438 return manifest
66 Manifest manifest = new Manifest(new ByteArrayInputStream(manifestEntry.read())); in signEmptyJar() local67 assertEquals(3, manifest.getMainAttributes().size()); in signEmptyJar()68 assertEquals("1.0", manifest.getMainAttributes().getValue("Manifest-Version")); in signEmptyJar()69 assertEquals("Me", manifest.getMainAttributes().getValue("Created-By")); in signEmptyJar()70 assertEquals("Me", manifest.getMainAttributes().getValue("Built-By")); in signEmptyJar()95 Manifest manifest = new Manifest(new ByteArrayInputStream(manifestEntry.read())); in signJarWithPrexistingSimpleTextFilePre18() local96 assertEquals(3, manifest.getMainAttributes().size()); in signJarWithPrexistingSimpleTextFilePre18()97 assertEquals("1.0", manifest.getMainAttributes().getValue("Manifest-Version")); in signJarWithPrexistingSimpleTextFilePre18()98 assertEquals("Merry", manifest.getMainAttributes().getValue("Built-By")); in signJarWithPrexistingSimpleTextFilePre18()99 assertEquals("Christmas", manifest.getMainAttributes().getValue("Created-By")); in signJarWithPrexistingSimpleTextFilePre18()[all …]
86 private final Manifest manifest; field in ManifestGenerationExtension129 manifest = new Manifest(); in ManifestGenerationExtension()134 manifest.write(outBytes); in ManifestGenerationExtension()189 manifest.clear(); in rebuildManifest()191 manifest.read(new ByteArrayInputStream(manifestBytes)); in rebuildManifest()195 Attributes mainAttributes = manifest.getMainAttributes(); in rebuildManifest()221 Attributes mainAttributes = manifest.getMainAttributes(); in setMainAttribute()
98 manifest: "trebuchet/analyzer/MANIFEST.mf",110 manifest: "trebuchet/startup-analyzer/MANIFEST.mf",123 manifest: "trebuchet/startup-summarizer/MANIFEST.mf",136 manifest: "trebuchet/traceutils/MANIFEST.mf",148 manifest: "trebuchet/viewer/MANIFEST.mf",
249 OutputManifestFile manifest = in sign() local254 signerConfigs, jarEntryDigestAlgorithm, apkSigningSchemeIds, createdBy, manifest); in sign()274 OutputManifestFile manifest) in signManifest() argument285 generateSignatureFile(apkSigningSchemeIds, digestAlgorithm, createdBy, manifest); in signManifest()309 signatureJarEntries.add(Pair.of(V1SchemeConstants.MANIFEST_ENTRY_NAME, manifest.contents)); in signManifest()421 OutputManifestFile manifest) throws NoSuchAlgorithmException { in generateSignatureFile() argument448 Base64.getEncoder().encodeToString(md.digest(manifest.contents))); in generateSignatureFile()457 : manifest.individualSectionsContents.entrySet()) { in generateSignatureFile()
175 ManifestParser manifest = new ManifestParser(manifestBytes); in parseManifest() local176 ManifestParser.Section manifestMainSection = manifest.readSection(); in parseManifest()177 List<ManifestParser.Section> manifestIndividualSections = manifest.readAllSections(); in parseManifest()
31 manifest: "manifest.txt",
10 manifest: "AndroidManifest.xml",
31 *.manifest
24 manifest: "AndroidManifest.xml",
36 manifest: "class2nonsdklist.mf",
31 projects that are checked out via a single manifest.40 These are the manifest-wide defaults and can be located in two places:41 * `.repo/manifests/GLOBAL-PREUPLOAD.cfg`: The manifest git repo.42 Simply check this in to the manifest git repo and you're done.316 * We need to add `pylint` tool to the AOSP manifest and use that local copy
51 manifest: "src/apksigner/apksigner.mf",
47 $ repo init -u https://android.googlesource.com/platform/manifest
... META-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...