Home
last modified time | relevance | path

Searched refs:SessionType (Results 1 - 25 of 33) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Dsession_wrapper_factory.cpp22 RefPtr<SessionWrapper> SessionWrapperFactory::CreateSessionWrapper(SessionType sessionType, in CreateSessionWrapper()
25 if (sessionType == SessionType::UI_EXTENSION_ABILITY || sessionType == SessionType::EMBEDDED_UI_EXTENSION) { in CreateSessionWrapper()
32 SessionType sessionType, const SessionCreateParam& sessionCreateParam) in CreateSessionWrapper()
34 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in CreateSessionWrapper()
H A Dui_extension_model.h44 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY;
57 virtual void Create(const RefPtr<OHOS::Ace::WantWrap>& wantWrap, NG::SessionType sessionType);
72 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY) {} in SetOnTerminated()
74 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY) {} in SetOnReceive()
79 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY);
H A Dui_extension_model_ng.h42 void Create(const RefPtr<OHOS::Ace::WantWrap>& wantWrap, SessionType sessionType) override;
59 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY) override;
61 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY) override;
66 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY) override;
H A Dsession_wrapper_factory.h34 static RefPtr<SessionWrapper> CreateSessionWrapper(SessionType sessionType,
37 SessionType sessionType, const SessionCreateParam& sessionCreateParam);
H A Dui_extension_model_ng.cpp91 void UIExtensionModelNG::Create(const RefPtr<OHOS::Ace::WantWrap>& wantWrap, SessionType sessionType) in Create()
130 case SessionType::SECURITY_UI_EXTENSION_ABILITY: in Create()
232 std::function<void(int32_t, const RefPtr<WantWrap>&)>&& onTerminated, NG::SessionType sessionType) in SetOnTerminated()
236 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in SetOnTerminated()
248 std::function<void(const AAFwk::WantParams&)>&& onReceive, NG::SessionType sessionType) in SetOnReceive()
252 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in SetOnReceive()
265 NG::SessionType sessionType) in SetOnError()
269 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in SetOnError()
H A Dsecurity_session_wrapper_impl.h38 SessionType sessionType);
115 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
H A Dsession_wrapper_impl.h35 SessionType sessionType);
117 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
H A Dsecurity_ui_extension_pattern.h130 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
H A Dui_extension_pattern.h89 bool isAsyncModalBinding = false, SessionType sessionType = SessionType::UI_EXTENSION_ABILITY);
329 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
H A Dsession_wrapper.h58 enum class SessionType : int32_t { class
H A Dsession_wrapper_impl.cpp123 bool isTransferringCaller, SessionType sessionType) in SessionWrapperImpl()
220 if (sessionType == SessionType::UI_EXTENSION_ABILITY && pattern->IsCompatibleOldVersion()) { in InitAllCallback()
359 if (sessionType_ == SessionType::UI_EXTENSION_ABILITY) { in CreateSession()
372 if (sessionType_ == SessionType::EMBEDDED_UI_EXTENSION) { in CreateSession()
683 if (sessionType == SessionType::UI_EXTENSION_ABILITY && pattern->IsCompatibleOldVersion()) { in OnDisconnect()
/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/mock/
H A Dmock_session_wrapper_factory.cpp19 RefPtr<SessionWrapper> SessionWrapperFactory::CreateSessionWrapper(SessionType sessionType, in CreateSessionWrapper()
22 if (sessionType == SessionType::UI_EXTENSION_ABILITY || sessionType == SessionType::EMBEDDED_UI_EXTENSION) { in CreateSessionWrapper()
H A Dmock_session_wrapper_impl.cpp45 bool isTransferringCaller, SessionType sessionType) in SessionWrapperImpl()
/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/
H A Dmodal_ui_extension_proxy_impl_test_ng.cpp30 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY;
H A Dui_extension_component_test_ng.cpp135 AceType::MakeRefPtr<SessionWrapperImpl>(pattern, pattern->instanceId_, 1, SessionType::UI_EXTENSION_ABILITY); in ValidSessionWrapper()
286 uecNG.SetOnError(onError, NG::SessionType::SECURITY_UI_EXTENSION_ABILITY); in HWTEST_F()
288 uecNG.SetOnReceive(onReceive, NG::SessionType::SECURITY_UI_EXTENSION_ABILITY); in HWTEST_F()
290 uecNG.SetOnTerminated(std::move(onTerminated), NG::SessionType::SECURITY_UI_EXTENSION_ABILITY); in HWTEST_F()
293 config.sessionType = NG::SessionType::UI_EXTENSION_ABILITY; in HWTEST_F()
295 config.sessionType = NG::SessionType::SECURITY_UI_EXTENSION_ABILITY; in HWTEST_F()
500 pattern->sessionType_ = SessionType::EMBEDDED_UI_EXTENSION; in HWTEST_F()
503 pattern->sessionType_ = SessionType::UI_EXTENSION_ABILITY; in HWTEST_F()
507 pattern->sessionType_ = SessionType::UI_EXTENSION_ABILITY; in HWTEST_F()
1299 pattern->sessionType_ = SessionType in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_embedded_component.cpp72 NG::SessionType sessionType = NG::SessionType::EMBEDDED_UI_EXTENSION; in Create()
74 sessionType = static_cast<NG::SessionType>(info[1]->ToNumber<int32_t>()); in Create()
H A Djs_security_ui_extension.cpp388 config.sessionType = NG::SessionType::SECURITY_UI_EXTENSION_ABILITY; in Create()
493 std::move(onReceive), NG::SessionType::SECURITY_UI_EXTENSION_ABILITY); in OnReceive()
521 std::move(onError), NG::SessionType::SECURITY_UI_EXTENSION_ABILITY); in OnError()
557 std::move(onTerminated), NG::SessionType::SECURITY_UI_EXTENSION_ABILITY); in OnTerminated()
/foundation/communication/dsoftbus/sdk/transmission/session/include/
H A Dclient_trans_session_callback.h27 int32_t (*OnSessionOpened)(const char *sessionName, const ChannelInfo *channel, SessionType flag);
/foundation/arkui/ace_engine/test/mock/core/pattern/
H A Dmock_ui_extension_model_ng.cpp31 void UIExtensionModelNG::Create(const RefPtr<OHOS::Ace::WantWrap>& wantWrap, SessionType sessionType) {} in Create()
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/base/
H A Dbasic_definitions.h167 enum SessionType : int32_t {
/foundation/distributedhardware/device_manager/test/unittest/mock/
H A Dsession.h63 } SessionType; typedef
94 /** @brief dataType{@link SessionType} */
/foundation/communication/dsoftbus/interfaces/kits/transport/
H A Dsession.h66 } SessionType; typedef
108 int dataType; /**< Session type {@link SessionType} */
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/
H A Dclient_trans_proxy_manager_test.cpp69 int32_t TransOnSessionOpened(const char *sessionName, const ChannelInfo *channel, SessionType flag) in TransOnSessionOpened()
115 int32_t OnSessionOpened(const char *sessionName, const ChannelInfo *channel, SessionType flag) in OnSessionOpened()
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/clienttranstcpdirectlistener_fuzzer/
H A Dclienttranstcpdirectlistener_fuzzer.cpp29 int32_t TransOnSessionOpened(const char *sessionName, const ChannelInfo *channel, SessionType flag) in TransOnSessionOpened()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/manager/
H A Dclient_trans_channel_manager_test.cpp44 int32_t OnSessionOpened(const char *sessionName, const ChannelInfo *channel, SessionType flag) in OnSessionOpened()

Completed in 15 milliseconds

12