Lines Matching refs:GetDiagnostics

134   IDiagnostics* GetDiagnostics() override {  in GetDiagnostics()  function in aapt::LinkContext
229 context_->GetDiagnostics()->Error(DiagMessage() << "Failed to rewrite " << name in FindByName()
235 context_->GetDiagnostics()->Note(DiagMessage() << "rewriting " << name << " (" << *id in FindByName()
262 context->GetDiagnostics()->Note(DiagMessage(path) << "writing to archive (keep_raw_values=" in FlattenXml()
460 context_->GetDiagnostics()->Note(DiagMessage() << "linking " << src.path); in LinkAndVersionXmlFile()
526 context_->GetDiagnostics()->Error(DiagMessage(file_ref->GetSource()) in Flatten()
542 context_->GetDiagnostics()->Error(DiagMessage(file->GetSource()) in Flatten()
548 context_->GetDiagnostics(), file->GetSource()); in Flatten()
582 context_->GetDiagnostics()->Note(DiagMessage(doc->file.source) in Flatten()
591 context_->GetDiagnostics()); in Flatten()
699 context_->GetDiagnostics()->Note(DiagMessage(path) << "loading include path"); in LoadSymbolsFromIncludePaths()
709 context_->GetDiagnostics()->Error( in LoadSymbolsFromIncludePaths()
723 context_->GetDiagnostics()->Error(DiagMessage(path) in LoadSymbolsFromIncludePaths()
736 context_->GetDiagnostics()->Error(DiagMessage(path) << error_str); in LoadSymbolsFromIncludePaths()
741 context_->GetDiagnostics()->Error(DiagMessage(path) << "failed to load include path"); in LoadSymbolsFromIncludePaths()
840 context_->GetDiagnostics()->Warn(DiagMessage(config_value->value->GetSource()) in VerifyNoExternalPackages()
845 context_->GetDiagnostics()->Error(DiagMessage(config_value->value->GetSource()) in VerifyNoExternalPackages()
870 context_->GetDiagnostics()->Error(DiagMessage() << "type " << type->type << " has ID " in VerifyNoIdsSet()
879 context_->GetDiagnostics()->Error( in VerifyNoIdsSet()
892 return CreateDirectoryArchiveWriter(context_->GetDiagnostics(), out); in MakeArchiveWriter()
894 return CreateZipFileArchiveWriter(context_->GetDiagnostics(), out); in MakeArchiveWriter()
902 context_->GetDiagnostics()->Error(DiagMessage() << "failed to flatten resource table"); in FlattenTable()
926 context_->GetDiagnostics()->Error(DiagMessage() << "failed to create directory '" << out_path
935 context_->GetDiagnostics()->Error(DiagMessage()
946 context_->GetDiagnostics()->Error(
955 context_->GetDiagnostics()->Error(DiagMessage(out_path) << generator.getError());
960 context_->GetDiagnostics()->Error(DiagMessage()
973 GenerateManifestClass(context_->GetDiagnostics(), manifest_xml); in WriteManifestJavaFile()
998 context_->GetDiagnostics()->Error(DiagMessage() << "failed to create directory '" << out_path in WriteManifestJavaFile()
1007 context_->GetDiagnostics()->Error(DiagMessage() in WriteManifestJavaFile()
1014 context_->GetDiagnostics()->Error(DiagMessage() in WriteManifestJavaFile()
1030 context_->GetDiagnostics()->Error(DiagMessage() in WriteProguardFile()
1038 context_->GetDiagnostics()->Error(DiagMessage() in WriteProguardFile()
1064 context_->GetDiagnostics()); in LoadTablePbFromCollection()
1069 context_->GetDiagnostics()->Note(DiagMessage() << "merging static library " << input); in MergeStaticLibrary()
1076 context_->GetDiagnostics()->Error(DiagMessage(input) << error_str); in MergeStaticLibrary()
1082 context_->GetDiagnostics()->Error(DiagMessage(input) << "invalid static library"); in MergeStaticLibrary()
1088 context_->GetDiagnostics()->Error(DiagMessage(input) << "static library has no package"); in MergeStaticLibrary()
1128 context_->GetDiagnostics()->Note(DiagMessage() << "merging resource table " in MergeResourceTable()
1134 context_->GetDiagnostics()->Error(DiagMessage(file->GetSource()) << "failed to open file"); in MergeResourceTable()
1139 LoadTableFromPb(file->GetSource(), data->data(), data->size(), context_->GetDiagnostics()); in MergeResourceTable()
1155 context_->GetDiagnostics()->Note(DiagMessage() << "merging '" << file_desc->name in MergeCompiledFile()
1189 context_->GetDiagnostics()); in MergeCompiledFile()
1208 context_->GetDiagnostics()->Note(DiagMessage() << "merging archive " << input); in MergeArchive()
1215 context_->GetDiagnostics()->Error(DiagMessage(input) << error_str); in MergeArchive()
1280 context_->GetDiagnostics()->Error(DiagMessage(src) << "failed to open"); in MergeFile()
1287 context_->GetDiagnostics()->Error(DiagMessage(src) << "failed read num files"); in MergeFile()
1294 context_->GetDiagnostics()->Error(DiagMessage(src) in MergeFile()
1301 context_->GetDiagnostics()->Error(DiagMessage(src) << "failed to read data meta data"); in MergeFile()
1306 compiled_file, file->GetSource(), context_->GetDiagnostics()); in MergeFile()
1321 context_->GetDiagnostics()->Error(DiagMessage(src) << "uncompiled " << file_type in MergeFile()
1337 file::FindFiles(assets_dir, context_->GetDiagnostics(), nullptr); in CopyAssetsDirsToApk()
1352 context_->GetDiagnostics()->Warn(DiagMessage(iter->second->GetSource()) in CopyAssetsDirsToApk()
1399 context_->GetDiagnostics()->Error(DiagMessage() << "failed linking file resources"); in WriteApk()
1409 context_->GetDiagnostics()->Error(DiagMessage() << "failed to write resources.arsc"); in WriteApk()
1419 LoadXml(options_.manifest_path, context_->GetDiagnostics()); in Run()
1426 ExtractAppInfoFromManifest(manifest_xml.get(), context_->GetDiagnostics())) { in Run()
1437 ExtractAppInfoFromManifest(manifest_xml.get(), context_->GetDiagnostics()); in Run()
1453 context_->GetDiagnostics()->Error( in Run()
1468 context_->GetDiagnostics()->Note(DiagMessage() in Run()
1476 context_->GetDiagnostics()->Error(DiagMessage() << "failed parsing input"); in Run()
1483 context_->GetDiagnostics()->Error(DiagMessage() << "failed parsing overlays"); in Run()
1495 context_->GetDiagnostics()->Error(DiagMessage() << "failed moving private attributes"); in Run()
1502 context_->GetDiagnostics()->Error(DiagMessage() << "failed assigning IDs"); in Run()
1519 if (!WriteStableIdMapToPath(context_->GetDiagnostics(), options_.stable_id_map, in Run()
1547 context_->GetDiagnostics()->Note(DiagMessage() in Run()
1556 context_->GetDiagnostics()->Error(DiagMessage() << "failed linking references"); in Run()
1562 context_->GetDiagnostics()->Warn(DiagMessage() in Run()
1568 context_->GetDiagnostics()->Error(DiagMessage() << "failed stripping products"); in Run()
1576 context_->GetDiagnostics()->Error(DiagMessage() << "failed versioning styles"); in Run()
1583 context_->GetDiagnostics()->Note(DiagMessage() in Run()
1597 context_->GetDiagnostics()->Error(DiagMessage() << "failed deduping resources"); in Run()
1608 context_->GetDiagnostics()->Warn(DiagMessage() in Run()
1628 context_->GetDiagnostics()->Note(DiagMessage(*path_iter) in Run()
1636 context_->GetDiagnostics()->Error(DiagMessage() << "failed to create archive"); in Run()
1646 context_->GetDiagnostics()->Error(DiagMessage() in Run()
1664 context_->GetDiagnostics()->Error(DiagMessage() << "failed to create archive"); in Run()
1711 context_->GetDiagnostics()->Error(DiagMessage() << "failed processing manifest"); in Run()
1981 context.GetDiagnostics()->Error(DiagMessage(path) << error); in Link()
1995 context.GetDiagnostics()->Error(DiagMessage(path) << error); in Link()
2008 context.GetDiagnostics()->Error(DiagMessage() in Link()
2026 context.GetDiagnostics()->Error( in Link()
2033 context.GetDiagnostics()->Error(DiagMessage() << "package ID '" << package_id.value() in Link()
2040 context.GetDiagnostics()->Error( in Link()
2066 filter = ParseConfigFilterParameters(configs, context.GetDiagnostics()); in Link()
2075 ParseTargetDensityParameter(preferred_density.value(), context.GetDiagnostics()); in Link()
2086 if (!ParseSplitParameter(split_arg, context.GetDiagnostics(), &options.split_paths.back(), in Link()
2093 if (!LoadStableIdMap(context.GetDiagnostics(), stable_id_file_path.value(), in Link()