/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;
|
MultiApkGenerator_test.cpp | 25 #include "ResourceTable.h" 61 std::unique_ptr<ResourceTable> FilterTable(IAaptContext* context, 63 const ResourceTable& old_table, 72 std::unique_ptr<ResourceTable> BuildTable() { 84 inline FileReference* ValueForConfig(ResourceTable* table, const ConfigDescription& config) { 105 std::unique_ptr<ResourceTable> table = BuildTable(); 114 std::unique_ptr<ResourceTable> split = 117 ResourceTable* new_table = split.get(); 132 std::unique_ptr<ResourceTable> table = BuildTable(); 141 std::unique_ptr<ResourceTable> split [all...] |
MultiApkGenerator.h | 53 virtual std::unique_ptr<ResourceTable> FilterTable(IAaptContext* context, 55 const ResourceTable& old_table,
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/ |
ParallelUniverseInterface.java | 6 import org.robolectric.res.ResourceTable; 14 ResourceTable compiletimeResourceTable, 15 ResourceTable appResourceTable, 16 ResourceTable systemResourceTable);
|
/frameworks/base/tools/aapt2/link/ |
NoDefaultResourceRemover.h | 37 bool Consume(IAaptContext* context, ResourceTable* table) override;
|
TableMerger.h | 26 #include "ResourceTable.h" 56 // Note: The out_table ResourceTable must live longer than this TableMerger. 57 // References are made to this ResourceTable for efficiency reasons. 58 TableMerger(IAaptContext* context, ResourceTable* out_table, const TableMergerOptions& options); 66 bool Merge(const Source& src, ResourceTable* table, bool overlay); 70 bool MergeAndMangle(const Source& src, const android::StringPiece& package, ResourceTable* table); 79 ResourceTable* master_table_; 84 bool MergeImpl(const Source& src, ResourceTable* src_table, bool overlay, bool allow_new); 86 bool DoMerge(const Source& src, ResourceTable* src_table, ResourceTablePackage* src_package,
|
TableMerger_test.cpp | 54 std::unique_ptr<ResourceTable> table_a = 64 std::unique_ptr<ResourceTable> table_b = test::ResourceTableBuilder() 69 ResourceTable final_table; 90 ResourceTable final_table; 110 ResourceTable final_table; 128 std::unique_ptr<ResourceTable> table_a = 133 std::unique_ptr<ResourceTable> table_b = 139 ResourceTable final_table; 157 std::unique_ptr<ResourceTable> base = 162 std::unique_ptr<ResourceTable> overlay [all...] |
Linkers.h | 33 class ResourceTable; 57 bool Consume(IAaptContext* context, ResourceTable* table) override; 87 bool Consume(IAaptContext* context, ResourceTable* table) override; 106 bool Consume(IAaptContext* context, ResourceTable* table) override;
|
/frameworks/base/tools/aapt2/ |
Debug.h | 24 #include "ResourceTable.h" 36 static void PrintTable(const ResourceTable& table, const DebugPrintTableOptions& options, 38 static void PrintStyleGraph(ResourceTable* table, const ResourceName& target_style);
|
LoadedApk.h | 22 #include "ResourceTable.h" 60 std::unique_ptr<ResourceTable> table, std::unique_ptr<xml::XmlResource> manifest, 73 const ResourceTable* GetResourceTable() const { 77 ResourceTable* GetResourceTable() { 105 virtual bool WriteToArchive(IAaptContext* context, ResourceTable* split_table, 115 std::unique_ptr<ResourceTable> table_;
|
ResourceTable_test.cpp | 17 #include "ResourceTable.h" 35 ResourceTable table; 49 ResourceTable table; 57 ResourceTable table; 68 ResourceTable table; 103 ResourceTable table; 122 ResourceTable table; 137 ResourceTable table; 151 Maybe<ResourceTable::SearchResult> sr = 172 static ::testing::AssertionResult VisibilityOfResource(const ResourceTable& table [all...] |
ResourceTable.cpp | 17 #include "ResourceTable.h" 57 ResourceTablePackage* ResourceTable::FindPackage(const StringPiece& name) const { 67 ResourceTablePackage* ResourceTable::FindPackageById(uint8_t id) const { 76 ResourceTablePackage* ResourceTable::CreatePackage(const StringPiece& name, Maybe<uint8_t> id) { 89 ResourceTablePackage* ResourceTable::CreatePackageAllowingDuplicateNames(const StringPiece& name, 105 ResourceTablePackage* ResourceTable::FindOrCreatePackage(const StringPiece& name) { 252 ResourceTable::CollisionResult ResourceTable::ResolveValueCollision(Value* existing, 319 bool ResourceTable::AddResource(const ResourceNameRef& name, 328 bool ResourceTable::AddResourceWithId(const ResourceNameRef& name, const ResourceId& res_id [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_;
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/ |
RuntimeEnvironment.java | 12 import org.robolectric.res.ResourceTable; 24 private static ResourceTable systemResourceTable; 25 private static ResourceTable appResourceTable; 26 private static ResourceTable compileTimeResourceTable; 169 public static void setSystemResourceTable(ResourceTable systemResourceTable) { 173 public static void setAppResourceTable(ResourceTable appResourceTable) { 177 public static ResourceTable getSystemResourceTable() { 181 public static ResourceTable getAppResourceTable() { 185 public static void setCompileTimeResourceTable(ResourceTable compileTimeResourceTable) { 189 public static ResourceTable getCompileTimeResourceTable() [all...] |
/frameworks/base/tools/aapt2/process/ |
IResourceTableConsumer.h | 32 class ResourceTable; 58 virtual bool Consume(IAaptContext* context, ResourceTable* table) = 0;
|
/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/format/proto/ |
ProtoSerialize.h | 24 #include "ResourceTable.h" 54 // Serializes a ResourceTable into its protobuf representation. 55 void SerializeTableToPb(const ResourceTable& table, pb::ResourceTable* out_table, 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));
|
/frameworks/base/tools/aapt2/format/binary/ |
TableFlattener.h | 22 #include "ResourceTable.h" 54 bool Consume(IAaptContext* context, ResourceTable* table) override;
|
/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);
|