Home
last modified time | relevance | path

Searched refs:string8At (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/cmds/idmap2/tests/
DFabricatedOverlayTests.cpp86 string_pool.string8At(entry->value.data_value).value_or("")); in TEST()
111 ASSERT_EQ(std::string("foobar"), string_pool.string8At(entry->value.data_value).value_or("")); in TEST()
183 ASSERT_EQ(std::string("foobar"), string_pool.string8At(entry->value.data_value).value_or("")); in TEST()
/frameworks/base/libs/androidfw/
DIdmap.cpp106 base::expected<StringPiece, NullOrIOError> OverlayStringPool::string8At(size_t idx) const { in string8At() function in android::OverlayStringPool
109 return idmap_string_pool_->string8At(idx - offset); in string8At()
112 return ResStringPool::string8At(idx); in string8At()
DUtil.cpp211 if (auto str = pool.string8At(idx); str.ok()) { in GetString()
DResourceTypes.cpp935 base::expected<StringPiece, NullOrIOError> ResStringPool::string8At(size_t idx) const in string8At() function in android::ResStringPool
1020 const base::expected<StringPiece, NullOrIOError> str = string8At(idx); in string8ObjectAt()
1095 const base::expected<StringPiece, NullOrIOError> s = string8At(mid); in indexOfString()
1136 const base::expected<StringPiece, NullOrIOError> s = string8At(i); in indexOfString()
1439 return id >= 0 ? UnpackOptionalString(mTree.mStrings.string8At(id), outLen) : NULL; in getAttributeNamespace8()
1474 return id >= 0 ? UnpackOptionalString(mTree.mStrings.string8At(id), outLen) : NULL; in getAttributeName8()
6518 return mPool->string8At(mIndex); in string8()
7658 const char* str8 = UnpackOptionalString(pkg->header->values.string8At( in print_value()
DLoadedArsc.cpp345 const auto type_name = type_string_pool_.string8At(type_idx); in CollectConfigurations()
/frameworks/base/libs/androidfw/tests/
DStringPool_test.cpp281 EXPECT_TRUE(test.stringAt(4).has_value() || test.string8At(4).has_value()); in TEST()
322 auto str = test.string8At(0); in TEST()
326 str = test.string8At(1); in TEST()
330 str = test.string8At(2); in TEST()
DAttributeResolution_bench.cpp115 auto layout_path = assetmanager.GetStringPoolForCookie(value->cookie)->string8At(value->data); in BM_ApplyStyleFramework()
DResTable_test.cpp418 auto target_str8 = pool->string8At(val.data); in TEST()
448 ASSERT_FALSE(invalid_pool->string8At(invalid_val.data).has_value()); in TEST()
/frameworks/base/core/jni/
Dandroid_util_StringBlock.cpp78 if (auto str8 = osb->string8At(idx); str8.has_value()) { in android_content_StringBlock_nativeGetString()
Dandroid_util_AssetManager.cpp786 if (auto str_utf8 = pool->string8At(attr_value.data); str_utf8.has_value()) { in NativeGetResourceStringArray()
/frameworks/base/libs/androidfw/include/androidfw/
DIdmap.h52 base::expected<StringPiece, NullOrIOError> string8At(size_t idx) const override;
DResourceTypes.h537 virtual base::expected<StringPiece, NullOrIOError> string8At(size_t idx) const;
/frameworks/base/tools/aapt/
DStringPool.cpp55 uniqueStrings.add(UnpackOptionalString(pool->string8At(i), &len)); in printStringPool()
/frameworks/base/tools/aapt2/
DDebug.cpp445 uniqueStrings.add(UnpackOptionalString(pool->string8At(i), &len)); in DumpResStringPool()