Searched refs:persistent_properties (Results 1 - 8 of 8) sorted by relevance

/system/core/init/
H A Dpersistent_properties.cpp17 #include "persistent_properties.h"
42 std::string persistent_property_filename = "/data/property/persistent_properties";
49 PersistentProperties* persistent_properties) {
50 auto persistent_property_record = persistent_properties->add_properties();
62 PersistentProperties persistent_properties; local
96 AddPersistentProperty(entry->d_name, value, &persistent_properties);
101 return persistent_properties;
125 PersistentProperties persistent_properties; local
138 &persistent_properties);
139 return persistent_properties;
48 AddPersistentProperty(const std::string& name, const std::string& value, PersistentProperties* persistent_properties) argument
172 WritePersistentPropertyFile(const PersistentProperties& persistent_properties) argument
200 auto persistent_properties = LoadPersistentPropertyFile(); local
223 auto persistent_properties = LoadPersistentPropertyFile(); local
[all...]
H A Dpersistent_properties_test.cpp17 #include "persistent_properties.h"
35 PersistentProperties persistent_properties; local
38 auto persistent_property_record = persistent_properties.add_properties();
43 return persistent_properties;
47 const PersistentProperties& persistent_properties) {
48 for (const auto& persistent_property_record : persistent_properties.properties()) {
69 TEST(persistent_properties, EndToEnd) {
74 std::vector<std::pair<std::string, std::string>> persistent_properties = { local
86 ASSERT_TRUE(WritePersistentPropertyFile(VectorToPersistentProperties(persistent_properties)));
89 CheckPropertiesEqual(persistent_properties, read_back_propertie
46 CheckPropertiesEqual(std::vector<std::pair<std::string, std::string>> expected, const PersistentProperties& persistent_properties) argument
97 std::vector<std::pair<std::string, std::string>> persistent_properties = { local
118 std::vector<std::pair<std::string, std::string>> persistent_properties = { local
[all...]
H A Dpersistent_properties.h23 #include "system/core/init/persistent_properties.pb.h"
33 Result<Success> WritePersistentPropertyFile(const PersistentProperties& persistent_properties);
H A Dproperty_service.cpp60 #include "persistent_properties.h"
720 auto persistent_properties = LoadPersistentProperties(); local
721 for (const auto& persistent_property_record : persistent_properties.properties()) {
725 property_set("ro.persistent_properties.ready", "true");
/system/sepolicy/prebuilts/api/26.0/private/
H A Dproperty_contexts86 ro.persistent_properties.ready u:object_r:persistent_properties_ready_prop:s0
/system/sepolicy/prebuilts/api/27.0/private/
H A Dproperty_contexts87 ro.persistent_properties.ready u:object_r:persistent_properties_ready_prop:s0
/system/sepolicy/prebuilts/api/28.0/private/
H A Dproperty_contexts94 ro.persistent_properties.ready u:object_r:persistent_properties_ready_prop:s0
/system/sepolicy/private/
H A Dproperty_contexts94 ro.persistent_properties.ready u:object_r:persistent_properties_ready_prop:s0

Completed in 100 milliseconds