Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dmigrate.rs194 fn apply_action(&mut self, value: String) -> Result<String, DeviceKeyError> { in apply_action() method
501 let new_val = match key.apply_action(v.clone().unwrap_or_default()) { in convert_from_bluez_device()
831 let new_val = match key.apply_action(v.unwrap_or_default()) { in convert_floss_conf()
849 let new_val = match key.apply_action(v.unwrap_or_default()) { in convert_floss_conf()
931 assert_eq!(key.apply_action(test_str.clone()), Ok(test_str)); in test_device_key_wrapok()
938 assert_eq!(key.apply_action(test_str.clone()), Ok(test_str)); in test_device_key_to_section()
946 assert_eq!(key.apply_action("2360344".to_string()), Ok("0x240418".to_string())); in test_device_key_apply_dec_to_hex()
948 key.apply_action("236034B".to_string()), in test_device_key_apply_dec_to_hex()
961 assert_eq!(key.apply_action("0x240418".to_string()), Ok("2360344".to_string())); in test_device_key_apply_to_section_hex_to_dec()
964 key.apply_action("236034T".to_string()), in test_device_key_apply_to_section_hex_to_dec()
[all …]