Home
last modified time | relevance | path

Searched refs:Skill (Results 1 – 25 of 49) sorted by relevance

12

/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dskill.cpp60 bool Skill::Match(const OHOS::AAFwk::Want &want) const in Match()
120 bool Skill::MatchLauncher(const OHOS::AAFwk::Want &want) const in MatchLauncher()
135 bool Skill::MatchAction(const std::string &action) const in MatchAction()
536 bool Skill::IsUtd(const std::string &param) const in IsUtd()
547 bool Skill::MatchMimeType(const std::string & uriString) const in MatchMimeType()
586 bool Skill::ReadFromParcel(Parcel &parcel) in ReadFromParcel()
630 Skill *Skill::Unmarshalling(Parcel &parcel) in Unmarshalling()
632 Skill *skill = new (std::nothrow) Skill(); in Unmarshalling()
641 bool Skill::Marshalling(Parcel &parcel) const in Marshalling()
674 void Skill::Dump(std::string prefix, int fd) in Dump()
[all …]
H A Dextension_ability_info.cpp242 std::unique_ptr<Skill> extensionSkillPtr(parcel.ReadParcelable<Skill>()); in ReadFromParcel()
612 GetValueIfFindKey<std::vector<Skill>>(jsonObject, in from_json()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Djs-apis-bundleManager-skill.md1 # Skill chapter
14 ## Skill section
21 | actions | Array\<string> | 是 | 否 | Skill接收的Action集合。 |
22 | entities | Array\<string> | 是 | 否 | Skill接收的Entity集合。 |
24 | domainVerify | boolean | 是 | 否 | Skill接收的DomainVerify值, 仅在AbilityInfo中存在。 |
H A Djs-apis-bundleManager-extensionAbilityInfo.md31 | skills<sup>12+</sup> | Array\<[Skill](js-apis-bundleManager-skill.md)> …
H A Djs-apis-bundleManager-abilityInfo.md39 | skills<sup>12+</sup> | Array\<[Skill](js-apis-bundleManager-skill.md)> …
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/default_app/
H A Ddefault_app_mgr.h59 bool IsMatch(const std::string& type, const std::vector<Skill>& skills) const;
60 bool MatchAppType(const std::string& type, const std::vector<Skill>& skills) const;
61 bool MatchUtd(const std::string& utd, const std::vector<Skill>& skills) const;
65 bool IsBrowserSkillsValid(const std::vector<Skill>& skills) const;
66 bool IsEmailSkillsValid(const std::vector<Skill>& skills) const;
70 …ndType(const std::string& action, const std::string& type, const std::vector<Skill>& skills) const;
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dskill.h41 struct Skill : public Parcelable { struct
55 static Skill *Unmarshalling(Parcel &parcel); argument
58 void from_json(const nlohmann::json &jsonObject, Skill &skill);
60 void to_json(nlohmann::json &jsonObject, const Skill &skill);
H A Djson_serializer.h157 void to_json(nlohmann::json &jsonObject, const Skill &skill);
158 void from_json(const nlohmann::json &jsonObject, Skill &skill);
H A Dextension_ability_info.h177 std::vector<Skill> skills;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/
H A Ddefault_app_mgr.cpp447 std::string uri = Skill::GetOptParamUri(want.GetUriString()); in GetTypeFromWant()
534 Skill skill; in GetBundleInfoByUtd()
569 std::vector<Skill> skills; in GetBundleInfo()
601 for (const Skill& skill : skills) { in MatchActionAndType()
616 bool DefaultAppMgr::IsMatch(const std::string& type, const std::vector<Skill>& skills) const in IsMatch()
646 bool DefaultAppMgr::IsBrowserSkillsValid(const std::vector<Skill>& skills) const in IsBrowserSkillsValid()
658 for (const Skill& skill : skills) { in IsBrowserSkillsValid()
668 bool DefaultAppMgr::IsEmailSkillsValid(const std::vector<Skill>& skills) const in IsEmailSkillsValid()
675 for (const Skill& skill : skills) { in IsEmailSkillsValid()
685 bool DefaultAppMgr::MatchUtd(const std::string& utd, const std::vector<Skill>& skills) const in MatchUtd()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/interfaces/kits/bundle_lite/
H A Dability_info.h108 } Skill; typedef
156 Skill *skills[SKILL_SIZE];
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/
H A Djs-apis-bundleManager-skill.md1 # Skill chapter
3 The Skill module defines a skill object. Such an object can be obtained through [bundleManager.getB…
15 ## Skill section
H A Djs-apis-bundleManager-extensionAbilityInfo.md32 | skills<sup>12+</sup> | Array\<[Skill](js-apis-bundleManager-skill.md)> …
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dability_info_utils.cpp196 bool AbilityInfoUtils::SetAbilityInfoSkill(AbilityInfo *abilityInfo, Skill * const skills[]) in SetAbilityInfoSkill()
210 abilityInfo->skills[i] = static_cast<Skill *>(AdapterMalloc(sizeof(Skill))); in SetAbilityInfoSkill()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_default_app_test/
H A Dbms_bundle_default_app_test.cpp993 const std::vector<Skill> skills;
1006 const std::vector<Skill> skills;
1248 std::vector<Skill> skills;
1271 std::vector<Skill> skills;
1294 std::vector<Skill> skills;
1600 std::vector<Skill> skills;
1601 Skill skill;
1620 std::vector<Skill> skills;
1621 Skill skill;
1640 std::vector<Skill> skills;
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/include/
H A Dability_info_utils.h41 static bool SetAbilityInfoSkill(AbilityInfo *abilityInfo, Skill * const skills[]);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/
H A Dbms_data_mgr_test.cpp85 std::vector<Skill> CreateSkillsForMatchShareTest();
160 std::vector<Skill> skills; in CreateSkillsForMatchShareTest()
162 Skill skill; in CreateSkillsForMatchShareTest()
1527 Skill skill;
1530 std::vector<Skill> skills;
1978 std::vector<Skill> skills;
1984 struct Skill skill;
2078 struct Skill skill;
2115 struct Skill skill;
2131 std::vector<Skill> skills;
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dgt_bundle_parser.cpp454 Skill *skillPtr = reinterpret_cast<Skill *>(AdapterMalloc(sizeof(Skill))); in ParseAbilitySkills()
455 if (skillPtr == nullptr || memset_s(skillPtr, sizeof(Skill), 0, sizeof(Skill)) != EOK) { in ParseAbilitySkills()
469 uint8_t GtBundleParser::ParseOneSkill(const cJSON *skillObject, Skill &skill) in ParseOneSkill()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_data_mgr.h805 … AbilityInfo& abilityInfo, ExtensionAbilityInfo& extensionInfo, std::vector<Skill>& skills) const;
1064 …void AddSkillUrisInfo(const std::vector<Skill> &skills, std::vector<SkillUriForAbilityAndExtension…
1091 bool MatchUtd(Skill &skill, const std::string &utd, int32_t count) const;
1193 bool MatchShare(const Want &want, const std::vector<Skill> &skills) const;
1194 std::vector<Skill> FindSkillsContainShareAction(const std::vector<Skill> &skills) const;
1195 void EmplaceExtensionInfo(const InnerBundleInfo &info, const std::vector<Skill> &skills,
1198 …void EmplaceAbilityInfo(const InnerBundleInfo &info, const std::vector<Skill> &skills, AbilityInfo…
H A Dinner_bundle_info.h308 void AddModuleSkillInfo(const std::map<std::string, std::vector<Skill>> &skillInfos) in AddModuleSkillInfo()
314 …void AddModuleExtensionSkillInfos(const std::map<std::string, std::vector<Skill>> &extensionSkillI… in AddModuleExtensionSkillInfos()
571 void InsertSkillInfo(const std::string &key, const std::vector<Skill> &skills) in InsertSkillInfo()
580 void InsertExtensionSkillInfo(const std::string &key, const std::vector<Skill> &skills) in InsertExtensionSkillInfo()
1281 const std::map<std::string, std::vector<Skill>> &GetInnerSkillInfos() const in GetInnerSkillInfos()
1302 const std::map<std::string, std::vector<Skill>> &GetExtensionSkillInfos() const in GetExtensionSkillInfos()
2277 std::map<std::string, std::vector<Skill>> skillInfos_;
2285 std::map<std::string, std::vector<Skill>> extensionSkillInfos_;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/
H A Dbms_bundle_kit_service_test.cpp643 Skill skill; in MockInstallBundle()
664 Skill skill; in MockInstallExtension()
773 Skill skill; in MockInstallBundle()
3045 Skill skill;
5977 struct Skill skill;
5990 struct Skill skill;
6004 struct Skill skill;
6018 struct Skill skill;
11461 Skill skill;
11500 Skill skill;
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dgt_bundle_parser.h50 static uint8_t ParseOneSkill(const cJSON *skillObject, Skill &skill);
H A Dgt_bundle_manager_service.h109 static bool MatchSkills(const Want *want, Skill *const skills[]);
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/defaultappmgr_fuzzer/
H A Ddefaultappmgr_fuzzer.cpp59 std::vector<Skill> skills; in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dmodule_profile.cpp159 std::vector<Skill> skills;
202 std::vector<Skill> skills;
485 GetValueIfFindKey<std::vector<Skill>>(jsonObject, in from_json()
832 GetValueIfFindKey<std::vector<Skill>>(jsonObject, in from_json()
2311 void ToAbilitySkills(std::vector<Skill> skills, AbilityInfo &abilityInfo) in ToAbilitySkills()
2313 for (Skill &skill : skills) { in ToAbilitySkills()
2318 void ToExtensionAbilitySkills(std::vector<Skill> skills, ExtensionAbilityInfo &extensionInfo) in ToExtensionAbilitySkills()
2320 for (Skill &skill : skills) { in ToExtensionAbilitySkills()

12