/frameworks/base/tests/AmSlam/src/test/amslam/subreceivers/ |
H A D | gen.py | 47 manifest = open('AppendToManifest.xml', 'w') variable 50 manifest.write(MANIFEST_ADD.format(i)) 51 manifest.close()
|
/frameworks/base/tools/aapt2/link/ |
H A D | ManifestFixer_test.cpp | 81 EXPECT_THAT(Verify("<ns:manifest xmlns:ns=\"com\" />"), IsNull()); 82 EXPECT_THAT(Verify("<manifest package=\"android\"></manifest>"), NotNull()); 86 EXPECT_THAT(Verify("<manifest package=\"android\" />"), NotNull()); 87 EXPECT_THAT(Verify("<manifest package=\"com.android\" />"), NotNull()); 88 EXPECT_THAT(Verify("<manifest package=\"com.android.google\" />"), NotNull()); 89 EXPECT_THAT(Verify("<manifest package=\"com.android.google.Class$1\" />"), IsNull()); 90 EXPECT_THAT(Verify("<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\" " 93 EXPECT_THAT(Verify("<manifest package=\"@string/str\" />"), IsNull()); 98 <manifest xmln [all...] |
/frameworks/opt/car/setupwizard/library/tests/robotests/config/ |
H A D | robolectric.properties | 16 manifest=frameworks/opt/car/setupwizard/library/tests/robotests/AndroidManifest.xml
|
/frameworks/base/libs/androidfw/tests/data/styles/ |
H A D | build | 6 aapt2 link -o styles.apk --manifest AndroidManifest.xml compiled.flata
|
/frameworks/base/libs/androidfw/tests/data/app/ |
H A D | build | 22 --manifest AndroidManifest.xml \
|
/frameworks/base/libs/androidfw/tests/data/out_of_order_types/ |
H A D | build | 21 aapt2 link --manifest AndroidManifest.xml -o out_of_order_types.apk compiled.flata
|
/frameworks/base/libs/androidfw/tests/data/overlay/ |
H A D | build | 21 aapt2 link --manifest AndroidManifest.xml -o overlay.apk compiled.flata
|
/frameworks/base/libs/androidfw/tests/data/system/ |
H A D | build | 21 aapt2 link --manifest AndroidManifest.xml -A assets -o system.apk compiled.flata
|
/frameworks/base/libs/androidfw/tests/data/sparse/ |
H A D | build | 23 aapt2 link --manifest AndroidManifest.xml -I $PATH_TO_FRAMEWORK_RES -o sparse.apk --enable-sparse-encoding compiled.flata 24 aapt2 link --manifest AndroidManifest.xml -I $PATH_TO_FRAMEWORK_RES -o not_sparse.apk compiled.flata
|
/frameworks/layoutlib/create/ |
H A D | Android.mk | 21 LOCAL_JAR_MANIFEST := manifest.txt
|
/frameworks/base/core/jni/ |
H A D | android_os_VintfObject.cpp | 72 static void tryAddHalNamesAndVersions(const std::shared_ptr<const HalManifest>& manifest, argument 75 if (manifest == nullptr) { 78 auto names = manifest->getHalNamesAndVersions(); 88 "device manifest", &cStrings); 90 "framework manifest", &cStrings); 129 "device manifest", &halNames); 131 "framework manifest", &halNames); 136 std::shared_ptr<const HalManifest> manifest = VintfObject::GetDeviceHalManifest(); local 137 if (manifest == nullptr || manifest 146 std::shared_ptr<const HalManifest> manifest = VintfObject::GetFrameworkHalManifest(); local 161 std::shared_ptr<const HalManifest> manifest = VintfObject::GetDeviceHalManifest(); local [all...] |
/frameworks/base/libs/androidfw/tests/data/feature/ |
H A D | build | 24 --manifest AndroidManifest.xml \
|
/frameworks/base/tools/aapt2/java/ |
H A D | ManifestClassGenerator_test.cpp | 33 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"( 34 <manifest xmlns:android="http://schemas.android.com/apk/res/android"> 39 </manifest>)"); 42 ASSERT_TRUE(GetManifestClassText(context.get(), manifest.get(), &actual)); 78 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"( 79 <manifest xmlns:android="http://schemas.android.com/apk/res/android"> 91 </manifest>)"); 94 ASSERT_TRUE(GetManifestClassText(context.get(), manifest.get(), &actual)); 129 std::unique_ptr<xml::XmlResource> manifest = test::BuildXmlDom(R"( 130 <manifest xmln [all...] |
/frameworks/opt/setupwizard/library/ |
H A D | rules.gradle | 35 manifest.srcFile 'main/AndroidManifest.xml'
|
/frameworks/support/docs-fake/ |
H A D | build.gradle | 37 manifest.srcFile "AndroidManifest.xml"
|
/frameworks/base/packages/SystemUI/plugin/ |
H A 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/integration-tests/NamespaceTest/Split/ |
H A D | Android.mk | 28 LOCAL_AAPT_FLAGS := --package-id 0x80 --rename-manifest-package com.android.aapt.namespace.app
|
/frameworks/opt/car/setupwizard/library/tests/robotests/src/com/android/car/setupwizardlib/robolectric/ |
H A D | BaseRobolectricTest.java | 25 * Base test for CarSetupWizardLib Robolectric tests that sets the manifest and sdk config 28 @Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
/frameworks/base/tools/aapt2/ |
H A D | LoadedApk.h | 60 std::unique_ptr<ResourceTable> table, std::unique_ptr<xml::XmlResource> manifest, 65 manifest_(std::move(manifest)), 101 * If the manifest is also provided, it will be written to the new APK file, otherwise the 102 * original manifest will be written. The manifest is only required if the contents of the new APK 107 IArchiveWriter* writer, xml::XmlResource* manifest = nullptr); 59 LoadedApk(const Source& source, std::unique_ptr<io::IFileCollection> apk, std::unique_ptr<ResourceTable> table, std::unique_ptr<xml::XmlResource> manifest, const ApkFormat& format) argument
|
H A D | LoadedApk.cpp | 107 std::unique_ptr<xml::XmlResource> manifest = DeserializeXmlResourceFromPb(pb_node, &error); local 108 if (manifest == nullptr) { 114 std::move(manifest), ApkFormat::kProto); 149 std::unique_ptr<xml::XmlResource> manifest = local 151 if (manifest == nullptr) { 157 std::move(manifest), ApkFormat::kBinary); 168 IArchiveWriter* writer, XmlResource* manifest) { 235 } else if (manifest != nullptr && path == "AndroidManifest.xml") { 240 if (!xml_flattener.Consume(context, manifest)) { 266 // If the resource table is not present, attempt to read the manifest 166 WriteToArchive(IAaptContext* context, ResourceTable* split_table, const TableFlattenerOptions& options, FilterChain* filters, IArchiveWriter* writer, XmlResource* manifest) argument 286 std::unique_ptr<xml::XmlResource> manifest = local [all...] |
/frameworks/base/libs/androidfw/tests/data/basic/ |
H A D | build | 25 --manifest AndroidManifest.xml \
|
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlActionExecutor_test.cpp | 28 XmlNodeAction& manifest_action = executor["manifest"]; 32 manifest_action.Action([&](Element* manifest) -> bool { 33 manifest_el = manifest; 44 test::BuildXmlDom("<manifest><application /></manifest>"); 49 EXPECT_EQ(std::string("manifest"), manifest_el->name); 57 executor["manifest"]["application"]; 62 doc = test::BuildXmlDom("<manifest><application /><activity /></manifest>"); 65 doc = test::BuildXmlDom("<manifest><applicatio [all...] |
/frameworks/multidex/instrumentation/ |
H A D | build.gradle | 35 manifest.srcFile 'AndroidManifest.xml'
|
/frameworks/base/tools/aapt2/optimize/ |
H A D | MultiApkGenerator.cpp | 156 std::unique_ptr<XmlResource> manifest; local 157 if (!UpdateManifest(artifact, &manifest, diag)) { 180 &filters, writer.get(), manifest.get())) { 264 XmlResource* manifest = updated_manifest->get(); local 266 // Make sure the first element is <manifest> with package attribute. 267 xml::Element* manifest_el = manifest->root.get(); 272 if (!manifest_el->namespace_uri.empty() || manifest_el->name != "manifest") { 273 diag->Error(DiagMessage(manifest->file.source) << "root tag must be <manifest>"); 280 diag->Error(DiagMessage(manifest [all...] |
/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarManifest.java | 63 * The end of the main attributes section in the manifest is needed in 178 * Merges name/attribute pairs read from the input stream {@code is} into this manifest. 183 * If an error occurs reading the manifest. 245 * Writes out the attribute information of the specified manifest to the 248 * @param manifest 249 * the manifest to write out. 255 static void write(StrictJarManifest manifest, OutputStream out) throws IOException { argument 260 String version = manifest.mainAttributes.getValue(versionName); 263 version = manifest.mainAttributes.getValue(versionName); 267 Iterator<?> entries = manifest [all...] |