Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DLoadedArsc.cpp329 const int type_idx = type_spec.first - 1; in CollectConfigurations() local
330 const auto type_name16 = type_string_pool_.stringAt(type_idx); in CollectConfigurations()
341 const auto type_name = type_string_pool_.string8At(type_idx); in CollectConfigurations()
375 const base::expected<size_t, NullOrIOError> type_idx = type_string_pool_.indexOfString( in FindEntryByName() local
377 if (!type_idx.has_value()) { in FindEntryByName()
378 return base::unexpected(type_idx.error()); in FindEntryByName()
387 const TypeSpec* type_spec = GetTypeSpecByTypeIndex(*type_idx); in FindEntryByName()
433 return make_resid(0x00, *type_idx + type_id_offset_ + 1, res_idx); in FindEntryByName()
DAssetManager2.cpp641 const uint8_t type_idx = get_type_id(resid) - 1; in FindEntry() local
651 auto result = FindEntryInternal(package_group, type_idx, entry_idx, *desired_config, in FindEntry()
767 const PackageGroup& package_group, uint8_t type_idx, uint16_t entry_idx, in FindEntryInternal() argument
791 const TypeSpec* type_spec = loaded_package->GetTypeSpecByTypeIndex(type_idx); in FindEntryInternal()
806 const FilteredConfigGroup& filtered_group = loaded_package_impl.filtered_configs_[type_idx]; in FindEntryInternal()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h417 const PackageGroup& package_group, uint8_t type_idx, uint16_t entry_idx,