Home
last modified time | relevance | path

Searched refs:AddToTrie (Results 1 – 4 of 4) sorted by relevance

/system/core/property_service/libpropertyinfoserializer/
Dtrie_builder_test.cpp29 EXPECT_TRUE(trie_builder.AddToTrie("test.", "1st", "1st_type", false, &error)); in TEST()
30 EXPECT_TRUE(trie_builder.AddToTrie("test.test", "2nd", "2nd_type", false, &error)); in TEST()
31 EXPECT_TRUE(trie_builder.AddToTrie("test.test1", "3rd", "3rd_type", true, &error)); in TEST()
32 EXPECT_TRUE(trie_builder.AddToTrie("test.test2", "3rd", "3rd_type", true, &error)); in TEST()
33 EXPECT_TRUE(trie_builder.AddToTrie("test.test3", "3rd", "3rd_type", true, &error)); in TEST()
34 EXPECT_TRUE(trie_builder.AddToTrie("this.is.a.long.string", "4th", "4th_type", true, &error)); in TEST()
Dtrie_builder.cpp34 bool TrieBuilder::AddToTrie(const std::string& name, const std::string& context, in AddToTrie() function in android::properties::TrieBuilder
38 return AddToTrie(name, context_pointer, type_pointer, exact, error); in AddToTrie()
41 bool TrieBuilder::AddToTrie(const std::string& name, const std::string* context, in AddToTrie() function in android::properties::TrieBuilder
Dproperty_info_serializer.cpp36 if (!trie_builder.AddToTrie(name, context, type, is_exact, error)) { in BuildTrie()
Dtrie_builder.h102 bool AddToTrie(const std::string& name, const std::string& context, const std::string& type,
110 bool AddToTrie(const std::string& name, const std::string* context, const std::string* type,