Searched refs:prop_str (Results 1 – 3 of 3) sorted by relevance
/system/extras/mtectrl/ |
D | mtectrl.cc | 43 std::string prop_str; in UpdateProp() local 44 if (CheckAndUnset(mode, MISC_MEMTAG_MODE_MEMTAG)) AddItem(&prop_str, "memtag"); in UpdateProp() 45 if (CheckAndUnset(mode, MISC_MEMTAG_MODE_MEMTAG_ONCE)) AddItem(&prop_str, "memtag-once"); in UpdateProp() 46 if (CheckAndUnset(mode, MISC_MEMTAG_MODE_MEMTAG_KERNEL)) AddItem(&prop_str, "memtag-kernel"); in UpdateProp() 48 AddItem(&prop_str, "memtag-kernel-once"); in UpdateProp() 49 if (CheckAndUnset(mode, MISC_MEMTAG_MODE_MEMTAG_OFF)) AddItem(&prop_str, "memtag-off"); in UpdateProp() 50 if (CheckAndUnset(mode, MISC_MEMTAG_MODE_FORCED)) AddItem(&prop_str, "forced"); in UpdateProp() 51 if (android::base::GetProperty(prop_name, "") != prop_str) in UpdateProp() 52 android::base::SetProperty(prop_name, prop_str); in UpdateProp() 55 << ". Ignoring and setting " << prop_name << " to " << prop_str; in UpdateProp()
|
/system/core/init/ |
D | action_parser.cpp | 63 const static std::string prop_str("property:"); in ParsePropertyTrigger() local 64 std::string prop_name(trigger.substr(prop_str.length())); in ParsePropertyTrigger() 97 const static std::string prop_str("property:"); in ParseTriggers() local 111 if (!args[i].compare(0, prop_str.length(), prop_str)) { in ParseTriggers()
|
/system/librustutils/ |
D | system_properties_fuzzer.rs | 95 let prop_str = "keystore.boot_level"; localVariable 100 let result = match system_properties::PropertyWatcher::new(prop_str) { 111 system_properties::write(prop_str, &cur_value.to_string());
|