Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp63 const uint8_t type_index = get_type_id(app::R::string::string_one) - 1; in TEST() local
66 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
150 uint8_t type_index = get_type_id(basic::R::string::test3) - 1; in TEST() local
153 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
335 const uint8_t type_index = get_type_id(overlayable::R::string::overlayable11) - 1; in TEST() local
338 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
367 const uint8_t type_index = get_type_id(sparse::R::integer::foo_9) - 1; in TEST_P() local
370 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST_P()
390 const uint8_t type_index = get_type_id(sparse::R::string::only_land) - 1; in TEST_P() local
392 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST_P()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h244 inline const TypeSpec* GetTypeSpecByTypeIndex(uint8_t type_index) const { in GetTypeSpecByTypeIndex() argument
247 const auto& type_spec = type_specs_.find(type_index + 1 - type_id_offset_); in GetTypeSpecByTypeIndex()