Searched refs:override_name (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/system_properties/ |
D | system_properties.cpp | 381 const char* override_name = name; in Add() local 382 if (is_override) override_name += strlen(APPCOMPAT_PREFIX); in Add() 383 prop_area* other_pa = appcompat_override_contexts_->GetPropAreaForName(override_name); in Add() 389 auto other_pi = const_cast<prop_info*>(other_pa->find(override_name)); in Add() 391 if (other_pa->add(override_name, strlen(override_name), value, valuelen)) { in Add()
|
/bionic/tests/ |
D | system_properties_test.cpp | 157 char override_name[] = "ro.appcompat_override.ro.property"; in TEST() local 161 ASSERT_EQ(0, system_properties.Add(override_name, strlen(override_name), "value2", 6)); in TEST() 169 ASSERT_EQ(6, system_properties.Get(override_name, propvalue)); in TEST() 188 ASSERT_EQ(0, system_properties.Get(override_name, propvalue)); in TEST()
|