Home
last modified time | relevance | path

Searched refs:intentId (Results 1 - 25 of 44) sorted by relevance

12

/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dinsight_intent_execute_manager.cpp68 uint64_t intentId = 0; in CheckAndUpdateParam() local
69 result = AddRecord(key, callerToken, param->bundleName_, intentId); in CheckAndUpdateParam()
74 param->insightIntentId_ = intentId; in CheckAndUpdateParam()
84 uint64_t intentId = 0; in CheckAndUpdateWant() local
86 result = AddRecord(0, nullptr, want.GetBundle(), intentId); in CheckAndUpdateWant()
99 want.SetParam(INSIGHT_INTENT_EXECUTE_PARAM_ID, std::to_string(intentId)); in CheckAndUpdateWant()
101 TAG_LOGD(AAFwkTag::INTENT, "check done. insightIntentId: %{public}" PRIu64, intentId); in CheckAndUpdateWant()
106 const std::string &bundleName, uint64_t &intentId) in AddRecord()
109 intentId = ++intentIdCount_; in AddRecord()
116 record->deathRecipient = sptr<InsightIntentExecuteRecipient>::MakeSptr(intentId); in AddRecord()
105 AddRecord(uint64_t key, const sptr<IRemoteObject> &callerToken, const std::string &bundleName, uint64_t &intentId) AddRecord() argument
130 RemoveExecuteIntent(uint64_t intentId) RemoveExecuteIntent() argument
137 ExecuteIntentDone(uint64_t intentId, int32_t resultCode, const AppExecFwk::InsightIntentExecuteResult &result) ExecuteIntentDone() argument
173 RemoteDied(uint64_t intentId) RemoteDied() argument
190 GetBundleName(uint64_t intentId, std::string &bundleName) const GetBundleName() argument
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dinsight_intent_execute_manager.h60 explicit InsightIntentExecuteRecipient(uint64_t intentId) : intentId_(intentId) in InsightIntentExecuteRecipient() argument
79 int32_t RemoveExecuteIntent(uint64_t intentId);
81 int32_t ExecuteIntentDone(uint64_t intentId, int32_t resultCode,
84 int32_t RemoteDied(uint64_t intentId);
86 int32_t GetBundleName(uint64_t intentId, std::string &bundleName) const;
96 uint64_t &intentId);
/foundation/ability/ability_runtime/frameworks/native/ability/native/insight_intent_executor/
H A Dinsight_intent_executor_mgr.cpp45 [weak = weak_from_this(), intentId = executeParam->insightIntentId_](InsightIntentExecuteResult result) { in ExecuteInsightIntent()
53 executorMgr->RemoveInsightIntentExecutor(intentId); in ExecuteInsightIntent()
85 void InsightIntentExecutorMgr::AddInsightIntentExecutor(uint64_t intentId, in AddInsightIntentExecutor() argument
90 insightIntentExecutors_[intentId] = executor; in AddInsightIntentExecutor()
93 void InsightIntentExecutorMgr::RemoveInsightIntentExecutor(uint64_t intentId) in RemoveInsightIntentExecutor() argument
97 insightIntentExecutors_.erase(intentId); in RemoveInsightIntentExecutor()
/foundation/ability/ability_runtime/test/fuzztest/abilitymgrinsightintentexecutemanager_fuzzer/
H A Dabilitymgrinsightintentexecutemanager_fuzzer.cpp74 uint64_t intentId = static_cast<uint64_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local
76 InsightIntentExecuteRecipient Rinfos(intentId); in DoSomethingInterestingWithMyAPI()
95 Minfos->RemoveExecuteIntent(intentId); in DoSomethingInterestingWithMyAPI()
98 Minfos->ExecuteIntentDone(intentId, resultCode, result); in DoSomethingInterestingWithMyAPI()
99 Minfos->RemoteDied(intentId); in DoSomethingInterestingWithMyAPI()
101 Minfos->GetBundleName(intentId, jsonStr); in DoSomethingInterestingWithMyAPI()
102 Minfos->AddRecord(key, callerToken, jsonStr, intentId); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/insight_intent_executor/
H A Dinsight_intent_executor_mgr.h41 void AddInsightIntentExecutor(uint64_t intentId, const std::shared_ptr<InsightIntentExecutor>& executor);
42 void RemoveInsightIntentExecutor(uint64_t intentId);
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dinsight_intent_executor_mgr.h42 void AddInsightIntentExecutor(uint64_t intentId, const std::shared_ptr<InsightIntentExecutor>& executor) {} in AddInsightIntentExecutor() argument
43 void RemoveInsightIntentExecutor(uint64_t intentId) {} in RemoveInsightIntentExecutor() argument
H A Dmock_ability_manager_service.h114 uint64_t intentId, int32_t userId));
301 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,
/foundation/ability/ability_runtime/interfaces/inner_api/insight_intent/insight_intent_context/
H A Dinsight_intent_context.h32 uint64_t intentId) : token_(token), bundleName_(bundleName), winMode_(winMode), intentId_(intentId) {} in InsightIntentContext()
31 InsightIntentContext(const sptr<IRemoteObject>& token, const std::string& bundleName, int32_t winMode, uint64_t intentId) InsightIntentContext() argument
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dui_ability_impl.cpp234 void UIAbilityImpl::ExecuteInsightIntentDone(uint64_t intentId, const InsightIntentExecuteResult &result) in ExecuteInsightIntentDone() argument
236 TAG_LOGI(AAFwkTag::UIABILITY, "intentId %{public}" PRIu64"", intentId); in ExecuteInsightIntentDone()
237 auto ret = AAFwk::AbilityManagerClient::GetInstance()->ExecuteInsightIntentDone(token_, intentId, result); in ExecuteInsightIntentDone()
685 "insightIntentName: %{public}s, executeMode: %{public}d, intentId: %{public}" PRIu64"", in HandleExecuteInsightIntentForeground()
711 [weak = weak_from_this(), intentId = executeParam->insightIntentId_](InsightIntentExecuteResult result) { in ExecuteInsightIntentRepeateForeground()
712 TAG_LOGD(AAFwkTag::UIABILITY, "execute insightIntent finshed, intentId %{public}" PRIu64"", intentId); in ExecuteInsightIntentRepeateForeground()
718 abilityImpl->ExecuteInsightIntentDone(intentId, result); in ExecuteInsightIntentRepeateForeground()
739 [weak = weak_from_this(), intentId in ExecuteInsightIntentMoveToForeground()
[all...]
H A Djs_service_extension.cpp481 "insightIntentName: %{public}s, executeMode: %{public}d, intentId: %{public}" PRIu64 "", in HandleInsightIntent()
484 auto asyncCallback = [weak = weak_from_this(), intentId = executeParam->insightIntentId_] in HandleInsightIntent()
486 TAG_LOGD(AAFwkTag::SERVICE_EXT, "intentId %{public}" PRIu64"", intentId); in HandleInsightIntent()
492 auto ret = extension->OnInsightIntentExecuteDone(intentId, result); in HandleInsightIntent()
535 bool JsServiceExtension::OnInsightIntentExecuteDone(uint64_t intentId, in OnInsightIntentExecuteDone() argument
538 TAG_LOGI(AAFwkTag::SERVICE_EXT, "Notify execute done, intentId %{public}" PRIu64"", intentId); in OnInsightIntentExecuteDone()
549 auto ret = AAFwk::AbilityManagerClient::GetInstance()->ExecuteInsightIntentDone(token, intentId, result); in OnInsightIntentExecuteDone()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_test/include/
H A Dmock_ability_mgr_service.h33 uint64_t intentId, int32_t userId));
149 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Dextension.h262 virtual bool OnInsightIntentExecuteDone(uint64_t intentId, const AppExecFwk::InsightIntentExecuteResult &result);
H A Djs_service_extension.h187 bool OnInsightIntentExecuteDone(uint64_t intentId, const AppExecFwk::InsightIntentExecuteResult &result) override;
H A Dui_ability_impl.h85 * @param intentId insight intent id.
88 void ExecuteInsightIntentDone(uint64_t intentId, const AppExecFwk::InsightIntentExecuteResult &result);
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/ability_delegator/
H A Dmock_ability_delegator_stub.h39 uint64_t intentId, int32_t userId));
193 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,
219 uint64_t intentId, int32_t userId));
373 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_ability_manager.h323 int32_t ExecuteInsightIntentDone(const sptr<IRemoteObject> &token, uint64_t intentId, in ExecuteInsightIntentDone() argument
387 uint64_t intentId, int32_t userId) override
817 int32_t ExecuteInsightIntentDone(const sptr<IRemoteObject> &token, uint64_t intentId, in ExecuteInsightIntentDone() argument
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/AMS/
H A Dmock_serviceability_manager_service.h132 uint64_t intentId, int32_t userId));
308 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,
/foundation/ability/ability_runtime/tools/test/mock/
H A Dmock_ability_manager_stub.h92 uint64_t intentId, int32_t userId));
279 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,
/foundation/ability/ability_runtime/test/unittest/ability_manager_stub_test/
H A Dability_manager_stub_impl_mock.h42 uint64_t intentId, int32_t userId));
441 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,
/foundation/ability/ability_runtime/test/unittest/ability_manager_test/
H A Dability_manager_stub_mock.h307 uint64_t intentId, int32_t userId));
428 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_ability_runtime_test/AMS/
H A Dmock_serviceability_manager_service.h138 uint64_t intentId, int32_t userId));
340 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,
/foundation/ability/ability_runtime/test/unittest/ability_manager_proxy_test/
H A Dability_manager_stub_mock.h314 uint64_t intentId, int32_t userId));
431 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,
/foundation/ability/ability_runtime/test/unittest/ability_manager_client_branch_second_test/
H A Dability_manager_stub_mock_second_test.h302 uint64_t intentId, int32_t userId));
428 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,
/foundation/ability/ability_runtime/test/unittest/ability_manager_client_branch_test/
H A Dability_manager_stub_mock_test.h302 uint64_t intentId, int32_t userId));
428 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,
/foundation/ability/ability_runtime/test/unittest/sys_mgr_client_test/
H A Dmock_ability_manager_service.h111 uint64_t intentId, int32_t userId));
283 MOCK_METHOD3(ExecuteInsightIntentDone, int32_t(const sptr<IRemoteObject> &token, uint64_t intentId,

Completed in 16 milliseconds

12