Home
last modified time | relevance | path

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

/developtools/hdc/hdc_rust/src/host/
Dtask.rs169 let task_string = task_info.params[2..].join(" ").clone(); in channel_forward_remove() localVariable
174 task_string, in channel_forward_remove()
178 forward::HdcForwardInfoMap::remove_forward(task_string.clone(), forward_or_reverse).await; in channel_forward_remove()
181 … let message_str = format!("Remove forward ruler failed, ruler is not exist {}", task_string); in channel_forward_remove()
191 …let forward_channel_id = forward::ForwardTaskMap::get_channel_id(session_id, task_string.clone()).… in channel_forward_remove()
195 let message_str = format!("Remove forward ruler success, ruler:{}", task_string); in channel_forward_remove()
224 let task_string = info.task_string[2..].to_string(); in channel_forward_list() localVariable
232 info.connect_key, task_string, forward_str in channel_forward_list()
/developtools/hdc/hdc_rust/src/common/
Dforward.rs67 pub task_string: String, field
77 task_string: String, in new()
84 task_string, in new()
140 forward_info.task_string.clone(), in put()
156 pub async fn remove_forward(task_string: String, forward_direction: bool) -> bool { in remove_forward()
159 task_string, in remove_forward()
171 task_string1.push_str(task_string.as_str()); in remove_forward()
174 if info.task_string.contains(&task_string1) in remove_forward()
352 pub async fn get_channel_id(session_id: u32, task_string: String) -> Option<u32> { in get_channel_id()
356 if *_session_id == session_id && task_string.contains(&value.task_command) { in get_channel_id()
[all …]