HomeSort by relevance Sort by last modified time
    Searched refs:ResourceTable (Results 1 - 25 of 102) sorted by null

1 2 3 4 5

  /frameworks/base/tools/aapt/tests/
ResourceTable_test.cpp 21 #include "ResourceTable.h"
27 sp<ResourceTable::ConfigList> configs(new ResourceTable::ConfigList(String16(), SourcePos()));
38 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos()));
39 configs->addEntry(landConfig, new ResourceTable::Entry(String16(), SourcePos()));
40 configs->addEntry(sw600dpLandConfig, new ResourceTable::Entry(String16(), SourcePos()));
42 EXPECT_TRUE(ResourceTable::shouldGenerateVersionedResource(configs, defaultConfig, 17));
43 EXPECT_TRUE(ResourceTable::shouldGenerateVersionedResource(configs, landConfig, 17));
47 sp<ResourceTable::ConfigList> configs(new ResourceTable::ConfigList(String16(), SourcePos()))
    [all...]
  /frameworks/base/tools/aapt2/optimize/
ResourceDeduper.h 26 class ResourceTable;
33 bool Consume(IAaptContext* context, ResourceTable* table) override;
VersionCollapser.h 26 class ResourceTable;
32 bool Consume(IAaptContext* context, ResourceTable* table) override;
  /frameworks/base/tools/aapt2/
