/ohos5.0/foundation/ability/ability_runtime/test/unittest/want_agent_info_test/ |
H A D | want_agent_info_test.cpp | 80 std::vector<std::shared_ptr<Want>> wants; variable 84 wants.emplace_back(want); 114 std::vector<std::shared_ptr<Want>> wants; variable 118 wants.emplace_back(want); 148 std::vector<std::shared_ptr<Want>> wants; variable 152 wants.emplace_back(want); 199 wants.emplace_back(want); 225 wants.emplace_back(want); 251 wants.emplace_back(want); 277 wants.emplace_back(want); [all …]
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/continuous_task_jsunittest/ |
H A D | continuous_task_jsunit.test.js | 65 wants: [ property in AnonymousFunction66c03bb40100.AnonymousFunction66c03bb40600.wantAgentInfo 113 wants: [ property in AnonymousFunction66c03bb40100.AnonymousFunction66c03bb40700.wantAgentInfo2 137 wants: [ property in AnonymousFunction66c03bb40100.AnonymousFunction66c03bb40800.wantAgentInfo3 201 wants: [ property in AnonymousFunction66c03bb40100.AnonymousFunction66c03bb40900.wantAgentInfo4 241 wants: [ property in AnonymousFunction66c03bb40100.AnonymousFunction66c03bb40a00.wantAgentInfo5 291 wants: [ property in AnonymousFunction66c03bb40100.AnonymousFunction66c03bb40b00.wantAgentInfo6 317 wants: [ property in AnonymousFunction66c03bb40100.AnonymousFunction66c03bb40c00.wantAgentInfo7 379 wants: [ property in AnonymousFunction66c03bb40100.AnonymousFunction66c03bb40d00.wantAgentInfo8 419 wants: [ property in AnonymousFunction66c03bb40100.AnonymousFunction66c03bb40e00.wantAgentInfo9 472 wants: [ property in AnonymousFunction66c03bb40100.AnonymousFunction66c03bb40f00.wantAgentInfo10 [all …]
|
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/src/ |
H A D | want_agent_info.cpp | 27 WantAgentConstant::Flags flag, std::vector<std::shared_ptr<Want>> &wants, in WantAgentInfo() argument 33 if (!wants.empty()) { in WantAgentInfo() 34 for (auto want : wants) { in WantAgentInfo() 46 const std::vector<WantAgentConstant::Flags> &flags, std::vector<std::shared_ptr<Want>> &wants, in WantAgentInfo() argument 54 if (!wants.empty()) { in WantAgentInfo() 55 for (auto want : wants) { in WantAgentInfo()
|
H A D | want_agent_helper.cpp | 100 std::vector<std::shared_ptr<Want>> wants = paramsInfo.GetWants(); in GetWantAgent() local 101 if (wants.empty()) { in GetWantAgent() 125 result = PendingWant::GetService(context, requestCode, wants[0], flags, pendingWant); in GetWantAgent() 151 std::vector<std::shared_ptr<Want>> wants = paramsInfo.GetWants(); in GetWantAgent() local 152 if (wants.empty()) { in GetWantAgent() 157 std::shared_ptr<Want> want = wants[0]; in GetWantAgent() 366 nlohmann::json wants = nlohmann::json::array(); in ToString() local 368 wants.emplace_back(wantInfo.want.ToString()); in ToString() 370 jsonObject["wants"] = wants; in ToString() 404 std::vector<std::shared_ptr<AAFwk::Want>> wants = {}; in FromString() local [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/panding_want_manager_test/ |
H A D | panding_want_manager_test.cpp | 246 info.wants_ = wants; in MakeWantAgentInfo() 268 std::vector<std::shared_ptr<AAFwk::Want>> wants; variable 269 wants.push_back(abilityWant); 323 std::vector<std::shared_ptr<AAFwk::Want>> wants; variable 324 wants.push_back(abilityWant); 394 std::vector<std::shared_ptr<AAFwk::Want>> wants; variable 395 wants.push_back(abilityWant); 428 info = MakeWantAgentInfo(type, requsetCode, flags, wants); 442 wants.clear(); 443 wants.push_back(abilityWant); [all …]
|
/ohos5.0/foundation/ability/form_fwk/services/src/ |
H A D | form_ecological_rule_service.cpp | 97 int32_t FormEcologicalRuleClient::IsSupportPublishForm(const std::vector<OHOS::AAFwk::Want> &wants, in IsSupportPublishForm() argument 109 int32_t res = ecologicalRuleMgrServiceProxy_->IsSupportPublishForm(wants, callerInfo, bSupport); in IsSupportPublishForm() 119 int32_t FormEcologicalRuleProxy::IsSupportPublishForm(const std::vector<Want> &wants, in IsSupportPublishForm() argument 128 if (!data.WriteInt32(wants.size())) { in IsSupportPublishForm() 132 for (auto &want : wants) { in IsSupportPublishForm()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-inner-wantAgent-wantAgentInfo.md | 24 | wants | Array\<[Want](js-apis-app-ability-want.md)\> | 是 | 将被执行的动作列表…
|
H A D | js-apis-wantAgent.md | 48 wants: [ 103 wants: [ 176 wants: [ 236 wants: [ 317 wants: [ 377 wants: [ 457 wants: [ 518 wants: [ 601 wants: [ 677 wants: [ [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/pending_want_test/ |
H A D | pending_want_test.cpp | 219 wants.emplace_back(want); 220 wants.emplace_back(want2); 243 wants.emplace_back(want); 244 wants.emplace_back(want2); 267 wants.emplace_back(want); 268 wants.emplace_back(want2); 975 wants.emplace_back(want); 976 wants.emplace_back(want2); 1005 wants.emplace_back(want); 1006 wants.emplace_back(want2); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/wantagenthelpertrigger_fuzzer/ |
H A D | wantagenthelpertrigger_fuzzer.cpp | 43 std::vector<std::shared_ptr<AAFwk::Want>> wants; in DoSomethingInterestingWithMyAPI() local 44 wants.push_back(want); in DoSomethingInterestingWithMyAPI() 60 WantAgentInfo agentInfo(requestCode, operationType, flag, wants, extraInfo); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/ |
H A D | file_access_helper.cpp | 188 for (auto iter = wants.begin(); iter != wants.end(); ++iter) { in IsEffectiveWants() 200 for (size_t i = 0; i < wants.size(); i++) { in DoCreatorHelper() 207 fileAccessExtConnection->ConnectFileExtAbility(wants[i]); in DoCreatorHelper() 219 connectInfo->want = wants[i]; in DoCreatorHelper() 221 std::string bundleName = wants[i].GetElement().GetBundleName(); in DoCreatorHelper() 265 if (wants.size() == 0) { in Creator() 274 if (!IsEffectiveWants(wants)) { in Creator() 279 return DoCreatorHelper(context->GetToken(), wants); in Creator() 283 const std::vector<AAFwk::Want> &wants) in Creator() argument 291 if (wants.size() == 0) { in Creator() [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formmgradapterone_fuzzer/ |
H A D | formmgradapterone_fuzzer.cpp | 67 Want wants; in DoSomethingInterestingWithMyAPI() local 68 formMgrAdapter.CheckPublishForm(wants); in DoSomethingInterestingWithMyAPI() 69 formMgrAdapter.QueryPublishFormToHost(wants); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/bundlemanager/ecological_rule_manager/test/unittest/ |
H A D | ecological_rule_mgr_service_client_test.cpp | 90 std::vector<Want> wants; variable 91 wants.push_back(want); 96 int32_t res = ecologicalRuleMgrServiceClient->IsSupportPublishForm(wants, callerInfo, bSupport);
|
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/include/ |
H A D | file_access_helper.h | 66 …st std::shared_ptr<OHOS::AbilityRuntime::Context> &context, const std::vector<AAFwk::Want> &wants); 68 const std::vector<AAFwk::Want> &wants); 98 const std::vector<AAFwk::Want> &wants); 99 static bool IsEffectiveWants(const std::vector<AAFwk::Want> &wants);
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/pending_want_manager_test/ |
H A D | pending_want_manager_test.cpp | 144 for (auto want : wants) { in MakeWantSenderInfo() 877 std::vector<Want> wants; variable 878 wants.emplace_back(want1); 879 wants.emplace_back(want2); 880 WantSenderInfo wantSenderInfo = MakeWantSenderInfo(wants, 0, 0); 914 std::vector<Want> wants; variable 915 wants.emplace_back(want1); 916 wants.emplace_back(want2); 951 std::vector<Want> wants; variable 952 wants.emplace_back(want1); [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formtaskmgr_fuzzer/ |
H A D | formtaskmgr_fuzzer.cpp | 72 AAFwk::Want wants; in DoSomethingInterestingWithMyAPI() local 73 formTaskMgr.PostAcquireStateTaskToHost(state, wants, remoteObject); in DoSomethingInterestingWithMyAPI() 90 formTaskMgr.AcquireStateBack(state, wants, remoteObject); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/ability/form_fwk/services/include/ |
H A D | form_ecological_rule_service.h | 33 …int32_t IsSupportPublishForm(const std::vector<Want> &wants, const CallerInfo &callerInfo, bool &b… 65 …int32_t IsSupportPublishForm(const std::vector<Want> &wants, const CallerInfo &callerInfo, bool &b…
|
/ohos5.0/foundation/bundlemanager/ecological_rule_manager/interfaces/innerkits/src/ |
H A D | ecological_rule_mgr_service_proxy.cpp | 143 int32_t EcologicalRuleMgrServiceProxy::IsSupportPublishForm(const std::vector<Want> &wants, in IsSupportPublishForm() argument 152 if (!data.WriteInt32(wants.size())) { in IsSupportPublishForm() 156 for (auto &want : wants) { in IsSupportPublishForm()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/bmsextensionclient_fuzzer/ |
H A D | bmsextensionclient_fuzzer.cpp | 36 std::vector<Want> wants; in DoSomethingInterestingWithMyAPI() local 47 bmsExtensionClient.BatchQueryAbilityInfos(wants, reinterpret_cast<uintptr_t>(data), in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/bundlemanager/ecological_rule_manager/services/manager/src/ |
H A D | ecologic_rule_mgr_service_stub.cpp | 176 std::vector<Want> wants = {}; in OnIsSupportPublishFormResult() local 193 wants.emplace_back(*want); in OnIsSupportPublishFormResult() 202 IsSupportPublishForm(wants, *caller, bSupport); in OnIsSupportPublishFormResult()
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-wantAgent.md | 48 wants: [ 103 wants: [ 176 wants: [ 236 wants: [ 317 wants: [ 377 wants: [ 457 wants: [ 518 wants: [ 601 wants: [ 677 wants: [ [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formfreeinstalloperator_fuzzer/ |
H A D | formfreeinstalloperator_fuzzer.cpp | 57 AAFwk::Want wants; in DoSomethingInterestingWithMyAPI() local 58 formHostCallback.OnAcquireState(state, wants, callerToken); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/docs/zh-cn/application-dev/device/location/ |
H A D | geofence-guidelines.md | 41 wants: [ 63 wants: [
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | module-configuration-file.md | 534 shortcuts标识应用的快捷方式信息。标签值为数组,包含四个子标签shortcutId、label、icon、wants。 549 | [wants](#wants标签) | 标识快捷方式内定义的目标wants信息集合,在调用launcherBundleManager的startShortcut接口时,会拉起wants标签里的第… 561 "wants": [ 608 ### wants标签 610 此标签用于标识快捷方式内定义的目标wants信息集合。 612 **表11-1** wants标签说明 625 "wants": [
|
/ohos5.0/foundation/filemanagement/user_file_service/test/unittest/ |
H A D | external_file_access_test.cpp | 89 vector<AAFwk::Want> wants{want}; in SetUpTestCase() local 90 g_fah = FileAccessHelper::Creator(systemAbilityObj, wants); in SetUpTestCase()
|