Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DLoadedArsc.cpp314 const auto type_name16 = type_string_pool_.stringAt(type_idx); in CollectConfigurations() local
315 if (UNLIKELY(IsIOError(type_name16))) { in CollectConfigurations()
316 return base::unexpected(GetIOError(type_name16.error())); in CollectConfigurations()
318 if (type_name16.has_value()) { in CollectConfigurations()
319 if (strncmp16(type_name16->data(), u"mipmap", type_name16->size()) == 0) { in CollectConfigurations()
/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp181 auto type_name16 = package->GetTypeStringPool()->stringAt(type_spec->type_spec->id - 1); in TEST() local
182 ASSERT_TRUE(type_name16.has_value()); in TEST()
183 EXPECT_THAT(util::Utf16ToUtf8(*type_name16), StrEq("string")); in TEST()