/frameworks/base/core/jni/ |
D | android_util_StringBlock.cpp | 48 ResStringPool* osb = new ResStringPool(b+off, len, true); in android_content_StringBlock_nativeCreate() 61 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token); in android_content_StringBlock_nativeGetSize() 72 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token); in android_content_StringBlock_nativeGetString() 95 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token); in android_content_StringBlock_nativeGetStyle() 143 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token); in android_content_StringBlock_nativeDestroy()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | LoadedArsc.h | 185 const ResStringPool* GetTypeStringPool() const { in GetTypeStringPool() 190 const ResStringPool* GetKeyStringPool() const { in GetKeyStringPool() 295 ResStringPool type_string_pool_; 296 ResStringPool key_string_pool_; 332 inline const ResStringPool* GetStringPool() const { in GetStringPool() 353 std::unique_ptr<ResStringPool> global_string_pool_ = util::make_unique<ResStringPool>();
|
D | Idmap.h | 48 class OverlayStringPool : public ResStringPool { 58 const ResStringPool* idmap_string_pool_; 200 const std::unique_ptr<ResStringPool> string_pool_; 218 std::unique_ptr<ResStringPool>&& string_pool,
|
D | Util.h | 110 android::StringPiece16 GetString16(const android::ResStringPool& pool, size_t idx); 115 std::string GetString(const android::ResStringPool& pool, size_t idx);
|
D | ResourceTypes.h | 513 class ResStringPool 516 ResStringPool(); 517 explicit ResStringPool(bool optimize_name_lookups); 518 ResStringPool(const void* data, size_t size, bool copyData = false, 520 virtual ~ResStringPool(); 586 StringPoolRef(const ResStringPool* pool, uint32_t index); 592 const ResStringPool* mPool = nullptr; 752 const ResStringPool& getStrings() const; 871 ResStringPool mStrings; 2246 const ResStringPool* getTableStringBlock(size_t index) const;
|
D | AssetManager2.h | 61 ResStringPool* key_pool; 62 ResStringPool* type_pool; 138 const ResStringPool* GetStringPoolForCookie(ApkAssetsCookie cookie) const;
|
/frameworks/base/libs/androidfw/ |
D | Idmap.cpp | 99 if (idmap_string_pool_ != nullptr && idx >= ResStringPool::size() && idx >= offset) { in stringAt() 103 return ResStringPool::stringAt(idx); in stringAt() 108 if (idmap_string_pool_ != nullptr && idx >= ResStringPool::size() && idx >= offset) { in string8At() 112 return ResStringPool::string8At(idx); in string8At() 116 return ResStringPool::size() + (idmap_string_pool_ != nullptr ? idmap_string_pool_->size() : 0U); in size() 267 std::unique_ptr<ResStringPool>&& string_pool, in LoadedIdmap() 356 auto idmap_string_pool = util::make_unique<ResStringPool>(); in Load()
|
D | Util.cpp | 203 StringPiece16 GetString16(const android::ResStringPool& pool, size_t idx) { in GetString16() 210 std::string GetString(const android::ResStringPool& pool, size_t idx) { in GetString()
|
D | ResourceTypes.cpp | 464 ResStringPool::ResStringPool() : mError(NO_INIT), mOwnedData(NULL), mHeader(NULL), mCache(NULL) { in ResStringPool() function in android::ResStringPool 467 ResStringPool::ResStringPool(bool optimize_name_lookups) : ResStringPool() { in ResStringPool() function in android::ResStringPool 473 ResStringPool::ResStringPool(const void* data, size_t size, bool copyData, in ResStringPool() function in android::ResStringPool 475 : ResStringPool(optimize_name_lookups) { in ResStringPool() 479 ResStringPool::~ResStringPool() in ~ResStringPool() 484 void ResStringPool::setToEmpty() in setToEmpty() 500 status_t ResStringPool::setTo(incfs::map_ptr<void> data, size_t size, bool copyData) in setTo() 715 status_t ResStringPool::getError() const in getError() 720 void ResStringPool::uninit() in uninit() 799 base::expected<StringPiece16, NullOrIOError> ResStringPool::stringAt(size_t idx) const in stringAt() [all …]
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.h | 107 android::ResStringPool value_pool_; 111 android::ResStringPool type_pool_; 115 android::ResStringPool key_pool_;
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.h | 35 const android::ResStringPool& src_pool, 41 const android::ResStringPool& src_pool,
|
D | ProtoDeserialize.cpp | 31 using ::android::ResStringPool; 361 static void DeserializeSourceFromPb(const pb::Source& pb_source, const ResStringPool& src_pool, in DeserializeSourceFromPb() 380 const android::ResStringPool& src_pool, in DeserializeOverlayableItemFromPb() 425 static bool DeserializePackageFromPb(const pb::Package& pb_package, const ResStringPool& src_pool, in DeserializePackageFromPb() 556 ResStringPool source_pool; in DeserializeTableFromPb() 711 static void DeserializeItemMetaDataFromPb(const T& pb_item, const android::ResStringPool& src_pool, in DeserializeItemMetaDataFromPb() 740 const android::ResStringPool& src_pool, in DeserializeValueFromPb() 878 const android::ResStringPool& src_pool, in DeserializeItemFromPb()
|
/frameworks/base/libs/androidfw/tests/ |
D | CommonHelpers.h | 35 std::string GetStringFromPool(const ResStringPool* pool, uint32_t idx);
|
D | StringPool_test.cpp | 210 ResStringPool test; in TEST() 224 ResStringPool test; in TEST() 269 ResStringPool test; in TEST() 320 ResStringPool test; in TEST() 343 ResStringPool test; in TEST()
|
D | CommonHelpers.cpp | 60 std::string GetStringFromPool(const ResStringPool* pool, uint32_t idx) { in GetStringFromPool()
|
D | TestHelpers.cpp | 71 const ResStringPool* pool = table.getTableStringBlock(block); in IsStringEqual()
|
/frameworks/base/tools/aapt2/ |
D | Debug.h | 41 static void DumpResStringPool(const android::ResStringPool* pool, text::Printer* printer);
|
D | Debug.cpp | 429 void Debug::DumpResStringPool(const android::ResStringPool* pool, text::Printer* printer) { in DumpResStringPool() 752 ResStringPool* pool; in PrintStringPool() 854 ResStringPool value_pool_; 858 ResStringPool type_pool_; 862 ResStringPool key_pool_;
|
D | ResourceUtils.h | 229 const android::ResStringPool& src_pool,
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Lookup.cpp | 48 using android::ResStringPool; 94 const ResStringPool* pool = am->GetStringPoolForCookie(value.cookie); in PrintValue()
|
/frameworks/base/cmds/idmap2/tests/ |
D | FabricatedOverlayTests.cpp | 78 auto string_pool = ResStringPool(pairs->string_pool_data->data.get(), in TEST() 168 auto string_pool = ResStringPool(pairs->string_pool_data->data.get(), in TEST()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.h | 545 const ResStringPool& getTypeStrings() const { return mTypeStrings; } in getTypeStrings() 550 const ResStringPool& getKeyStrings() const { return mKeyStrings; } in getKeyStrings() 564 ResStringPool* strings, 573 ResStringPool mTypeStrings; 574 ResStringPool mKeyStrings;
|
D | StringPool.h | 31 void printStringPool(const ResStringPool* pool);
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | PrettyPrintVisitor.cpp | 71 const ResStringPool string_pool(data.GetStringPoolData().data(), data.GetStringPoolData().size()); in visit()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | XmlParser.h | 133 inline const ResStringPool& get_strings() const { in get_strings()
|