Searched refs:FileReference (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/tools/aapt2/link/ |
D | TableMerger.cpp | 68 FileReference* newFile, FileReference* oldFile) -> bool { in mergeImpl() 113 FileReference* newFile, FileReference* oldFile) -> bool { in mergeAndMangle() 251 if (FileReference* f = valueCast<FileReference>(srcValue->value.get())) { in doMerge() 252 std::unique_ptr<FileReference> newFileRef; in doMerge() 256 newFileRef = std::unique_ptr<FileReference>(f->clone( in doMerge() 278 std::unique_ptr<FileReference> TableMerger::cloneAndMangleFile(const std::u16string& package, in cloneAndMangleFile() 279 const FileReference& fileRef) { in cloneAndMangleFile() 285 std::unique_ptr<FileReference> newFileRef = util::make_unique<FileReference>( in cloneAndMangleFile() 291 return std::unique_ptr<FileReference>(fileRef.clone(&mMasterTable->stringPool)); in cloneAndMangleFile() 298 std::unique_ptr<FileReference> fileRef = util::make_unique<FileReference>( in mergeFileImpl()
|
D | TableMerger.h | 100 FileReference*, FileReference*)>; 120 std::unique_ptr<FileReference> cloneAndMangleFile(const std::u16string& package, 121 const FileReference& value);
|
D | TableMerger_test.cpp | 95 FileReference* file = test::getValueForConfig<FileReference>(&finalTable, in TEST_F() 135 FileReference* f = test::getValue<FileReference>(&finalTable, u"@com.app.a:xml/file"); in TEST_F() 139 f = test::getValue<FileReference>(&finalTable, u"@com.app.a:xml/com.app.b$file"); in TEST_F()
|
D | Link.cpp | 442 FileReference* fileRef = valueCast<FileReference>(configValue->value.get()); in flatten()
|
/frameworks/base/tools/aapt2/split/ |
D | TableSplitter_test.cpp | 43 EXPECT_EQ(nullptr, test::getValueForConfig<FileReference>(table.get(), in TEST() 46 EXPECT_EQ(nullptr, test::getValueForConfig<FileReference>(table.get(), in TEST() 49 EXPECT_NE(nullptr, test::getValueForConfig<FileReference>(table.get(), in TEST() 52 EXPECT_EQ(nullptr, test::getValueForConfig<FileReference>(table.get(), in TEST()
|
/frameworks/base/tools/aapt2/ |
D | ResourceValues.cpp | 179 FileReference::FileReference(const StringPool::Ref& _path) : path(_path) { in FileReference() function in aapt::FileReference 182 bool FileReference::flatten(android::Res_value* outValue) const { in flatten() 192 FileReference* FileReference::clone(StringPool* newPool) const { in clone() 193 FileReference* fr = new FileReference(newPool->makeRef(*path)); in clone() 200 void FileReference::print(std::ostream* out) const { in print()
|
D | ResourceValues.h | 227 struct FileReference : public BaseItem<FileReference> { struct 235 FileReference() = default; argument 236 FileReference(const StringPool::Ref& path); 239 FileReference* clone(StringPool* newPool) const override;
|
D | Format.proto | 114 message FileReference { message 190 optional FileReference file = 4;
|
D | ValueVisitor.h | 37 virtual void visit(FileReference* value) { visitItem(value); } in visit()
|
D | ResourceTable.cpp | 299 std::unique_ptr<FileReference> fileRef = util::make_unique<FileReference>( in addFileReferenceImpl()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 84 util::make_unique<FileReference>(mTable->stringPool.makeRef(path))); in addFileReference() 90 util::make_unique<FileReference>(mTable->stringPool.makeRef(path))); in addFileReference()
|
/frameworks/base/tools/aapt2/proto/ |
D | TableProtoSerializer.cpp | 61 void visit(FileReference* file) override { in visit()
|
D | TableProtoDeserializer.cpp | 210 return util::make_unique<FileReference>( in deserializeItemFromPb()
|
/frameworks/base/tools/aapt2/unflatten/ |
D | BinaryResourceParser.cpp | 412 return util::make_unique<FileReference>(mTable->stringPool.makeRef( in parseValue()
|