Lines Matching refs:String8
30 bool valid_symbol_name(const String8& str);
72 bool initFromFilterString(const String8& config);
74 int initFromDirName(const Vector<String8>& parts, const int startIndex);
108 bool initFromDirName(const char* dir, String8* resType);
120 String8 toString() const { return mParams.toString(); } in toString()
121 String8 toDirName(const String8& resType) const;
123 const String8 getVersionString() const { return AaptConfig::getVersion(mParams); } in getVersionString()
148 AaptFile(const String8& sourceFile, const AaptGroupEntry& groupEntry, in AaptFile()
149 const String8& resType) in AaptFile()
164 const String8& getPath() const { return mPath; } in getPath()
179 const String8& getResourceType() const { return mResourceType; } in getResourceType()
183 const String8& getSourceFile() const { return mSourceFile; } in getSourceFile()
185 String8 getPrintableSource() const;
194 String8 mPath;
196 String8 mResourceType;
197 String8 mSourceFile;
211 AaptGroup(const String8& leaf, const String8& path) in AaptGroup()
215 const String8& getLeaf() const { return mLeaf; } in getLeaf()
218 const String8& getPath() const { return mPath; } in getPath()
226 void print(const String8& prefix) const;
228 String8 getPrintableSource() const;
231 String8 mLeaf;
232 String8 mPath;
244 AaptDir(const String8& leaf, const String8& path) in AaptDir()
248 const String8& getLeaf() const { return mLeaf; } in getLeaf()
250 const String8& getPath() const { return mPath; } in getPath()
252 const DefaultKeyedVector<String8, sp<AaptGroup> >& getFiles() const { return mFiles; } in getFiles()
253 const DefaultKeyedVector<String8, sp<AaptDir> >& getDirs() const { return mDirs; } in getDirs()
255 virtual status_t addFile(const String8& name, const sp<AaptGroup>& file);
257 void removeFile(const String8& name);
258 void removeDir(const String8& name);
279 void print(const String8& prefix) const;
281 String8 getPrintableSource() const;
286 status_t addDir(const String8& name, const sp<AaptDir>& dir);
287 sp<AaptDir> makeDir(const String8& name);
288 status_t addLeafFile(const String8& leafName,
292 const String8& srcDir,
294 const String8& resType,
298 String8 mLeaf;
299 String8 mPath;
301 DefaultKeyedVector<String8, sp<AaptGroup> > mFiles;
302 DefaultKeyedVector<String8, sp<AaptDir> > mDirs;
315 explicit AaptSymbolEntry(const String8& _name) in AaptSymbolEntry()
338 const String8 name;
357 String8 stringVal;
370 status_t addSymbol(const String8& name, int32_t value, const SourcePos& pos) { in addSymbol()
380 status_t addStringSymbol(const String8& name, const String8& value, in addStringSymbol()
391 status_t makeSymbolPublic(const String8& name, const SourcePos& pos) { in makeSymbolPublic()
400 status_t makeSymbolJavaSymbol(const String8& name, const SourcePos& pos) { in makeSymbolJavaSymbol()
409 void appendComment(const String8& name, const String16& comment, const SourcePos& pos) { in appendComment()
422 void appendTypeComment(const String8& name, const String16& comment) { in appendTypeComment()
435 sp<AaptSymbols> addNestedSymbol(const String8& name, const SourcePos& pos) { in addNestedSymbol()
451 const KeyedVector<String8, AaptSymbolEntry>& getSymbols() const in getSymbols()
453 const DefaultKeyedVector<String8, sp<AaptSymbols> >& getNestedSymbols() const in getNestedSymbols()
456 const String16& getComment(const String8& name) const in getComment()
458 const String16& getTypeComment(const String8& name) const in getTypeComment()
462 bool check_valid_symbol_name(const String8& symbol, const SourcePos& pos, const char* label) { in check_valid_symbol_name()
469 AaptSymbolEntry& edit_symbol(const String8& symbol, const SourcePos* pos) { in edit_symbol()
480 const AaptSymbolEntry& get_symbol(const String8& symbol) const { in get_symbol()
488 KeyedVector<String8, AaptSymbolEntry> mSymbols;
489 DefaultKeyedVector<String8, sp<AaptSymbols> > mNestedSymbols;
494 public KeyedVector<String8,sp<AaptGroup> >
503 public Vector<String8>
518 const String8& getPackage() const { return mPackage; } in getPackage()
519 void setPackage(const String8& package) { in setPackage()
527 virtual status_t addFile(const String8& name, const sp<AaptGroup>& file);
529 sp<AaptFile> addFile(const String8& filePath,
531 const String8& srcDir,
533 const String8& resType);
535 void addResource(const String8& leafName,
536 const String8& path,
538 const String8& resType);
544 sp<AaptSymbols> getSymbolsFor(const String8& name);
546 sp<AaptSymbols> getJavaSymbolsFor(const String8& name);
550 const DefaultKeyedVector<String8, sp<AaptSymbols> >& getSymbols() const { return mSymbols; } in getSymbols()
552 String8 getSymbolsPrivatePackage() const { return mSymbolsPrivatePackage; } in getSymbolsPrivatePackage()
553 void setSymbolsPrivatePackage(const String8& pkg) { in setSymbolsPrivatePackage()
567 void print(const String8& prefix) const;
570 sp<AaptDir> resDir(const String8& name) const;
575 inline KeyedVector<String8, sp<ResourceTypeSet> >* getResources() { return mRes; } in getResources()
577 setResources(KeyedVector<String8, sp<ResourceTypeSet> >* res) { delete mRes; mRes = res; } in setResources() argument
589 const String8& srcDir,
591 const String8& resType,
595 ssize_t slurpResourceTree(Bundle* bundle, const String8& srcDir);
600 String8 mPackage;
602 DefaultKeyedVector<String8, sp<AaptSymbols> > mSymbols;
603 DefaultKeyedVector<String8, sp<AaptSymbols> > mJavaSymbols;
604 String8 mSymbolsPrivatePackage;
615 KeyedVector<String8, sp<ResourceTypeSet> >* mRes;