Home
last modified time | relevance | path

Searched defs:u32 (Results 1 – 25 of 27) sorted by relevance

12

/developtools/hdc/hdc_rust/src/daemon/
Ddaemon_unity.rs34 async fn echo_client(session_id: u32, channel_id: u32, message: &str) { in echo_client()
43 async fn echo_device_mode_result(session_id: u32, channel_id: u32, result: bool, message: Vec<u8>) { in echo_device_mode_result()
56 async fn echo_reboot_result(session_id: u32, channel_id: u32, result: bool, message: Vec<u8>) { in echo_reboot_result()
67 session_id: u32, in echo_root_run_mode_result()
68 channel_id: u32, in echo_root_run_mode_result()
84 async fn set_root_run_enable(session_id: u32, channel_id: u32, force: bool) { in set_root_run_enable()
99 async fn set_root_run(session_id: u32, channel_id: u32, _payload: &[u8]) { in set_root_run()
121 async fn reboot_device(session_id: u32, channel_id: u32, _payload: &[u8]) { in reboot_device()
144 async fn remount_device(session_id: u32, channel_id: u32) { in remount_device()
154 async fn set_device_mode(session_id: u32, channel_id: u32, _payload: &[u8]) { in set_device_mode()
[all …]
Ddaemon_app.rs41 pub fn new(_session_id: u32, _channel_id: u32) -> Self { in new()
61 pub async fn put(session_id: u32, channel_id: u32, value: DaemonAppTask) { in put()
67 pub async fn exsit(session_id: u32, channel_id: u32) -> bool { in exsit()
74 pub async fn remove(session_id: u32, channel_id: u32) -> Option<DaemonAppTask_> { in remove()
80 pub async fn get(session_id: u32, channel_id: u32) -> DaemonAppTask_ { in get()
88 async fn do_app_check(session_id: u32, channel_id: u32, _payload: &[u8]) -> bool { in do_app_check()
115 async fn put_file_begin(session_id: u32, channel_id: u32) { in put_file_begin()
125 session_id: u32, in put_app_finish()
126 channel_id: u32, in put_app_finish()
147 async fn app_uninstall(session_id: u32, channel_id: u32, _payload: &[u8]) { in app_uninstall()
[all …]
Dauth.rs70 async fn put(session_id: u32, auth_status: AuthStatus) { in put()
77 pub async fn handshake_init(task_message: TaskMessage) -> io::Result<(u32, TaskMessage)> { in handshake_init()
140 async fn make_sign_message(session_id: u32, token: String, channel_id: u32) -> TaskMessage { in make_sign_message()
156 async fn make_ok_message(session_id: u32, channel_id: u32) -> TaskMessage { in make_ok_message()
185 pub async fn get_new_session_id(task_message: &TaskMessage) -> io::Result<u32> { in get_new_session_id()
467 async fn handshake_fail(session_id: u32, channel_id: u32, msg: String) { in handshake_fail()
Dshell.rs230 session_id: u32, in subprocess_task()
231 channel_id: u32, in subprocess_task()
290 session_id: u32, in new()
291 channel_id: u32, in new()
328 pub async fn put(channel_id: u32, pty_task: PtyTask) { in put()
335 pub async fn del(channel_id: u32) { in del()
Dtask.rs85 async fn remove_task(session_id: u32, channel_id: u32) { in remove_task()
Dmain.rs133 package_index: u32, in uart_handshake()
134 ) -> io::Result<u32> { in uart_handshake()
/developtools/hdc/hdc_rust/src/common/
Dhdcfile.rs49 pub fn new(_session_id: u32, _channel_id: u32) -> Self { in new()
68 pub async fn put(session_id: u32, channel_id: u32, value: HdcFile) { in put()
74 pub async fn exsit(session_id: u32, channel_id: u32) -> bool { in exsit()
81 pub async fn remove(session_id: u32, channel_id: u32) -> Option<HdcFile_> { in remove()
87 pub async fn get(session_id: u32, channel_id: u32) -> HdcFile_ { in get()
95 async fn check_local_path(session_id: u32, channel_id: u32) -> bool { in check_local_path()
120 async fn echo_finish(session_id: u32, channel_id: u32, msg: String) { in echo_finish()
125 pub async fn begin_transfer(session_id: u32, channel_id: u32, command: &String) -> bool { in begin_transfer()
153 session_id: u32, in set_master_parameters()
154 channel_id: u32, in set_master_parameters()
[all …]
Dforward.rs59 async fn put(id: u32, rd: SplitReadHalf) { in put()
66 async fn read(session_id: u32, channel_id: u32, cid: u32) { in read()
117 async fn put(id: u32, wr: SplitWriteHalf) { in put()
124 async fn write(id: u32, data: Vec<u8>) { in write()
135 pub async fn end(id: u32) { in end()
181 pub async fn update(session_id: u32, channel_id: u32, value: HdcForward) { in update()
187 pub async fn get(session_id: u32, channel_id: u32) -> Option<HdcForward> { in get()
216 pub fn new(session_id: u32, channel_id: u32) -> Self { in new()
233 pub fn get_id(_payload: &[u8]) -> u32 { in get_id()
268 pub async fn check_command(session_id: u32, channel_id: u32, _payload: &[u8]) -> bool { in check_command()
[all …]
Dhdctransfer.rs80 pub fn new(_session_id: u32, _channel_id: u32) -> Self { in new()
156 _channel_id_: u32, in spawn_handler()
226 session_id: u32, in read_and_send_data()
227 _channel_id_: u32, in read_and_send_data()
363 pub async fn transfer_task_finish(channel_id: u32, _session_id: u32) { in transfer_task_finish()
372 pub async fn transfer_file_finish(channel_id: u32, _session_id: u32, comamnd_finish: HdcCommand) { in transfer_file_finish()
381 pub async fn close_channel(channel_id: u32) { in close_channel()
385 pub async fn echo_client(session_id: u32, channel_id: u32, payload: Vec<u8>) { in echo_client()
Dtaskbase.rs29 fn channel_id(&self) -> u32 { in channel_id()
Djdwp.rs74 pub async fn send_fd_to_target(&self, target_pid: u32, fd: i32, parameter: &str) -> bool { in send_fd_to_target()
116 pub async fn add_tracker(&self, channel_id: u32, session_id: u32, debug_or_release: bool) { in add_tracker()
Dbase.rs21 pub fn split_command_to_args(command_line: &String) -> (Vec<String>, u32) { in split_command_to_args() argument
Duds.rs44 pub fn new(fd: i32, ppid: u32, pkg_name: String, debug_or_release: bool) -> Self { in new()
165 pub fn wrap_poll(fds: &mut [PollNode], size: u32, timeout: i32) -> i32 { in wrap_poll()
/developtools/hdc/hdc_rust/src/transfer/
Duart_wrapper.rs73 async fn start_session(session_id: u32) { in start_session()
80 async fn wait_response(session_id: u32) { in wait_response()
89 async fn wakeup_response_wait(session_id: u32) { in wakeup_response_wait()
98 async fn wait_empty(session_id: u32) { in wait_empty()
107 async fn wakeup_empty_wait(session_id: u32) { in wakeup_empty_wait()
176 async fn get_package(session_id: u32, index: usize) -> Option<OutputData> { in get_package()
191 async fn put_package(session_id: u32, data: OutputData) { in put_package()
208 async fn update_package(session_id: u32, index: usize, data: OutputData) -> bool { in update_package()
237 async fn set_stop_flag(session_id: u32) { in set_stop_flag()
244 async fn remove_package(session_id: u32, index: usize) -> bool { in remove_package()
[all …]
Dbuffer.rs50 async fn put(session_id: u32, conn_type: ConnectType) { in put()
77 async fn put(session_id: u32, data: TaskMessage) { in put()
86 pub async fn send_channel_message(channel_id: u32, buf: Vec<u8>) -> io::Result<()> { in send_channel_message()
103 pub async fn start(id: u32, wr: SplitWriteHalf) { in start()
111 pub async fn end(id: u32) { in end()
136 async fn put(session_id: u32, data: TaskMessage) -> io::Result<()> { in put()
151 pub async fn start(session_id: u32, wr: UsbWriter) { in start()
175 pub async fn put(session_id: u32, data: Vec<u8>) -> io::Result<()> { in put()
184 pub async fn start(session_id: u32, wr: UartWriter) { in start()
197 pub async fn put(session_id: u32, data: TaskMessage) { in put()
[all …]
Duart.rs112 fn check_protocol_head(&mut self) -> io::Result<(u32, u32)> { in check_protocol_head() argument
161 pub fn build_header(session_id: u32, option: u16, length: usize, package_index: u32) -> Vec<u8> { in build_header()
175 session_id: u32, in build_header_obj()
178 package_index: u32, in build_header_obj()
Dbase.rs63 fn check_protocol_head(&mut self) -> io::Result<(u32, u32)> { in check_protocol_head() argument
71 pack_size: u32, in unpack_task_message_lock()
166 tx: BoundedSender<(TaskMessage, u32)>, in unpack_task_message() argument
Dusb.rs128 fn check_protocol_head(&mut self) -> io::Result<(u32, u32)> { in check_protocol_head() argument
160 pub fn build_header(session_id: u32, option: u8, length: usize) -> Vec<u8> { in build_header()
/developtools/hdc/hdc_rust/src/host/
Dauth.rs34 session_id: u32, in handshake_with_daemon()
35 channel_id: u32, in handshake_with_daemon()
145 async fn send_handshake_to_daemon(handshake: &SessionHandShake, channel_id: u32) { in send_handshake_to_daemon()
Dhost_app.rs34 pub fn new(_session_id: u32, _channel_id: u32) -> Self { in new()
232 fn channel_id(&self) -> u32 { in channel_id()
Dtask.rs346 session_id: u32, in tcp_handle_deamon()
544 pub async fn get_session_id(connect_key: String) -> Option<u32> { in get_session_id()
551 async fn get_valid_session_id(connect_key: String, channel_id: u32) -> io::Result<u32> { in get_valid_session_id()
Dserver.rs188 ) -> io::Result<(String, u32)> { in handshake_with_client() argument
/developtools/profiler/proto_encoder/test/unittest/
Dvarint_encode_unittest.cpp279 uint32_t u32 = std::numeric_limits<uint32_t>::min(); variable
/developtools/profiler/device/plugins/native_daemon/include/
Dutilities.h58 using u32 = __u32; variable
/developtools/hiperf/include/
Dutilities.h56 using u32 = __u32; variable

12