platform_system_core/property_service/libpropertyinfoserializer
Tom Cherry 26eba2879d Always check prefix matches array at each node
Currently, we only check if the name of a given node in the trie is a
prefix match and the prefix matches array of the final node.  This is
incorrect however, as the prefix matches array of intermediate nodes
may contain the prefix for a given property.  This change adds that
check and test cases for this case.

Bug: 36001741
Test: new unit tests
Change-Id: I9f58ebc559f2ac591aa44df9e71205704bf18f66
2017-12-13 16:58:33 -08:00
..
include/property_info_serializer Parse property contexts via a serialized trie 2017-12-11 16:11:42 -08:00
Android.bp Parse property contexts via a serialized trie 2017-12-11 16:11:42 -08:00
property_info_serializer.cpp Parse property contexts via a serialized trie 2017-12-11 16:11:42 -08:00
property_info_serializer_test.cpp Always check prefix matches array at each node 2017-12-13 16:58:33 -08:00
trie_builder.cpp Parse property contexts via a serialized trie 2017-12-11 16:11:42 -08:00
trie_builder.h Parse property contexts via a serialized trie 2017-12-11 16:11:42 -08:00
trie_builder_test.cpp Parse property contexts via a serialized trie 2017-12-11 16:11:42 -08:00
trie_node_arena.h Parse property contexts via a serialized trie 2017-12-11 16:11:42 -08:00
trie_serializer.cpp Parse property contexts via a serialized trie 2017-12-11 16:11:42 -08:00
trie_serializer.h Parse property contexts via a serialized trie 2017-12-11 16:11:42 -08:00