/tools/apksig/src/test/java/com/android/apksig/apk/ |
D | ApkUtilsTest.java | 64 ByteBuffer manifest = getAndroidManifest("original.apk"); in testGetMinSdkVersionFromBinaryAndroidManifest() local 65 assertEquals(23, ApkUtils.getMinSdkVersionFromBinaryAndroidManifest(manifest)); in testGetMinSdkVersionFromBinaryAndroidManifest() 70 ByteBuffer manifest = getAndroidManifest("original.apk"); in testGetDebuggableFromBinaryAndroidManifest() local 71 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() local 89 ApkUtils.getPackageNameFromBinaryAndroidManifest(manifest)); in testGetPackageNameFromBinaryAndroidManifest() [all …]
|
/tools/external_updater/ |
D | test_manifest.py | 22 from manifest import Manifest, ManifestParser, find_manifest_xml_for_tree 82 manifest = tmp_path / "manifest.xml" 83 manifest.write_text( 97 ManifestParser(manifest).parse() 115 manifest = ManifestParser(manifest_path).parse() 116 assert manifest.project_with_path("external/project").remote == "aosp" 133 manifest = ManifestParser(manifest_path).parse() 134 assert manifest.project_with_path("external/project").revision == "main" 151 manifest = ManifestParser(manifest_path).parse() 152 assert manifest.project_with_path("external/project") is not None [all …]
|
D | git_updater.py | 21 from manifest import Manifest 109 manifest = Manifest.for_tree(root) 112 project = manifest.project_with_path(manifest_path)
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | SystemServiceCheckTest.kt | 45 manifest = in SystemService OK, loaded from signature file() 83 manifest = in SystemService OK, loaded from source() 121 manifest = in Check SystemService -- no permission annotation() 149 manifest = in Check SystemService -- can miss a permission with anyOf() 188 manifest = in Check SystemService such that at least one permission must be defined with anyOf() 218 manifest = in Check SystemService -- missing one permission with allOf() 257 manifest = in Check SystemService -- must be system permission, not normal() 275 fun `Check SystemService -- missing manifest permissions`() { in Check SystemService -- missing manifest permissions() 301 manifest = in Check SystemService -- missing manifest permissions() 309 fun `Invalid manifest`() { in Invalid manifest() [all …]
|
/tools/treble/split/ |
D | README.md | 7 the target, it shouldn't be in the split manifest. This smaller manifest can be 9 should be faster and smaller than a sync of a full manifest because it is 13 manifest from a full manifest using dependency information from the source tree 21 ### 1. Run a full build using a full manifest 37 # 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 manifest 56 You should test that the split manifest created by the tool can be used to build [all …]
|
D | manifest_split_test.py | 62 manifest = ET.ElementTree(ET.fromstring(manifest_contents)) 64 None, manifest, path_mappings=[]) 287 manifest = manifest_split.update_manifest( 291 projects = manifest.getroot().findall('project')
|
D | manifest_split.py | 168 def get_repo_projects(repo_list_file, manifest, path_mappings): argument 186 root = manifest.getroot() 434 def update_manifest(manifest, input_projects, remove_projects): argument 447 root = manifest.getroot() 451 return manifest
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/ |
D | JarSigningTest.java | 66 Manifest manifest = new Manifest(new ByteArrayInputStream(manifestEntry.read())); in signEmptyJar() local 67 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() local 96 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 …]
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/manifest/ |
D | Manifest.kt | 17 package com.android.tools.metalava.manifest 43 class Manifest(private val manifest: File?, private val reporter: Reporter?) { constant in com.android.tools.metalava.manifest.Manifest 48 if (manifest == null) { in readManifestInfo() 53 val doc = parseDocument(manifest.readText(Charsets.UTF_8), true) in readManifestInfo() 88 manifest, in readManifestInfo() 89 "Failed to parse $manifest: ${error.message}" in readManifestInfo() 98 return manifest == null in isEmpty() 106 assert(manifest != null) { in getPermissionLevel() 118 return manifest.toString() in toString()
|
/tools/treble/build/treble_build/report/ |
D | projects.go | 112 manifest, err := rtx.Repo.Manifest(manifestFile) 120 for i, _ := range manifest.Remotes { 121 remotes[manifest.Remotes[i].Name] = &manifest.Remotes[i] 124 defRemotePtr, exists := remotes[manifest.Default.Remote] 140 if manifest.Projects[i].Remote != nil { 141 remotePtr = remotes[*manifest.Projects[i].Remote] 158 for i, _ := range manifest.Projects { 159 repoChan <- &manifest.Projects[i]
|
D | report_test.go | 29 manifest *app.RepoManifest member 44 out := r.manifest 48 return r.manifest, err 141 manifest: &app.RepoManifest{ 165 test.manifest.Projects = append(test.manifest.Projects,
|
D | run.go | 60 func (rtx *Context) ResolveProjectMap(ctx context.Context, manifest string, upstreamBranch string) { 62 rtx.Info = resolveProjectMap(ctx, rtx, manifest, true, upstreamBranch)
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | ManifestGenerationExtension.java | 86 private final Manifest manifest; field in ManifestGenerationExtension 129 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()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | SubprocessReportingHelper.java | 100 Manifest manifest = new Manifest(); in buildSubprocessReporterJar() local 101 createJar(reporterJar, manifest, classFiles, configFileName, patchedConfigFile); in buildSubprocessReporterJar() 108 Manifest manifest = new Manifest(new FileInputStream(mf)); in buildSubprocessReporterJar() local 109 createJar(reporterJar, manifest, classFiles, configFileName, patchedConfigFile); in buildSubprocessReporterJar() 125 File jar, Manifest manifest, Set<File> classFiles, String configName, File configFile) in createJar() argument 127 try (JarOutputStream jarOutput = new JarOutputStream(new FileOutputStream(jar), manifest)) { in createJar() argument
|
/tools/trebuchet/ |
D | Android.bp | 99 manifest: "trebuchet/analyzer/MANIFEST.mf", 111 manifest: "trebuchet/startup-analyzer/MANIFEST.mf", 124 manifest: "trebuchet/startup-summarizer/MANIFEST.mf", 137 manifest: "trebuchet/traceutils/MANIFEST.mf", 149 manifest: "trebuchet/viewer/MANIFEST.mf",
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeSigner.java | 268 OutputManifestFile manifest = in sign() local 273 signerConfigs, jarEntryDigestAlgorithm, apkSigningSchemeIds, createdBy, manifest); in sign() 293 OutputManifestFile manifest) in signManifest() argument 304 generateSignatureFile(apkSigningSchemeIds, digestAlgorithm, createdBy, manifest); in signManifest() 328 signatureJarEntries.add(Pair.of(V1SchemeConstants.MANIFEST_ENTRY_NAME, manifest.contents)); in signManifest() 440 OutputManifestFile manifest) throws NoSuchAlgorithmException { in generateSignatureFile() argument 467 Base64.getEncoder().encodeToString(md.digest(manifest.contents))); in generateSignatureFile() 476 : manifest.individualSectionsContents.entrySet()) { in generateSignatureFile()
|
/tools/security/remote_provisioning/attestation_testing/ |
D | Android.bp | 10 manifest: "AndroidManifest.xml",
|
/tools/metalava/ |
D | DOWNLOADING.md | 3 Metalava can be downloaded from the `metalava-main` manifest branch via `repo` as explained below 32 repo init -u https://android.googlesource.com/platform/manifest -b metalava-main
|
/tools/asuite/adevice/adevice_proto/ |
D | Cargo.toml | 6 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
/tools/netsim/guide/src/development/ |
D | README.md | 9 section to build netsim by `cmake` in `emu-master-dev` manifest branch. 13 manifest branch. 83 repo init -u https://android.googlesource.com/platform/manifest -b emu-master-dev 148 repo init -u https://android.googlesource.com/platform/manifest -b aosp-master 204 both manifest branches. To temporarily copy changes between repositories we often
|
/tools/tradefederation/core/res/perfetto/ |
D | record_android_trace | 245 def get_perfetto_prebuilt(manifest, soft_fail=False, arch=None): 250 for entry in manifest: 274 def run_perfetto_prebuilt(manifest): 275 bin_path = get_perfetto_prebuilt(manifest)
|
/tools/netsim/scripts/ |
D | proto_update.sh | 68 cargo build --manifest-path $CARGO
|
/tools/test/connectivity/tools/ |
D | .gitignore | 31 *.manifest
|
/tools/test/connectivity/acts/ |
D | .gitignore | 31 *.manifest
|
/tools/test/graphicsbenchmark/performance_tests/deviceside/ |
D | Android.bp | 24 manifest: "AndroidManifest.xml",
|