Home
last modified time | relevance | path

Searched refs:property_entry (Results 1 – 6 of 6) sorted by relevance

/system/core/property_service/libpropertyinfoserializer/
Dtrie_builder_test.cpp64 auto& property_entry = test_node->prefixes()[0]; in TEST() local
65 EXPECT_EQ("test", property_entry.name); in TEST()
66 ASSERT_NE(nullptr, property_entry.context); in TEST()
67 EXPECT_EQ("2nd", *property_entry.context); in TEST()
68 ASSERT_NE(nullptr, property_entry.type); in TEST()
69 EXPECT_EQ("2nd_type", *property_entry.type); in TEST()
119 auto& property_entry = long_string_node->exact_matches()[0]; in TEST() local
120 EXPECT_EQ("string", property_entry.name); in TEST()
121 ASSERT_NE(nullptr, property_entry.context); in TEST()
122 EXPECT_EQ("4th", *property_entry.context); in TEST()
[all …]
Dtrie_serializer.cpp42 uint32_t TrieSerializer::WritePropertyEntry(const PropertyEntryBuilder& property_entry) { in WritePropertyEntry() argument
43 uint32_t context_index = property_entry.context != nullptr && !property_entry.context->empty() in WritePropertyEntry()
44 … ? serialized_info()->FindContextIndex(property_entry.context->c_str()) in WritePropertyEntry()
46 uint32_t type_index = property_entry.type != nullptr && !property_entry.type->empty() in WritePropertyEntry()
47 ? serialized_info()->FindTypeIndex(property_entry.type->c_str()) in WritePropertyEntry()
51 serialized_property_entry->name_offset = arena_->AllocateAndWriteString(property_entry.name); in WritePropertyEntry()
52 serialized_property_entry->namelen = property_entry.name.size(); in WritePropertyEntry()
62 trie->property_entry = WritePropertyEntry(builder_node.property_entry()); in WriteTrieNode()
Dtrie_serializer.h39 uint32_t WritePropertyEntry(const PropertyEntryBuilder& property_entry);
Dtrie_builder.h86 const PropertyEntryBuilder property_entry() const { return property_entry_; } in property_entry() function
/system/core/property_service/libpropertyinfoparser/include/property_info_parser/
Dproperty_info_parser.h41 uint32_t property_entry; member
137 trie_node_base_->property_entry); in node_property_entry()
/system/update_engine/scripts/
Dupdate_device.py105 property_entry = (self.SECONDARY_OTA_PAYLOAD_PROPERTIES_TXT if
107 self.properties = otazip.read(property_entry)