Home
last modified time | relevance | path

Searched refs:FileReference (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tools/aapt2/link/
DTableMerger.cpp68 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()
DTableMerger.h100 FileReference*, FileReference*)>;
120 std::unique_ptr<FileReference> cloneAndMangleFile(const std::u16string& package,
121 const FileReference& value);
DTableMerger_test.cpp95 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()
DLink.cpp442 FileReference* fileRef = valueCast<FileReference>(configValue->value.get()); in flatten()
/frameworks/base/tools/aapt2/split/
DTableSplitter_test.cpp43 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/
DResourceValues.cpp179 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()
DResourceValues.h227 struct FileReference : public BaseItem<FileReference> { struct
235 FileReference() = default; argument
236 FileReference(const StringPool::Ref& path);
239 FileReference* clone(StringPool* newPool) const override;
DFormat.proto114 message FileReference { message
190 optional FileReference file = 4;
DValueVisitor.h37 virtual void visit(FileReference* value) { visitItem(value); } in visit()
DResourceTable.cpp299 std::unique_ptr<FileReference> fileRef = util::make_unique<FileReference>( in addFileReferenceImpl()
/frameworks/base/tools/aapt2/test/
DBuilders.h84 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/
DTableProtoSerializer.cpp61 void visit(FileReference* file) override { in visit()
DTableProtoDeserializer.cpp210 return util::make_unique<FileReference>( in deserializeItemFromPb()
/frameworks/base/tools/aapt2/unflatten/
DBinaryResourceParser.cpp412 return util::make_unique<FileReference>(mTable->stringPool.makeRef( in parseValue()