Home
last modified time | relevance | path

Searched refs:fileRef (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/link/
DTableMerger.cpp279 const FileReference& fileRef) { in cloneAndMangleFile() argument
282 if (util::extractResFilePathParts(*fileRef.path, &prefix, &entry, &suffix)) { in cloneAndMangleFile()
287 newFileRef->setComment(fileRef.getComment()); in cloneAndMangleFile()
288 newFileRef->setSource(fileRef.getSource()); 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() local
300 fileRef->setSource(fileDesc.source); in mergeFileImpl()
301 fileRef->file = file; in mergeFileImpl()
307 ->value = std::move(fileRef); in mergeFileImpl()
DLink.cpp442 FileReference* fileRef = valueCast<FileReference>(configValue->value.get()); in flatten() local
443 if (!fileRef) { in flatten()
447 io::IFile* file = fileRef->file; in flatten()
449 mContext->getDiagnostics()->error(DiagMessage(fileRef->getSource()) in flatten()
455 fileOp.dstPath = util::utf16ToUtf8(*fileRef->path); in flatten()
464 fileDesc.source = fileRef->getSource(); in flatten()
/frameworks/base/tools/aapt2/
DResourceTable.cpp299 std::unique_ptr<FileReference> fileRef = util::make_unique<FileReference>( in addFileReferenceImpl() local
301 fileRef->setSource(source); in addFileReferenceImpl()
302 fileRef->file = file; in addFileReferenceImpl()
303 return addResourceImpl(name, ResourceId{}, config, StringPiece{}, std::move(fileRef), in addFileReferenceImpl()