Home
last modified time | relevance | path

Searched refs:type_idx (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/androidfw/
DLoadedArsc.cpp333 const int type_idx = type_spec.first - 1; in CollectConfigurations() local
334 const auto type_name16 = type_string_pool_.stringAt(type_idx); in CollectConfigurations()
345 const auto type_name = type_string_pool_.string8At(type_idx); in CollectConfigurations()
379 const base::expected<size_t, NullOrIOError> type_idx = type_string_pool_.indexOfString( in FindEntryByName() local
381 if (!type_idx.has_value()) { in FindEntryByName()
382 return base::unexpected(type_idx.error()); in FindEntryByName()
391 const TypeSpec* type_spec = GetTypeSpecByTypeIndex(*type_idx); in FindEntryByName()
437 return make_resid(0x00, *type_idx + type_id_offset_ + 1, res_idx); in FindEntryByName()
DAssetManager2.cpp658 const uint8_t type_idx = get_type_id(resid) - 1; in FindEntry() local
683 auto result = FindEntryInternal(package_group, type_idx, entry_idx, *desired_config, in FindEntry()
824 const PackageGroup& package_group, uint8_t type_idx, uint16_t entry_idx, in FindEntryInternal() argument
850 const TypeSpec* type_spec = loaded_package->GetTypeSpecByTypeIndex(type_idx); in FindEntryInternal()
865 const FilteredConfigGroup& filtered_group = loaded_package_impl.filtered_configs_[type_idx]; in FindEntryInternal()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h430 const PackageGroup& package_group, uint8_t type_idx, uint16_t entry_idx,