Home
last modified time | relevance | path

Searched refs:kAndroidManifestPath (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/
DLoadedApk.cpp45 io::IFile* manifest_file = apk->FindFile(kAndroidManifestPath); in DetermineApkFormat()
126 io::IFile* manifest_file = collection->FindFile(kAndroidManifestPath); in LoadProtoApkFromFileCollection()
128 diag->Error(android::DiagMessage(source) << "failed to find " << kAndroidManifestPath); in LoadProtoApkFromFileCollection()
134 diag->Error(android::DiagMessage(source) << "failed to open " << kAndroidManifestPath); in LoadProtoApkFromFileCollection()
141 diag->Error(android::DiagMessage(source) << "failed to read proto " << kAndroidManifestPath); in LoadProtoApkFromFileCollection()
149 << "failed to deserialize proto " << kAndroidManifestPath << ": " << error); in LoadProtoApkFromFileCollection()
176 io::IFile* manifest_file = collection->FindFile(kAndroidManifestPath); in LoadBinaryApkFromFileCollection()
178 diag->Error(android::DiagMessage(source) << "failed to find " << kAndroidManifestPath); in LoadBinaryApkFromFileCollection()
184 diag->Error(android::DiagMessage(source) << "failed to open " << kAndroidManifestPath); in LoadBinaryApkFromFileCollection()
193 << "failed to parse binary " << kAndroidManifestPath << ": " << error); in LoadBinaryApkFromFileCollection()
DLoadedApk.h34 constexpr static const char kAndroidManifestPath[] = "AndroidManifest.xml"; variable
/frameworks/base/tools/aapt2/cmd/
DConvert.cpp284 io::IFile* manifest = apk->GetFileCollection()->FindFile(kAndroidManifestPath); in Convert()
285 if (!serializer->SerializeXml(apk->GetManifest(), kAndroidManifestPath, true /*utf16*/, in Convert()
341 if (path == kAndroidManifestPath || in Convert()
DLink.cpp276 options.remove_empty_text_nodes = (path == kAndroidManifestPath); in FlattenXml()
785 assets->OpenNonAsset(kAndroidManifestPath, cookie, Asset::AccessMode::ACCESS_BUFFER)); in ExtractCompileSdkVersions()
1850 bool result = FlattenXml(context_, *manifest, kAndroidManifestPath, keep_raw_values, in WriteApk()