Searched refs:manifest (Results 1 - 25 of 59) sorted by relevance

123

/frameworks/base/tests/AmSlam/src/test/amslam/subreceivers/
H A Dgen.py47 manifest = open('AppendToManifest.xml', 'w') variable
50 manifest.write(MANIFEST_ADD.format(i))
51 manifest.close()
/frameworks/base/tools/aapt2/link/
H A DManifestFixer_test.cpp81 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 Drobolectric.properties16 manifest=frameworks/opt/car/setupwizard/library/tests/robotests/AndroidManifest.xml
/frameworks/base/libs/androidfw/tests/data/styles/
H A Dbuild6 aapt2 link -o styles.apk --manifest AndroidManifest.xml compiled.flata
/frameworks/base/libs/androidfw/tests/data/app/
H A Dbuild22 --manifest AndroidManifest.xml \
/frameworks/base/libs/androidfw/tests/data/out_of_order_types/
H A Dbuild21 aapt2 link --manifest AndroidManifest.xml -o out_of_order_types.apk compiled.flata
/frameworks/base/libs/androidfw/tests/data/overlay/
H A Dbuild21 aapt2 link --manifest AndroidManifest.xml -o overlay.apk compiled.flata
/frameworks/base/libs/androidfw/tests/data/system/
H A Dbuild21 aapt2 link --manifest AndroidManifest.xml -A assets -o system.apk compiled.flata
/frameworks/base/libs/androidfw/tests/data/sparse/
H A Dbuild23 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 DAndroid.mk21 LOCAL_JAR_MANIFEST := manifest.txt
/frameworks/base/core/jni/
H A Dandroid_os_VintfObject.cpp72 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 Dbuild24 --manifest AndroidManifest.xml \
/frameworks/base/tools/aapt2/java/
H A DManifestClassGenerator_test.cpp33 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 Drules.gradle35 manifest.srcFile 'main/AndroidManifest.xml'
/frameworks/support/docs-fake/
H A Dbuild.gradle37 manifest.srcFile "AndroidManifest.xml"
/frameworks/base/packages/SystemUI/plugin/
H A Dupdate_plugin_lib.sh9 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 DAndroid.mk28 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 DBaseRobolectricTest.java25 * 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 DLoadedApk.h60 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 DLoadedApk.cpp107 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 Dbuild25 --manifest AndroidManifest.xml \
/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor_test.cpp28 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 Dbuild.gradle35 manifest.srcFile 'AndroidManifest.xml'
/frameworks/base/tools/aapt2/optimize/
H A DMultiApkGenerator.cpp156 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 DStrictJarManifest.java63 * 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...]

Completed in 2044 milliseconds

123