Searched refs:prop_name (Results 1 – 1 of 1) sorted by relevance
/bionic/tests/ |
D | system_properties_test.cpp | 168 char prop_name[PROP_NAME_MAX]; in TEST() local 175 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", count); in TEST() 176 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 179 prop_name[PROP_NAME_MAX - 1] = 0; in TEST() 182 ret = system_properties.Add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST() 193 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", i); in TEST() 194 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST() 197 prop_name[PROP_NAME_MAX - 1] = 0; in TEST() 201 ASSERT_EQ(PROP_VALUE_MAX - 1, system_properties.Get(prop_name, prop_value_ret)); in TEST() 260 char prop_name[PROP_NAME_MAX]; in TEST() local [all …]
|