Searched refs:propvalue (Results 1 – 3 of 3) sorted by relevance
/bionic/tests/ |
D | system_properties_test2.cpp | 47 char propvalue[PROP_VALUE_MAX]; in TEST() local 56 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST() 57 ASSERT_STREQ("value1", propvalue); in TEST() 66 propvalue[0] = '\0'; in TEST() 68 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST() 69 ASSERT_STREQ("value1", propvalue); in TEST() 73 ASSERT_EQ(8, __system_property_get(property_name.c_str(), propvalue)); in TEST() 74 ASSERT_STREQ("value1-1", propvalue); in TEST() 87 ASSERT_EQ(6, __system_property_get(long_property_name.c_str(), propvalue)); in TEST() 88 ASSERT_STREQ("value2", propvalue); in TEST() [all …]
|
D | system_properties_test.cpp | 111 char propvalue[PROP_VALUE_MAX]; in TEST() local 112 ASSERT_EQ(6, system_properties.Get("property", propvalue)); in TEST() 113 ASSERT_STREQ(propvalue, "value1"); in TEST() 115 ASSERT_EQ(6, system_properties.Get("other_property", propvalue)); in TEST() 116 ASSERT_STREQ(propvalue, "value2"); in TEST() 118 ASSERT_EQ(6, system_properties.Get("property_other", propvalue)); in TEST() 119 ASSERT_STREQ(propvalue, "value3"); in TEST() 121 ASSERT_EQ(5, system_properties.Get(name, propvalue)); in TEST() 122 ASSERT_STREQ(propvalue, "value"); in TEST() 149 char propvalue[PROP_VALUE_MAX]; in TEST() local [all …]
|
/bionic/benchmarks/ |
D | property_benchmark.cpp | 159 char propvalue[PROP_VALUE_MAX]; in BM_property_read() local 167 pa.system_properties().Read(pinfo[i], nullptr, propvalue); in BM_property_read()
|