Home
last modified time | relevance | path

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

/system/core/property_service/libpropertyinfoserializer/
Dtrie_builder_test.cpp39 auto& builder_root = trie_builder.builder_root(); in TEST() local
42 EXPECT_EQ("root", builder_root.name()); in TEST()
43 ASSERT_NE(nullptr, builder_root.context()); in TEST()
44 EXPECT_EQ("default", *builder_root.context()); in TEST()
45 ASSERT_NE(nullptr, builder_root.type()); in TEST()
46 EXPECT_EQ("default_type", *builder_root.type()); in TEST()
48 EXPECT_EQ(0U, builder_root.prefixes().size()); in TEST()
49 EXPECT_EQ(0U, builder_root.exact_matches().size()); in TEST()
51 ASSERT_EQ(2U, builder_root.children().size()); in TEST()
54 auto* test_node = builder_root.FindChild("test"); in TEST()
[all …]
Dtrie_builder.h105 const TrieBuilderNode builder_root() const { return builder_root_; } in builder_root() function
Dtrie_serializer.cpp132 uint32_t root_trie_offset = WriteTrieNode(trie_builder.builder_root()); in SerializeTrie()