Searched refs:manifest (Results 1 – 18 of 18) sorted by relevance
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 …]
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 …]
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()
70 Manifest manifest = new Manifest(); in createSubprocessReporterJar() local71 createJar(reporterJar, manifest, classFiles); in createSubprocessReporterJar()79 Manifest manifest = new Manifest(new FileInputStream(mf)); in createSubprocessReporterJar() local80 createJar(reporterJar, manifest, classFiles); in createSubprocessReporterJar()95 private void createJar(File jar, Manifest manifest, Set<File> classFiles) throws IOException { in createJar() argument96 try (JarOutputStream jarOutput = new JarOutputStream(new FileOutputStream(jar), manifest)) { in createJar() argument
81 manifest: "trebuchet/analyzer/MANIFEST.mf",93 manifest: "trebuchet/startup-analyzer/MANIFEST.mf",106 manifest: "trebuchet/startup-summarizer/MANIFEST.mf",119 manifest: "trebuchet/traceutils/MANIFEST.mf",131 manifest: "trebuchet/viewer/MANIFEST.mf",
178 manifest = manifest_split.update_manifest(182 projects = manifest.getroot().findall('project')189 manifest = ET.ElementTree(ET.fromstring('<manifest></manifest>'))190 manifest_sha1 = hashlib.sha1(ET.tostring(manifest.getroot())).hexdigest()194 manifest, 'test_manifest')).decode(),
300 def update_manifest(manifest, input_projects, remove_projects): argument313 root = manifest.getroot()317 return manifest320 def create_manifest_sha1_element(manifest, name): argument334 hashlib.sha1(ET.tostring(manifest.getroot())).hexdigest())
246 OutputManifestFile manifest = in sign() local251 signerConfigs, jarEntryDigestAlgorithm, apkSigningSchemeIds, createdBy, manifest); in sign()271 OutputManifestFile manifest) in signManifest() argument282 generateSignatureFile(apkSigningSchemeIds, digestAlgorithm, createdBy, manifest); in signManifest()306 signatureJarEntries.add(Pair.of(MANIFEST_ENTRY_NAME, manifest.contents)); in signManifest()418 OutputManifestFile manifest) throws NoSuchAlgorithmException { in generateSignatureFile() argument445 Base64.getEncoder().encodeToString(md.digest(manifest.contents))); in generateSignatureFile()454 : manifest.individualSectionsContents.entrySet()) { in generateSignatureFile()
178 ManifestParser manifest = new ManifestParser(manifestBytes); in parseManifest() local179 ManifestParser.Section manifestMainSection = manifest.readSection(); in parseManifest()180 List<ManifestParser.Section> manifestIndividualSections = manifest.readAllSections(); in parseManifest()
31 *.manifest
18 manifest: "AndroidManifest.xml",
41 manifest: "MANIFEST.mf",
33 manifest: "src/apksigner/apksigner.mf",
111 manifest: "MANIFEST.mf",127 manifest: "MANIFEST.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.286 * We need to add `pylint` tool to the AOSP manifest and use that local copy
... META-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...