Home
last modified time | relevance | path

Searched refs:SessionType (Results 1 – 25 of 61) sorted by relevance

123

/ohos5.0/base/update/updateservice/frameworks/js/napi/update/include/
H A Dupdate_result.h50 if (type == SessionType::SESSION_DOWNLOAD || type == SessionType::SESSION_UPGRADE) { in Release()
52 } else if (type == SessionType::SESSION_CHECK_VERSION) { in Release()
54 } else if (type == SessionType::SESSION_GET_NEW_VERSION) { in Release()
57 type == SessionType::SESSION_GET_CUR_VERSION_DESCRIPTION) { in Release()
59 } else if (type == SessionType::SESSION_GET_CUR_VERSION) { in Release()
61 } else if (type == SessionType::SESSION_GET_POLICY) { in Release()
80 if (type == SessionType::SESSION_DOWNLOAD || type == SessionType::SESSION_UPGRADE) {
82 } else if (type == SessionType::SESSION_CHECK_VERSION) {
84 } else if (type == SessionType::SESSION_GET_NEW_VERSION) {
90 } else if (type == SessionType::SESSION_GET_CUR_VERSION) {
[all …]
H A Dupdate_session.h49 if (sessionParams_.type == SessionType::SESSION_FACTORY_RESET) { in GetFunctionPermissionName()
58 return sessionParams_.type == SessionType::SESSION_CHECK_VERSION; in IsAsyncCompleteWork()
85 if (sessionParams_.type == SessionType::SESSION_FACTORY_RESET) { in GetFunctionPermissionName()
94 return sessionParams_.type == SessionType::SESSION_CHECK_VERSION; in IsAsyncCompleteWork()
/ohos5.0/base/update/updateservice/frameworks/js/napi/update/src/
H A Dupdate_session.cpp153 {SessionType::SESSION_DOWNLOAD, "download"},
154 {SessionType::SESSION_PAUSE_DOWNLOAD, "pauseDownload"},
156 {SessionType::SESSION_UPGRADE, "upgrade"},
159 {SessionType::SESSION_CLEAR_ERROR, "clearError"},
163 {SessionType::SESSION_SUBSCRIBE, "subscribe"},
164 {SessionType::SESSION_UNSUBSCRIBE, "unsubscribe"},
165 {SessionType::SESSION_GET_UPDATER, "getUpdater"},
167 {SessionType::SESSION_FACTORY_RESET, "factoryReset"},
169 {SessionType::SESSION_CANCEL_UPGRADE, "cancel"},
172 {SessionType::SESSION_GET_TASK_INFO, "getTaskInfo"},
[all …]
H A Dupdate_client.cpp111 SessionParams sessionParams(SessionType::SESSION_CHECK_VERSION, CALLBACK_POSITION_ONE, true); in CheckNewVersion()
180 SessionParams sessionParams(SessionType::SESSION_DOWNLOAD, CALLBACK_POSITION_THREE, true); in Download()
252 SessionParams sessionParams(SessionType::SESSION_UPGRADE, CALLBACK_POSITION_THREE, true); in Upgrade()
315 SessionParams sessionParams(SessionType::SESSION_SET_POLICY, CALLBACK_POSITION_TWO, true); in SetUpgradePolicy()
423 case SessionType::SESSION_CHECK_VERSION: in GetUpdateResult()
427 case SessionType::SESSION_GET_NEW_VERSION: in GetUpdateResult()
431 case SessionType::SESSION_GET_NEW_VERSION_DESCRIPTION: in GetUpdateResult()
435 case SessionType::SESSION_GET_TASK_INFO: in GetUpdateResult()
439 case SessionType::SESSION_GET_CUR_VERSION: in GetUpdateResult()
443 case SessionType::SESSION_GET_CUR_VERSION_DESCRIPTION: in GetUpdateResult()
[all …]
H A Dsession_manager.cpp106 if (listener->GetType() != SessionType::SESSION_SUBSCRIBE || in ProcessUnsubscribe()
133 if (iter->second->GetType() != SessionType::SESSION_SUBSCRIBE) { in Unsubscribe()
174 if (listener->GetType() != SessionType::SESSION_SUBSCRIBE) { in FindSessionByHandle()
193 if (iter.second->GetType() != SessionType::SESSION_SUBSCRIBE) { in FindSessionByHandle()
221 if (iter.second->GetType() != SessionType::SESSION_SUBSCRIBE) { in PublishToJS()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Dui_extension_model.h50 NG::SessionType sessionType = NG::SessionType::UI_EXTENSION_ABILITY;
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 Dsession_wrapper_factory.cpp24 RefPtr<SessionWrapper> SessionWrapperFactory::CreateSessionWrapper(SessionType sessionType, in CreateSessionWrapper()
27 …if (sessionType == SessionType::UI_EXTENSION_ABILITY || sessionType == SessionType::EMBEDDED_UI_EX… in CreateSessionWrapper()
34 SessionType sessionType, const SessionCreateParam& sessionCreateParam) in CreateSessionWrapper()
36 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in CreateSessionWrapper()
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.cpp103 void UIExtensionModelNG::Create(const RefPtr<OHOS::Ace::WantWrap>& wantWrap, SessionType sessionTyp… in Create()
143 case SessionType::SECURITY_UI_EXTENSION_ABILITY: in Create()
245 … std::function<void(int32_t, const RefPtr<WantWrap>&)>&& onTerminated, NG::SessionType sessionType) in SetOnTerminated()
249 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in SetOnTerminated()
261 std::function<void(const AAFwk::WantParams&)>&& onReceive, NG::SessionType sessionType) in SetOnReceive()
265 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in SetOnReceive()
278 NG::SessionType sessionType) in SetOnError()
282 if (sessionType == SessionType::SECURITY_UI_EXTENSION_ABILITY) { in SetOnError()
H A Dsession_wrapper_factory.h34 static RefPtr<SessionWrapper> CreateSessionWrapper(SessionType sessionType,
37 SessionType sessionType, const SessionCreateParam& sessionCreateParam);
H A Dsecurity_session_wrapper_impl.h38 SessionType sessionType);
112 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
H A Dsession_wrapper_impl.h35 SessionType sessionType);
114 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
H A Dui_extension_pattern.h80 … bool isAsyncModalBinding = false, SessionType sessionType = SessionType::UI_EXTENSION_ABILITY);
314 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
H A Dsecurity_ui_extension_pattern.h131 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
/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…
77 IBluetoothAudioSession::StopSession ([in] enum SessionType sessionType)
H A D_hdi_a2dp.md36 | [SessionType](#sessiontype) { UNKNOWN_TYPE , SOFTWARE_ENCODING , HARDWARE_ENCODING } | 声明音频会话的类型。…
57 ### SessionType subsection
60 enum SessionType
/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()
22 …if (sessionType == SessionType::UI_EXTENSION_ABILITY || sessionType == SessionType::EMBEDDED_UI_EX… in CreateSessionWrapper()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/bluetooth_a2dp_v1_0/dump_ast_target/
H A Ddump.txt9 [in] ohos.hdi.bluetooth.a2dp.v1_0.SessionType sessionType,
14 [in] ohos.hdi.bluetooth.a2dp.v1_0.SessionType sessionType);
47 [mini, lite, full] enum SessionType : int {
/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;
/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.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_stub.cpp.txt109 OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType = static_cast<enum SessionType>(0);
116 sessionType = static_cast<enum SessionType>(enumTmp);
160 OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType = static_cast<enum SessionType>(0);
167 sessionType = static_cast<enum SessionType>(enumTmp);
H A Dbluetooth_audio_session_service.cpp.txt31 int32_t BluetoothAudioSessionService::StartSession(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType se…
37 int32_t BluetoothAudioSessionService::StopSession(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType ses…
H A Dbluetooth_audio_session_service.h.txt31 int32_t StartSession(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType,
34 int32_t StopSession(OHOS::HDI::Bluetooth::A2dp::V1_0::SessionType sessionType) override;
/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()
76 sessionType = static_cast<NG::SessionType>(info[1]->ToNumber<int32_t>()); in Create()
/ohos5.0/drivers/interface/bluetooth/a2dp/v2_0/
H A DBluetoothAudioTypes.idl67 enum SessionType {
93 enum SessionType sessionType;

123