Searched refs:prop_name (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | system_properties_test.cpp | 242 char prop_name[PROP_NAME_MAX]; in TEST() local 249 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", count); in TEST() 250 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 253 prop_name[PROP_NAME_MAX - 1] = 0; in TEST() 256 ret = system_properties.Add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST() 267 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", i); in TEST() 268 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 271 prop_name[PROP_NAME_MAX - 1] = 0; in TEST() 275 ASSERT_EQ(PROP_VALUE_MAX - 1, system_properties.Get(prop_name, prop_value_ret)); in TEST() 334 char prop_name[PROP_NAME_MAX]; in TEST() local [all …]
|