Debug.h 24 #include "ResourceTable.h"
34 static void PrintTable(ResourceTable* table,
36 static void PrintStyleGraph(ResourceTable* table,
LoadedApk.h 22 #include "ResourceTable.h"
36 std::unique_ptr<ResourceTable> table)
41 ResourceTable* GetResourceTable() { return table_.get(); }
58 std::unique_ptr<ResourceTable> table_;
ResourceTable_test.cpp 17 #include "ResourceTable.h"
30 ResourceTable table;
44 ResourceTable table;
52 ResourceTable table;
63 ResourceTable table;
99 ResourceTable table;
119 ResourceTable table;
137 Maybe<ResourceTable::SearchResult> sr =
ResourceTable.cpp 17 #include "ResourceTable.h"
44 ResourceTablePackage* ResourceTable::FindPackage(const StringPiece& name) {
54 ResourceTablePackage* ResourceTable::FindPackageById(uint8_t id) {
63 ResourceTablePackage* ResourceTable::CreatePackage(const StringPiece& name, Maybe<uint8_t> id) {
76 ResourceTablePackage* ResourceTable::FindOrCreatePackage(const StringPiece& name) {
229 ResourceTable::CollisionResult ResourceTable::ResolveValueCollision(Value* existing,
300 bool ResourceTable::AddResource(const ResourceNameRef& name,
309 bool ResourceTable::AddResource(const ResourceNameRef& name,
319 bool ResourceTable::AddFileReference(const ResourceNameRef& name
    [all...]
  /frameworks/base/tools/aapt2/link/
TableMerger.h 26 #include "ResourceTable.h"
67 * Note: The out_table ResourceTable must live longer than this TableMerger.
68 * References are made to this ResourceTable for efficiency reasons.
70 TableMerger(IAaptContext* context, ResourceTable* out_table,
82 bool Merge(const Source& src, ResourceTable* table,
86 * Merges resources from an overlay ResourceTable.
90 bool MergeOverlay(const Source& src, ResourceTable* table,
99 bool MergeAndMangle(const Source& src, const android::StringPiece& package, ResourceTable* table,
121 ResourceTable* master_table_;
129 bool MergeImpl(const Source& src, ResourceTable* src_table
    [all...]
TableMerger_test.cpp 53 std::unique_ptr<ResourceTable> table_a =
63 std::unique_ptr<ResourceTable> table_b = test::ResourceTableBuilder()
68 ResourceTable final_table;
90 ResourceTable final_table;
110 ResourceTable final_table;
125 std::unique_ptr<ResourceTable> table_a =
130 std::unique_ptr<ResourceTable> table_b =
136 ResourceTable final_table;
154 std::unique_ptr<ResourceTable> base =
159 std::unique_ptr<ResourceTable> overlay
    [all...]
Linkers.h 32 class ResourceTable;
59 bool Consume(IAaptContext* context, ResourceTable* table) override;
102 bool Consume(IAaptContext* context, ResourceTable* table) override;
121 bool Consume(IAaptContext* context, ResourceTable* table) override;
TableMerger.cpp 21 #include "ResourceTable.h"
31 TableMerger::TableMerger(IAaptContext* context, ResourceTable* out_table,
40 bool TableMerger::Merge(const Source& src, ResourceTable* table,
45 bool TableMerger::MergeOverlay(const Source& src, ResourceTable* table,
53 bool TableMerger::MergeImpl(const Source& src, ResourceTable* table,
98 ResourceTable* table,
190 static ResourceTable::CollisionResult ResolveMergeCollision(Value* existing, Value* incoming,
196 return ResourceTable::CollisionResult::kKeepOriginal;
202 return ResourceTable::CollisionResult::kKeepOriginal;
206 return ResourceTable::ResolveValueCollision(existing, incoming)
    [all...]
  /frameworks/base/tools/aapt2/split/
TableSplitter.h 25 #include "ResourceTable.h"
55 splits_.push_back(util::make_unique<ResourceTable>());
61 void SplitTable(ResourceTable* original_table);
63 std::vector<std::unique_ptr<ResourceTable>>& splits() { return splits_; }
67 std::vector<std::unique_ptr<ResourceTable>> splits_;
TableSplitter_test.cpp 24 std::unique_ptr<ResourceTable> table =
62 std::unique_ptr<ResourceTable> table =
107 std::unique_ptr<ResourceTable> table =
131 ResourceTable* split_one = splitter.splits()[0].get();
132 ResourceTable* split_two = splitter.splits()[1].get();
133 ResourceTable* split_three = splitter.splits()[2].get();
191 ResourceTable table;
215 ResourceTable* split_one = splitter.splits()[0].get();
216 ResourceTable* split_two = splitter.splits()[1].get();
  /frameworks/base/tools/aapt2/process/
IResourceTableConsumer.h 32 class ResourceTable;
58 virtual bool Consume(IAaptContext* context, ResourceTable* table) = 0;
SymbolTable_test.cpp 24 std::unique_ptr<ResourceTable> table =
43 std::unique_ptr<ResourceTable> table =
57 std::unique_ptr<ResourceTable> table =
  /frameworks/base/tools/aapt2/compile/
IdAssigner.h 37 bool Consume(IAaptContext* context, ResourceTable* table) override;
PseudolocaleGenerator.h 30 bool Consume(IAaptContext* context, ResourceTable* table) override;
IdAssigner_test.cpp 23 ::testing::AssertionResult VerifyIds(ResourceTable* table);
26 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder()
41 std::unique_ptr<ResourceTable> table =
62 Maybe<ResourceTable::SearchResult> maybe_result;
95 std::unique_ptr<ResourceTable> table =
110 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder()
122 Maybe<ResourceTable::SearchResult> result =
126 const ResourceTable::SearchResult& search_result = result.value();
132 ::testing::AssertionResult VerifyIds(ResourceTable* table) {
  /frameworks/base/tools/aapt2/flatten/
TableFlattener.h 22 #include "ResourceTable.h"
45 bool Consume(IAaptContext* context, ResourceTable* table) override;
TableFlattener_test.cpp 41 ResourceTable* table, std::string* out_content) {
45 return ::testing::AssertionFailure() << "failed to flatten ResourceTable";
52 ResourceTable* table, ResTable* out_table) {
66 ResourceTable* table, ResourceTable* out_table) {
146 std::unique_ptr<ResourceTable> table =
206 std::unique_ptr<ResourceTable> table =
228 std::unique_ptr<ResourceTable> table =
235 ResourceTable result;
247 static std::unique_ptr<ResourceTable> BuildTableWithSparseEntries
    [all...]
  /frameworks/base/tools/aapt2/proto/
ProtoSerialize.h 25 #include "ResourceTable.h"
66 std::unique_ptr<pb::ResourceTable> SerializeTableToPb(ResourceTable* table);
67 std::unique_ptr<ResourceTable> DeserializeTableFromPb(
68 const pb::ResourceTable& pbTable, const Source& source, IDiagnostics* diag);
  /frameworks/base/tools/aapt2/test/
Common.cpp 45 Value* GetValueForConfigAndProduct<Value>(ResourceTable* table,
49 Maybe<ResourceTable::SearchResult> result = table->FindResource(ParseNameOrDie(res_name));
Common.h 30 #include "ResourceTable.h"
64 T* GetValueForConfigAndProduct(ResourceTable* table, const android::StringPiece& res_name,
67 Maybe<ResourceTable::SearchResult> result = table->FindResource(ParseNameOrDie(res_name));
78 Value* GetValueForConfigAndProduct<Value>(ResourceTable* table,
84 T* GetValueForConfig(ResourceTable* table, const android::StringPiece& res_name,
90 T* GetValue(ResourceTable* table, const android::StringPiece& res_name) {
  /external/icu/icu4c/source/common/
resource.h 76 class U_COMMON_API ResourceTable {
79 ResourceTable() : keys16(NULL), keys32(NULL), items16(NULL), items32(NULL), length(0) {}
82 ResourceTable(const uint16_t *k16, const int32_t *k32,
180 virtual ResourceTable getTable(UErrorCode &errorCode) const = 0;
  /frameworks/base/tools/aapt/
Images.h 10 #include "ResourceTable.h"
24 ResourceTable* table, const sp<AaptFile>& file);

Completed in 254 milliseconds

1 2 3 4 5