Home
last modified time | relevance | path

Searched defs:i32 (Results 1 – 25 of 43) sorted by relevance

12

/base/msdp/device_status/rust/frameworks/client/src/
Dlib.rs48 pub unsafe extern "C" fn fusion_alloc_socket_fd(program_name: *const c_char, module_type: i32, in fusion_alloc_socket_fd()
49 client_fd: *mut i32, token_type: *mut i32) -> i32 in fusion_alloc_socket_fd()
104 pub unsafe extern "C" fn fusion_start_drag(c_drag_data: *mut CDragData) -> i32 in fusion_start_drag()
193 pub unsafe extern "C" fn fusion_enable_coordination(user_data: i32) -> i32 in fusion_enable_coordination()
218 pub unsafe extern "C" fn fusion_disable_coordination(user_data: i32) -> i32 in fusion_disable_coordination()
243 pub unsafe extern "C" fn fusion_start_coordination(user_data: i32, in fusion_start_coordination()
244 remote_network_id: *const c_char, start_device_id: i32) -> i32 in fusion_start_coordination()
282 pub unsafe extern "C" fn fusion_stop_coordination(user_data: i32, is_unchained: i32) -> i32 in fusion_stop_coordination()
307 … unsafe extern "C" fn fusion_get_coordination_state(user_data: i32, device_id: *const c_char) -> i… in fusion_get_coordination_state()
Dframeworks.rs100 pub fn alloc_socket_pair(&self, param: &AllocSocketPairParam) -> FusionResult<(FileDesc, i32)> { in alloc_socket_pair() argument
114 pub fn start_drag(&self, drag_data: &DragData) -> FusionResult<i32> { in start_drag()
128 pub fn register_coordination_listener(&self) -> FusionResult<i32> { in register_coordination_listener()
142 pub fn unregister_coordination_listener(&self) -> FusionResult<i32> { in unregister_coordination_listener()
156 pub fn enable_coordination(&self, user_data: i32) -> FusionResult<i32> { in enable_coordination()
170 pub fn disable_coordination(&self, user_data: i32) -> FusionResult<i32> { in disable_coordination()
184 pub fn start_coordination(&self, user_data: i32, remote_network_id: String, in start_coordination()
185 start_device_id: i32) -> FusionResult<i32> { in start_coordination()
201 pub fn stop_coordination(&self, user_data: i32, is_unchained: i32) -> FusionResult<i32> in stop_coordination()
216 pub fn get_coordination_state(&self, user_data: i32, device_id: String) -> FusionResult<i32> in get_coordination_state()
/base/msdp/device_status/rust/subsystem/input/sys/src/interaction/
Dinput_manager.rs34 pub fn add_monitor(callback: OnPointerEventCallback) -> FusionResult<i32> { in add_monitor()
46 pub fn set_pointer_visible(visible: bool) -> FusionResult<i32> { in set_pointer_visible()
58 pub fn enable_input_device(enable: bool) -> FusionResult<i32> { in enable_input_device()
70 pub fn remove_input_event_filter(filter_id: i32) -> FusionResult<i32> { in remove_input_event_filter()
82 pub fn remove_monitor(monitor_id: i32) { in remove_monitor()
90 pub fn remove_interceptor(interceptor_id: i32) { in remove_interceptor()
98 pub fn set_pointer_location(physical_x: i32, physical_y: i32) { in set_pointer_location()
Dpointer_event.rs47 pub fn pointer_id(&self) -> i32 { in pointer_id()
56 pub fn pointer_acttion(&self) -> i32 { in pointer_acttion()
65 pub fn target_window_id(&self) -> i32 { in target_window_id()
74 pub fn source_type(&self) -> i32 { in source_type()
83 pub fn taget_display_id(&self) -> i32 { in taget_display_id()
92 pub fn display_x(&self) -> i32 { in display_x()
101 pub fn display_y(&self) -> i32 { in display_y()
110 pub fn device_id(&self) -> i32 { in device_id()
119 pub fn window_pid(&self) -> i32 { in window_pid()
/base/msdp/device_status/rust/modules/coordination/client/src/
Dlib.rs50 …pub fn enable_coordination(&self, user_data: i32, ipc_client: Rc<FusionIpcClient>) -> FusionResult… in enable_coordination()
70 …pub fn disable_coordination(&self, user_data: i32, ipc_client: Rc<FusionIpcClient>) -> FusionResul… in disable_coordination()
90 pub fn start_coordination(&self, user_data: i32, remote_network_id: String, in start_coordination()
91 start_device_id: i32, ipc_client: Rc<FusionIpcClient>) -> FusionResult<i32> in start_coordination()
113 pub fn stop_coordination(&self, user_data: i32, is_unchained: i32, in stop_coordination()
114 ipc_client: Rc<FusionIpcClient>) -> FusionResult<i32> in stop_coordination()
135 pub fn get_coordination_state(&self, user_data: i32, device_id: String, in get_coordination_state()
136 ipc_client: Rc<FusionIpcClient>) -> FusionResult<i32> in get_coordination_state()
167 … pub fn register_coordination_listener(&self, ipc_client: Rc<FusionIpcClient>) -> FusionResult<i32> in register_coordination_listener()
185 …pub fn unregister_coordination_listener(&self, ipc_client: Rc<FusionIpcClient>) -> FusionResult<i3… in unregister_coordination_listener()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_session/
Dffi.rs60 pub unsafe extern "C" fn StreamSessionSetUid(object: *mut StreamSession, uid: i32) -> i32 { in StreamSessionSetUid()
76 pub unsafe extern "C" fn StreamSessionSetFd(object: *mut StreamSession, fd: i32) -> i32 { in StreamSessionSetFd()
92 pub unsafe extern "C" fn StreamSessionSetPid(object: *mut StreamSession, pid: i32) -> i32 { in StreamSessionSetPid()
108 pub unsafe extern "C" fn StreamSessionGetUid(object: *const StreamSession) -> i32 { in StreamSessionGetUid()
123 pub unsafe extern "C" fn StreamSessionGetPid(object: *const StreamSession) -> i32 { in StreamSessionGetPid()
139 pub unsafe extern "C" fn StreamSessionGetFd(object: *const StreamSession) -> i32 { in StreamSessionGetFd()
154 pub unsafe extern "C" fn StreamSessionSetTokenType(object: *mut StreamSession, style: i32) -> i32 { in StreamSessionSetTokenType()
170 pub unsafe extern "C" fn StreamSessionGetTokenType(object: *const StreamSession) -> i32 { in StreamSessionGetTokenType()
185 pub unsafe extern "C" fn StreamSessionGetModuleType(object: *const StreamSession) -> i32 { in StreamSessionGetModuleType()
200 pub unsafe extern "C" fn StreamSessionClose(object: *mut StreamSession) -> i32 { in StreamSessionClose()
/base/msdp/device_status/rust/subsystem/input/sys/src/
Dinput_binding.rs86 pub fn CGetPointerId(event: *const CPointerEvent) -> i32; in CGetPointerId()
87 pub fn CGetPointerAction(event: *const CPointerEvent) -> i32; in CGetPointerAction()
88 pub fn CGetTargetWindowId(event: *const CPointerEvent) -> i32; in CGetTargetWindowId()
89 pub fn CGetSourceType(event: *const CPointerEvent) -> i32; in CGetSourceType()
90 pub fn CGetTargetDisplayId(event: *const CPointerEvent) -> i32; in CGetTargetDisplayId()
91 pub fn CGetDisplayX(event: *const CPointerEvent) -> i32; in CGetDisplayX()
92 pub fn CGetDisplayY(event: *const CPointerEvent) -> i32; in CGetDisplayY()
94 pub fn CGetDeviceId(event: *const CPointerEvent) -> i32; in CGetDeviceId()
95 pub fn CGetWindowPid(event: *const CPointerEvent) -> i32; in CGetWindowPid()
101 pub fn CGetKeyCode(event: *const CKeyEvent) -> i32; in CGetKeyCode()
[all …]
/base/msdp/device_status/rust/ipc/service/src/
Dlib.rs49 …ention: Intention, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<'_>) -> FusionResul… in enable()
51 …ention: Intention, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<'_>) -> FusionResul… in disable()
53 …ention: Intention, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<'_>) -> FusionResul… in start()
55 …ention: Intention, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<'_>) -> FusionResul… in stop()
57 …ntention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<'_>) -> FusionResul… in add_watch()
59 …ntention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<'_>) -> FusionResul… in remove_watch()
61 …ntention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<'_>) -> FusionResul… in set_param()
63 …ntention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<'_>) -> FusionResul… in get_param()
65 …ntention, id: u32, data: &BorrowedMsgParcel<'_>, reply: &mut BorrowedMsgParcel<'_>) -> FusionResul… in control()
69 reply: &mut BorrowedMsgParcel<'_>) -> FusionResult<i32> { in on_remote_request()
[all …]
/base/msdp/device_status/rust/modules/coordination/server/src/
Dcoordination.rs41 param: &GeneralCoordinationParam) -> FusionResult<i32> in enable()
49 param: &GeneralCoordinationParam) -> FusionResult<i32> in disable()
57 param: &StartCoordinationParam) -> FusionResult<i32> in start()
65 param: &StopCoordinationParam) -> FusionResult<i32> in stop()
73 param: &GetCoordinationStateParam) -> FusionResult<i32> in get_state()
80 param: &GeneralCoordinationParam) -> FusionResult<i32> in register_listener()
87 param: &GeneralCoordinationParam) -> FusionResult<i32> in unregister_listener()
Dlib.rs57 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in enable()
71 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in disable()
85 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in start()
99 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in stop()
113 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in add_watch()
127 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in remove_watch()
141 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in set_param()
147 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in get_param()
161 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in control()
/base/msdp/device_status/rust/data/sys/src/
Dplugin_manager.rs35 …ontext: &CallingContext, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<… in enable()
37 …ontext: &CallingContext, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<… in disable()
39 …ontext: &CallingContext, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<… in start()
41 …ontext: &CallingContext, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<… in stop()
43 …CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<… in add_watch()
45 …CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<… in remove_watch()
47 …CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<… in set_param()
49 …CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<… in get_param()
51 …CallingContext, id: u32, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<… in control()
/base/msdp/device_status/rust/modules/drag/server/src/
Dlib.rs57 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in enable()
63 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in disable()
69 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in start()
105 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in stop()
111 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in add_watch()
117 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in remove_watch()
123 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in set_param()
129 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in get_param()
135 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in control()
141 …ontext: &CallingContext, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<… in start()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_buffer/
Dffi.rs90 pub unsafe extern "C" fn StreamBufferReset(object: *mut StreamBuffer) -> i32 { in StreamBufferReset()
106 pub unsafe extern "C" fn StreamBufferClean(object: *mut StreamBuffer) -> i32 { in StreamBufferClean()
219 pub unsafe extern "C" fn CircleStreamBufferCopyDataToBegin(object: *mut StreamBuffer) -> i32 { in CircleStreamBufferCopyDataToBegin()
266 callback_fun: ClientPacketCallBackFun) -> i32 { in ReadClientPackets()
296 pub unsafe extern "C" fn StreamBufferGetRcount(object: *const StreamBuffer) -> i32 { in StreamBufferGetRcount()
310 pub unsafe extern "C" fn StreamBufferGetWcount(object: *const StreamBuffer) -> i32 { in StreamBufferGetWcount()
324 pub unsafe extern "C" fn StreamBufferGetWpos(object: *const StreamBuffer) -> i32 { in StreamBufferGetWpos()
338 pub unsafe extern "C" fn StreamBufferGetRpos(object: *const StreamBuffer) -> i32 { in StreamBufferGetRpos()
366 …"C" fn StreamBufferSetRwErrStatus(object: *mut StreamBuffer, rw_error_status: ErrorStatus) -> i32 { in StreamBufferSetRwErrStatus()
381 pub unsafe extern "C" fn StreamBufferSetRpos(object: *mut StreamBuffer, r_pos: i32) -> i32 { in StreamBufferSetRpos()
Dbinding.rs31 …mcpy_s(dest: *mut c_void, dest_size: libc::size_t, src: *const c_void, count: libc::size_t) -> i32; in memcpy_s()
33 … memset_s(dest: *mut c_void, dest_size: libc::size_t, ch: libc::c_int, count: libc::size_t) -> i32; in memset_s()
/base/msdp/device_status/rust/modules/basic/server/src/
Dlib.rs50 …alloc_socket_pair(&self, data: &BorrowedMsgParcel, reply: &mut BorrowedMsgParcel) -> FusionResult<… in alloc_socket_pair()
85 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in enable()
91 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in disable()
97 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in start()
104 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in stop()
110 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in add_watch()
116 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in remove_watch()
122 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in set_param()
128 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in get_param()
134 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in control()
Dbinding.rs27 fn AllocSocketFd(program_name: *const c_char, module_type: i32, in AllocSocketFd()
28 client_fd: *mut i32, token_type: *mut i32) -> i32; in AllocSocketFd()
/base/msdp/device_status/rust/ipc/client/src/
Dlib.rs71 fn add_interface_token(&self, data_parcel: &mut BorrowedMsgParcel<'_>) -> FusionResult<i32> { in add_interface_token()
87 reply: &mut BorrowedMsgParcel<'_>) -> FusionResult<i32> { in enable()
110 reply: &mut BorrowedMsgParcel<'_>) -> FusionResult<i32> { in disable()
133 reply: &mut BorrowedMsgParcel<'_>) -> FusionResult<i32> { in start()
156 reply: &mut BorrowedMsgParcel<'_>) -> FusionResult<i32> { in stop()
179 reply: &mut BorrowedMsgParcel<'_>) -> FusionResult<i32> { in add_watch()
202 reply: &mut BorrowedMsgParcel<'_>) -> FusionResult<i32> { in remove_watch()
225 reply: &mut BorrowedMsgParcel<'_>) -> FusionResult<i32> { in set_param()
248 reply: &mut BorrowedMsgParcel<'_>) -> FusionResult<i32> { in get_param()
271 reply: &mut BorrowedMsgParcel<'_>) -> FusionResult<i32> { in control()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/
Dstream_session.rs65 fn uid(&self) -> i32 { in uid()
69 fn pid(&self) -> i32 { in pid()
73 fn module_type(&self) -> i32 { in module_type()
77 fn session_fd(&self) -> i32 { in session_fd()
81 fn set_token_type(&mut self, style: i32) { in set_token_type()
85 fn set_uid(&mut self, uid: i32) { in set_uid()
89 fn set_pid(&mut self, pid: i32) { in set_pid()
93 fn set_fd(&mut self, fd: i32) { in set_fd()
97 fn token_type(&self) -> i32 { in token_type()
Derror.rs73 impl From<SocketStatusCode> for i32 { implementation
74 fn from(code: SocketStatusCode) -> i32 { in from()
90 impl From<BufferStatusCode> for i32 { implementation
91 fn from(code: BufferStatusCode) -> i32 { in from()
117 impl From<SessionStatusCode> for i32 { implementation
118 fn from(code: SessionStatusCode) -> i32 { in from()
136 impl From<NetPacketStatusCode> for i32 { implementation
137 fn from(code: NetPacketStatusCode) -> i32 { in from()
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/epoll_manager/
Dffi.rs63 pub unsafe extern "C" fn StreamSocketGetFd(object: *const EpollManager) -> i32 { in StreamSocketGetFd()
78 pub unsafe extern "C" fn StreamSocketClose(object: *mut EpollManager) -> i32 { in StreamSocketClose()
94 pub unsafe extern "C" fn StreamSocketSetFd(object: *mut EpollManager, fd: i32) -> i32 { in StreamSocketSetFd()
/base/msdp/device_status/rust/ipc/server/src/
Dfusion_ipc_delegator.rs47 fn check_interface_token(&self, data: &BorrowedMsgParcel) -> FusionResult<i32> { in check_interface_token()
92 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in enable()
103 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in disable()
114 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in start()
125 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in stop()
136 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in add_watch()
147 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in remove_watch()
158 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in set_param()
169 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in get_param()
180 reply: &mut BorrowedMsgParcel) -> FusionResult<i32> { in control()
/base/msdp/device_status/rust/services/sys/src/
Dservice.rs53 fn alloc_socket_fd(&self, program_name: &str, module_type: i32, in alloc_socket_fd()
54 client_fd: &mut RawFd, token_type: &mut i32) -> FusionResult<i32> in alloc_socket_fd()
107 pub fn alloc_socket_fd(&self, program_name: &str, module_type: i32, in alloc_socket_fd()
108 client_fd: &mut RawFd, token_type: &mut i32) -> FusionResult<i32> in alloc_socket_fd()
Dbinding.rs54 program_name: *const c_char, module_type: i32, in NativeService_AllocSocketFd()
55 client_fd: *mut i32, token_type: *mut i32) -> i32; in NativeService_AllocSocketFd()
80 pub fn alloc_socket_fd(&self, program_name: &str, module_type: i32, in alloc_socket_fd()
81 client_fd: &mut RawFd, token_type: &mut i32) -> FusionResult<i32> in alloc_socket_fd()
/base/security/code_signature/services/key_enable/src/
Dcs_hisysevent.rs19 pub fn report_add_key_err(cert_type: &str, errcode: i32) in report_add_key_err()
/base/hiviewdfx/hisysevent/interfaces/rust/innerkits/src/
Dlib.rs49 event_params: &[HiSysEventParam]) -> i32 { in write()
93 pub fn query(query_arg: &QueryArg, query_rules: &[QueryRule], querier: &Querier) -> i32 { in query()
117 pub fn add_watcher(watcher: &Watcher, watch_rules: &[WatchRule]) -> i32 { in add_watcher()
122 pub fn remove_watcher(watcher: &Watcher) -> i32 { in remove_watcher()

12