Searched refs:exact_matches (Results 1 – 3 of 3) sorted by relevance
/system/core/property_service/libpropertyinfoserializer/ |
D | trie_builder_test.cpp | 49 EXPECT_EQ(0U, builder_root.exact_matches().size()); in TEST() 71 EXPECT_EQ(3U, test_node->exact_matches().size()); in TEST() 72 EXPECT_EQ("test1", test_node->exact_matches()[0].name); in TEST() 73 EXPECT_EQ("test2", test_node->exact_matches()[1].name); in TEST() 74 EXPECT_EQ("test3", test_node->exact_matches()[2].name); in TEST() 76 ASSERT_NE(nullptr, test_node->exact_matches()[0].context); in TEST() 77 ASSERT_NE(nullptr, test_node->exact_matches()[1].context); in TEST() 78 ASSERT_NE(nullptr, test_node->exact_matches()[2].context); in TEST() 79 EXPECT_EQ("3rd", *test_node->exact_matches()[0].context); in TEST() 80 EXPECT_EQ("3rd", *test_node->exact_matches()[1].context); in TEST() [all …]
|
D | trie_builder.h | 90 const std::vector<PropertyEntryBuilder>& exact_matches() const { return exact_matches_; } in exact_matches() function
|
D | trie_serializer.cpp | 81 auto sorted_exact_matches = builder_node.exact_matches(); in WriteTrieNode()
|