Home
last modified time | relevance | path

Searched refs:type_name16 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/androidfw/
DLoadedArsc.cpp334 const auto type_name16 = type_string_pool_.stringAt(type_idx); in CollectConfigurations() local
335 if (UNLIKELY(IsIOError(type_name16))) { in CollectConfigurations()
336 return base::unexpected(GetIOError(type_name16.error())); in CollectConfigurations()
338 if (type_name16.has_value()) { in CollectConfigurations()
339 if (strncmp16(type_name16->data(), u"mipmap", type_name16->size()) == 0) { in CollectConfigurations()
/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp157 auto type_name16 = package->GetTypeStringPool()->stringAt(type_spec->type_spec->id - 1); in TEST() local
158 ASSERT_TRUE(type_name16.has_value()); in TEST()
159 EXPECT_THAT(util::Utf16ToUtf8(*type_name16), StrEq("string")); in TEST()