Searched refs:property_name (Results 1 – 5 of 5) sorted by relevance
/bionic/tests/ |
D | system_properties_test2.cpp | 48 const std::string property_name = property_prefix + "property1"; in TEST() local 51 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "value1")); in TEST() 52 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST() 63 ASSERT_EQ(-1, __system_property_set(property_name.c_str(), long_value.c_str())); in TEST() 64 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST() 68 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "value1-1")); in TEST() 69 ASSERT_EQ(8, __system_property_get(property_name.c_str(), propvalue)); in TEST() 87 const prop_info* pi = __system_property_find(property_name.c_str()); in TEST() 90 std::string expected_name = property_name; in TEST() 110 pi = __system_property_find(property_name.c_str()); in TEST() [all …]
|
D | system_properties_test.cpp | 620 std::string property_name = in TEST() local 622 ASSERT_EQ(0, __system_property_find(property_name.c_str())); in TEST() 623 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "test value")); in TEST() 625 const prop_info* readptr = __system_property_find(property_name.c_str()); in TEST() 626 std::string expected_name = property_name; in TEST() 677 std::string property_name = in TEST() local 679 ASSERT_EQ(0, __system_property_find(property_name.c_str())); in TEST() 680 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "test value")); in TEST() 693 ASSERT_EQ(0, __system_property_find(property_name.c_str())); in TEST()
|
/bionic/libc/bionic/ |
D | sysprop_helpers.cpp | 37 static bool get_property_value(const char* property_name, char* dest, size_t dest_size) { in get_property_value() argument 38 assert(property_name && dest && dest_size != 0); in get_property_value() 39 const prop_info* prop = __system_property_find(property_name); in get_property_value()
|
/bionic/libc/private/ |
D | CachedProperty.h | 41 explicit CachedProperty(const char* property_name) in CachedProperty() argument 42 : property_name_(property_name), in CachedProperty() 46 is_read_only_(strncmp(property_name, "ro.", 3) == 0), in CachedProperty()
|
/bionic/linker/ |
D | linker_logger.cpp | 82 std::string property_name = std::string("debug.ld.app.") + process_name; in GetAppSpecificProperty() local 83 __system_property_get(property_name.c_str(), buffer); in GetAppSpecificProperty()
|