Home
last modified time | relevance | path

Searched refs:ResStringPool (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/jni/
Dandroid_util_StringBlock.cpp50 ResStringPool* osb = new ResStringPool(b+off, len, true); in android_content_StringBlock_nativeCreate()
65 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token); in android_content_StringBlock_nativeGetSize()
77 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token); in android_content_StringBlock_nativeGetString()
101 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token); in android_content_StringBlock_nativeGetStyle()
144 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token); in android_content_StringBlock_nativeDestroy()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h158 inline const ResStringPool* GetTypeStringPool() const { in GetTypeStringPool()
163 inline const ResStringPool* GetKeyStringPool() const { in GetKeyStringPool()
255 ResStringPool type_string_pool_;
256 ResStringPool key_string_pool_;
292 inline const ResStringPool* GetStringPool() const { in GetStringPool()
316 ResStringPool global_string_pool_;
DAssetManager2.h58 ResStringPool* key_pool;
59 ResStringPool* type_pool;
117 const ResStringPool* GetStringPoolForCookie(ApkAssetsCookie cookie) const;
DResourceTypes.h490 class ResStringPool
493 ResStringPool();
494 ResStringPool(const void* data, size_t size, bool copyData=false);
495 ~ResStringPool();
555 StringPoolRef(const ResStringPool* pool, uint32_t index);
561 const ResStringPool* mPool = nullptr;
721 const ResStringPool& getStrings() const;
835 ResStringPool mStrings;
2034 const ResStringPool* getTableStringBlock(size_t index) const;
/frameworks/base/tools/aapt2/format/binary/
DBinaryResourceParser.h103 android::ResStringPool value_pool_;
107 android::ResStringPool type_pool_;
111 android::ResStringPool key_pool_;
/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.h36 const android::ResStringPool& src_pool,
42 const android::ResStringPool& src_pool,
DProtoDeserialize.cpp31 using ::android::ResStringPool;
358 static void DeserializeSourceFromPb(const pb::Source& pb_source, const ResStringPool& src_pool, in DeserializeSourceFromPb()
377 const android::ResStringPool& src_pool, in DeserializeOverlayableItemFromPb()
416 static bool DeserializePackageFromPb(const pb::Package& pb_package, const ResStringPool& src_pool, in DeserializePackageFromPb()
539 ResStringPool source_pool; in DeserializeTableFromPb()
656 static void DeserializeItemMetaDataFromPb(const T& pb_item, const android::ResStringPool& src_pool, in DeserializeItemMetaDataFromPb()
685 const android::ResStringPool& src_pool, in DeserializeValueFromPb()
812 const android::ResStringPool& src_pool, in DeserializeItemFromPb()
/frameworks/base/tools/aapt2/
DStringPool_test.cpp210 ResStringPool test; in TEST()
224 ResStringPool test; in TEST()
269 ResStringPool test; in TEST()
319 ResStringPool test; in TEST()
341 ResStringPool test; in TEST()
DDebug.h41 static void DumpResStringPool(const android::ResStringPool* pool, text::Printer* printer);
DResourceUtils.h232 const android::ResStringPool& src_pool,
DDebug.cpp415 void Debug::DumpResStringPool(const android::ResStringPool* pool, text::Printer* printer) { in DumpResStringPool()
DResourceUtils.cpp737 const android::ResStringPool& src_pool, in ParseBinaryResValue()
/frameworks/base/libs/androidfw/tests/
DCommonHelpers.h35 std::string GetStringFromPool(const ResStringPool* pool, uint32_t idx);
DCommonHelpers.cpp60 std::string GetStringFromPool(const ResStringPool* pool, uint32_t idx) { in GetStringFromPool()
DTestHelpers.cpp71 const ResStringPool* pool = table.getTableStringBlock(block); in IsStringEqual()
DIdmap_test.cpp67 const ResStringPool* pool = target_table_.getTableStringBlock(block); in TEST_F()
DResTable_test.cpp440 const ResStringPool* pool = table.getTableStringBlock(block); in TEST()
469 const ResStringPool* invalid_pool = invalid_table.getTableStringBlock(invalid_block); in TEST()
/frameworks/base/tools/aapt/
DResourceTable.h545 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;
DStringPool.h31 void printStringPool(const ResStringPool* pool);
DStringPool.cpp40 void printStringPool(const ResStringPool* pool) in printStringPool()
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp50 using android::ResStringPool;
118 const ResStringPool* pool = am.GetStringPoolForCookie(cookie); in GetValue()
/frameworks/base/tools/aapt2/util/
DUtil.h145 android::StringPiece16 GetString16(const android::ResStringPool& pool, size_t idx);
150 std::string GetString(const android::ResStringPool& pool, size_t idx);
DUtil.cpp533 StringPiece16 GetString16(const android::ResStringPool& pool, size_t idx) { in GetString16()
542 std::string GetString(const android::ResStringPool& pool, size_t idx) { in GetString()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp422 ResStringPool::ResStringPool() in ResStringPool() function in android::ResStringPool
427 ResStringPool::ResStringPool(const void* data, size_t size, bool copyData) in ResStringPool() function in android::ResStringPool
433 ResStringPool::~ResStringPool() in ~ResStringPool()
438 void ResStringPool::setToEmpty() in setToEmpty()
454 status_t ResStringPool::setTo(const void* data, size_t size, bool copyData) in setTo()
649 status_t ResStringPool::getError() const in getError()
654 void ResStringPool::uninit() in uninit()
717 const char16_t* ResStringPool::stringAt(size_t idx, size_t* u16len) const in stringAt()
822 const char* ResStringPool::string8At(size_t idx, size_t* outLen) const in string8At()
863 const char* ResStringPool::stringDecodeAt(size_t idx, const uint8_t* str, in stringDecodeAt()
[all …]
/frameworks/base/tools/aapt2/cmd/
DDump.cpp274 android::ResStringPool pool(data.data(), data.size(), false); in Dump()

12