Lines Matching refs:property_name
52 const std::string property_name = property_prefix + "property1"; in TEST() local
55 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "value1")); in TEST()
56 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
67 ASSERT_EQ(-1, __system_property_set(property_name.c_str(), long_value.c_str())); in TEST()
68 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
72 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "value1-1")); in TEST()
73 ASSERT_EQ(8, __system_property_get(property_name.c_str(), propvalue)); in TEST()
91 const prop_info* pi = __system_property_find(property_name.c_str()); in TEST()
94 std::string expected_name = property_name; in TEST()
114 pi = __system_property_find(property_name.c_str()); in TEST()
117 expected_name = std::string(property_name.c_str(), PROP_NAME_MAX-1); in TEST()
139 const std::string property_name = property_prefix + "property1"; in TEST() local
143 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "value1")); in TEST()
144 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
147 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "value2")); in TEST()
148 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
162 const std::string property_name = ss.str(); in TEST() local
165 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "")); in TEST()
166 ASSERT_EQ(0, __system_property_get(property_name.c_str(), propvalue)); in TEST()