Searched refs:system_properties (Results 1 – 14 of 14) sorted by relevance
21 use rustutils::system_properties;81 system_properties::read(&prop.to_string());84 system_properties::write(&prop.to_string(), &value);87 … if let Ok(mut watcher) = system_properties::PropertyWatcher::new(&prop.to_string()) {100 let result = match system_properties::PropertyWatcher::new(prop_str) {111 system_properties::write(prop_str, &cur_value.to_string());
18 pub mod system_properties; module
77 wrapper_src: "bindgen/system_properties.h",
23 #if __has_include(<sys/system_properties.h>)
137 let value = rustutils::system_properties::read(key).unwrap_or(None).unwrap_or(default_value); in get_property()146 Ok(rustutils::system_properties::write(key, &value)?) in set_property()
94 #if __has_include(<sys/system_properties.h>)
63 rustutils::system_properties::read_bool(property_name, default_value) in is_rkp_only()
587 rustutils::system_properties::write(KEYSTORE_CRASH_COUNT_PROPERTY, &new_count.to_string()) in update_keystore_crash_sysprop()601 match rustutils::system_properties::read("keystore.crash_count") { in read_keystore_crash_count()
51 let property_val = rustutils::system_properties::read(PROPERTY_NAME) in lookup_level_zero_km_and_strategy()
47 use rustutils::system_properties::PropertyWatcher;
49 match rustutils::system_properties::read(name) { in get_property()
50 …matches!(rustutils::system_properties::read("remote_provisioning.tee.rkp_only"), Ok(Some(v)) if v … in rkp_only()
504 match rustutils::system_properties::read(name) { in get_system_prop()