/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/ |
H A D | session_wrapper_factory.cpp | 22 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 D | ui_extension_model.h | 44 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 D | ui_extension_model_ng.h | 42 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 D | session_wrapper_factory.h | 34 static RefPtr<SessionWrapper> CreateSessionWrapper(SessionType sessionType, 37 SessionType sessionType, const SessionCreateParam& sessionCreateParam);
|
H A D | ui_extension_model_ng.cpp | 91 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 D | security_session_wrapper_impl.h | 38 SessionType sessionType); 115 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
|
H A D | session_wrapper_impl.h | 35 SessionType sessionType); 117 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
|
H A D | security_ui_extension_pattern.h | 130 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
|
H A D | ui_extension_pattern.h | 89 bool isAsyncModalBinding = false, SessionType sessionType = SessionType::UI_EXTENSION_ABILITY); 329 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
|
H A D | session_wrapper.h | 58 enum class SessionType : int32_t { class
|
H A D | session_wrapper_impl.cpp | 123 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 D | mock_session_wrapper_factory.cpp | 19 RefPtr<SessionWrapper> SessionWrapperFactory::CreateSessionWrapper(SessionType sessionType,
in CreateSessionWrapper() 22 if (sessionType == SessionType::UI_EXTENSION_ABILITY || sessionType == SessionType::EMBEDDED_UI_EXTENSION) {
in CreateSessionWrapper()
|
H A D | mock_session_wrapper_impl.cpp | 45 bool isTransferringCaller, SessionType sessionType) in SessionWrapperImpl()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/ |
H A D | modal_ui_extension_proxy_impl_test_ng.cpp | 30 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY;
|
H A D | ui_extension_component_test_ng.cpp | 135 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 D | js_embedded_component.cpp | 72 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 D | js_security_ui_extension.cpp | 388 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 D | client_trans_session_callback.h | 27 int32_t (*OnSessionOpened)(const char *sessionName, const ChannelInfo *channel, SessionType flag);
|
/foundation/arkui/ace_engine/test/mock/core/pattern/ |
H A D | mock_ui_extension_model_ng.cpp | 31 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 D | basic_definitions.h | 167 enum SessionType : int32_t {
|
/foundation/distributedhardware/device_manager/test/unittest/mock/ |
H A D | session.h | 63 } SessionType; typedef 94 /** @brief dataType{@link SessionType} */
|
/foundation/communication/dsoftbus/interfaces/kits/transport/ |
H A D | session.h | 66 } SessionType; typedef 108 int dataType; /**< Session type {@link SessionType} */
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/ |
H A D | client_trans_proxy_manager_test.cpp | 69 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 D | clienttranstcpdirectlistener_fuzzer.cpp | 29 int32_t TransOnSessionOpened(const char *sessionName, const ChannelInfo *channel, SessionType flag) in TransOnSessionOpened()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/manager/ |
H A D | client_trans_channel_manager_test.cpp | 44 int32_t OnSessionOpened(const char *sessionName, const ChannelInfo *channel, SessionType flag) in OnSessionOpened()
|