Home
last modified time | relevance | path

Searched refs:executeParam (Results 1 - 24 of 24) sorted by relevance

/foundation/multimedia/av_session/services/session/adapter/
H A Davsession_dynamic_insight.cpp121 AppExecFwk::InsightIntentExecuteParam &executeParam) in GetPlayIntentParam()
146 executeParam.bundleName_ = bundleName; in GetPlayIntentParam()
147 executeParam.moduleName_ = supportModule; in GetPlayIntentParam()
148 executeParam.abilityName_ = abilityValue["ability"]; in GetPlayIntentParam()
149 executeParam.insightIntentName_ = insightName; in GetPlayIntentParam()
150 executeParam.executeMode_ = AppExecFwk::ExecuteMode::UI_ABILITY_BACKGROUND; in GetPlayIntentParam()
165 executeParam.insightIntentParam_ = wantParam; in GetPlayIntentParam()
170 int32_t InsightAdapter::StartAVPlayback(AppExecFwk::InsightIntentExecuteParam &executeParam) in StartAVPlayback() argument
173 executeParam.bundleName_.c_str(), executeParam in StartAVPlayback()
120 GetPlayIntentParam(const std::string& bundleName, const std::string& assetId, AppExecFwk::InsightIntentExecuteParam &executeParam) GetPlayIntentParam() argument
198 AppExecFwk::InsightIntentExecuteParam executeParam; IsSupportPlayIntent() local
204 AppExecFwk::InsightIntentExecuteParam executeParam; StartAVPlayback() local
[all...]
H A Davsession_dynamic_insight.h32 AppExecFwk::InsightIntentExecuteParam &executeParam);
34 int32_t StartAVPlayback(AppExecFwk::InsightIntentExecuteParam &executeParam);
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/
H A Dnapi_common_execute_param.cpp25 bool UnwrapExecuteParam(napi_env env, napi_value param, InsightIntentExecuteParam &executeParam) in UnwrapExecuteParam() argument
37 executeParam.bundleName_ = bundleName; in UnwrapExecuteParam()
44 executeParam.moduleName_ = moduleName; in UnwrapExecuteParam()
51 executeParam.abilityName_ = abilityName; in UnwrapExecuteParam()
58 executeParam.insightIntentName_ = insightIntentName; in UnwrapExecuteParam()
78 executeParam.insightIntentParam_ = wp; in UnwrapExecuteParam()
85 executeParam.executeMode_ = executeMode; in UnwrapExecuteParam()
95 executeParam.displayId_ = displayId; in UnwrapExecuteParam()
H A Dnapi_common_execute_param.h25 bool UnwrapExecuteParam(napi_env env, napi_value param, AppExecFwk::InsightIntentExecuteParam &executeParam);
/foundation/ability/ability_runtime/frameworks/native/ability/native/insight_intent_executor/
H A Dinsight_intent_executor.cpp38 auto executeParam = intentInfo.executeParam; in Init() local
39 if (executeParam == nullptr) { in Init()
40 TAG_LOGE(AAFwkTag::INTENT, "null executeParam"); in Init()
44 context_ = std::make_shared<InsightIntentContext>(intentInfo.token, executeParam->bundleName_, in Init()
45 intentInfo.windowMode, executeParam->insightIntentId_); in Init()
H A Dinsight_intent_executor_mgr.cpp37 auto executeParam = executeInfo.executeParam; in ExecuteInsightIntent() local
38 if (executeParam == nullptr || executeParam->insightIntentParam_ == nullptr) { in ExecuteInsightIntent()
39 TAG_LOGE(AAFwkTag::INTENT, "null executeParam or insightIntentParam_"); in ExecuteInsightIntent()
45 [weak = weak_from_this(), intentId = executeParam->insightIntentId_](InsightIntentExecuteResult result) { in ExecuteInsightIntent()
70 AddInsightIntentExecutor(executeParam->insightIntentId_, intentExecutor); in ExecuteInsightIntent()
73 auto ret = intentExecutor->HandleExecuteIntent(static_cast<InsightIntentExecuteMode>(executeParam->executeMode_), in ExecuteInsightIntent()
74 executeParam->insightIntentName_, *executeParam in ExecuteInsightIntent()
[all...]
H A Djs_insight_intent_executor.cpp168 auto executeParam = info.executeParam; in LoadJsCode() local
169 if (executeParam == nullptr) { in LoadJsCode()
170 TAG_LOGE(AAFwkTag::INTENT, "null executeParam"); in LoadJsCode()
174 std::string moduleName(executeParam->moduleName_); in LoadJsCode()
175 std::string srcPath(executeParam->moduleName_ + "/" + info.srcEntry); in LoadJsCode()
/foundation/ability/ability_runtime/test/unittest/insight_intent/insight_intent_execute_param_test/
H A Dinsight_intent_execute_param_test.cpp85 InsightIntentExecuteParam executeParam; in HWTEST_F() local
86 auto ret = InsightIntentExecuteParam::GenerateFromWant(want, executeParam); in HWTEST_F()
90 EXPECT_EQ(executeParam.bundleName_, TEST_BUNDLE_NANE); in HWTEST_F()
91 EXPECT_EQ(executeParam.moduleName_, TEST_MODULE_NANE); in HWTEST_F()
92 EXPECT_EQ(executeParam.abilityName_, TEST_ABILITY_NANE); in HWTEST_F()
93 EXPECT_EQ(executeParam.insightIntentName_, TEST_INSIGHT_INTENT_NANE); in HWTEST_F()
94 EXPECT_EQ(executeParam.insightIntentId_, 1); in HWTEST_F()
97 std::shared_ptr<WantParams> insightIntentParamGot = executeParam.insightIntentParam_; in HWTEST_F()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dinsight_intent_execute_param.cpp78 InsightIntentExecuteParam &executeParam) in GenerateFromWant()
94 executeParam.bundleName_ = elementName.GetBundleName(); in GenerateFromWant()
95 executeParam.moduleName_ = elementName.GetModuleName(); in GenerateFromWant()
96 executeParam.abilityName_ = elementName.GetAbilityName(); in GenerateFromWant()
97 executeParam.insightIntentName_ = wantParams.GetStringParam(INSIGHT_INTENT_EXECUTE_PARAM_NAME); in GenerateFromWant()
98 executeParam.insightIntentId_ = insightIntentId; in GenerateFromWant()
99 executeParam.executeMode_ = wantParams.GetIntParam(INSIGHT_INTENT_EXECUTE_PARAM_MODE, 0); in GenerateFromWant()
103 executeParam.insightIntentParam_ = std::make_shared<WantParams>(insightIntentParam); in GenerateFromWant()
77 GenerateFromWant(const AAFwk::Want &want, InsightIntentExecuteParam &executeParam) GenerateFromWant() argument
H A Dfree_install_manager.cpp774 InsightIntentExecuteParam executeParam; in NotifyInsightIntentExecuteDone() local
775 InsightIntentExecuteParam::GenerateFromWant(want, executeParam); in NotifyInsightIntentExecuteDone()
778 executeParam.insightIntentId_, resultCode, result); in NotifyInsightIntentExecuteDone()
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dui_ability_impl.cpp675 auto executeParam = std::make_shared<InsightIntentExecuteParam>(); in HandleExecuteInsightIntentForeground() local
676 auto ret = InsightIntentExecuteParam::GenerateFromWant(want, *executeParam); in HandleExecuteInsightIntentForeground()
686 executeParam->bundleName_.c_str(), executeParam->moduleName_.c_str(), executeParam->abilityName_.c_str(), in HandleExecuteInsightIntentForeground()
687 executeParam->insightIntentName_.c_str(), executeParam->executeMode_, executeParam->insightIntentId_); in HandleExecuteInsightIntentForeground()
697 ExecuteInsightIntentRepeateForeground(want, executeParam, std::move(intentCb)); in HandleExecuteInsightIntentForeground()
699 ExecuteInsightIntentMoveToForeground(want, executeParam, st in HandleExecuteInsightIntentForeground()
705 ExecuteInsightIntentRepeateForeground(const Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, std::unique_ptr<InsightIntentExecutorAsyncCallback> callback) ExecuteInsightIntentRepeateForeground() argument
727 ExecuteInsightIntentMoveToForeground(const Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, std::unique_ptr<InsightIntentExecutorAsyncCallback> callback) ExecuteInsightIntentMoveToForeground() argument
788 auto executeParam = std::make_shared<InsightIntentExecuteParam>(); HandleExecuteInsightIntentBackground() local
820 ExecuteInsightIntentBackgroundByColdBoot(const Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, std::unique_ptr<InsightIntentExecutorAsyncCallback> callback) ExecuteInsightIntentBackgroundByColdBoot() argument
843 ExecuteInsightIntentBackgroundAlreadyStart(const Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, std::unique_ptr<InsightIntentExecutorAsyncCallback> callback) ExecuteInsightIntentBackgroundAlreadyStart() argument
[all...]
H A Djs_service_extension.cpp472 auto executeParam = std::make_shared<AppExecFwk::InsightIntentExecuteParam>(); in HandleInsightIntent() local
473 bool ret = AppExecFwk::InsightIntentExecuteParam::GenerateFromWant(want, *executeParam); in HandleInsightIntent()
482 executeParam->bundleName_.c_str(), executeParam->moduleName_.c_str(), executeParam->abilityName_.c_str(), in HandleInsightIntent()
483 executeParam->insightIntentName_.c_str(), executeParam->executeMode_, executeParam->insightIntentId_); in HandleInsightIntent()
484 auto asyncCallback = [weak = weak_from_this(), intentId = executeParam->insightIntentId_] in HandleInsightIntent()
499 ret = GetInsightIntentExecutorInfo(want, executeParam, executorInf in HandleInsightIntent()
515 GetInsightIntentExecutorInfo(const Want &want, const std::shared_ptr<AppExecFwk::InsightIntentExecuteParam> &executeParam, InsightIntentExecutorInfo &executorInfo) GetInsightIntentExecutorInfo() argument
[all...]
H A Dui_ability.cpp1136 const std::shared_ptr<InsightIntentExecuteParam> &executeParam, in ExecuteInsightIntentRepeateForeground()
1143 const std::shared_ptr<InsightIntentExecuteParam> &executeParam, in ExecuteInsightIntentMoveToForeground()
1150 const std::shared_ptr<InsightIntentExecuteParam> &executeParam, in ExecuteInsightIntentBackground()
1135 ExecuteInsightIntentRepeateForeground(const AAFwk::Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, std::unique_ptr<InsightIntentExecutorAsyncCallback> callback) ExecuteInsightIntentRepeateForeground() argument
1142 ExecuteInsightIntentMoveToForeground(const AAFwk::Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, std::unique_ptr<InsightIntentExecutorAsyncCallback> callback) ExecuteInsightIntentMoveToForeground() argument
1149 ExecuteInsightIntentBackground(const AAFwk::Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, std::unique_ptr<InsightIntentExecutorAsyncCallback> callback) ExecuteInsightIntentBackground() argument
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Dui_ability_impl.h240 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
243 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
246 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
249 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
H A Dui_ability.h517 * @param executeParam insight intent execute param.
521 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
528 * @param executeParam insight intent execute param.
532 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
539 * @param executeParam insight intent execute param.
543 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
H A Djs_service_extension.h184 const std::shared_ptr<AppExecFwk::InsightIntentExecuteParam> &executeParam,
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ability_runtime/
H A Djs_ui_ability.h265 * @param executeParam insight intent execute param.
269 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
276 * @param executeParam insight intent execute param.
280 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
287 * @param executeParam insight intent execute param.
291 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
305 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
H A Dcj_ui_ability.h254 * @param executeParam insight intention execute param.
258 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
265 * @param executeParam insight intention execute param.
269 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
282 const std::shared_ptr<InsightIntentExecuteParam> &executeParam,
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/insight_intent_executor/
H A Dinsight_intent_executor_info.h35 std::shared_ptr<InsightIntentExecuteParam> executeParam = nullptr; member
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/
H A Dinsight_intent_execute_param.h39 constexpr char INSIGHT_INTENT_EXECUTE_PARAM_NAME[] = "ohos.insightIntent.executeParam.name";
40 constexpr char INSIGHT_INTENT_EXECUTE_PARAM_PARAM[] = "ohos.insightIntent.executeParam.param";
41 constexpr char INSIGHT_INTENT_EXECUTE_PARAM_MODE[] = "ohos.insightIntent.executeParam.mode";
42 constexpr char INSIGHT_INTENT_EXECUTE_PARAM_ID[] = "ohos.insightIntent.executeParam.id";
56 static bool GenerateFromWant(const AAFwk::Want &want, InsightIntentExecuteParam &executeParam);
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Dcj_ui_ability.cpp711 const std::shared_ptr<InsightIntentExecuteParam> &executeParam, in ExecuteInsightIntentRepeateForeground()
715 if (executeParam == nullptr) { in ExecuteInsightIntentRepeateForeground()
734 auto ret = GetInsightIntentExecutorInfo(want, executeParam, executeInfo); in ExecuteInsightIntentRepeateForeground()
744 const std::shared_ptr<InsightIntentExecuteParam> &executeParam, in ExecuteInsightIntentMoveToForeground()
748 if (executeParam == nullptr) { in ExecuteInsightIntentMoveToForeground()
769 auto ret = GetInsightIntentExecutorInfo(want, executeParam, executeInfo); in ExecuteInsightIntentMoveToForeground()
779 const std::shared_ptr<InsightIntentExecuteParam> &executeParam, in GetInsightIntentExecutorInfo()
784 if (executeParam == nullptr || context == nullptr || abilityInfo_ == nullptr || cjWindowStage_ == nullptr) { in GetInsightIntentExecutorInfo()
795 executeInfo.executeParam = executeParam; in GetInsightIntentExecutorInfo()
710 ExecuteInsightIntentRepeateForeground(const Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, std::unique_ptr<InsightIntentExecutorAsyncCallback> callback) ExecuteInsightIntentRepeateForeground() argument
743 ExecuteInsightIntentMoveToForeground(const Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, std::unique_ptr<InsightIntentExecutorAsyncCallback> callback) ExecuteInsightIntentMoveToForeground() argument
778 GetInsightIntentExecutorInfo(const Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, InsightIntentExecutorInfo& executeInfo) GetInsightIntentExecutorInfo() argument
[all...]
H A Djs_ui_ability.cpp926 const std::shared_ptr<InsightIntentExecuteParam> &executeParam, in ExecuteInsightIntentRepeateForeground()
930 if (executeParam == nullptr) { in ExecuteInsightIntentRepeateForeground()
949 auto ret = GetInsightIntentExecutorInfo(want, executeParam, executeInfo); in ExecuteInsightIntentRepeateForeground()
966 const std::shared_ptr<InsightIntentExecuteParam> &executeParam, in ExecuteInsightIntentMoveToForeground()
970 if (executeParam == nullptr) { in ExecuteInsightIntentMoveToForeground()
994 auto ret = GetInsightIntentExecutorInfo(want, executeParam, executeInfo); in ExecuteInsightIntentMoveToForeground()
1011 const std::shared_ptr<InsightIntentExecuteParam> &executeParam, in ExecuteInsightIntentBackground()
1015 if (executeParam == nullptr) { in ExecuteInsightIntentBackground()
1016 TAG_LOGW(AAFwkTag::UIABILITY, "invalid executeParam"); in ExecuteInsightIntentBackground()
1026 auto ret = GetInsightIntentExecutorInfo(want, executeParam, executeInf in ExecuteInsightIntentBackground()
925 ExecuteInsightIntentRepeateForeground(const Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, std::unique_ptr<InsightIntentExecutorAsyncCallback> callback) ExecuteInsightIntentRepeateForeground() argument
965 ExecuteInsightIntentMoveToForeground(const Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, std::unique_ptr<InsightIntentExecutorAsyncCallback> callback) ExecuteInsightIntentMoveToForeground() argument
1010 ExecuteInsightIntentBackground(const Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, std::unique_ptr<InsightIntentExecutorAsyncCallback> callback) ExecuteInsightIntentBackground() argument
1042 GetInsightIntentExecutorInfo(const Want &want, const std::shared_ptr<InsightIntentExecuteParam> &executeParam, InsightIntentExecutorInfo& executeInfo) GetInsightIntentExecutorInfo() argument
[all...]
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/
H A Djs_ui_extension.cpp490 executorInfo.executeParam = std::make_shared<InsightIntentExecuteParam>(); in ForegroundWindowWithInsightIntent()
491 InsightIntentExecuteParam::GenerateFromWant(want, *executorInfo.executeParam); in ForegroundWindowWithInsightIntent()
492 executorInfo.executeParam->executeMode_ = UI_EXTENSION_ABILITY; in ForegroundWindowWithInsightIntent()
495 executorInfo.executeParam->insightIntentId_); in ForegroundWindowWithInsightIntent()
H A Djs_ui_extension_base.cpp446 executorInfo.executeParam = std::make_shared<InsightIntentExecuteParam>(); in ForegroundWindowWithInsightIntent()
447 InsightIntentExecuteParam::GenerateFromWant(want, *executorInfo.executeParam); in ForegroundWindowWithInsightIntent()
448 executorInfo.executeParam->executeMode_ = UI_EXTENSION_ABILITY; in ForegroundWindowWithInsightIntent()
451 executorInfo.executeParam->insightIntentId_); in ForegroundWindowWithInsightIntent()

Completed in 20 milliseconds