Home
last modified time | relevance | path

Searched refs:Session (Results 1 - 25 of 77) sorted by relevance

1234

/foundation/window/window_manager/window_scene/session/host/src/
H A Dsession.cpp45 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 Dsub_session.cpp118 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 Dwindow_event_process.h31 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 Dwindow_event_process.cpp25 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 Dsystem_window_scene.h31 explicit SystemWindowScene(const sptr<Rosen::Session>& session);
39 sptr<Rosen::Session> GetSession();
73 sptr<Rosen::Session> session_;
H A Dinput_scene.h26 explicit InputScene(const sptr<Rosen::Session>& session);
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/include/
H A DISessionListener.h21 #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 DSession.h26 class COMM_EXPORT Session { class
53 Session() = default;
54 virtual ~Session() = default;
93 NO_COPY_AND_ASSIGN(Session);
H A DISessionService.h22 #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 Ddsoftbus_adapter_impl.h56 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 Dsession_service_impl.h19 #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 Dsession_service_impl.cpp32 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 Dclient_trans_session_service_impl_test.cpp37 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 Dtools_op_backup.cpp49 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 Dtools_op_restore.cpp49 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 Dtools_op_restore_test.cpp276 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 Dsession_test3.cpp57 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 Dscene_persistence_test.cpp106 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 Dsession_test2.cpp57 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 Dsessionstubextension_fuzzer.cpp37 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 Dclient_trans_session_impl_test.cpp50 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 Dsession_manager.h32 class Session : public Serializable { class
50 Session GetSession(const SessionPoint &from, const std::string &targetDeviceId) const;
H A Dsession_manager.cpp39 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 Dsessionstubbase_fuzzer.cpp37 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 Dsessionstubscene_fuzzer.cpp37 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()

Completed in 15 milliseconds

1234