Home
last modified time | relevance | path

Searched refs:propvalue (Results 1 – 3 of 3) sorted by relevance

/bionic/tests/
Dsystem_properties_test2.cpp43 char propvalue[PROP_VALUE_MAX]; in TEST() local
52 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
53 ASSERT_STREQ("value1", propvalue); in TEST()
62 propvalue[0] = '\0'; in TEST()
64 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
65 ASSERT_STREQ("value1", propvalue); in TEST()
69 ASSERT_EQ(8, __system_property_get(property_name.c_str(), propvalue)); in TEST()
70 ASSERT_STREQ("value1-1", propvalue); in TEST()
83 ASSERT_EQ(6, __system_property_get(long_property_name.c_str(), propvalue)); in TEST()
84 ASSERT_STREQ("value2", propvalue); in TEST()
[all …]
Dsystem_properties_test.cpp133 char propvalue[PROP_VALUE_MAX]; in TEST() local
134 ASSERT_EQ(6, system_properties.Get("property", propvalue)); in TEST()
135 ASSERT_STREQ(propvalue, "value1"); in TEST()
137 ASSERT_EQ(6, system_properties.Get("other_property", propvalue)); in TEST()
138 ASSERT_STREQ(propvalue, "value2"); in TEST()
140 ASSERT_EQ(6, system_properties.Get("property_other", propvalue)); in TEST()
141 ASSERT_STREQ(propvalue, "value3"); in TEST()
143 ASSERT_EQ(5, system_properties.Get(name, propvalue)); in TEST()
144 ASSERT_STREQ(propvalue, "value"); in TEST()
165 char propvalue[PROP_VALUE_MAX]; in TEST() local
[all …]
/bionic/benchmarks/
Dproperty_benchmark.cpp163 char propvalue[PROP_VALUE_MAX]; in BM_property_read() local
171 pa.system_properties().Read(pinfo[i], nullptr, propvalue); in BM_property_read()