/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/ |
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/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...] |
H A D | StrictJarFile.java | 56 private final StrictJarManifest manifest; field in class:StrictJarFile 114 this.manifest = new StrictJarManifest(metaEntries.get(JarFile.MANIFEST_NAME), true); 118 manifest, 121 Set<String> files = manifest.getEntries().keySet(); 124 throw new SecurityException("File " + file + " in manifest does not exist"); 131 this.manifest = null; 145 return manifest;
|
H A D | StrictJarVerifier.java | 57 * files) agree with the JAR entries information found in the JAR manifest. 82 private final StrictJarManifest manifest; field in class:StrictJarVerifier 138 * Verifies that the digests stored in the manifest match the decrypted 144 * if the digest value stored in the manifest does <i>not</i> 183 StrictJarVerifier(String name, StrictJarManifest manifest, argument 186 this.manifest = manifest; 188 this.mainAttributesEnd = manifest.getMainAttributesEnd(); 206 // If no manifest is present by the time an entry is found, 209 if (manifest [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/ |
H A D | MakeCopy.java | 72 System.out.println("required parameters: [-l] manifest adk-dir src-out-dir xml-out-dir " + 79 System.out.println(" manifest path to AndroidManifest.xml file"); 96 applicationPackage = xPath.evaluate("string(/manifest/@package)", androidManifest); 98 "number(/manifest/uses-sdk/@android:minSdkVersion)", androidManifest, 155 private static Document readAndroidManifest(File manifest) { argument 159 return documentBuilder.parse(manifest); 162 manifest.getAbsolutePath() + ": " + e.getLocalizedMessage());
|
/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/tools/aapt2/cmd/ |
H A D | Optimize.cpp | 223 bool WriteSplitApk(ResourceTable* table, xml::XmlResource* manifest, IArchiveWriter* writer) { argument 226 if (!xml_flattener.Consume(context_, manifest)) { 303 const xml::XmlResource* manifest = apk->GetManifest(); local 304 if (manifest == nullptr) { 308 Maybe<AppInfo> app_info = ExtractAppInfoFromBinaryManifest(*manifest, context->GetDiagnostics());
|
H A D | Link.cpp | 792 std::unique_ptr<Asset> manifest( 794 if (manifest == nullptr) { 801 xml::Inflate(manifest->getBuffer(true /*wordAligned*/), manifest->getLength(), &error); 932 // Make sure the first element is <manifest> with package attribute. 940 if (!manifest_el->namespace_uri.empty() || manifest_el->name != "manifest") { 941 diag->Error(DiagMessage(xml_res->file.source) << "root tag must be <manifest>"); 948 << "<manifest> must have a 'package' attribute"); 1574 bool WriteApk(IArchiveWriter* writer, proguard::KeepSet* keep_set, xml::XmlResource* manifest, argument 1577 bool result = FlattenXml(context_, *manifest, "AndroidManifes [all...] |
/frameworks/base/tools/aapt2/configuration/ |
H A D | ConfigurationParser.h | 66 // TODO: Encapsulate manifest modifications from the configuration file. 78 Maybe<AndroidManifest> manifest; member in struct:aapt::configuration::AndroidSdk 90 lhs.manifest == rhs.manifest;
|
/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/tools/aapt/ |
H A D | Resource.cpp | 249 if (strcmp16(block.getElementName(&len), String16("manifest").string()) != 0) { 250 fprintf(stderr, "%s:%d: Invalid start tag %s, expected <manifest>\n", 258 fprintf(stderr, "%s:%d: <manifest> does not have package attribute.\n", 859 root = root->searchElement(String16(), String16("manifest")); 861 fprintf(stderr, "No <manifest> tag.\n"); 961 // Deal with manifest package name overrides 967 fprintf(stderr, "package name is required with --rename-manifest-package.\n"); 997 // Deal with manifest package name overrides 1091 if (tag != "manifest") { 1127 fprintf(stderr, "ERROR: no <manifest> ta 1207 sp<XMLNode> manifest = XMLNode::newElement(filename, String16(), String16("manifest")); local [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | ... META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class ... |