/frameworks/base/tools/aapt2/ |
H A D | LoadedApk.h | 37 : source_(source), apk_(std::move(apk)), table_(std::move(table)) {} 41 ResourceTable* GetResourceTable() { return table_.get(); } 58 std::unique_ptr<ResourceTable> table_; member in class:aapt::LoadedApk
|
H A D | ResourceParser_test.cpp | 62 ResourceParser parser(context_->GetDiagnostics(), &table_, Source{"test"}, config, 72 ResourceTable table_; member in class:aapt::ResourceParserTest 80 String* str = test::GetValue<String>(&table_, "string/foo"); 90 String* str = test::GetValue<String>(&table_, "string/foo"); 111 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); 132 String* str = test::GetValue<String>(&table_, "string/foo"); 140 str = test::GetValue<String>(&table_, "string/foo2"); 151 String* str = test::GetValue<String>(&table_, "string/foo"); 170 String* str = test::GetValue<String>(&table_, "string/foo"); 189 StyledString* str = test::GetValue<StyledString>(&table_, "strin [all...] |
H A D | LoadedApk.cpp | 62 for (auto& pkg : table_->packages) { 98 if (!flattener.Consume(context, table_.get())) {
|
H A D | ResourceParser.h | 110 ResourceTable* table_; member in class:aapt::ResourceParser
|
H A D | ResourceParser.cpp | 146 table_(table), 342 if (!AddResourcesToTable(table_, diag_, &parsed_resource)) { 349 if (!table_->FindResource(stripped_resource)) { 591 util::make_unique<StyledString>(table_->string_pool.MakeRef( 602 table_->AddResource(name, {}, {}, std::move(id), diag_); 621 table_->string_pool.MakeRef(style_string.str, StringPool::Context(config_))); 634 table_->string_pool.MakeRef(raw_value, StringPool::Context(config_)));
|
/frameworks/base/tools/aapt2/test/ |
H A D | Builders.h | 38 StringPool* string_pool() { return &table_->string_pool; } 41 ResourceTablePackage* package = table_->CreatePackage(package_name, id); 73 name, id, util::make_unique<String>(table_->string_pool.MakeRef(str))); 80 table_->string_pool.MakeRef(str))); 91 table_->string_pool.MakeRef(path))); 98 table_->string_pool.MakeRef(path))); 113 CHECK(table_->AddResourceAllowMangled(res_name, id, config, {}, std::move(value), 124 CHECK(table_->SetSymbolStateAllowMangled(res_name, id, symbol, GetDiagnostics())); 128 std::unique_ptr<ResourceTable> Build() { return std::move(table_); } 133 std::unique_ptr<ResourceTable> table_ member in class:aapt::test::ResourceTableBuilder [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | AttributeResolution_test.cpp | 38 ASSERT_EQ(NO_ERROR, table_.add(contents.data(), contents.size(), 43 ResTable table_; member in class:android::AttributeResolutionTest 69 ResTable::Theme theme(table_); 129 ASSERT_TRUE(RetrieveAttributes(&table_, &xml_parser_, attrs.data(), attrs.size(), values.data(), 174 ResTable::Theme theme(table_);
|
/frameworks/base/tools/aapt2/unflatten/ |
H A D | BinaryResourceParser.cpp | 83 table_(table), 152 table_->string_pool.HintWillAdd(value_pool_.size(), 208 ResourceTablePackage* package = table_->CreatePackage( 289 VisitAllValuesInTable(table_, &visitor); 393 if (!table_->AddResourceAllowMangled(name, res_id, config, {}, std::move(resource_value), 402 if (!table_->SetSymbolStateAllowMangled(name, res_id, symbol, context_->GetDiagnostics())) { 426 table_->included_packages_[entries.valueAt(i)] = 436 value, &table_->string_pool);
|
H A D | BinaryResourceParser.h | 98 ResourceTable* table_; member in class:aapt::BinaryResourceParser
|
/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.h | 112 ResourceTable* table_; member in class:aapt::JavaClassGenerator
|
H A D | JavaClassGenerator.cpp | 190 : context_(context), table_(table), options_(options) {} 583 for (const auto& package : table_->packages) {
|
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.h | 174 explicit ResourceTableSymbolSource(ResourceTable* table) : table_(table) {} 184 ResourceTable* table_; member in class:aapt::ResourceTableSymbolSource
|
H A D | SymbolTable.cpp | 180 Maybe<ResourceTable::SearchResult> result = table_->FindResource(name);
|