Home
last modified time | relevance | path

Searched refs:wants (Results 1 – 25 of 190) sorted by relevance

12345678

/ohos5.0/foundation/ability/ability_runtime/test/unittest/want_agent_info_test/
H A Dwant_agent_info_test.cpp80 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 Dcontinuous_task_jsunit.test.js65 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 Dwant_agent_info.cpp27 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 Dwant_agent_helper.cpp100 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 Dpanding_want_manager_test.cpp246 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 Dform_ecological_rule_service.cpp97 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 Djs-apis-inner-wantAgent-wantAgentInfo.md24 | wants | Array\<[Want](js-apis-app-ability-want.md)\> | 是 | 将被执行的动作列表…
H A Djs-apis-wantAgent.md48 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 Dpending_want_test.cpp219 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 Dwantagenthelpertrigger_fuzzer.cpp43 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 Dfile_access_helper.cpp188 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 Dformmgradapterone_fuzzer.cpp67 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 Decological_rule_mgr_service_client_test.cpp90 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 Dfile_access_helper.h66 …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 Dpending_want_manager_test.cpp144 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 Dformtaskmgr_fuzzer.cpp72 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 Dform_ecological_rule_service.h33 …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 Decological_rule_mgr_service_proxy.cpp143 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 Dbmsextensionclient_fuzzer.cpp36 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 Decologic_rule_mgr_service_stub.cpp176 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 Djs-apis-wantAgent.md48 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 Dformfreeinstalloperator_fuzzer.cpp57 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 Dgeofence-guidelines.md41 wants: [
63 wants: [
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Dmodule-configuration-file.md534 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 Dexternal_file_access_test.cpp89 vector<AAFwk::Want> wants{want}; in SetUpTestCase() local
90 g_fah = FileAccessHelper::Creator(systemAbilityObj, wants); in SetUpTestCase()

12345678