• Home
  • Raw
  • Download

Lines Matching refs:String16

39                         const String16& resourceName,
46 const String16& resourceName,
54 const String16& resourceName,
84 String16 resourceName;
104 ResourceTable(Bundle* bundle, const String16& assetsPackage, PackageType type);
106 const String16& getAssetsPackage() const { in getAssetsPackage()
125 const String16& package,
126 const String16& type,
127 const String16& name,
131 const String16& package,
132 const String16& type,
133 const String16& name,
134 const String16& value,
142 const String16& package,
143 const String16& type,
144 const String16& name,
145 const String16& bagParent,
152 const String16& package,
153 const String16& type,
154 const String16& name,
155 const String16& bagParent,
156 const String16& bagKey,
157 const String16& value,
164 bool hasBagOrEntry(const String16& package,
165 const String16& type,
166 const String16& name) const;
168 bool hasBagOrEntry(const String16& package,
169 const String16& type,
170 const String16& name,
173 bool hasBagOrEntry(const String16& ref,
174 const String16* defType = NULL,
175 const String16* defPackage = NULL);
177 bool appendComment(const String16& package,
178 const String16& type,
179 const String16& name,
180 const String16& comment,
183 bool appendTypeComment(const String16& package,
184 const String16& type,
185 const String16& name,
186 const String16& comment);
189 const String16& package, const String16& type, const String16& name);
197 const String16& resourceName,
215 uint32_t getResId(const String16& package,
216 const String16& type,
217 const String16& name,
220 uint32_t getResId(const String16& ref,
221 const String16* defType = NULL,
222 const String16* defPackage = NULL,
226 static bool isValidResourceName(const String16& s);
229 const String16& str,
233 String16* outStr = NULL, void* accessorCookie = NULL,
240 void addLocalization(const String16& name, const String8& locale, const SourcePos& src);
247 void writePublicDefinitions(const String16& package, FILE* fp);
249 virtual uint32_t getCustomResource(const String16& package,
250 const String16& type,
251 const String16& name) const;
252 virtual uint32_t getCustomResourceWithCreation(const String16& package,
253 const String16& type,
254 const String16& name,
260 virtual bool getAttributeKeys(uint32_t attrID, Vector<String16>* outKeys);
280 const String16& _value,
303 String16 value;
313 Entry(const String16& name, const SourcePos& pos) in Entry()
329 String16 getName() const { return mName; } in getName()
332 void setParent(const String16& parent) { mParent = parent; } in setParent()
333 String16 getParent() const { return mParent; } in getParent()
340 const String16& value,
346 const String16& key, const String16& value,
351 status_t removeFromBag(const String16& key);
358 const KeyedVector<String16, Item>& getBag() const { return mBag; } in getBag()
361 const String16& package);
364 const String16& package);
376 String16 mName;
377 String16 mParent;
381 KeyedVector<String16, Item> mBag;
389 ConfigList(const String16& name, const SourcePos& pos) in ConfigList()
393 String16 getName() const { return mName; } in getName()
396 void appendComment(const String16& comment, bool onlyIfEmpty = false);
397 const String16& getComment() const { return mComment; } in getComment()
399 void appendTypeComment(const String16& comment);
400 const String16& getTypeComment() const { return mTypeComment; } in getTypeComment()
417 const String16 mName;
419 String16 mComment;
420 String16 mTypeComment;
431 const String16& _comment, in Public()
447 String16 comment;
453 Type(const String16& name, const SourcePos& pos) in Type()
459 const String16& name,
462 void canAddEntry(const String16& name);
464 String16 getName() const { return mName; } in getName()
465 sp<Entry> getEntry(const String16& entry,
483 const DefaultKeyedVector<String16, sp<ConfigList> >& getConfigs() const { return mConfigs; } in getConfigs()
486 const SortedVector<String16>& getCanAddEntries() const { return mCanAddEntries; } in getCanAddEntries()
490 String16 mName;
492 DefaultKeyedVector<String16, Public> mPublic;
494 DefaultKeyedVector<String16, sp<ConfigList> > mConfigs;
496 SortedVector<String16> mCanAddEntries;
504 Package(const String16& name, size_t packageId);
507 String16 getName() const { return mName; } in getName()
508 sp<Type> getType(const String16& type,
515 … uint32_t indexOfTypeString(const String16& s) const { return mTypeStringsMapping.valueFor(s); } in indexOfTypeString()
520 … uint32_t indexOfKeyString(const String16& s) const { return mKeyStringsMapping.valueFor(s); } in indexOfKeyString()
526 const DefaultKeyedVector<String16, sp<Type> >& getTypes() const { return mTypes; } in getTypes()
532 DefaultKeyedVector<String16, uint32_t>* mappings);
534 const String16 mName;
536 DefaultKeyedVector<String16, sp<Type> > mTypes;
542 DefaultKeyedVector<String16, uint32_t> mTypeStringsMapping;
543 DefaultKeyedVector<String16, uint32_t> mKeyStringsMapping;
547 void writePublicDefinitions(const String16& package, FILE* fp, bool pub);
548 sp<Package> getPackage(const String16& package);
549 sp<Type> getType(const String16& package,
550 const String16& type,
553 sp<Entry> getEntry(const String16& package,
554 const String16& type,
555 const String16& name,
562 sp<ConfigList> getConfigList(const String16& package,
563 const String16& type,
564 const String16& name) const;
571 String16 mAssetsPackage;
575 DefaultKeyedVector<String16, sp<Package> > mPackages;
582 map<String16, map<String8, SourcePos> > mLocalizations;