/frameworks/base/tools/aapt2/ |
D | ResourceTable_test.cpp | 43 test::GetDiagnostics())); in TEST() 47 test::GetDiagnostics())); in TEST() 57 test::GetDiagnostics())); in TEST() 67 test::GetDiagnostics())); in TEST() 82 test::GetDiagnostics())); in TEST() 88 test::GetDiagnostics())); in TEST() 94 test::GetDiagnostics())); in TEST() 103 test::GetDiagnostics())); in TEST() 116 test::GetDiagnostics())); in TEST() 125 test::GetDiagnostics())); in TEST() [all …]
|
D | ResourceUtils_test.cpp | 221 EXPECT_THAT(ResourceUtils::TryParseItemForAttribute(context->GetDiagnostics(), " 12\n ", in TEST() 224 EXPECT_THAT(ResourceUtils::TryParseItemForAttribute(context->GetDiagnostics(), " true\n ", in TEST() 230 EXPECT_THAT(ResourceUtils::TryParseItemForAttribute(context->GetDiagnostics(), " 12.0\n ", in TEST() 239 EXPECT_THAT(ResourceUtils::TryParseItemForAttribute(context->GetDiagnostics(), "0.125", in TEST() 245 EXPECT_THAT(ResourceUtils::TryParseItemForAttribute(context->GetDiagnostics(), "1.0", in TEST() 249 EXPECT_EQ(ResourceUtils::TryParseItemForAttribute(context->GetDiagnostics(), "1099511627776", in TEST() 255 EXPECT_THAT(ResourceUtils::TryParseItemForAttribute(context->GetDiagnostics(), "1099511627776", in TEST()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Dump.cpp | 85 android::IDiagnostics* GetDiagnostics() override { in GetDiagnostics() function in aapt::__anon00f61fca0111::DumpContext 149 context.GetDiagnostics()->Error(android::DiagMessage(container) in Action() 158 context.GetDiagnostics()->Error(android::DiagMessage(container) in Action() 173 context.GetDiagnostics()->Error(android::DiagMessage(container) in Action() 182 context.GetDiagnostics()->Error(android::DiagMessage(container) in Action() 197 context.GetDiagnostics()->Error(android::DiagMessage(container) in Action() 206 context.GetDiagnostics()->Warn(android::DiagMessage(container) in Action() 231 GetDiagnostics()->Error(android::DiagMessage() << "Failed to retrieve resource table"); in Dump() 271 GetDiagnostics()->Error(android::DiagMessage() << "Failed to retrieve resource table"); in Dump() 277 android::StringPool::FlattenUtf8(&buffer, table->string_pool, GetDiagnostics()); in Dump() [all …]
|
D | Compile.cpp | 162 context->GetDiagnostics()->Error(android::DiagMessage(path_data.source) in CompileTable() 179 ResourceParser res_parser(context->GetDiagnostics(), &table, path_data.source, path_data.config, in CompileTable() 188 context->GetDiagnostics()->Error(android::DiagMessage(path_data.source) in CompileTable() 221 context->GetDiagnostics()->Error(android::DiagMessage(output_path) << "failed to open"); in CompileTable() 232 SerializeTableToPb(table, &pb_table, context->GetDiagnostics()); in CompileTable() 234 context->GetDiagnostics()->Error(android::DiagMessage(output_path) << "failed to write"); in CompileTable() 240 context->GetDiagnostics()->Error(android::DiagMessage(output_path) << "failed to finish entry"); in CompileTable() 248 context->GetDiagnostics()->Error(android::DiagMessage() in CompileTable() 364 context->GetDiagnostics()->Error(android::DiagMessage(input_path) in IsValidFile() 367 context->GetDiagnostics()->Error(android::DiagMessage(input_path) << "file not found"); in IsValidFile() [all …]
|
D | Convert.cpp | 103 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 111 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 119 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 127 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 135 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 166 SerializeTableToPb(*table, &pb_table, context_->GetDiagnostics()); in SerializeTable() 175 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 183 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 190 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() 198 context_->GetDiagnostics()->Error(android::DiagMessage(source_) in SerializeFile() [all …]
|
D | Link.cpp | 115 android::IDiagnostics* GetDiagnostics() override { in GetDiagnostics() function in aapt::LinkContext 222 context_->GetDiagnostics()->Error(android::DiagMessage() in FindByName() 229 context_->GetDiagnostics()->Note(android::DiagMessage() in FindByName() 251 context->GetDiagnostics()->Note(android::DiagMessage(path) in FlattenXml() 462 context_->GetDiagnostics()->Note(android::DiagMessage() in LinkAndVersionXmlFile() 553 context_->GetDiagnostics()->Error(android::DiagMessage(file_ref->GetSource()) in Flatten() 569 context_->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) in Flatten() 577 context_->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) in Flatten() 585 context_->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) in Flatten() 593 context_->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) in Flatten() [all …]
|
D | Optimize.cpp | 75 android::IDiagnostics* GetDiagnostics() override { in GetDiagnostics() function in aapt::OptimizeContext 137 context_->GetDiagnostics()->Note(android::DiagMessage() << "Optimizing APK..."); in Run() 142 context_->GetDiagnostics()->Error(android::DiagMessage() << "failed filtering resources"); in Run() 154 context_->GetDiagnostics()->Error(android::DiagMessage() << "failed deduping resources"); in Run() 161 context_->GetDiagnostics()->Error(android::DiagMessage() in Run() 168 context_->GetDiagnostics()->Error(android::DiagMessage() in Run() 177 context_->GetDiagnostics()->Error(android::DiagMessage() in Run() 200 context_->GetDiagnostics()->Note(android::DiagMessage(*path_iter) in Run() 210 CreateZipFileArchiveWriter(context_->GetDiagnostics(), *path_iter); in Run() 235 CreateZipFileArchiveWriter(context_->GetDiagnostics(), options_.output_path.value()); in Run() [all …]
|
D | Util_test.cpp | 359 auto diagnostics = test::ContextBuilder().Build()->GetDiagnostics(); in TEST() 366 auto diagnostics = test::ContextBuilder().Build()->GetDiagnostics(); in TEST() 372 auto diagnostics = test::ContextBuilder().Build()->GetDiagnostics(); in TEST() 378 auto diagnostics = test::ContextBuilder().Build()->GetDiagnostics(); in TEST() 384 auto diagnostics = test::ContextBuilder().Build()->GetDiagnostics(); in TEST() 393 auto diagnostics = test::ContextBuilder().Build()->GetDiagnostics(); in TEST() 406 android::IDiagnostics* diagnostics = context.get()->GetDiagnostics(); in TEST()
|
D | Dump.h | 46 android::IDiagnostics* GetDiagnostics() { in GetDiagnostics() function 53 GetDiagnostics()->Error(android::DiagMessage() << "No AndroidManifest."); in GetPackageName() 59 GetDiagnostics()->Error(android::DiagMessage() << "No package name."); in GetPackageName() 144 return DumpManifest(apk, options_, GetPrinter(), GetDiagnostics()); in Dump() 181 return DumpManifest(apk, options, GetPrinter(), GetDiagnostics()); in Dump()
|
/frameworks/base/tools/aapt2/process/ |
D | ProductFilter_test.cpp | 37 context->GetDiagnostics())); in TEST() 44 context->GetDiagnostics())); in TEST() 51 context->GetDiagnostics())); in TEST() 58 context->GetDiagnostics())); in TEST() 79 context->GetDiagnostics())); in TEST() 86 context->GetDiagnostics())); in TEST() 108 context->GetDiagnostics())); in TEST() 115 context->GetDiagnostics())); in TEST() 122 context->GetDiagnostics())); in TEST() 136 context->GetDiagnostics())); in TEST() [all …]
|
D | IResourceTableConsumer.h | 48 virtual android::IDiagnostics* GetDiagnostics() = 0;
|
/frameworks/base/tools/aapt2/optimize/ |
D | MultiApkGenerator.cpp | 68 android::IDiagnostics* GetDiagnostics() override { in GetDiagnostics() function in aapt::ContextWrapper 72 return context_->GetDiagnostics(); in GetDiagnostics() 101 context_->GetDiagnostics()); in SetSource() 146 context_->GetDiagnostics()->Note(android::DiagMessage(artifact.name) in FromBaseApk() 162 android::IDiagnostics* diag = wrapped_context.GetDiagnostics(); in FromBaseApk() 197 context_->GetDiagnostics() in FromBaseApk() 201 context_->GetDiagnostics()->Error(android::DiagMessage() << kept_artifacts.size() << " kept:"); in FromBaseApk() 203 context_->GetDiagnostics()->Error(android::DiagMessage() << " " << artifact); in FromBaseApk() 206 context_->GetDiagnostics()->Error(android::DiagMessage() in FromBaseApk() 209 context_->GetDiagnostics()->Error(android::DiagMessage() << " " << artifact); in FromBaseApk() [all …]
|
D | MultiApkGenerator.h | 60 android::IDiagnostics* GetDiagnostics() { in GetDiagnostics() function 61 return context_->GetDiagnostics(); in GetDiagnostics()
|
D | VersionCollapser.cpp | 107 context->GetDiagnostics()->Note(android::DiagMessage() in CollapseVersions() 137 context->GetDiagnostics()->Note(android::DiagMessage() in CollapseVersions() 164 context->GetDiagnostics()->Note(android::DiagMessage() in Consume()
|
D | ResourceDeduper.cpp | 80 context_->GetDiagnostics()->Note(android::DiagMessage(node_value->value->GetSource()) in VisitConfig() 83 context_->GetDiagnostics()->Note(android::DiagMessage(parent_value->value->GetSource()) in VisitConfig()
|
/frameworks/base/tools/aapt2/io/ |
D | Util.cpp | 34 context->GetDiagnostics()->Note(android::DiagMessage() in CopyInputStreamToArchive() 39 context->GetDiagnostics()->Error(android::DiagMessage() in CopyInputStreamToArchive() 52 context->GetDiagnostics()->Error(android::DiagMessage(file->GetSource()) in CopyFileToArchive() 70 context->GetDiagnostics()->Note(android::DiagMessage() in CopyProtoToArchive() 80 context->GetDiagnostics()->Error(android::DiagMessage() in CopyProtoToArchive() 90 context->GetDiagnostics()->Error(android::DiagMessage() << "failed to write " << out_path in CopyProtoToArchive()
|
/frameworks/base/tools/aapt2/compile/ |
D | InlineXmlFormatParser.cpp | 54 context_->GetDiagnostics()->Error(android::DiagMessage(src) << "missing 'name' attribute"); in Visit() 61 context_->GetDiagnostics()->Error(android::DiagMessage(src) in Visit() 70 context_->GetDiagnostics()->Error(android::DiagMessage(src) in Visit() 142 context->GetDiagnostics()->Error(android::DiagMessage(child_source) in Consume() 147 context->GetDiagnostics()->Error(android::DiagMessage(child_source) in Consume() 163 context->GetDiagnostics()->Error(android::DiagMessage(new_doc->file.source) in Consume()
|
D | IdAssigner_test.cpp | 169 context->GetDiagnostics())); in TEST_F() 181 context->GetDiagnostics())); in TEST_F() 190 context->GetDiagnostics())); in TEST_F() 195 context->GetDiagnostics())); in TEST_F()
|
D | IdAssigner.cpp | 133 context->GetDiagnostics())) { in Consume() 140 context->GetDiagnostics())) { in Consume() 150 context->GetDiagnostics())) { in Consume() 167 context->GetDiagnostics())) { in Consume() 182 auto id = assigned_ids.NextId(name, context->GetDiagnostics()); in Consume()
|
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.cpp | 75 context_->GetDiagnostics()->Warn(android::DiagMessage(src) in MergeAndMangle() 101 context->GetDiagnostics()->Error(android::DiagMessage(src) in MergeEntry() 119 context->GetDiagnostics()->Error(android::DiagMessage(src) in MergeEntry() 145 context->GetDiagnostics()->Error( in MergeEntry() 148 context->GetDiagnostics()->Error( in MergeEntry() 161 context->GetDiagnostics()->Error(android::DiagMessage(src_entry->staged_id.value().source) in MergeEntry() 164 context->GetDiagnostics()->Error(android::DiagMessage(dst_entry->staged_id.value().source) in MergeEntry() 224 context->GetDiagnostics()->Error(android::DiagMessage(src_value->GetSource()) in MergeConfigValue() 227 context->GetDiagnostics()->Note(android::DiagMessage(dst_value->GetSource()) in MergeConfigValue() 261 context_->GetDiagnostics()->Error(android::DiagMessage(src) in DoMerge() [all …]
|
D | ReferenceLinker.cpp | 84 context_->GetDiagnostics()->Error(android::DiagMessage(value->GetSource()) in TransformDerived() 137 context_->GetDiagnostics()->Error(msg); in TransformDerived() 141 context_->GetDiagnostics()->Error(android::DiagMessage(entry.key.GetSource()) in TransformDerived() 168 context_->GetDiagnostics(), *raw_string->value, attr); in ParseValueWithAttribute() 392 context->GetDiagnostics()->Error( in LinkReference() 421 macro_values[0]->config, *context->GetDiagnostics()); in LinkReference() 423 context->GetDiagnostics()->Error( in LinkReference() 450 context->GetDiagnostics()->Error(android::DiagMessage(reference.GetSource()) in LinkReference() 473 context->GetDiagnostics()->Error(android::DiagMessage(entry->visibility.source) in Consume() 480 context->GetDiagnostics()->Error( in Consume()
|
D | XmlReferenceLinker.cpp | 85 context_->GetDiagnostics()->Error(error_msg); in Visit() 93 attr.compiled_value = ResourceUtils::TryParseItemForAttribute(context_->GetDiagnostics(), in Visit() 104 context_->GetDiagnostics()->Error(msg); in Visit()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoSerialize_test.cpp | 75 SerializeTableToPb(*table, &pb_table, context->GetDiagnostics()); in TEST() 116 context->GetDiagnostics())); in TEST() 127 context->GetDiagnostics())); in TEST() 137 context->GetDiagnostics())); in TEST() 145 context->GetDiagnostics())); in TEST() 152 context->GetDiagnostics())); in TEST() 163 context->GetDiagnostics())); in TEST() 173 context->GetDiagnostics())); in TEST() 176 SerializeTableToPb(*table, &pb_table, context->GetDiagnostics()); in TEST() 274 context->GetDiagnostics(), attr.value, android::ResTable_map::TYPE_DIMENSION); in TEST() [all …]
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener.cpp | 77 diag_(context->GetDiagnostics()), in PackageFlattener() 306 context_->GetDiagnostics()->Error(android::DiagMessage(item.overlayable->source) in FlattenOverlayable() 309 context_->GetDiagnostics()->Error(android::DiagMessage(chunk.source) in FlattenOverlayable() 319 context_->GetDiagnostics()->Error(android::DiagMessage(item.overlayable->source) in FlattenOverlayable() 487 context_->GetDiagnostics()->Warn(android::DiagMessage(item.overlayable->source) in FlattenTypes() 589 context->GetDiagnostics()); in Consume() 603 context->GetDiagnostics()->Error( in Consume()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter_test.cpp | 200 test::GetDiagnostics())); in TEST() 206 test::GetDiagnostics())); in TEST() 212 test::GetDiagnostics())); in TEST()
|