/frameworks/base/tools/aapt/tests/ |
D | ResourceTable_test.cpp | 27 sp<ResourceTable::ConfigList> configs(new ResourceTable::ConfigList(String16(), SourcePos())); in TEST() 38 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 39 configs->addEntry(landConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 40 configs->addEntry(sw600dpLandConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 42 EXPECT_TRUE(ResourceTable::shouldGenerateVersionedResource(configs, defaultConfig, 17)); in TEST() 43 EXPECT_TRUE(ResourceTable::shouldGenerateVersionedResource(configs, landConfig, 17)); in TEST() 47 sp<ResourceTable::ConfigList> configs(new ResourceTable::ConfigList(String16(), SourcePos())); in TEST() 58 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 59 configs->addEntry(v21Config, new ResourceTable::Entry(String16(), SourcePos())); in TEST() 60 configs->addEntry(sw600dpV13Config, new ResourceTable::Entry(String16(), SourcePos())); in TEST() [all …]
|
/frameworks/base/tools/aapt2/link/ |
D | TableMerger_test.cpp | 46 std::unique_ptr<ResourceTable> tableA = test::ResourceTableBuilder() in TEST_F() 55 std::unique_ptr<ResourceTable> tableB = test::ResourceTableBuilder() in TEST_F() 60 ResourceTable finalTable; in TEST_F() 82 ResourceTable finalTable; in TEST_F() 103 ResourceTable finalTable; in TEST_F() 118 std::unique_ptr<ResourceTable> tableA = test::ResourceTableBuilder() in TEST_F() 122 std::unique_ptr<ResourceTable> tableB = test::ResourceTableBuilder() in TEST_F() 127 ResourceTable finalTable; in TEST_F() 145 std::unique_ptr<ResourceTable> base = test::ResourceTableBuilder() in TEST_F() 149 std::unique_ptr<ResourceTable> overlay = test::ResourceTableBuilder() in TEST_F() [all …]
|
D | TableMerger.h | 60 TableMerger(IAaptContext* context, ResourceTable* outTable, const TableMergerOptions& options); 70 bool merge(const Source& src, ResourceTable* table, 77 bool mergeOverlay(const Source& src, ResourceTable* table, 84 bool mergeAndMangle(const Source& src, const StringPiece16& package, ResourceTable* table, 103 ResourceTable* mMasterTable; 111 bool mergeImpl(const Source& src, ResourceTable* srcTable, io::IFileCollection* collection, 114 bool doMerge(const Source& src, ResourceTable* srcTable, ResourceTablePackage* srcPackage,
|
D | Linkers.h | 28 class ResourceTable; variable 48 bool consume(IAaptContext* context, ResourceTable* table) override; 78 bool consume(IAaptContext* context, ResourceTable* table) override;
|
D | TableMerger.cpp | 28 TableMerger::TableMerger(IAaptContext* context, ResourceTable* outTable, in TableMerger() 37 bool TableMerger::merge(const Source& src, ResourceTable* table, in merge() 42 bool TableMerger::mergeOverlay(const Source& src, ResourceTable* table, in mergeOverlay() 50 bool TableMerger::mergeImpl(const Source& src, ResourceTable* table, in mergeImpl() 99 ResourceTable* table, io::IFileCollection* collection) { in mergeAndMangle() 133 ResourceTable* srcTable, in doMerge() 222 const int collisionResult = ResourceTable::resolveValueCollision( in doMerge() 295 ResourceTable table; in mergeFileImpl()
|
D | ProductFilter_test.cpp | 31 ResourceTable table; in TEST() 70 ResourceTable table; in TEST() 96 ResourceTable table; in TEST() 120 ResourceTable table; in TEST()
|
D | ReferenceLinker_test.cpp | 25 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 67 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 139 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 158 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 179 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 202 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST()
|
D | Link.cpp | 216 static std::unique_ptr<ResourceTable> loadTableFromPb(const Source& source, in loadTableFromPb() 219 pb::ResourceTable pbTable; in loadTableFromPb() 225 std::unique_ptr<ResourceTable> table = deserializeTableFromPb(pbTable, source, diag); in loadTableFromPb() 295 bool flatten(ResourceTable* table, IArchiveWriter* archiveWriter); 308 io::IFile* file, ResourceTable* table, FileOperation* outFileOp); 331 ResourceTable* table, in linkAndVersionXmlFile() 428 bool ResourceFileFlattener::flatten(ResourceTable* table, IArchiveWriter* archiveWriter) { in flatten() 540 std::unique_ptr<ResourceTable> staticInclude = loadStaticLibrary(path, &errorStr); in loadSymbolsFromIncludePaths() 678 bool flattenTable(ResourceTable* table, IArchiveWriter* writer) { in flattenTable() 698 bool flattenTableToPb(ResourceTable* table, IArchiveWriter* writer) { in flattenTableToPb() [all …]
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.cpp | 42 ResourceTablePackage* ResourceTable::findPackage(const StringPiece16& name) { in findPackage() 52 ResourceTablePackage* ResourceTable::findPackageById(uint8_t id) { in findPackageById() 61 ResourceTablePackage* ResourceTable::createPackage(const StringPiece16& name, Maybe<uint8_t> id) { in createPackage() 74 ResourceTablePackage* ResourceTable::findOrCreatePackage(const StringPiece16& name) { in findOrCreatePackage() 196 int ResourceTable::resolveValueCollision(Value* existing, Value* incoming) { in resolveValueCollision() 256 bool ResourceTable::addResource(const ResourceNameRef& name, in addResource() 265 bool ResourceTable::addResource(const ResourceNameRef& name, in addResource() 275 bool ResourceTable::addFileReference(const ResourceNameRef& name, in addFileReference() 283 bool ResourceTable::addFileReferenceAllowMangled(const ResourceNameRef& name, in addFileReferenceAllowMangled() 292 bool ResourceTable::addFileReferenceImpl(const ResourceNameRef& name, in addFileReferenceImpl() [all …]
|
D | ResourceTable_test.cpp | 32 ResourceTable table; in TEST() 48 ResourceTable table; in TEST() 61 ResourceTable table; in TEST() 105 ResourceTable table; in TEST() 123 ResourceTable table; in TEST() 143 Maybe<ResourceTable::SearchResult> sr = table.findResource( in TEST()
|
D | Debug.h | 33 static void printTable(ResourceTable* table, const DebugPrintTableOptions& options = {}); 34 static void printStyleGraph(ResourceTable* table,
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter.h | 55 mSplits.push_back(util::make_unique<ResourceTable>()); in TableSplitter() 61 void splitTable(ResourceTable* originalTable); 63 const std::vector<std::unique_ptr<ResourceTable>>& getSplits() { in getSplits() 69 std::vector<std::unique_ptr<ResourceTable>> mSplits;
|
D | TableSplitter_test.cpp | 26 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 59 ResourceTable table; in TEST() 81 ResourceTable* splitOne = splitter.getSplits()[0].get(); in TEST() 82 ResourceTable* splitTwo = splitter.getSplits()[1].get(); in TEST()
|
/frameworks/base/tools/aapt2/proto/ |
D | ProtoSerialize.h | 31 std::unique_ptr<pb::ResourceTable> serializeTableToPb(ResourceTable* table); 32 std::unique_ptr<ResourceTable> deserializeTableFromPb(const pb::ResourceTable& pbTable,
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 46 ResourceTable* table, in compileXmlFile() 62 ResourceTable* table, in compileXmlFile() 78 ResourceTable* table, in compileXmlFile() 257 static void appendTypeInfo(ResourceTable* outTable, const String16& pkg, in appendTypeInfo() 304 status_t createIfNeeded(ResourceTable* outTable) in createIfNeeded() 322 ResourceTable* outTable, in compileAttribute() 594 ResourceTable* outTable) in parseAndAddBag() 692 ResourceTable* outTable) in parseAndAddEntry() 774 ResourceTable* outTable) in compileResourceFile() 1751 ResourceTable::ResourceTable(Bundle* bundle, const String16& assetsPackage, ResourceTable::PackageT… in ResourceTable() function in ResourceTable [all …]
|
D | ResourceTable.h | 21 class ResourceTable; variable 41 ResourceTable* table, 49 ResourceTable* table, 57 ResourceTable* table, 65 ResourceTable* outTable); 91 class ResourceTable : public ResTable::Accessor 115 ResourceTable(Bundle* bundle, const String16& assetsPackage, PackageType type); 379 status_t generateAttributes(ResourceTable* table, 382 status_t assignResourceIds(ResourceTable* table, 385 status_t prepareFlatten(StringPool* strings, ResourceTable* table,
|
/frameworks/base/tools/aapt2/dump/ |
D | Dump.cpp | 47 void dumpCompiledTable(const pb::ResourceTable& pbTable, const Source& source, in dumpCompiledTable() 49 std::unique_ptr<ResourceTable> table = deserializeTableFromPb(pbTable, source, in dumpCompiledTable() 71 pb::ResourceTable pbTable; in tryDumpFile() 78 std::unique_ptr<ResourceTable> table = deserializeTableFromPb( in tryDumpFile() 98 pb::ResourceTable pbTable; in tryDumpFile()
|
/frameworks/base/tools/aapt2/compile/ |
D | IdAssigner_test.cpp | 26 ::testing::AssertionResult verifyIds(ResourceTable* table); 29 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 44 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 61 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 74 ::testing::AssertionResult verifyIds(ResourceTable* table) { in verifyIds()
|
/frameworks/base/tools/aapt2/test/ |
D | Common.h | 79 template <typename T> T* getValueForConfigAndProduct(ResourceTable* table, in getValueForConfigAndProduct() 83 Maybe<ResourceTable::SearchResult> result = table->findResource(parseNameOrDie(resName)); in getValueForConfigAndProduct() 93 template <typename T> T* getValueForConfig(ResourceTable* table, const StringPiece16& resName, in getValueForConfig() 98 template <typename T> T* getValue(ResourceTable* table, const StringPiece16& resName) { in getValue()
|
/frameworks/base/tools/aapt2/flatten/ |
D | TableFlattener_test.cpp | 39 ::testing::AssertionResult flatten(ResourceTable* table, ResTable* outTable) { in flatten() 53 ::testing::AssertionResult flatten(ResourceTable* table, ResourceTable* outTable) { in flatten() 145 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST_F() 194 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST_F() 214 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST_F() 220 ResourceTable result; in TEST_F()
|
D | TableFlattener.h | 25 class ResourceTable; variable 32 bool consume(IAaptContext* context, ResourceTable* table) override;
|
/frameworks/base/tools/aapt2/java/ |
D | JavaClassGenerator_test.cpp | 27 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 43 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 76 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 98 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 119 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 200 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 229 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 268 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 297 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST()
|
D | JavaClassGenerator.h | 59 JavaClassGenerator(IAaptContext* context, ResourceTable* table, 91 ResourceTable* mTable;
|
/frameworks/base/tools/aapt2/process/ |
D | IResourceTableConsumer.h | 32 class ResourceTable; variable 49 virtual bool consume(IAaptContext* context, ResourceTable* table) = 0;
|
D | SymbolTable_test.cpp | 23 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST() 41 std::unique_ptr<ResourceTable> table = test::ResourceTableBuilder() in TEST()
|