Searched refs:prop_area (Results 1 – 13 of 13) sorted by relevance
/bionic/libc/system_properties/ |
D | prop_area.cpp | 52 size_t prop_area::pa_size_ = 0; 53 size_t prop_area::pa_data_size_ = 0; 55 prop_area* prop_area::map_prop_area_rw(const char* filename, const char* context, in map_prop_area_rw() 97 pa_data_size_ = pa_size_ - sizeof(prop_area); in map_prop_area_rw() 105 prop_area* pa = new (memory_area) prop_area(PROP_AREA_MAGIC, PROP_AREA_VERSION); in map_prop_area_rw() 111 prop_area* prop_area::map_fd_ro(const int fd) { in map_fd_ro() 119 (fd_stat.st_size < static_cast<off_t>(sizeof(prop_area)))) { in map_fd_ro() 124 pa_data_size_ = pa_size_ - sizeof(prop_area); in map_fd_ro() 131 prop_area* pa = reinterpret_cast<prop_area*>(map_result); in map_fd_ro() 140 prop_area* prop_area::map_prop_area(const char* filename) { in map_prop_area() [all …]
|
D | context_node.cpp | 54 pa_ = prop_area::map_prop_area_rw(filename.c_str(), context_, fsetxattr_failed); in Open() 56 pa_ = prop_area::map_prop_area(filename.c_str()); in Open() 86 prop_area::unmap_prop_area(&pa_); in Unmap()
|
D | system_properties.cpp | 153 prop_area* pa = contexts_->GetSerialPropArea(); in AreaSerial() 167 prop_area* pa = contexts_->GetPropAreaForName(name); in Find() 194 prop_area* pa = contexts_->GetPropAreaForName(pi->name); in ReadMutablePropertyValue() 280 prop_area* serial_pa = contexts_->GetSerialPropArea(); in Update() 281 prop_area* override_serial_pa = in Update() 286 prop_area* pa = contexts_->GetPropAreaForName(pi->name); in Update() 287 prop_area* override_pa = in Update() 359 prop_area* serial_pa = contexts_->GetSerialPropArea(); in Add() 366 prop_area* pa = contexts_->GetPropAreaForName(name); in Add() 383 prop_area* other_pa = appcompat_override_contexts_->GetPropAreaForName(override_name); in Add() [all …]
|
D | contexts_serialized.cpp | 71 serial_prop_area_ = prop_area::map_prop_area_rw( in MapSerialPropertyArea() 74 serial_prop_area_ = prop_area::map_prop_area(serial_filename_.c_str()); in MapSerialPropertyArea() 133 prop_area* ContextsSerialized::GetPropAreaForName(const char* name) { in GetPropAreaForName() 174 prop_area::unmap_prop_area(&serial_prop_area_); in FreeAndUnmap()
|
D | contexts_split.cpp | 197 serial_prop_area_ = prop_area::map_prop_area_rw( in MapSerialPropertyArea() 200 serial_prop_area_ = prop_area::map_prop_area(filename.c_str()); in MapSerialPropertyArea() 323 prop_area* ContextsSplit::GetPropAreaForName(const char* name) { in GetPropAreaForName() 354 prop_area::unmap_prop_area(&serial_prop_area_); in FreeAndUnmap()
|
D | Android.bp | 23 "prop_area.cpp",
|
/bionic/libc/system_properties/include/system_properties/ |
D | contexts_pre_split.h | 42 pre_split_prop_area_ = prop_area::map_prop_area(filename); in Initialize() 46 virtual prop_area* GetPropAreaForName(const char*) override { in GetPropAreaForName() 50 virtual prop_area* GetSerialPropArea() override { in GetSerialPropArea() 64 prop_area::unmap_prop_area(&pre_split_prop_area_); in FreeAndUnmap() 68 prop_area* pre_split_prop_area_ = nullptr;
|
D | prop_area.h | 92 class prop_area { 94 static prop_area* map_prop_area_rw(const char* filename, const char* context, 96 static prop_area* map_prop_area(const char* filename); 97 static void unmap_prop_area(prop_area** pa) { in unmap_prop_area() 104 prop_area(const uint32_t magic, const uint32_t version) : magic_(magic), version_(version) { in prop_area() function 142 static prop_area* map_fd_ro(const int fd); 177 BIONIC_DISALLOW_COPY_AND_ASSIGN(prop_area);
|
D | contexts_split.h | 43 virtual prop_area* GetPropAreaForName(const char* name) override; 44 virtual prop_area* GetSerialPropArea() override { in GetSerialPropArea() 60 prop_area* serial_prop_area_ = nullptr;
|
D | contexts_serialized.h | 44 virtual prop_area* GetPropAreaForName(const char* name) override; 45 virtual prop_area* GetSerialPropArea() override { in GetSerialPropArea() 64 prop_area* serial_prop_area_ = nullptr;
|
D | contexts.h | 41 virtual prop_area* GetPropAreaForName(const char* name) = 0; 42 virtual prop_area* GetSerialPropArea() = 0;
|
D | context_node.h | 55 prop_area* pa() { in pa() 64 prop_area* pa_;
|
/bionic/libc/bionic/ |
D | system_property_api.cpp | 45 prop_area* __system_property_area__ = nullptr;
|