/ohos5.0/base/update/updateservice/frameworks/js/napi/update/include/ |
H A D | update_result.h | 50 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 D | update_session.h | 49 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 D | update_session.cpp | 153 {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 D | update_client.cpp | 111 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 D | session_manager.cpp | 106 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 D | ui_extension_model.h | 50 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 D | session_wrapper_factory.cpp | 24 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 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 | 103 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 D | session_wrapper_factory.h | 34 static RefPtr<SessionWrapper> CreateSessionWrapper(SessionType sessionType, 37 SessionType sessionType, const SessionCreateParam& sessionCreateParam);
|
H A D | security_session_wrapper_impl.h | 38 SessionType sessionType); 112 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
|
H A D | session_wrapper_impl.h | 35 SessionType sessionType); 114 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
|
H A D | ui_extension_pattern.h | 80 … bool isAsyncModalBinding = false, SessionType sessionType = SessionType::UI_EXTENSION_ABILITY); 314 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
|
H A D | security_ui_extension_pattern.h | 131 SessionType sessionType_ = SessionType::UI_EXTENSION_ABILITY;
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/bluetooth/ |
H A D | interface_i_bluetooth_audio_session.md | 19 | [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.md | 36 | [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 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_EX… in CreateSessionWrapper()
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/bluetooth_a2dp_v1_0/dump_ast_target/ |
H A D | dump.txt | 9 [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 D | modal_ui_extension_proxy_impl_test_ng.cpp | 30 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 D | bluetooth_audio_session_proxy.h.txt | 71 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 D | bluetooth_audio_session_stub.cpp.txt | 109 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 D | bluetooth_audio_session_service.cpp.txt | 31 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 D | bluetooth_audio_session_service.h.txt | 31 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 D | js_embedded_component.cpp | 74 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 D | BluetoothAudioTypes.idl | 67 enum SessionType { 93 enum SessionType sessionType;
|