Home
last modified time | relevance | path

Searched refs:sessionType (Results 1 - 25 of 50) 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() argument
25 if (sessionType == SessionType::UI_EXTENSION_ABILITY || sessionType == SessionType::EMBEDDED_UI_EXTENSION) { in CreateSessionWrapper()
26 return AceType::MakeRefPtr<SessionWrapperImpl>(hostPattern, instanceId, isTransferringCaller, sessionType); in CreateSessionWrapper()
32 SessionType sessionType, const SessionCreateParam& sessionCreateParam) in CreateSessionWrapper()
34 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in CreateSessionWrapper()
37 sessionCreateParam.isTransferringCaller, sessionType); in CreateSessionWrapper()
31 CreateSessionWrapper( SessionType sessionType, const SessionCreateParam& sessionCreateParam) CreateSessionWrapper() argument
H A Dui_extension_model.h44 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY; member
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 Dsession_wrapper_factory.h34 static RefPtr<SessionWrapper> CreateSessionWrapper(SessionType sessionType,
37 SessionType sessionType, const SessionCreateParam& sessionCreateParam);
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 Dui_extension_model_ng.cpp91 void UIExtensionModelNG::Create(const RefPtr<OHOS::Ace::WantWrap>& wantWrap, SessionType sessionType) in Create() argument
96 [sessionType]() { return AceType::MakeRefPtr<UIExtensionPattern>(false, false, false, sessionType); }); in Create()
129 switch (config.sessionType) { 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 in SetOnError()
231 SetOnTerminated( std::function<void(int32_t, const RefPtr<WantWrap>&)>&& onTerminated, NG::SessionType sessionType) SetOnTerminated() argument
247 SetOnReceive( std::function<void(const AAFwk::WantParams&)>&& onReceive, NG::SessionType sessionType) SetOnReceive() argument
263 SetOnError( std::function<void(int32_t code, const std::string& name, const std::string& message)>&& onError, NG::SessionType sessionType) SetOnError() argument
[all...]
H A Dsecurity_session_wrapper_impl.cpp116 int32_t instanceId, bool isTransferringCaller, SessionType sessionType) in SecuritySessionWrapperImpl()
118 sessionType_(sessionType) in SecuritySessionWrapperImpl()
190 sessionType = sessionType_, callSessionId](int32_t code, const AAFwk::Want& want) { in InitAllCallback()
192 [weak, code, want, sessionType, callSessionId]() { in InitAllCallback()
515 [weak = hostPattern_, sessionType = sessionType_, isAbnormal, callSessionId]() { in OnDisconnect()
114 SecuritySessionWrapperImpl( const WeakPtr<SecurityUIExtensionPattern>& hostPattern, int32_t instanceId, bool isTransferringCaller, SessionType sessionType) SecuritySessionWrapperImpl() argument
/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() argument
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()
47 sessionType_(sessionType) in SessionWrapperImpl()
44 SessionWrapperImpl(const WeakPtr<UIExtensionPattern>& hostPattern, int32_t instanceId, bool isTransferringCaller, SessionType sessionType) SessionWrapperImpl() argument
/foundation/multimedia/av_session/utils/include/
H A Davsession_sysevent.h98 const int32_t& sessionType, bool isCreateSession);
100 const int32_t& controllerCmd, const int32_t& sessionType);
127 #define HISYSEVENT_ADD_CONTROLLER_COMMAND_INFO(bundleName, controllerPid, controllerCmd, sessionType) \
130 controllerCmd, sessionType); \
133 #define HISYSEVENT_ADD_LIFE_CYCLE_INFO(bundleName, appStatus, sessionType, isCreateSession) \
135 AVSessionSysEvent::GetInstance().AddLifeCycleInfo(bundleName, appStatus, sessionType, isCreateSession); \
/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; member
57 sessionType, hostPattern, instanceId, isTransferringCaller); in HWTEST_F()
/foundation/multimedia/av_session/utils/src/
H A Davsession_sysevent.cpp115 const int32_t& sessionType, bool isCreateSession) in AddLifeCycleInfo()
120 lifeCycleInfo.sessionType_ = sessionType; in AddLifeCycleInfo()
127 const int32_t& controllerCmd, const int32_t& sessionType) in AddControllerCommandInfo()
114 AddLifeCycleInfo(const std::string& bundleName, bool appStatus, const int32_t& sessionType, bool isCreateSession) AddLifeCycleInfo() argument
126 AddControllerCommandInfo(const std::string& bundleName, const pid_t& controllerPid, const int32_t& controllerCmd, const int32_t& sessionType) AddControllerCommandInfo() argument
/foundation/multimedia/av_session/frameworks/native/ohavsession/src/
H A DOHAVSession.cpp29 OHAVSession::OHAVSession(AVSession_Type sessionType, const char* sessionTag, in OHAVSession() argument
35 avSession_ = AVSessionManager::GetInstance().CreateSession(sessionTag, sessionType, elementName); in OHAVSession()
67 std::string sessionType = avSession_->GetSessionType(); in GetSessionType() local
68 return sessionType; in GetSessionType()
337 AVSession_ErrCode OH_AVSession_Create(AVSession_Type sessionType, const char* sessionTag, in OH_AVSession_Create() argument
345 switch (sessionType) { in OH_AVSession_Create()
352 SLOGE("Invalid session type: %{public}d", sessionType); in OH_AVSession_Create()
356 OHOS::AVSession::OHAVSession *oh_avsession = new OHOS::AVSession::OHAVSession(sessionType, sessionTag, in OH_AVSession_Create()
396 AVSession_ErrCode OH_AVSession_GetSessionType(OH_AVSession* avsession, AVSession_Type* sessionType) in OH_AVSession_GetSessionType() argument
399 CHECK_AND_RETURN_RET_LOG(sessionType ! in OH_AVSession_GetSessionType()
[all...]
/foundation/multimedia/av_session/interfaces/kits/c/
H A Dnative_avsession.h323 * @param sessionType The session type to set
332 * 1. The param of sessionType is invalid.
339 AVSession_ErrCode OH_AVSession_Create(AVSession_Type sessionType, const char* sessionTag,
381 * @param sessionType The returned session type
387 * 2. The param of sessionType is nullptr.
390 AVSession_ErrCode OH_AVSession_GetSessionType(OH_AVSession* avsession, AVSession_Type* sessionType);
/foundation/window/window_manager/previewer/src/
H A Dwindow_option.cpp93 void WindowOption::SetWindowSessionType(WindowSessionType sessionType) in SetWindowSessionType() argument
95 sessionType_ = sessionType; in SetWindowSessionType()
/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() local
74 sessionType = static_cast<NG::SessionType>(info[1]->ToNumber<int32_t>()); in Create()
77 UIExtensionModel::GetInstance()->Create(want, sessionType); in Create()
/foundation/window/window_manager/wm/src/
H A Dwindow.cpp41 auto sessionType = option->GetWindowSessionType(); in CreateWindowWithSession() local
42 if (sessionType == WindowSessionType::SCENE_SESSION) { in CreateWindowWithSession()
44 } else if (sessionType == WindowSessionType::EXTENSION_SESSION) { in CreateWindowWithSession()
H A Dwindow_option.cpp152 void WindowOption::SetWindowSessionType(WindowSessionType sessionType) in SetWindowSessionType() argument
154 sessionType_ = sessionType; in SetWindowSessionType()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_session.c118 if (session->sessionType == DFILE_SESSION_TYPE_CLIENT && (!ListIsEmpty(&session->pendingFileLists) in CalculateSessionTransferRatePrepare()
123 if (session->sessionType == DFILE_SESSION_TYPE_CLIENT && !ListIsEmpty(&session->pendingFileLists)) { in CalculateSessionTransferRatePrepare()
283 if (session->sessionType == DFILE_SESSION_TYPE_CLIENT && (!ListIsEmpty(&session->pendingFileLists) in CalculateSessionTransferRate()
288 if (session->sessionType == DFILE_SESSION_TYPE_CLIENT && !ListIsEmpty(&session->pendingFileLists)) { in CalculateSessionTransferRate()
324 if (session->sessionType == DFILE_SESSION_TYPE_CLIENT) { in CheckTransDone()
472 if (peerInfo->session->sessionType == DFILE_SESSION_TYPE_CLIENT) { in DFileSessionSendSetting()
526 if (session->sessionType == DFILE_SESSION_TYPE_SERVER) { in SetDFileSessionConfig()
548 DFILE_LOGI(TAG, "handle Setting Frame, DFileSessionType %u", session->sessionType); in DFileSessionHandleClientSetting()
682 DFILE_LOGI(TAG, "handle Setting Frame, DFileSessionType %u", session->sessionType); in DFileSessionHandleServerSetting()
718 if (session->sessionType in DFileSessionHandleSetting()
[all...]
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/softbus/
H A Dsoftbus_wrapper.cpp156 void SoftBusWrapper::SetSessionType(int sessionType) in SetSessionType() argument
158 sessionType_ = sessionType; in SetSessionType()
H A Dsoftbus_wrapper.h47 void SetSessionType(int sessionType);
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/softbus/
H A Dsoftbus_wrapper.cpp156 void SoftBusWrapper::SetSessionType(int sessionType) in SetSessionType() argument
158 sessionType_ = sessionType; in SetSessionType()
H A Dsoftbus_wrapper.h47 void SetSessionType(int sessionType);
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_session.c52 ProxyPacketType SessionTypeToPacketType(SessionPktType sessionType) in SessionTypeToPacketType() argument
54 switch (sessionType) { in SessionTypeToPacketType()
/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() argument
/foundation/multimedia/av_session/frameworks/native/ohavsession/include/
H A DOHAVSession.h33 OHAVSession(AVSession_Type sessionType, const char* sessionTag,

Completed in 14 milliseconds

12