Searched refs:string8At (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/cmds/idmap2/tests/ |
D | FabricatedOverlayTests.cpp | 86 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/ |
D | Idmap.cpp | 106 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()
|
D | Util.cpp | 211 if (auto str = pool.string8At(idx); str.ok()) { in GetString()
|
D | ResourceTypes.cpp | 935 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()
|
D | LoadedArsc.cpp | 345 const auto type_name = type_string_pool_.string8At(type_idx); in CollectConfigurations()
|
/frameworks/base/libs/androidfw/tests/ |
D | StringPool_test.cpp | 281 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()
|
D | AttributeResolution_bench.cpp | 115 auto layout_path = assetmanager.GetStringPoolForCookie(value->cookie)->string8At(value->data); in BM_ApplyStyleFramework()
|
D | ResTable_test.cpp | 418 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/ |
D | android_util_StringBlock.cpp | 78 if (auto str8 = osb->string8At(idx); str8.has_value()) { in android_content_StringBlock_nativeGetString()
|
D | android_util_AssetManager.cpp | 786 if (auto str_utf8 = pool->string8At(attr_value.data); str_utf8.has_value()) { in NativeGetResourceStringArray()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Idmap.h | 52 base::expected<StringPiece, NullOrIOError> string8At(size_t idx) const override;
|
D | ResourceTypes.h | 537 virtual base::expected<StringPiece, NullOrIOError> string8At(size_t idx) const;
|
/frameworks/base/tools/aapt/ |
D | StringPool.cpp | 55 uniqueStrings.add(UnpackOptionalString(pool->string8At(i), &len)); in printStringPool()
|
/frameworks/base/tools/aapt2/ |
D | Debug.cpp | 445 uniqueStrings.add(UnpackOptionalString(pool->string8At(i), &len)); in DumpResStringPool()
|