Searched refs:type_index (Results 1 – 6 of 6) sorted by relevance
/aosp14/system/core/property_service/libpropertyinfoparser/ |
H A D | property_info_parser.cpp | 102 if (trie_node.prefix(i)->type_index != ~0u) { in CheckPrefixMatch() 103 *type_index = trie_node.prefix(i)->type_index; in CheckPrefixMatch() 123 if (trie_node.type_index() != ~0u) { in GetPropertyInfoIndexes() 124 return_type_index = trie_node.type_index(); in GetPropertyInfoIndexes() 156 if (type_index != nullptr) { in GetPropertyInfoIndexes() 158 *type_index = trie_node.exact_match(i)->type_index; in GetPropertyInfoIndexes() 160 *type_index = return_type_index; in GetPropertyInfoIndexes() 170 if (type_index != nullptr) *type_index = return_type_index; in GetPropertyInfoIndexes() 177 uint32_t type_index; in GetPropertyInfo() local 187 if (type_index == ~0u) { in GetPropertyInfo() [all …]
|
/aosp14/system/core/property_service/libpropertyinfoparser/include/property_info_parser/ |
H A D | property_info_parser.h | 36 uint32_t type_index; member 106 uint32_t type_index() const { return node_property_entry()->type_index; } in type_index() function 146 …void GetPropertyInfoIndexes(const char* name, uint32_t* context_index, uint32_t* type_index) const; 176 uint32_t* context_index, uint32_t* type_index) const;
|
/aosp14/frameworks/base/libs/androidfw/tests/ |
H A D | LoadedArsc_test.cpp | 63 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()
|
/aosp14/system/core/property_service/libpropertyinfoserializer/ |
H A D | property_info_serializer_test.cpp | 49 EXPECT_STREQ("default", property_info_area->type(root_node.type_index())); in TEST() 62 EXPECT_STREQ("1st", property_info_area->type(test_node.type_index())); in TEST() 72 EXPECT_STREQ("2nd", property_info_area->type(prefix->type_index)); in TEST() 88 EXPECT_STREQ("3rd", property_info_area->type(match1->type_index)); in TEST() 89 EXPECT_STREQ("3rd", property_info_area->type(match2->type_index)); in TEST() 90 EXPECT_STREQ("3rd", property_info_area->type(match3->type_index)); in TEST() 123 EXPECT_STREQ("4th", property_info_area->type(final_match->type_index)); in TEST() 146 EXPECT_STREQ("default", property_info_area->type(root_node.type_index())); in TEST()
|
H A D | trie_serializer.cpp | 46 uint32_t type_index = property_entry.type != nullptr && !property_entry.type->empty() in WritePropertyEntry() local 54 serialized_property_entry->type_index = type_index; in WritePropertyEntry()
|
/aosp14/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | LoadedArsc.h | 238 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()
|