Home
last modified time | relevance | path

Searched refs:sessionType (Results 1 – 25 of 100) sorted by relevance

1234

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Dsession_wrapper_factory.cpp24 RefPtr<SessionWrapper> SessionWrapperFactory::CreateSessionWrapper(SessionType sessionType, in CreateSessionWrapper() argument
27 …if (sessionType == SessionType::UI_EXTENSION_ABILITY || sessionType == SessionType::EMBEDDED_UI_EX… in CreateSessionWrapper()
28 …ceType::MakeRefPtr<SessionWrapperImpl>(hostPattern, instanceId, isTransferringCaller, sessionType); in CreateSessionWrapper()
34 SessionType sessionType, const SessionCreateParam& sessionCreateParam) in CreateSessionWrapper() argument
36 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in CreateSessionWrapper()
39 sessionCreateParam.isTransferringCaller, sessionType); in CreateSessionWrapper()
H A Dui_extension_model.h50 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY; member
63 virtual void Create(const RefPtr<OHOS::Ace::WantWrap>& wantWrap, NG::SessionType sessionType);
78 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY) {}
80 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY) {}
85 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY);
H A Dui_extension_model_ng.cpp103 …id UIExtensionModelNG::Create(const RefPtr<OHOS::Ace::WantWrap>& wantWrap, SessionType sessionType) in Create() argument
108 …[sessionType]() { return AceType::MakeRefPtr<UIExtensionPattern>(false, false, false, sessionType)… in Create()
142 switch (config.sessionType) { in Create()
245 … std::function<void(int32_t, const RefPtr<WantWrap>&)>&& onTerminated, NG::SessionType sessionType) in SetOnTerminated() argument
249 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in SetOnTerminated()
261 std::function<void(const AAFwk::WantParams&)>&& onReceive, NG::SessionType sessionType) in SetOnReceive() argument
265 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in SetOnReceive()
278 NG::SessionType sessionType) in SetOnError() argument
282 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in SetOnError()
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);
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/bluetooth/
H A Dinterface_i_bluetooth_audio_session.md19 | [StartSession](#startsession) ([in] enum SessionType sessionType, [in] IBluetoothAudioCallback ca…
20 | [StopSession](#stopsession) ([in] enum SessionType sessionType) | 结束音频会话。 |
54 IBluetoothAudioSession::StartSession ([in] enum SessionType sessionType, [in] IBluetoothAudioCallba…
67 | sessionType | 表示会话类型。 |
77 IBluetoothAudioSession::StopSession ([in] enum SessionType sessionType)
90 | sessionType | 表示会话类型。 |
/ohos5.0/foundation/multimedia/av_session/avpicker/
H A Davpicker.js98 if (c11.sessionType !== undefined) {
99 this.sessionType = c11.sessionType;
211 get sessionType() {
215 set sessionType(w10) {
515 let w = this.sessionType === 'voice_call' || this.sessionType === 'video_call';
526 let w = this.sessionType === 'voice_call' || this.sessionType === 'video_call';
539 if (JSON.stringify(l8.sessionType) !== undefined) {
540 console.info(TAG, `session type : ${JSON.stringify(l8.sessionType)}`);
541 this.sessionType = l8.sessionType;
584 let w = this.sessionType === 'voice_call' || this.sessionType === 'video_call';
H A Davpicker.ets132 @State sessionType: string = 'audio';
339 … let isCalling: boolean = this.sessionType === 'voice_call' || this.sessionType === 'video_call';
352 … let isCalling: boolean = (this.sessionType === 'voice_call' || this.sessionType === 'video_call');
365 if (JSON.stringify(data['sessionType']) !== undefined) {
366 console.info(TAG, `session type : ${JSON.stringify(data['sessionType'])}`);
367 this.sessionType = data['sessionType'] as string;
412 … let isCalling: boolean = this.sessionType === 'voice_call' || this.sessionType === 'video_call';
/ohos5.0/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 …VENT_ADD_CONTROLLER_COMMAND_INFO(bundleName, controllerPid, controllerCmd, sessionType) \ argument
130 … controllerCmd, sessionType); \
133 #define HISYSEVENT_ADD_LIFE_CYCLE_INFO(bundleName, appStatus, sessionType, isCreateSession) … argument
135 …AVSessionSysEvent::GetInstance().AddLifeCycleInfo(bundleName, appStatus, sessionType, isCreateSess…
/ohos5.0/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_EX… in CreateSessionWrapper()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/audio/
H A D_audio_session_ext_info_v10.md20 | enum [AudioSessionType](_hdi_audio_v11.md#audiosessiontype)[sessionType](#sessiontype) | 音频会话类型,详…
26 ### sessionType subsection
29 enum AudioSessionType AudioSessionExtInfo::sessionType
H A D_audio_session_ext_info_v20.md20 | enum [AudioSessionType](_hdi_audio_v20.md#audiosessiontype)[sessionType](#sessiontype) | 音频会话类型,详…
26 ### sessionType subsection
29 enum AudioSessionType AudioSessionExtInfo::sessionType
/ohos5.0/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, session… in OH_AVSession_Create()
394 AVSession_ErrCode OH_AVSession_GetSessionType(OH_AVSession* avsession, AVSession_Type* sessionType) in OH_AVSession_GetSessionType() argument
397 …CHECK_AND_RETURN_RET_LOG(sessionType != nullptr, AV_SESSION_ERR_INVALID_PARAMETER, "sessionType is… in OH_AVSession_GetSessionType()
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/bluetooth_a2dp_v1_0/cpp_target/bluetooth/a2dp/v1_0/
H A Dbluetooth_audio_session_proxy.cpp.txt122 …ssionProxy::StartSession(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType, const sptr<OHO…
124 …return OHOS::HDI::Bluetooth::A2dp::V1_0::BluetoothAudioSessionProxy::StartSession_(sessionType, ca…
127 …:BluetoothAudioSessionProxy::StopSession(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType)
129 …return OHOS::HDI::Bluetooth::A2dp::V1_0::BluetoothAudioSessionProxy::StopSession_(sessionType, Get…
142 …sionProxy::StartSession_(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType, const sptr<OHO…
153 if (!bluetoothAudioSessionData.WriteUint64(static_cast<uint64_t>(sessionType))) {
154 HDF_LOGE("%{public}s: write sessionType failed!", __func__);
190 …ssionProxy::StopSession_(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType, const sptr<IRe…
201 if (!bluetoothAudioSessionData.WriteUint64(static_cast<uint64_t>(sessionType))) {
202 HDF_LOGE("%{public}s: write sessionType failed!", __func__);
H A Dbluetooth_audio_session_stub.cpp.txt109 OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType = static_cast<enum SessionType>(0);
113 HDF_LOGE("%{public}s: write sessionType failed!", __func__);
116 sessionType = static_cast<enum SessionType>(enumTmp);
139 int32_t bluetoothAudioSessionRet = impl->StartSession(sessionType, callbackObj, queue);
160 OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType = static_cast<enum SessionType>(0);
164 HDF_LOGE("%{public}s: write sessionType failed!", __func__);
167 sessionType = static_cast<enum SessionType>(enumTmp);
175 int32_t bluetoothAudioSessionRet = impl->StopSession(sessionType);
H A Dbluetooth_audio_session_proxy.h.txt71 int32_t StartSession(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType,
74 int32_t StopSession(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType) override;
81 static int32_t StartSession_(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType,
84 static int32_t StopSession_(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType,
H A Dbluetooth_audio_session_service.cpp.txt31 …uetoothAudioSessionService::StartSession(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType,
37 …luetoothAudioSessionService::StopSession(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType)
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/bluetooth_a2dp_v1_0/foo/bluetooth/a2dp/v1_0/
H A DIBluetoothAudioSession.idl53 * @param sessionType Indicates the session type.
61 StartSession([in] enum SessionType sessionType, [in] IBluetoothAudioCallback callbackObj,
67 * @param sessionType Indicates the session type.
73 StopSession([in] enum SessionType sessionType);
/ohos5.0/drivers/interface/bluetooth/a2dp/v1_0/
H A DIBluetoothAudioSession.idl53 * @param sessionType Indicates the session type.
61 StartSession([in] enum SessionType sessionType, [in] IBluetoothAudioCallback callbackObj,
67 * @param sessionType Indicates the session type.
73 StopSession([in] enum SessionType sessionType);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-avsession-kit/
H A Dohos-multimedia-avcastpicker.md38 …castpickerstyle12) | 否 | @Prop | 投播样式。<br>- 当时sessionType是audio或者video时,默认值为STYLE_PANEL;<br>- 当ses…
40 | sessionType<sup>12+</sup> | string | 否| @Prop | 会话类型,可参考[AVSessionType](js-apis-avsession.md#avse…
/ohos5.0/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; variable
57 sessionType, hostPattern, instanceId, isTransferringCaller);
/ohos5.0/foundation/multimedia/av_session/utils/src/
H A Davsession_sysevent.cpp115 const int32_t& sessionType, bool isCreateSession) in AddLifeCycleInfo() argument
120 lifeCycleInfo.sessionType_ = sessionType; in AddLifeCycleInfo()
127 const int32_t& controllerCmd, const int32_t& sessionType) in AddControllerCommandInfo() argument
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v1/
H A Dcompatible_sub_session.c22 int32_t CreateCompatibleSubSession(SubSessionTypeValue sessionType, CJson *jsonParams, in CreateCompatibleSubSession() argument
30 switch (sessionType) { in CreateCompatibleSubSession()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_session.c324 if (session->sessionType == DFILE_SESSION_TYPE_CLIENT) { in CheckTransDone()
527 if (session->sessionType == DFILE_SESSION_TYPE_SERVER) { in SetDFileSessionConfig()
719 if (session->sessionType == DFILE_SESSION_TYPE_SERVER) { in DFileSessionHandleSetting()
721 } else if (session->sessionType == DFILE_SESSION_TYPE_CLIENT) { in DFileSessionHandleSetting()
1053 if (session->sessionType != DFILE_SESSION_TYPE_CLIENT) { in DFileSendCalculateRate()
1119 if (session->sessionType != DFILE_SESSION_TYPE_SERVER || in DFileRecvCalculateRate()
1198 if (session->sessionType == DFILE_SESSION_TYPE_CLIENT) { in DFileSenderUpdateMeasureTime()
1435 if (session->sessionType != DFILE_SESSION_TYPE_CLIENT) { in DFileSessionSendFrame()
1696 if (session->sessionType == DFILE_SESSION_TYPE_SERVER) { in DFileReceiverUpdateSessionMeasureTime()
1705 if (session->sessionType != DFILE_SESSION_TYPE_SERVER) { in BindServerRecvThreadToTargetCpu()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_embedded_component.cpp74 NG::SessionType sessionType = NG::SessionType::EMBEDDED_UI_EXTENSION; in Create() local
76 sessionType = static_cast<NG::SessionType>(info[1]->ToNumber<int32_t>()); in Create()
79 UIExtensionModel::GetInstance()->Create(want, sessionType); in Create()

1234