/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer_test.cpp | 110 </manifest>)EOF"); in TEST_F() 120 <manifest xmlns:android="http://schemas.android.com/apk/res/android" in TEST_F() 123 </manifest>)EOF", in TEST_F() 142 <manifest xmlns:android="http://schemas.android.com/apk/res/android" in TEST_F() 145 </manifest>)EOF", in TEST_F() 161 <manifest xmlns:android="http://schemas.android.com/apk/res/android" in TEST_F() 164 </manifest>)EOF", in TEST_F() 180 <manifest xmlns:android="http://schemas.android.com/apk/res/android" in TEST_F() 202 <manifest xmlns:android="http://schemas.android.com/apk/res/android" in TEST_F() 205 </manifest>)EOF", in TEST_F() [all …]
|
/frameworks/base/core/tests/coretests/apks/keyset/ |
D | Android.bp | 7 manifest: "uNone/AndroidManifest.xml", 15 manifest: "uA/AndroidManifest.xml", 23 manifest: "uB/AndroidManifest.xml", 31 manifest: "uAB/AndroidManifest.xml", 39 manifest: "uAuB/AndroidManifest.xml", 47 manifest: "permDef/AndroidManifest.xml", 55 manifest: "permUse/AndroidManifest.xml", 64 manifest: "uA/AndroidManifest.xml", 72 manifest: "uB/AndroidManifest.xml", 80 manifest: "permUse/AndroidManifest.xml", [all …]
|
/frameworks/base/core/jni/ |
D | android_os_VintfObject.cpp | 72 static void tryAddHalNamesAndVersions(const std::shared_ptr<const HalManifest>& manifest, in tryAddHalNamesAndVersions() argument 75 if (manifest == nullptr) { in tryAddHalNamesAndVersions() 78 auto names = manifest->getHalNamesAndVersions(); in tryAddHalNamesAndVersions() 118 std::shared_ptr<const HalManifest> manifest = VintfObject::GetDeviceHalManifest(); in android_os_VintfObject_getSepolicyVersion() local 119 if (manifest == nullptr || manifest->type() != SchemaType::DEVICE) { in android_os_VintfObject_getSepolicyVersion() 123 std::string cString = to_string(manifest->sepolicyVersion()); in android_os_VintfObject_getSepolicyVersion() 128 std::shared_ptr<const HalManifest> manifest = VintfObject::GetFrameworkHalManifest(); in android_os_VintfObject_getVndkSnapshots() local 129 if (manifest == nullptr || manifest->type() != SchemaType::FRAMEWORK) { in android_os_VintfObject_getVndkSnapshots() 134 for (const auto &vndk : manifest->vendorNdks()) { in android_os_VintfObject_getVndkSnapshots() 143 std::shared_ptr<const HalManifest> manifest = VintfObject::GetDeviceHalManifest(); in android_os_VintfObject_getTargetFrameworkCompatibilityMatrixVersion() local [all …]
|
/frameworks/base/tools/aapt2/java/ |
D | ManifestClassGenerator_test.cpp | 34 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"( local 40 </manifest>)"); 80 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"( local 93 </manifest>)"); 132 <manifest xmlns:android="http://schemas.android.com/apk/res/android"> 144 </manifest>)"); 182 <manifest xmlns:android="http://schemas.android.com/apk/res/android"> 187 </manifest>)"); 199 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"( local 202 </manifest>)");
|
/frameworks/base/services/tests/servicestests/assets/shortcut/ |
D | dumpsys_expected.txt | 26 "manifest": 0, 34 "manifest": 0, 42 "manifest": 0, 50 "manifest": 0, 68 "manifest": 0, 95 "manifest": 0,
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriterTest.java | 120 String[] manifest = new String(manifestBytes, StandardCharsets.UTF_8).split("\n"); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() local 121 assertThat(manifest.length).isEqualTo(7); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() 122 assertThat(manifest[0]).isEqualTo(Integer.toString(BACKUP_MANIFEST_VERSION)); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() 123 assertThat(manifest[1]).isEqualTo(TEST_PACKAGE); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() 124 assertThat(manifest[2]).isEqualTo(Long.toString(TEST_PACKAGE_VERSION_CODE)); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() 125 assertThat(manifest[3]).isEqualTo(Integer.toString(Build.VERSION.SDK_INT)); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() 126 assertThat(manifest[4]).isEqualTo(TEST_PACKAGE_INSTALLER); in testBackupManifest_withoutApkOrSignatures_writesCorrectData() 127 assertThat(manifest[5]).isEqualTo("0"); // withApk in testBackupManifest_withoutApkOrSignatures_writesCorrectData() 128 assertThat(manifest[6]).isEqualTo("0"); // signatures in testBackupManifest_withoutApkOrSignatures_writesCorrectData() 155 String[] manifest = new String(manifestBytes, StandardCharsets.UTF_8).split("\n"); in testBackupManifest_withApk_writesApk() local [all …]
|
/frameworks/base/tools/sdkparcelables/ |
D | Android.bp | 3 manifest: "manifest.txt", 14 manifest: "manifest.txt",
|
/frameworks/base/tools/aapt2/optimize/ |
D | MultiApkGenerator.cpp | 159 std::unique_ptr<XmlResource> manifest; in FromBaseApk() local 160 if (!UpdateManifest(artifact, &manifest, diag)) { in FromBaseApk() 183 &filters, writer.get(), manifest.get())) { in FromBaseApk() 267 XmlResource* manifest = updated_manifest->get(); in UpdateManifest() local 270 xml::Element* manifest_el = manifest->root.get(); in UpdateManifest() 276 diag->Error(DiagMessage(manifest->file.source) << "root tag must be <manifest>"); in UpdateManifest() 283 diag->Error(DiagMessage(manifest->file.source) << "manifest must have a versionCode attribute"); in UpdateManifest() 289 diag->Error(DiagMessage(manifest->file.source) << "versionCode is invalid"); in UpdateManifest() 299 diag->Error(DiagMessage(manifest->file.source) << "versionCodeMajor is invalid"); in UpdateManifest() 324 diag->Error(DiagMessage(manifest->file.source) << "missing minSdkVersion from <uses-sdk>"); in UpdateManifest() [all …]
|
/frameworks/base/tests/AmSlam/src/test/amslam/subreceivers/ |
D | gen.py | 47 manifest = open('AppendToManifest.xml', 'w') variable 50 manifest.write(MANIFEST_ADD.format(i)) 51 manifest.close()
|
/frameworks/base/cmds/idmap2/tests/data/overlay/ |
D | build | 22 --manifest AndroidManifest.xml \ 29 --manifest AndroidManifestNoName.xml \ 36 --manifest AndroidManifestNoNameStatic.xml \ 43 --manifest AndroidManifestStatic1.xml \ 50 --manifest AndroidManifestStatic2.xml \
|
/frameworks/base/tests/privapp-permissions/ |
D | Android.bp | 5 manifest: "system/AndroidManifest.xml", 19 manifest: "vendor/AndroidManifest.xml", 35 manifest: "product/AndroidManifest.xml", 51 manifest: "system_ext/AndroidManifest.xml",
|
/frameworks/base/tools/aapt2/ |
D | LoadedApk.cpp | 64 std::unique_ptr<xml::XmlResource> manifest = in DetermineApkFormat() local 66 if (manifest != nullptr) { in DetermineApkFormat() 144 std::unique_ptr<xml::XmlResource> manifest = DeserializeXmlResourceFromPb(pb_node, &error); in LoadProtoApkFromFileCollection() local 145 if (manifest == nullptr) { in LoadProtoApkFromFileCollection() 151 std::move(manifest), ApkFormat::kProto); in LoadProtoApkFromFileCollection() 186 std::unique_ptr<xml::XmlResource> manifest = in LoadBinaryApkFromFileCollection() local 188 if (manifest == nullptr) { in LoadBinaryApkFromFileCollection() 194 std::move(manifest), ApkFormat::kBinary); in LoadBinaryApkFromFileCollection() 205 IArchiveWriter* writer, XmlResource* manifest) { in WriteToArchive() argument 278 } else if (manifest != nullptr && path == "AndroidManifest.xml") { in WriteToArchive() [all …]
|
D | LoadedApk.h | 60 std::unique_ptr<ResourceTable> table, std::unique_ptr<xml::XmlResource> manifest, in LoadedApk() argument 65 manifest_(std::move(manifest)), in LoadedApk() 111 IArchiveWriter* writer, xml::XmlResource* manifest = nullptr);
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarManifest.java | 258 static void write(StrictJarManifest manifest, OutputStream out) throws IOException { in write() argument 263 String version = manifest.mainAttributes.getValue(versionName); in write() 266 version = manifest.mainAttributes.getValue(versionName); in write() 270 Iterator<?> entries = manifest.mainAttributes.keySet().iterator(); in write() 274 writeEntry(out, name, manifest.mainAttributes.getValue(name), encoder, buffer); in write() 279 Iterator<String> i = manifest.getEntries().keySet().iterator(); in write() 283 Attributes attributes = manifest.entries.get(key); in write()
|
D | StrictJarVerifier.java | 82 private final StrictJarManifest manifest; field in StrictJarVerifier 183 StrictJarVerifier(String name, StrictJarManifest manifest, in StrictJarVerifier() argument 186 this.manifest = manifest; in StrictJarVerifier() 188 this.mainAttributesEnd = manifest.getMainAttributesEnd(); in StrictJarVerifier() 209 if (manifest == null || signatures.isEmpty()) { in initEntry() 213 Attributes attributes = manifest.getAttributes(name); in initEntry() 466 StrictJarManifest.Chunk chunk = manifest.getChunk(entry.getKey()); in verifyCertificate()
|
D | StrictJarFile.java | 56 private final StrictJarManifest manifest; field in StrictJarFile 114 this.manifest = new StrictJarManifest(metaEntries.get(JarFile.MANIFEST_NAME), true); in StrictJarFile() 118 manifest, in StrictJarFile() 121 Set<String> files = manifest.getEntries().keySet(); in StrictJarFile() 131 this.manifest = null; in StrictJarFile() 145 return manifest; in getManifest()
|
/frameworks/base/tools/locked_region_code_injection/ |
D | Android.bp | 3 manifest: "manifest.txt",
|
/frameworks/base/packages/CtsShim/build/ |
D | Android.bp | 33 manifest: "shim_priv_upgrade/AndroidManifest.xml", 65 manifest: ":generate_priv_manifest", 95 manifest: "shim_priv_upgrade/AndroidManifest.xml", 116 manifest: "shim/AndroidManifest.xml",
|
/frameworks/base/libs/androidfw/tests/data/sparse/ |
D | build | 23 aapt2 link --manifest AndroidManifest.xml -I $PATH_TO_FRAMEWORK_RES -o sparse.apk --enable-sparse-e… 24 aapt2 link --manifest AndroidManifest.xml -I $PATH_TO_FRAMEWORK_RES -o not_sparse.apk compiled.flata
|
/frameworks/base/cmds/statsd/tools/localtools/ |
D | Android.bp | 3 manifest: "localdrive_manifest.txt", 16 manifest: "testdrive_manifest.txt",
|
/frameworks/base/packages/SystemUI/plugin/ |
D | update_plugin_lib.sh | 9 echo "" >> /tmp/plugin_classes/manifest.txt 10 jar cvfm SystemUIPluginLib.jar /tmp/plugin_classes/manifest.txt -C /tmp/plugin_classes .
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.h | 79 Maybe<AndroidManifest> manifest; member 91 lhs.manifest == rhs.manifest;
|
/frameworks/opt/setupwizard/library/ |
D | Android.bp | 9 manifest: "main/AndroidManifest.xml", 29 manifest: "main/AndroidManifest.xml",
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlActionExecutor_test.cpp | 32 manifest_action.Action([&](Element* manifest) -> bool { in TEST() argument 33 manifest_el = manifest; in TEST()
|
/frameworks/native/cmds/lshal/ |
D | ListCommand.cpp | 402 vintf::HalManifest* manifest) const { in addEntryWithInstance() 440 if (!manifest->insertInstance(fqInstance, entry.transport, arch, vintf::HalFormat::HIDL, &e)) { in addEntryWithInstance() 448 const vintf::HalManifest* manifest) const { in addEntryWithoutInstance() 459 (void)manifest->forEachHidlInstanceOfVersion(package, version, [&found](const auto&) { in addEntryWithoutInstance() 471 vintf::HalManifest manifest; in dumpVintf() local 472 manifest.setType(toSchemaType(mVintfPartition)); in dumpVintf() 476 if (!addEntryWithInstance(entry, &manifest)) error.push_back(entry.interfaceName); in dumpVintf() 478 if (!addEntryWithInstance(entry, &manifest)) error.push_back(entry.interfaceName); in dumpVintf() 480 if (!addEntryWithInstance(entry, &manifest)) error.push_back(entry.interfaceName); in dumpVintf() 484 if (!addEntryWithoutInstance(entry, &manifest)) passthrough.push_back(entry.interfaceName); in dumpVintf() [all …]
|