Home
last modified time | relevance | path

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

/bionic/tests/
Dsystem_properties_test2.cpp45 char propvalue[PROP_VALUE_MAX]; in TEST() local
54 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
55 ASSERT_STREQ("value1", propvalue); in TEST()
64 propvalue[0] = '\0'; in TEST()
66 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
67 ASSERT_STREQ("value1", propvalue); in TEST()
71 ASSERT_EQ(8, __system_property_get(property_name.c_str(), propvalue)); in TEST()
72 ASSERT_STREQ("value1-1", propvalue); in TEST()
85 ASSERT_EQ(6, __system_property_get(long_property_name.c_str(), propvalue)); in TEST()
86 ASSERT_STREQ("value2", propvalue); in TEST()
[all …]
Dsystem_properties_test.cpp133 char propvalue[PROP_VALUE_MAX]; in TEST() local
134 ASSERT_EQ(6, __system_property_get("property", propvalue)); in TEST()
135 ASSERT_STREQ(propvalue, "value1"); in TEST()
137 ASSERT_EQ(6, __system_property_get("other_property", propvalue)); in TEST()
138 ASSERT_STREQ(propvalue, "value2"); in TEST()
140 ASSERT_EQ(6, __system_property_get("property_other", propvalue)); in TEST()
141 ASSERT_STREQ(propvalue, "value3"); in TEST()
143 ASSERT_EQ(5, __system_property_get(name, propvalue)); in TEST()
144 ASSERT_STREQ(propvalue, "value"); in TEST()
171 char propvalue[PROP_VALUE_MAX]; in TEST() local
[all …]
/bionic/benchmarks/
Dproperty_benchmark.cpp169 char propvalue[PROP_VALUE_MAX]; in BM_property_read() local
177 __system_property_read(pinfo[i], 0, propvalue); in BM_property_read()