Searched refs:prop_name (Results 1 - 1 of 1) sorted by relevance

/bionic/tests/
H A Dsystem_properties_test.cpp185 char prop_name[PROP_NAME_MAX]; local
192 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", count);
193 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret);
196 prop_name[PROP_NAME_MAX - 1] = 0;
199 ret = __system_property_add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1);
210 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", i);
211 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret);
214 prop_name[PROP_NAME_MAX - 1] = 0;
218 ASSERT_EQ(PROP_VALUE_MAX - 1, __system_property_get(prop_name, prop_value_ret));
271 char prop_name[PROP_NAME_MA local
[all...]

Completed in 20 milliseconds