/bionic/libc/include/sys/ |
D | system_properties.h | 39 typedef struct prop_info prop_info; typedef 54 const prop_info* __system_property_find(const char* __name); 59 void __system_property_read_callback(const prop_info* __pi, 69 int __system_property_foreach(void (*__callback)(const prop_info* __pi, void* __cookie), void* __co… 85 bool __system_property_wait(const prop_info* __pi, uint32_t __old_serial, uint32_t* __new_serial_pt… 91 int __system_property_read(const prop_info* __pi, char* __name, char* __value); 95 const prop_info* __system_property_find_nth(unsigned __n);
|
D | _system_properties.h | 115 int __system_property_update(prop_info* __pi, const char* __value, unsigned int __value_length); 122 uint32_t __system_property_serial(const prop_info* __pi);
|
/bionic/libc/system_properties/include/system_properties/ |
D | system_properties.h | 60 const prop_info* Find(const char* name); 61 int Read(const prop_info* pi, char* name, char* value); 62 void ReadCallback(const prop_info* pi, 67 int Update(prop_info* pi, const char* value, unsigned int len); 70 bool Wait(const prop_info* pi, uint32_t old_serial, uint32_t* new_serial_ptr, 72 const prop_info* FindNth(unsigned n); 73 int Foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie); 76 uint32_t ReadMutablePropertyValue(const prop_info* pi, char* value);
|
D | prop_info.h | 44 struct prop_info { struct 82 prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen); argument 83 prop_info(const char* name, uint32_t namelen, uint32_t long_offset); 86 BIONIC_DISALLOW_IMPLICIT_CONSTRUCTORS(prop_info); 89 static_assert(sizeof(prop_info) == 96, "sizeof struct prop_info must be 96 bytes");
|
D | prop_area.h | 125 const prop_info* find(const char* name); 128 bool foreach (void (*propfn)(const prop_info* pi, void* cookie), void* cookie); 148 prop_info* new_prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen, 152 prop_info* to_prop_info(atomic_uint_least32_t* off_p); 158 const prop_info* find_property(prop_bt* const trie, const char* name, uint32_t namelen, 161 bool foreach_property(prop_bt* const trie, void (*propfn)(const prop_info* pi, void* cookie),
|
D | contexts.h | 42 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) = 0;
|
D | contexts_pre_split.h | 54 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override { in ForEach()
|
D | contexts_serialized.h | 46 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
D | contexts_split.h | 46 virtual void ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) override;
|
/bionic/libc/bionic/ |
D | system_property_api.cpp | 68 const prop_info* __system_property_find(const char* name) { in __system_property_find() 73 int __system_property_read(const prop_info* pi, char* name, char* value) { in __system_property_read() 78 void __system_property_read_callback(const prop_info* pi, in __system_property_read_callback() 91 int __system_property_update(prop_info* pi, const char* value, unsigned int len) { in __system_property_update() 102 uint32_t __system_property_serial(const prop_info* pi) { in __system_property_serial() 118 bool __system_property_wait(const prop_info* pi, uint32_t old_serial, uint32_t* new_serial_ptr, in __system_property_wait() 124 const prop_info* __system_property_find_nth(unsigned n) { in __system_property_find_nth() 129 int __system_property_foreach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in __system_property_foreach()
|
D | fdsan.cpp | 352 const prop_info* pi = __system_property_find(kFdsanPropertyName); in android_fdsan_set_error_level_from_property()
|
/bionic/libc/system_properties/ |
D | prop_info.cpp | 35 static_assert(sizeof(kLongLegacyError) < prop_info::kLongLegacyErrorBufferSize, 38 prop_info::prop_info(const char* name, uint32_t namelen, const char* value, uint32_t valuelen) { in prop_info() function in prop_info 46 prop_info::prop_info(const char* name, uint32_t namelen, uint32_t long_offset) { in prop_info() function in prop_info
|
D | prop_area.cpp | 169 prop_info* prop_area::new_prop_info(const char* name, uint32_t namelen, const char* value, in new_prop_info() 172 void* const p = allocate_obj(sizeof(prop_info) + namelen + 1, &new_offset); in new_prop_info() 175 prop_info* info; in new_prop_info() 189 info = new (p) prop_info(name, namelen, long_value_offset); in new_prop_info() 191 info = new (p) prop_info(name, namelen, value, valuelen); in new_prop_info() 208 inline prop_info* prop_area::to_prop_info(atomic_uint_least32_t* off_p) { in to_prop_info() 210 return reinterpret_cast<prop_info*>(to_prop_obj(off)); in to_prop_info() 275 const prop_info* prop_area::find_property(prop_bt* const trie, const char* name, uint32_t namelen, in find_property() 322 prop_info* new_info = new_prop_info(name, namelen, value, valuelen, &new_offset); in find_property() 334 void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in foreach_property() [all …]
|
D | system_properties.cpp | 125 const prop_info* SystemProperties::Find(const char* name) { in Find() 143 uint32_t SystemProperties::ReadMutablePropertyValue(const prop_info* pi, char* value) { in ReadMutablePropertyValue() 174 int SystemProperties::Read(const prop_info* pi, char* name, char* value) { in Read() 197 void SystemProperties::ReadCallback(const prop_info* pi, in ReadCallback() 219 const prop_info* pi = Find(name); in Get() 229 int SystemProperties::Update(prop_info* pi, const char* value, unsigned int len) { in Update() 318 bool SystemProperties::Wait(const prop_info* pi, uint32_t old_serial, uint32_t* new_serial_ptr, in Wait() 350 const prop_info* SystemProperties::FindNth(unsigned n) { in FindNth() 354 const prop_info* result; in FindNth() 358 static void fn(const prop_info* pi, void* ptr) { in FindNth() [all …]
|
D | Android.bp | 10 "prop_info.cpp",
|
D | contexts_serialized.cpp | 147 void ContextsSerialized::ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in ForEach()
|
D | contexts_split.cpp | 345 void ContextsSplit::ForEach(void (*propfn)(const prop_info* pi, void* cookie), void* cookie) { in ForEach()
|
/bionic/tests/ |
D | system_properties_test.cpp | 58 static void foreach_test_callback(const prop_info *pi, void* cookie) { in foreach_test_callback() 65 static void hierarchical_test_callback(const prop_info *pi, void *cookie) { in hierarchical_test_callback() 137 const prop_info* pi = system_properties.Find("property"); in TEST() 139 system_properties.Update(const_cast<prop_info*>(pi), "value4", 6); in TEST() 143 system_properties.Update(const_cast<prop_info*>(pi), "newvalue5", 9); in TEST() 147 system_properties.Update(const_cast<prop_info*>(pi), "value6", 6); in TEST() 341 const prop_info* pi = system_properties.Find("property"); in TEST() 344 ASSERT_EQ(0, system_properties.Update(const_cast<prop_info*>(pi), "value2", 6)); in TEST() 359 prop_info* pi = const_cast<prop_info*>(system_properties.Find("property")); in TEST() 366 prop_info* pi = const_cast<prop_info*>(system_properties.Find("property")); in TEST() [all …]
|
D | system_properties_test2.cpp | 91 const prop_info* pi = __system_property_find(property_name.c_str()); in TEST() 122 const prop_info* pi_long = __system_property_find(long_property_name.c_str()); in TEST()
|
D | utils.h | 82 static const prop_info* pi = __system_property_find("ro.dalvik.vm.isa.arm"); in running_with_native_bridge() 85 static const prop_info* pi = __system_property_find("ro.dalvik.vm.isa.arm64"); in running_with_native_bridge()
|
/bionic/benchmarks/ |
D | property_benchmark.cpp | 158 const prop_info** pinfo = new const prop_info*[nprops]; in BM_property_read() 181 const prop_info** pinfo = new const prop_info*[nprops]; in BM_property_serial() 203 [](const prop_info* pi, void* cookie) { in BM_property_find_real()
|
/bionic/libc/private/ |
D | CachedProperty.h | 89 const prop_info* prop_info_;
|