/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | session.cpp | 45 constexpr HiviewDFX::HiLogLabel LABEL = { LOG_CORE, HILOG_DOMAIN_WINDOW, "Session" }; 75 std::shared_ptr<AppExecFwk::EventHandler> Session::mainHandler_; 76 bool Session::isScbCoreEnabled_ = false; 78 Session::Session(const SessionInfo& info) : sessionInfo_(info) in Session() function in OHOS::Rosen::Session 105 void Session::SetEventHandler(const std::shared_ptr<AppExecFwk::EventHandler>& handler, in SetEventHandler() 112 void Session::PostTask(Task&& task, const std::string& name, int64_t delayTime) in PostTask() 125 void Session::PostExportTask(Task&& task, const std::string& name, int64_t delayTime) in PostExportTask() 139 int32_t Session::GetPersistentId() const in GetPersistentId() 144 std::shared_ptr<RSSurfaceNode> Session [all...] |
H A D | sub_session.cpp | 118 Session::ProcessClickModalSpecificWindowOutside(posX, posY); in ProcessPointDownSession() 149 WSError ret = Session::TransferKeyEvent(keyEvent); in TransferKeyEvent() 159 Session::UpdatePointerArea(rect); in UpdatePointerArea() 170 WLOGFW("Current Session Info: [persistentId: %{public}d, " in CheckPointerEventDispatch() 209 return parentSession_->IsVisibleForeground() && Session::IsVisibleForeground(); in IsVisibleForeground() 211 return Session::IsVisibleForeground(); in IsVisibleForeground()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/ |
H A D | window_event_process.h | 31 void ProcessWindowMouseEvent(int32_t nodeId, sptr<Rosen::Session> session, 33 void ProcessWindowDragEvent(int32_t nodeId, sptr<Rosen::Session> session, 38 void UpdateWindowMouseRecord(int32_t nodeId, sptr<Rosen::Session> session, 41 void ProcessEnterLeaveEvent(int32_t nodeId, sptr<Rosen::Session> session, 43 void DispatchPointerEvent(sptr<Rosen::Session> session, 47 wptr<Rosen::Session> lastWeakSession_ { nullptr }; 51 wptr<Rosen::Session> lastDragSession_ { nullptr };
|
H A D | window_event_process.cpp | 25 sptr<Rosen::Session> session, const std::shared_ptr<MMI::PointerEvent>& pointerEvent) in ProcessEnterLeaveEvent() 64 sptr<Rosen::Session> session, const std::shared_ptr<MMI::PointerEvent>& pointerEvent) in ProcessWindowMouseEvent() 83 sptr<Rosen::Session> session, const std::shared_ptr<MMI::PointerEvent>& pointerEvent) in ProcessWindowDragEvent() 131 sptr<Rosen::Session> session, const std::shared_ptr<MMI::PointerEvent>& pointerEvent) in UpdateWindowMouseRecord() 139 void WindowEventProcess::DispatchPointerEvent(sptr<Rosen::Session> session, in DispatchPointerEvent()
|
H A D | system_window_scene.h | 31 explicit SystemWindowScene(const sptr<Rosen::Session>& session); 39 sptr<Rosen::Session> GetSession(); 73 sptr<Rosen::Session> session_;
|
H A D | input_scene.h | 26 explicit InputScene(const sptr<Rosen::Session>& session);
|
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/include/ |
H A D | ISessionListener.h | 21 #include "Session.h" 30 virtual int OnSessionOpened(std::shared_ptr<Session> session) = 0; 32 virtual void OnSessionClosed(std::shared_ptr<Session> session) = 0; 34 virtual void OnMessageReceived(std::shared_ptr<Session> session, const char *data, ssize_t len) = 0; 36 virtual void OnBytesReceived(std::shared_ptr<Session> session, const char *data, ssize_t len) = 0; 38 virtual bool OnDataAvailable(std::shared_ptr<Session> session, uint32_t status) = 0;
|
H A D | Session.h | 26 class COMM_EXPORT Session { class 53 Session() = default; 54 virtual ~Session() = default; 93 NO_COPY_AND_ASSIGN(Session);
|
H A D | ISessionService.h | 22 #include "Session.h" 38 virtual std::shared_ptr<Session> OpenSession(const std::string &mySessionName, const std::string &peerSessionName, 41 virtual int CloseSession(std::shared_ptr<Session> session) = 0;
|
/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/include/ |
H A D | dsoftbus_adapter_impl.h | 56 struct Session { struct in OHOS::Msdp::DeviceStatus::final 57 Session(int32_t socket) : socket_(socket) {} in Session() function 58 Session(const Session &other) : socket_(other.socket_) {} in Session() function 59 DISALLOW_MOVE(Session); 61 Session& operator=(const Session &other) = delete; 111 std::map<std::string, Session> sessions_;
|
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/ |
H A D | session_service_impl.h | 19 #include "Session.h" 40 std::shared_ptr<Session> OpenSession(const std::string &mySessionName, const std::string &peerSessionName, 43 int32_t CloseSession(std::shared_ptr<Session> session) override; 62 static std::map<int32_t, std::shared_ptr<Session>> sessionMap_; 65 std::shared_ptr<Session> &session); 68 std::shared_ptr<ISessionListener> &listener, std::shared_ptr<Session> &session); 70 int32_t CreateSession(int32_t sessionId, const std::shared_ptr<Session> &session);
|
H A D | session_service_impl.cpp | 32 std::map<int32_t, std::shared_ptr<Session>> SessionServiceImpl::sessionMap_; 81 std::shared_ptr<Session> SessionServiceImpl::OpenSession(const std::string &mySessionName, in OpenSession() 95 std::shared_ptr<Session> session; in OpenSession() 100 TRANS_LOGE(TRANS_SDK, "Session find"); in OpenSession() 106 int32_t SessionServiceImpl::CloseSession(std::shared_ptr<Session> session) in CloseSession() 144 int32_t SessionServiceImpl::CreateSession(int32_t sessionId, const std::shared_ptr<Session> &session) in CreateSession() 176 sessionMap_.insert(std::pair<int32_t, std::shared_ptr<Session>>(sessionId, session)); in CreateSession() 183 std::shared_ptr<Session> session = std::make_shared<SessionImpl>(); in OpenSessionCallback() 218 std::shared_ptr<Session> session; in CloseSessionCallback() 228 std::shared_ptr<Session> sessio in BytesReceivedCallback() [all...] |
/foundation/communication/dsoftbus/tests/sdk/transmission/session/ |
H A D | client_trans_session_service_impl_test.cpp | 37 int32_t OnSessionOpened(std::shared_ptr<Session> session) override 42 void OnSessionClosed(std::shared_ptr<Session> session) override 47 void OnMessageReceived(std::shared_ptr<Session> session, const char *data, ssize_t len) override 52 void OnBytesReceived(std::shared_ptr<Session> session, const char *data, ssize_t len) override 57 bool OnDataAvailable(std::shared_ptr<Session> session, uint32_t status) override 169 std::shared_ptr<Session> session = in HWTEST_F() 188 std::shared_ptr<Session> session = in HWTEST_F() 207 std::shared_ptr<Session> session = in HWTEST_F() 226 std::shared_ptr<Session> session = in HWTEST_F()
|
/foundation/filemanagement/app_file_service/tools/backup_tool/src/ |
H A D | tools_op_backup.cpp | 49 class Session { class 127 static void OnFileReady(shared_ptr<Session> ctx, const BFileInfo &fileInfo, UniqueFd fd) in OnFileReady() 151 static void OnBundleStarted(shared_ptr<Session> ctx, ErrCode err, const BundleName name) in OnBundleStarted() 161 static void OnResultReport(shared_ptr<Session> ctx, const std::string bundleName, const std::string result) in OnResultReport() 166 static void OnBundleFinished(shared_ptr<Session> ctx, ErrCode err, const BundleName name) in OnBundleFinished() 173 static void OnAllBundlesFinished(shared_ptr<Session> ctx, ErrCode err) in OnAllBundlesFinished() 186 static void OnBackupServiceDied(shared_ptr<Session> ctx) in OnBackupServiceDied() 192 static void OnProcess(shared_ptr<Session> ctx, const std::string bundleName, const std::string processInfo) in OnProcess() 250 auto ctx = make_shared<Session>(); in InitPathCapFile()
|
H A D | tools_op_restore.cpp | 49 class Session { class 119 static void OnFileReady(shared_ptr<Session> ctx, const BFileInfo &fileInfo, UniqueFd fd, int32_t errCode) in OnFileReady() 154 static void OnBundleStarted(shared_ptr<Session> ctx, ErrCode err, const BundleName name) in OnBundleStarted() 165 static void OnBundleFinished(shared_ptr<Session> ctx, ErrCode err, const BundleName name) in OnBundleFinished() 176 static void OnResultReport(shared_ptr<Session> ctx, const std::string &bundleName, const std::string &resultInfo) in OnResultReport() 181 static void OnAllBundlesFinished(shared_ptr<Session> ctx, ErrCode err) in OnAllBundlesFinished() 194 static void OnBackupServiceDied(shared_ptr<Session> ctx) in OnBackupServiceDied() 200 static void OnProcess(shared_ptr<Session> ctx, const std::string bundleName, const std::string processInfo) in OnProcess() 205 static void RestoreApp(shared_ptr<Session> restore, vector<BundleName> &bundleNames, bool updateSendFiles) in RestoreApp() 254 static int32_t InitRestoreSession(shared_ptr<Session> ct [all...] |
/foundation/filemanagement/app_file_service/tests/unittests/backup_tools/backup_tool/ |
H A D | tools_op_restore_test.cpp | 276 auto ctx = make_shared<Session>(); in HWTEST_F() 307 auto ctx = make_shared<Session>(); in HWTEST_F() 337 auto ctx = make_shared<Session>(); in HWTEST_F() 367 auto ctx = make_shared<Session>(); in HWTEST_F() 397 auto ctx = make_shared<Session>(); in HWTEST_F() 422 auto ctx = make_shared<Session>(); in HWTEST_F() 448 auto ctx = make_shared<Session>(); in HWTEST_F() 474 auto ctx = make_shared<Session>(); in HWTEST_F() 500 auto ctx = make_shared<Session>(); in HWTEST_F() 524 auto ctx = make_shared<Session>(); in HWTEST_F() [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | session_test3.cpp | 57 sptr<Session> session_ = nullptr; 75 session_ = sptr<Session>::MakeSptr(info); in SetUp() 286 sptr<Session> session01 = nullptr; in HWTEST_F() 292 sptr<Session> session02 = sptr<Session>::MakeSptr(info); in HWTEST_F() 293 sptr<Session> session03 = sptr<Session>::MakeSptr(info); in HWTEST_F() 324 sptr<Session> session01 = nullptr; in HWTEST_F() 330 sptr<Session> session02 = sptr<Session> in HWTEST_F() [all...] |
H A D | scene_persistence_test.cpp | 106 sptr<Session> session = new Session(info); in HWTEST_F() 153 sptr<Session> session = new Session(info); in HWTEST_F() 204 sptr<Session> session = new Session(info); in HWTEST_F()
|
H A D | session_test2.cpp | 57 sptr<Session> session_ = nullptr; 94 session_ = new (std::nothrow) Session(info); in SetUp() 154 sptr<Session> session = new (std::nothrow) Session(info); in HWTEST_F() 173 sptr<Session> session = new (std::nothrow) Session(info); in HWTEST_F() 176 sptr<Session> session1 = new (std::nothrow) Session(info); in HWTEST_F() 183 sptr<Session> session2 = new (std::nothrow) Session(inf in HWTEST_F() [all...] |
/foundation/window/window_manager/test/fuzztest/window_scene/sessionstubextension_fuzzer/ |
H A D | sessionstubextension_fuzzer.cpp | 37 void SessionStubTestExtensionCode(sptr<Session> sessionStub, MessageParcel& parcel) in SessionStubTestExtensionCode() 73 void SessionStubTestPipCode(sptr<Session> sessionStub, MessageParcel& parcel) in SessionStubTestPipCode() 103 sptr<Session> sessionStub = new (std::nothrow) Session(info); in DoSomethingInterestingWithMyAPI()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/manager/ |
H A D | client_trans_session_impl_test.cpp | 50 int32_t OnSessionOpened(std::shared_ptr<Communication::SoftBus::Session> session) in OnSessionOpened() 55 void OnSessionClosed(std::shared_ptr<Communication::SoftBus::Session> session) in OnSessionClosed() 60 void OnMessageReceived(std::shared_ptr<Communication::SoftBus::Session> session, const char *data, ssize_t len) in OnMessageReceived() 65 void OnBytesReceived(std::shared_ptr<Communication::SoftBus::Session> session, const char *data, ssize_t len) in OnBytesReceived() 70 bool OnDataAvailable(std::shared_ptr<Communication::SoftBus::Session> session, uint32_t status) in OnDataAvailable() 133 std::shared_ptr<Communication::SoftBus::Session> session = testSessionServiceImpl.OpenSession(g_sessionName1, in HWTEST_F()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/session_manager/ |
H A D | session_manager.h | 32 class Session : public Serializable {
class 50 Session GetSession(const SessionPoint &from, const std::string &targetDeviceId) const;
|
H A D | session_manager.cpp | 39 Session SessionManager::GetSession(const SessionPoint &from, const std::string &targetDeviceId) const
in GetSession() 42 Session session;
in GetSession() 115 bool Session::Marshal(json &node) const
in Marshal() 126 bool Session::Unmarshal(const json &node)
in Unmarshal()
|
/foundation/window/window_manager/test/fuzztest/window_scene/sessionstubbase_fuzzer/ |
H A D | sessionstubbase_fuzzer.cpp | 37 void SessionStubBaseTest(sptr<Session> sessionStub, MessageParcel& parcel) in SessionStubBaseTest() 88 sptr<Session> sessionStub = new (std::nothrow) Session(info); in DoSomethingInterestingWithMyAPI()
|
/foundation/window/window_manager/test/fuzztest/window_scene/sessionstubscene_fuzzer/ |
H A D | sessionstubscene_fuzzer.cpp | 37 void SessionStubTestUpdateCode(sptr<Session> sessionStub, MessageParcel& parcel) in SessionStubTestUpdateCode() 87 void SessionStubTestSetCode(sptr<Session> sessionStub, MessageParcel& parcel) in SessionStubTestSetCode() 148 sptr<Session> sessionStub = new (std::nothrow) Session(info); in DoSomethingInterestingWithMyAPI()
|