Searched refs:StreamSession (Results 1 - 8 of 8) sorted by relevance
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/stream_session/ |
H A D | ffi.rs | 24 /// Create unique_ptr of StreamSession for C++ code 34 pub unsafe extern "C" fn StreamSessionCreate() -> *mut StreamSession { 36 let stream_session: Box::<StreamSession> = Box::default(); 39 /// Drop unique_ptr of StreamSession for C++ code 49 pub unsafe extern "C" fn StreamSessionDelete(raw: *mut StreamSession) { 55 /// Set StreamSession's uid 62 pub unsafe extern "C" fn StreamSessionSetUid(object: *mut StreamSession, uid: i32) -> i32 { 64 if let Some(obj) = StreamSession::as_mut(object) { 71 /// Set StreamSession's fd 78 pub unsafe extern "C" fn StreamSessionSetFd(object: *mut StreamSession, f [all...] |
/base/msdp/device_status/utils/ipc/include/ |
H A D | stream_session.h | 34 class StreamSession;
35 using SessionPtr = std::shared_ptr<StreamSession>;
36 class StreamSession : public std::enable_shared_from_this<StreamSession> {
class 38 StreamSession(const std::string &programName, int32_t moduleType, int32_t fd, int32_t uid, int32_t pid);
39 DISALLOW_COPY_AND_MOVE(StreamSession);
40 virtual ~StreamSession() = default;
|
/base/sensors/sensor/utils/ipc/include/ |
H A D | stream_session.h | 33 class StreamSession; 34 using SessionPtr = std::shared_ptr<StreamSession>; 36 class StreamSession : public std::enable_shared_from_this<StreamSession> { class 38 StreamSession(const std::string &programName, const int32_t fd, const int32_t uid, const int32_t pid); 39 ~StreamSession() = default; 52 DISALLOW_COPY_AND_MOVE(StreamSession);
|
/base/sensors/sensor/utils/ipc/src/ |
H A D | stream_session.cpp | 26 #define LOG_TAG "StreamSession" 31 StreamSession::StreamSession(const std::string &programName, const int32_t fd, const int32_t uid, const int32_t pid) in StreamSession() function in OHOS::Sensors::StreamSession 51 bool StreamSession::SendMsg(const char *buf, size_t size) const in SendMsg() 103 void StreamSession::Close() in Close() 117 void StreamSession::UpdateDescript() in UpdateDescript() 143 bool StreamSession::SendMsg(const NetPacket &pkt) const in SendMsg() 164 int32_t StreamSession::GetUid() const in GetUid() 173 int32_t StreamSession::GetPid() const in GetPid() 182 SessionPtr StreamSession [all...] |
/base/msdp/device_status/utils/ipc/src/ |
H A D | stream_session.cpp | 30 #define LOG_TAG "StreamSession"
39 StreamSession::StreamSession(const std::string &programName, int32_t moduleType, int32_t fd, int32_t uid, int32_t pid)
in StreamSession() function in OHOS::Msdp::DeviceStatus::StreamSession 43 bool StreamSession::SendMsg(const char *buf, size_t size) const
in SendMsg() 85 void StreamSession::Close()
in Close() 97 bool StreamSession::SendMsg(NetPacket &pkt) const
in SendMsg()
|
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/ |
H A D | stream_session.rs | 24 tag: "StreamSession" 32 pub struct StreamSession { structure names 40 impl Default for StreamSession { 52 impl StreamSession { impls
|
/base/sensors/sensor/services/src/ |
H A D | stream_server.cpp | 114 sess = std::make_shared<StreamSession>("", serverFd, uid, pid); in AddSocketPairInfo()
|
/base/msdp/device_status/services/native/src/ |
H A D | stream_server.cpp | 115 sess = std::make_shared<StreamSession>(programName, moduleType, serverFd, uid, pid);
in AddSocketPairInfo()
|
Completed in 6 milliseconds