Home
last modified time | relevance | path

Searched refs:property_info_area (Results 1 – 7 of 7) sorted by relevance

/system/core/property_service/libpropertyinfoserializer/
Dproperty_info_serializer_test.cpp39 auto property_info_area = reinterpret_cast<const PropertyInfoArea*>(serialized_trie.data()); in TEST() local
42 EXPECT_EQ(1U, property_info_area->current_version()); in TEST()
43 EXPECT_EQ(1U, property_info_area->minimum_supported_version()); in TEST()
46 auto root_node = property_info_area->root_node(); in TEST()
48 EXPECT_STREQ("default", property_info_area->context(root_node.context_index())); in TEST()
49 EXPECT_STREQ("default", property_info_area->type(root_node.type_index())); in TEST()
61 EXPECT_STREQ("1st", property_info_area->context(test_node.context_index())); in TEST()
62 EXPECT_STREQ("1st", property_info_area->type(test_node.type_index())); in TEST()
71 EXPECT_STREQ("2nd", property_info_area->context(prefix->context_index)); in TEST()
72 EXPECT_STREQ("2nd", property_info_area->type(prefix->type_index)); in TEST()
[all …]
/system/core/init/
Dhost_init_verifier.h24 extern const android::properties::PropertyInfoArea* property_info_area;
Dhost_init_verifier.cpp181 const PropertyInfoArea* property_info_area; variable
263 property_info_area = reinterpret_cast<const PropertyInfoArea*>(serialized_contexts.c_str()); in main()
Dproperty_service.cpp105 static PropertyInfoAreaFile property_info_area; variable
137 property_info_area->GetPropertyInfo(name.c_str(), &target_context, nullptr); in CanReadProperty()
418 property_info_area->GetPropertyInfo(control_string_legacy.c_str(), &target_context_legacy, in CheckControlPropertyPerms()
429 property_info_area->GetPropertyInfo(control_string_full.c_str(), &target_context_full, in CheckControlPropertyPerms()
455 property_info_area->GetPropertyInfo(name.c_str(), &target_context, &type); in CheckPermissions()
1120 if (!property_info_area.LoadDefaultPath()) { in PropertyInit()
Dcheck_builtins.cpp187 property_info_area->GetPropertyInfo(name.c_str(), &target_context, &type); in check_setprop()
/system/core/property_service/property_info_checker/
Dproperty_info_checker.cpp179 auto property_info_area = reinterpret_cast<PropertyInfoArea*>(serialized_contexts.data()); in main() local
180 for (size_t i = 0; i < property_info_area->num_contexts(); ++i) { in main()
181 if (!checker.CheckContext(property_info_area->context(i))) { in main()
/system/core/property_service/libpropertyinfoparser/
Dproperty_info_parser.cpp223 auto property_info_area = reinterpret_cast<PropertyInfoArea*>(map_result); in LoadPath() local
224 if (property_info_area->minimum_supported_version() > 1 || in LoadPath()
225 property_info_area->size() != mmap_size) { in LoadPath()