Home
last modified time | relevance | path

Searched defs:Result (Results 1 – 25 of 31) sorted by relevance

12

/developtools/hdc/hdc_rust/src/host/
Dclient.rs57 pub async fn run_client_mode(parsed_cmd: ParsedCommand) -> io::Result<()> { in run_client_mode()
115 async fn execute_command(&mut self) -> io::Result<()> { in execute_command()
152 pub async fn handshake(&mut self) -> io::Result<()> { in handshake()
187 async fn unity_task(&mut self) -> io::Result<()> { in unity_task()
192 async fn wait_task(&mut self) -> io::Result<()> { in wait_task()
197 async fn unity_root_run_task(&mut self) -> io::Result<()> { in unity_root_run_task()
204 async fn jdwp_task(&mut self) -> io::Result<()> { in jdwp_task()
211 async fn shell_task(&mut self) -> io::Result<()> { in shell_task()
256 async fn shell_task(&mut self) -> io::Result<()> { in shell_task()
296 async fn forward_task(&mut self) -> io::Result<()> { in forward_task()
[all …]
Dtask.rs51 pub async fn channel_task_dispatch(task_info: TaskInfo) -> io::Result<()> { in channel_task_dispatch()
142 async fn channel_forward_task(task_info: TaskInfo) -> io::Result<()> { in channel_forward_task()
168 async fn channel_forward_remove(task_info: TaskInfo, forward_or_reverse: bool) -> io::Result<()> { in channel_forward_remove()
205 async fn channel_forward_list(task_info: TaskInfo, forward_or_reverse: bool) -> io::Result<()> { in channel_forward_list()
241 async fn channel_jdwp_task(task_info: TaskInfo) -> io::Result<()> { in channel_jdwp_task()
260 async fn channel_hilog_task(task_info: TaskInfo) -> io::Result<()> { in channel_hilog_task()
280 async fn channel_bug_report_task(task_info: TaskInfo) -> io::Result<()> { in channel_bug_report_task()
295 async fn channel_file_task(task_info: TaskInfo) -> io::Result<()> { in channel_file_task()
355 …ask_info: TaskInfo, _cmd: HdcCommand, param_start_idx: usize, async_flag: bool) -> io::Result<()> { in send_to_daemon()
374 async fn channel_unity_task(task_info: TaskInfo) -> io::Result<()> { in channel_unity_task()
[all …]
Dserver.rs70 pub async fn run_server_mode(addr_str: String) -> io::Result<()> { in run_server_mode()
102 async fn start_client_listen(addr_str: String) -> io::Result<()> { in start_client_listen()
245 async fn handle_client(stream: TcpStream) -> io::Result<()> { in handle_client()
Dauth.rs65 …andshake_deal_daemon_auth_result(daemon: SessionHandShake, connect_key: String) -> io::Result<()> { in handshake_deal_daemon_auth_result()
121 …async fn handshake_task(msg: TaskMessage, session_id: u32, connect_key: String) -> io::Result<()> { in handshake_task()
Dhost_app.rs194 async fn install_single(session_id: u32, channel_id: u32) -> Result<(), String> { in install_single()
250 async fn init_install(session_id: u32, channel_id: u32, command: &String) -> Result<(), String> { in init_install()
304 async fn task_app_install(session_id: u32, channel_id: u32, payload: &[u8]) -> Result<(), String> { in task_app_install()
321 async fn task_app_uninstall(session_id: u32, channel_id: u32, payload: &[u8]) -> Result<(), String>… in task_app_uninstall()
/developtools/hdc/hdc_rust/src/daemon_lib/
Dtask.rs33 async fn daemon_shell_task(task_message: TaskMessage, session_id: u32) -> io::Result<()> { in daemon_shell_task()
103 async fn daemon_channel_close(task_message: TaskMessage, session_id: u32) -> io::Result<()> { in daemon_channel_close()
123 async fn daemon_file_task(task_message: TaskMessage, session_id: u32) -> io::Result<()> { in daemon_file_task()
239 async fn daemon_hilog_task(task_message: TaskMessage, session_id: u32) -> io::Result<()> { in daemon_hilog_task()
258 async fn daemon_bug_report_task(task_message: TaskMessage, session_id: u32) -> io::Result<()> { in daemon_bug_report_task()
321 pub async fn dispatch_task(task_message: TaskMessage, session_id: u32) -> io::Result<()> { in dispatch_task()
Dmod.rs69 pub async fn handle_message(res: io::Result<TaskMessage>, session_id: u32) -> io::Result<()> { in handle_message()
130 pub async fn bridge_handle_client(ptr: u64, fd: i32, client_fd: i32) -> io::Result<()> { in bridge_handle_client()
166 pub async fn tcp_handle_client(stream: TcpStream) -> io::Result<()> { in tcp_handle_client()
196 pub async fn tcp_daemon_start(port: u16) -> io::Result<()> { in tcp_daemon_start()
270 pub async fn uart_handle_client(fd: i32) -> io::Result<()> { in uart_handle_client()
374 pub async fn usb_handle_client(_config_fd: i32, bulkin_fd: i32, bulkout_fd: i32) -> io::Result<()> { in usb_handle_client()
Dauth.rs380 pub async fn handshake_init_new(session_id: u32, channel_id: u32) -> io::Result<()> { in handshake_init_new()
409 ) -> io::Result<()> { in handshake_deal_pubkey()
539 ) -> io::Result<()> { in handshake_deal_signature()
556 pub async fn handshake_task(task_message: TaskMessage, session_id: u32) -> io::Result<()> { in handshake_task()
648 async fn validate_signature(plain: String, pubkey: String, signature: String) -> io::Result<()> { in validate_signature()
723 fn write_known_hosts_pubkey(pubkey: &String) -> io::Result<()> { in write_known_hosts_pubkey()
/developtools/hdc/hdc_rust/src/tar/
Dcompress.rs57 fn add_path_recursion(&mut self, path: &Path) -> io::Result<()> { in add_path_recursion()
75 pub fn add_path(&mut self, path: &Path) -> io::Result<()> { in add_path()
79 fn add_entry(&mut self, file: &str) -> io::Result<()> { in add_entry()
104 pub fn compress(&mut self, file_path: PathBuf) -> io::Result<()> { in compress()
Dentry.rs96 pub fn updata_name(&mut self, name: String) -> Result<(), &str> { in updata_name()
137 pub fn write_to_file(&self, path: &Path) -> Result<(), std::io::Error> { in write_to_file()
171 pub fn read_data_to_file(&mut self, _file: &mut fs::File) -> Result<(), std::io::Error> { in read_data_to_file()
Ddecompress.rs87 pub fn decompress(&self, prefix: &str) -> io::Result<()> { in decompress()
Dheader.rs108 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
204 pub fn updata_name(&mut self, name: String) -> Result<(), &str> { in updata_name()
/developtools/integration_verification/tools/fotff/rec/
Drecord.go53 func HandleResults(t tester.Tester, dev string, pkgName string, results []tester.Result) []string {
67 func handlePassResults(pkgName string, results []tester.Result) {
80 func handleFailResults(t tester.Tester, dev string, pkgName string, results []tester.Result) []stri…
/developtools/integration_verification/tools/fotff/tester/
Dtester.go28 type Result struct { struct
29 TestCaseName string
30 Status ResultStatus
/developtools/hdc/hdc_rust/src/serializer/
Dserialize.rs81 fn parse(&mut self, _: Vec<u8>) -> io::Result<()> { in parse()
110 fn parse(&mut self, input: Vec<u8>) -> io::Result<()> { in parse()
154 fn parse(&mut self, input: Vec<u8>) -> io::Result<()> { in parse()
206 fn parse(&mut self, input: Vec<u8>) -> io::Result<()> { in parse()
264 fn parse(&mut self, input: Vec<u8>) -> io::Result<()> { in parse()
303 fn parse(&mut self, input: Vec<u8>) -> io::Result<()> { in parse()
339 fn parse(&mut self, input: Vec<u8>) -> io::Result<()> { in parse()
371 fn parse(&mut self, input: Vec<u8>) -> io::Result<()> { in parse()
405 fn parse(&mut self, input: Vec<u8>) -> io::Result<()> { in parse()
/developtools/packing_tool/packing_tool/frameworks/include/json/
Dpt_json.h27 enum class Result : uint8_t { enum
/developtools/hdc/hdc_rust/src/transfer/
Dbase.rs78 ) -> io::Result<()> { in unpack_task_message_lock()
172 ) -> io::Result<()> { in unpack_task_message()
Dbuffer.rs141 pub async fn send_channel_message(channel_id: u32, buf: Vec<u8>) -> io::Result<()> { in send_channel_message()
207 async fn put(session_id: u32, data: TaskMessage) -> io::Result<()> { in put()
317 pub async fn put(session_id: u32, data: Vec<u8>) -> io::Result<()> { in put()
395 pub async fn send_channel_msg(channel_id: u32, level: EchoLevel, msg: String) -> io::Result<()> { in send_channel_msg()
/developtools/hapsigner/hapsigntool_cpp/codesigning/utils/src/
Dfs_digest_utils.cpp31 std::string DigestUtils::Result(DigestUtils::Type type) in Result() function in DigestUtils
/developtools/hdc/hdc_rust/src/common/
Dfilemanager.rs31 pub fn remove_file(path: &str) -> std::io::Result<()> { in remove_file()
Duds.rs120 pub fn wrap_bind(socket_fd: i32, addr: &UdsAddr) -> Result<()> { in wrap_bind()
261 pub fn wrap_bind(socket_fd: i32, addr: &UdsAddr) -> Result<()> { in wrap_bind()
282 pub fn wrap_connect(socket_fd: i32, addr: &UdsAddr) -> Result<()> { in wrap_connect()
/developtools/integration_verification/tools/fotff/tester/common/
Dcommon.go36 Result string `json:"result"` member
/developtools/hdc/hdc_rust/src/host_transfer/
Dhost_usb.rs214 ) -> io::Result<()> { in unpack_task_message()
312 pub async fn put(session_id: u32, data: TaskMessage) -> io::Result<()> { in put()
330 pub async fn send_channel_message(channel_id: u32, buf: Vec<u8>) -> io::Result<()> { in send_channel_message()
/developtools/hdc/hdc_rust/src/
Dutils.rs44 pub async fn print_msg(buf: Vec<u8>) -> io::Result<()> { in print_msg()
/developtools/integration_verification/tools/fotff/pkg/gitee_common/
Dsteps_ci.go41 Result struct { member

12