Home
last modified time | relevance | path

Searched refs:prop_area (Results 1 – 13 of 13) sorted by relevance

/bionic/libc/system_properties/include/system_properties/
Dcontexts_pre_split.h42 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;
Dprop_area.h92 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
127 static prop_area* map_fd_ro(const int fd);
161 DISALLOW_COPY_AND_ASSIGN(prop_area);
Dcontexts_serialized.h42 virtual prop_area* GetPropAreaForName(const char* name) override;
43 virtual prop_area* GetSerialPropArea() override { in GetSerialPropArea()
60 prop_area* serial_prop_area_ = nullptr;
Dcontexts_split.h42 virtual prop_area* GetPropAreaForName(const char* name) override;
43 virtual prop_area* GetSerialPropArea() override { in GetSerialPropArea()
57 prop_area* serial_prop_area_ = nullptr;
Dcontexts.h40 virtual prop_area* GetPropAreaForName(const char* name) = 0;
41 virtual prop_area* GetSerialPropArea() = 0;
Dcontext_node.h55 prop_area* pa() { in pa()
64 prop_area* pa_;
/bionic/libc/system_properties/
Dprop_area.cpp48 size_t prop_area::pa_size_ = 0;
49 size_t prop_area::pa_data_size_ = 0;
51 prop_area* prop_area::map_prop_area_rw(const char* filename, const char* context, in map_prop_area_rw()
93 pa_data_size_ = pa_size_ - sizeof(prop_area); in map_prop_area_rw()
101 prop_area* pa = new (memory_area) prop_area(PROP_AREA_MAGIC, PROP_AREA_VERSION); in map_prop_area_rw()
107 prop_area* prop_area::map_fd_ro(const int fd) { in map_fd_ro()
115 (fd_stat.st_size < static_cast<off_t>(sizeof(prop_area)))) { in map_fd_ro()
120 pa_data_size_ = pa_size_ - sizeof(prop_area); in map_fd_ro()
127 prop_area* pa = reinterpret_cast<prop_area*>(map_result); in map_fd_ro()
136 prop_area* prop_area::map_prop_area(const char* filename) { in map_prop_area()
[all …]
Dcontext_node.cpp60 pa_ = prop_area::map_prop_area_rw(filename, context_, fsetxattr_failed); in Open()
62 pa_ = prop_area::map_prop_area(filename); in Open()
97 prop_area::unmap_prop_area(&pa_); in Unmap()
Dcontexts_serialized.cpp78 prop_area::map_prop_area_rw(filename, "u:object_r:properties_serial:s0", fsetxattr_failed); in MapSerialPropertyArea()
80 serial_prop_area_ = prop_area::map_prop_area(filename); in MapSerialPropertyArea()
129 prop_area* ContextsSerialized::GetPropAreaForName(const char* name) { in GetPropAreaForName()
170 prop_area::unmap_prop_area(&serial_prop_area_); in FreeAndUnmap()
DAndroid.bp8 "prop_area.cpp",
Dsystem_properties.cpp116 prop_area* pa = contexts_->GetSerialPropArea(); in AreaSerial()
130 prop_area* pa = contexts_->GetPropAreaForName(name); in Find()
234 prop_area* pa = contexts_->GetSerialPropArea(); in Update()
272 prop_area* serial_pa = contexts_->GetSerialPropArea(); in Add()
277 prop_area* pa = contexts_->GetPropAreaForName(name); in Add()
322 prop_area* serial_pa = contexts_->GetSerialPropArea(); in Wait()
Dcontexts_split.cpp206 prop_area::map_prop_area_rw(filename, "u:object_r:properties_serial:s0", fsetxattr_failed); in MapSerialPropertyArea()
208 serial_prop_area_ = prop_area::map_prop_area(filename); in MapSerialPropertyArea()
329 prop_area* ContextsSplit::GetPropAreaForName(const char* name) { in GetPropAreaForName()
362 prop_area::unmap_prop_area(&serial_prop_area_); in FreeAndUnmap()
/bionic/libc/bionic/
Dsystem_property_api.cpp44 prop_area* __system_property_area__ = nullptr;