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()
124 io::IFile* manifest_file = collection->FindFile(kAndroidManifestPath); in LoadProtoApkFromFileCollection()
126 diag->Error(DiagMessage(source) << "failed to find " << kAndroidManifestPath); in LoadProtoApkFromFileCollection()
132 diag->Error(DiagMessage(source) << "failed to open " << kAndroidManifestPath); in LoadProtoApkFromFileCollection()
139 diag->Error(DiagMessage(source) << "failed to read proto " << kAndroidManifestPath); in LoadProtoApkFromFileCollection()
147 << "failed to deserialize proto " << kAndroidManifestPath << ": " << error); in LoadProtoApkFromFileCollection()
173 io::IFile* manifest_file = collection->FindFile(kAndroidManifestPath); in LoadBinaryApkFromFileCollection()
175 diag->Error(DiagMessage(source) << "failed to find " << kAndroidManifestPath); in LoadBinaryApkFromFileCollection()
181 diag->Error(DiagMessage(source) << "failed to open " << kAndroidManifestPath); in LoadBinaryApkFromFileCollection()
190 << "failed to parse binary " << kAndroidManifestPath << ": " << error); in LoadBinaryApkFromFileCollection()
DLoadedApk.h34 constexpr static const char kAndroidManifestPath[] = "AndroidManifest.xml"; variable
/frameworks/base/tools/aapt2/cmd/
DConvert.cpp272 io::IFile* manifest = apk->GetFileCollection()->FindFile(kAndroidManifestPath); in Convert()
273 if (!serializer->SerializeXml(apk->GetManifest(), kAndroidManifestPath, true /*utf16*/, in Convert()
329 if (path == kAndroidManifestPath || in Convert()
DLink.cpp244 options.remove_empty_text_nodes = (path == kAndroidManifestPath); in FlattenXml()
760 assets->OpenNonAsset(kAndroidManifestPath, cookie, Asset::AccessMode::ACCESS_BUFFER)); in ExtractCompileSdkVersions()
1576 bool result = FlattenXml(context_, *manifest, kAndroidManifestPath, keep_raw_values, in WriteApk()