Home
last modified time | relevance | path

Searched refs:from_str (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dconfig_util.rs65 serde_json::from_str::<Value>(config.as_str()) in get_log_level_internal()
79 serde_json::from_str::<Value>(config.as_str()) in is_hci_n_enabled_internal()
90 Ok(s) => match serde_json::from_str::<Value>(s.as_str()) { in fix_config_file_format()
115 let mut o = serde_json::from_str::<Value>(config.as_str()).ok()?; in modify_hci_n_enabled_internal()
134 serde_json::from_str::<Value>(config.as_str()) in get_default_adapter()
147 let mut cfg = serde_json::from_str::<Value>(config.as_str()).ok()?; in set_default_adapter()
/packages/modules/Bluetooth/system/blueberry/utils/
Dbluetooth.py24 def from_str(address: str) -> 'Address': member in Address
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_admin.rs111 let json = serde_json::from_str::<Value>(contents.as_str())?; in load_config()
318 let mut v = serde_json::from_str::<Value>(admin.get_config_string().as_str()) in get_sorted_allowed_services_from_config()
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/
Dffi.rs208 let socket_addr = SocketAddr::new(IpAddr::from_str(addr)?, port.parse()?); in to_socket_addr()
/packages/modules/Uwb/indev_uwb_adaptation/jni/src/
Dcallback.rs106 let type_signature = TypeSignature::from_str(sig)?; in cached_jni_call()
/packages/modules/Connectivity/remoteauth/service/jni/src/
Dremoteauth_jni_android_platform.rs152 let type_signature = TypeSignature::from_str(SEND_REQUEST_MSIG) in send_request()
/packages/modules/DnsResolver/doh/
Dffi.rs234 let (url, ip_addr) = match (Url::parse(url), IpAddr::from_str(&ip_addr)) { in doh_net_new()
/packages/modules/Virtualization/rialto/tests/
Dtest.rs270 Name::from_str("CN=Android Protected Virtual Machine Key").unwrap(), in check_certificate_for_client_vm()
/packages/modules/Virtualization/virtualizationservice/src/
Daidl.rs604 let mut devices: Devices = serde_xml_rs::from_str(&xml) in get_assignable_devices()
/packages/modules/Uwb/service/uci/jni/src/
Dnotification_manager_android.rs328 let type_signature = TypeSignature::from_str(sig).map_err(|e| { in cached_jni_call()