Home
last modified time | relevance | path

Searched refs:as_str (Results 1 – 11 of 11) sorted by relevance

/system/security/keystore2/src/
Daudit_log.rs63 ctx.append_str(key.alias.as_ref().map_or("none", String::as_str)).append_i32(owner) in log_key_integrity_violation()
71 .append_str(key.alias.as_ref().map_or("none", String::as_str)) in log_key_event()
Dshared_secret_negotiation.rs92 match name.as_str() { in filter_map_legacy_km_instances()
/system/extras/profcollectd/
Dprofcollectd.rs40 match action.as_str() { in main()
Dprofcollectctl.rs46 match action.as_str() { in main()
/system/bt/gd/rust/common/src/
Dsys_prop.rs48 match value.as_str() { in get_bool()
/system/bt/gd/rust/gddi/macros/
Dlib.rs99 match input.parse::<Ident>()?.to_string().as_str() { in parse()
115 match input.parse::<Ident>()?.to_string().as_str() { in parse()
/system/tools/aidl/tests/rust/
Dtest_client.rs476 assert_eq!(result.as_ref().map(String::as_str), Ok(*input)); in test_utf8_string()
625 hash.as_ref().map(String::as_str), in test_versioned_interface_hash()
706 assert_eq!(real_name.as_ref().map(String::as_str), Ok("OldName")); in test_renamed_interface_old_as_old()
719 assert_eq!(real_name.as_ref().map(String::as_str), Ok("NewName")); in test_renamed_interface_new_as_new()
732 assert_eq!(real_name.as_ref().map(String::as_str), Ok("OldName")); in test_renamed_interface_old_as_new()
745 assert_eq!(real_name.as_ref().map(String::as_str), Ok("NewName")); in test_renamed_interface_new_as_old()
/system/update_engine/common/
Dfake_prefs.h70 std::string as_str; member
Dfake_prefs.cc50 FakePrefs::PrefConsts<string>::member = &FakePrefs::PrefValue::as_str;
/system/bt/gd/rust/linux/dbus_projection/dbus_macros/src/
Dlib.rs17 let path = Path::new(filename.as_str()); in debug_output_to_file()
125 e.to_string().as_str() in generate_dbus_exporter()
276 let k = i1.unwrap().as_str().unwrap().to_string(); in dbus_propmap()
309 #field_ident.arg_type().as_str(), in dbus_propmap()
/system/bt/gd/rust/linux/stack/btif_macros/src/
Dlib.rs17 let path = Path::new(filename.as_str()); in debug_output_to_file()