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()
87 const uint8_t type_index = get_type_id(sparse::R::integer::foo_9) - 1; in TEST() local
90 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
111 const uint8_t type_index = get_type_id(sparse::R::string::only_v26) - 1; in TEST() local
114 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
206 uint8_t type_index = get_type_id(basic::R::string::test3) - 1; in TEST() local
209 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
391 const uint8_t type_index = get_type_id(overlayable::R::string::overlayable11) - 1; in TEST() local
394 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h238 inline const TypeSpec* GetTypeSpecByTypeIndex(uint8_t type_index) const { in GetTypeSpecByTypeIndex() argument
241 const auto& type_spec = type_specs_.find(type_index + 1 - type_id_offset_); in GetTypeSpecByTypeIndex()