/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() 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 D | ui_extension_model.h | 44 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 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.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 | ui_extension_model_ng.cpp | 91 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 D | security_session_wrapper_impl.cpp | 116 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 D | mock_session_wrapper_factory.cpp | 19 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 D | mock_session_wrapper_impl.cpp | 45 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 D | avsession_sysevent.h | 98 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 D | modal_ui_extension_proxy_impl_test_ng.cpp | 30 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 D | avsession_sysevent.cpp | 115 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 D | OHAVSession.cpp | 29 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 D | native_avsession.h | 323 * @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 D | window_option.cpp | 93 void WindowOption::SetWindowSessionType(WindowSessionType sessionType) in SetWindowSessionType() argument 95 sessionType_ = sessionType; in SetWindowSessionType()
|
/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() 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 D | window.cpp | 41 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 D | window_option.cpp | 152 void WindowOption::SetWindowSessionType(WindowSessionType sessionType) in SetWindowSessionType() argument 154 sessionType_ = sessionType; in SetWindowSessionType()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_dfile_session.c | 118 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 D | softbus_wrapper.cpp | 156 void SoftBusWrapper::SetSessionType(int sessionType) in SetSessionType() argument 158 sessionType_ = sessionType; in SetSessionType()
|
H A D | softbus_wrapper.h | 47 void SetSessionType(int sessionType);
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/softbus/ |
H A D | softbus_wrapper.cpp | 156 void SoftBusWrapper::SetSessionType(int sessionType) in SetSessionType() argument 158 sessionType_ = sessionType; in SetSessionType()
|
H A D | softbus_wrapper.h | 47 void SetSessionType(int sessionType);
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_session.c | 52 ProxyPacketType SessionTypeToPacketType(SessionPktType sessionType) in SessionTypeToPacketType() argument 54 switch (sessionType) { in SessionTypeToPacketType()
|
/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() argument
|
/foundation/multimedia/av_session/frameworks/native/ohavsession/include/ |
H A D | OHAVSession.h | 33 OHAVSession(AVSession_Type sessionType, const char* sessionTag,
|