/frameworks/base/tools/aapt2/ |
H A D | LoadedApk.h | 64 table_(std::move(table)), 74 return table_.get(); 78 return table_.get(); 115 std::unique_ptr<ResourceTable> table_; member in class:aapt::LoadedApk
|
H A D | ResourceParser_test.cpp | 71 ResourceParser parser(context_->GetDiagnostics(), &table_, Source{"test"}, config, 87 ResourceTable table_; member in class:aapt::ResourceParserTest 94 String* str = test::GetValue<String>(&table_, "string/foo"); 100 str = test::GetValue<String>(&table_, "string/bar"); 105 str = test::GetValue<String>(&table_, "string/baz"); 113 String* str = test::GetValue<String>(&table_, "string/foo"); 119 str = test::GetValue<String>(&table_, "string/bar"); 136 StyledString* str = test::GetValue<StyledString>(&table_, "string/foo"); 155 String* str = test::GetValue<String>(&table_, "string/foo"); 162 str = test::GetValue<String>(&table_, "strin [all...] |
H A D | ResourceParser.h | 111 ResourceTable* table_; member in class:aapt::ResourceParser
|
H A D | ResourceParser.cpp | 170 table_(table), 462 if (!AddResourcesToTable(table_, diag_, &parsed_resource)) { 469 if (!table_->FindResource(stripped_resource)) { 735 util::make_unique<StyledString>(table_->string_pool.MakeRef( 746 table_->AddResource(name, {}, {}, std::move(id), diag_); 764 table_->string_pool.MakeRef(style_string.str, StringPool::Context(config_))); 777 table_->string_pool.MakeRef(raw_value, StringPool::Context(config_)));
|
H A D | LoadedApk.cpp | 163 return WriteToArchive(context, table_.get(), options, &empty, writer);
|
/frameworks/base/tools/aapt2/test/ |
H A D | Builders.cpp | 38 ResourceTablePackage* package = table_->CreatePackage(package_name, id); 72 return AddValue(name, id, util::make_unique<String>(table_->string_pool.MakeRef(str))); 78 return AddValue(name, config, id, util::make_unique<String>(table_->string_pool.MakeRef(str))); 91 auto file_ref = util::make_unique<FileReference>(table_->string_pool.MakeRef(path)); 100 auto file_ref = util::make_unique<FileReference>(table_->string_pool.MakeRef(path)); 120 CHECK(table_->AddResourceWithIdMangled(res_name, id, config, {}, std::move(value), 132 CHECK(table_->SetVisibilityWithIdMangled(res_name, visibility, id, GetDiagnostics())); 133 CHECK(table_->SetAllowNewMangled(res_name, AllowNew{}, GetDiagnostics())); 138 return &table_->string_pool; 142 return std::move(table_); [all...] |
H A D | Builders.h | 79 std::unique_ptr<ResourceTable> table_ = util::make_unique<ResourceTable>(); member in class:aapt::test::ResourceTableBuilder
|
/frameworks/base/tools/aapt2/format/binary/ |
H A D | BinaryResourceParser.cpp | 79 : diag_(diag), table_(table), source_(source), data_(data), data_len_(len), files_(files) { 136 table_->string_pool.HintWillAdd(value_pool_.size(), value_pool_.styleCount()); 187 table_->CreatePackage(util::Utf16ToUtf8(package_name), static_cast<uint8_t>(package_id)); 259 VisitAllValuesInTable(table_, &visitor); 378 if (!table_->AddResourceWithIdMangled(name, res_id, config, {}, std::move(resource_value), 390 if (!table_->SetVisibilityWithIdMangled(name, visibility, res_id, diag_)) { 398 if (!table_->SetOverlayableMangled(name, overlayable, diag_)) { 427 table_->included_packages_[entries.valueAt(i)] = 437 value, &table_->string_pool);
|
H A D | BinaryResourceParser.h | 84 ResourceTable* table_; member in class:aapt::BinaryResourceParser
|
/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.h | 115 ResourceTable* table_; member in class:aapt::JavaClassGenerator
|
H A D | JavaClassGenerator.cpp | 192 : context_(context), table_(table), options_(options) {} 593 for (const auto& package : table_->packages) {
|
/frameworks/base/tools/aapt2/process/ |
H A D | SymbolTable.h | 175 explicit ResourceTableSymbolSource(ResourceTable* table) : table_(table) {} 185 ResourceTable* table_; member in class:aapt::ResourceTableSymbolSource
|
H A D | SymbolTable.cpp | 181 Maybe<ResourceTable::SearchResult> result = table_->FindResource(name);
|