Home
last modified time | relevance | path

Searched refs:AaptFile (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/aapt/
DResourceTable.h35 const sp<AaptFile>& target,
40 const sp<AaptFile>& target,
41 const sp<AaptFile>& outTarget,
47 const sp<AaptFile>& target,
53 const sp<AaptFile>& in,
185 sp<AaptFile> flatten(Bundle*);
226 status_t flatten(Bundle*, const sp<AaptFile>& dest);
346 ssize_t flatten(Bundle*, const sp<AaptFile>& data, bool isPublic);
491 const sp<AaptFile> getTypeStringsData() const { return mTypeStringsData; } in getTypeStringsData()
492 status_t setTypeStrings(const sp<AaptFile>& data);
[all …]
DImages.h19 const sp<AaptFile>& file, String8* outNewLeafName);
24 ResourceTable* table, const sp<AaptFile>& file);
DAaptAssets.h161 class AaptFile : public RefBase
164 AaptFile(const String8& sourceFile, const AaptGroupEntry& groupEntry, in AaptFile() function
176 virtual ~AaptFile() { in ~AaptFile()
235 const DefaultKeyedVector<AaptGroupEntry, sp<AaptFile> >& getFiles() const in getFiles()
238 status_t addFile(const sp<AaptFile>& file);
249 DefaultKeyedVector<AaptGroupEntry, sp<AaptFile> > mFiles;
304 const sp<AaptFile>& file);
542 sp<AaptFile> addFile(const String8& filePath,
550 const sp<AaptFile>& file,
576 status_t addIncludedResources(const sp<AaptFile>& file);
DXMLNode.h33 status_t parseXMLResource(const sp<AaptFile>& file, ResXMLTree* outTree,
40 static sp<XMLNode> parse(const sp<AaptFile>& file);
137 status_t flatten(const sp<AaptFile>& dest, bool stripComments,
181 status_t flatten_node(const StringPool& strings, const sp<AaptFile>& dest,
DStringPool.h118 sp<AaptFile> createStringBlock();
120 status_t writeStringBlock(const sp<AaptFile>& pool);
DAaptAssets.cpp1559 void* AaptFile::editData(size_t size) in editData()
1576 void* AaptFile::editData(size_t* outSize) in editData()
1584 void* AaptFile::padData(size_t wordSize) in padData()
1599 status_t AaptFile::writeData(const void* data, size_t size) in writeData()
1611 void AaptFile::clearData() in clearData()
1619 String8 AaptFile::getPrintableSource() const in getPrintableSource()
1634 status_t AaptGroup::addFile(const sp<AaptFile>& file) in addFile()
1665 sp<AaptFile> file = mFiles.valueAt(i); in print()
1742 status_t AaptDir::addLeafFile(const String8& leafName, const sp<AaptFile>& file) in addLeafFile()
1825 sp<AaptFile> file = new AaptFile(pathName, kind, resType); in slurpFullTree()
[all …]
DResource.cpp86 inline const sp<AaptFile>& getFile() const { return mFile; } in getFile()
101 sp<AaptFile> file; in next()
161 sp<AaptFile> mFile;
181 static sp<AaptFile> getResourceFile(const sp<AaptAssets>& assets, bool makeIfNecessary=true) in getResourceFile()
184 sp<AaptFile> file; in getResourceFile()
207 sp<AaptFile> file = grp->getFiles().valueAt(0); in parsePackage()
314 const sp<AaptFile>& file, volatile bool* hasErrors) : in PreProcessImageWorkUnit()
329 sp<AaptFile> mFile;
387 const DefaultKeyedVector<AaptGroupEntry, sp<AaptFile> >& files in collect_files()
608 DefaultKeyedVector<AaptGroupEntry, sp<AaptFile> > overlayFiles = in applyFileOverlay()
[all …]
DStringPool.cpp345 sp<AaptFile> StringPool::createStringBlock() in createStringBlock()
347 sp<AaptFile> pool = new AaptFile(String8(), AaptGroupEntry(), in createStringBlock()
363 status_t StringPool::writeStringBlock(const sp<AaptFile>& pool) in writeStringBlock()
367 sp<AaptFile> block = createStringBlock(); in writeStringBlock()
DPackage.cpp43 const sp<AaptGroup>& group, const sp<AaptFile>& file);
279 sp<AaptFile> fl = gp->getFiles().valueAt(fi); in processAssets()
297 const sp<AaptGroup>& group, const sp<AaptFile>& file) in processFile()
DResourceTable.cpp20 const sp<AaptFile>& target, in compileXmlFile()
33 const sp<AaptFile>& target, in compileXmlFile()
34 const sp<AaptFile>& outTarget, in compileXmlFile()
48 const sp<AaptFile>& target, in compileXmlFile()
254 PendingAttribute(String16 _package, const sp<AaptFile>& in, in PendingAttribute()
298 static status_t compileAttribute(const sp<AaptFile>& in, in compileAttribute()
569 const sp<AaptFile>& in, in parseAndAddBag()
664 const sp<AaptFile>& in, in parseAndAddEntry()
755 const sp<AaptFile>& in, in compileResourceFile()
2044 sp<AaptFile> ResourceTable::flatten(Bundle* bundle) in flatten()
[all …]
DXMLNode.cpp522 status_t parseXMLResource(const sp<AaptFile>& file, ResXMLTree* outTree, in parseXMLResource()
534 sp<AaptFile> rsc = new AaptFile(String8(), AaptGroupEntry(), String8()); in parseXMLResource()
550 sp<XMLNode> XMLNode::parse(const sp<AaptFile>& file) in parse()
974 status_t XMLNode::flatten(const sp<AaptFile>& dest, in flatten()
998 sp<AaptFile> stringPool = strings.createStringBlock(); in flatten()
1344 status_t XMLNode::flatten_node(const StringPool& strings, const sp<AaptFile>& dest, in flatten_node()
DImages.cpp21 status_t err = ((AaptFile*)png_ptr->io_ptr)->writeData(data, length); in png_write_aapt_file()
1124 const sp<AaptFile>& file, String8* outNewLeafName) in preProcessImage()
1371 ResourceTable* table, const sp<AaptFile>& file) in postProcessImage()