/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/default_app/ |
H A D | default_app_mgr.h | 59 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 bool MatchActionAndType(const std::string& action, const std::string& type, const std::vector<Skill>& skills) const;
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | skill.cpp | 60 bool Skill::Match(const OHOS::AAFwk::Want &want) const in Match() 91 bool Skill::Match(const OHOS::AAFwk::Want &want, size_t &matchUriIndex) const in Match() 122 bool Skill::MatchLauncher(const OHOS::AAFwk::Want &want) const in MatchLauncher() 137 bool Skill::MatchAction(const std::string &action) const in MatchAction() 163 bool Skill::MatchEntities(const std::vector<std::string> ¶mEntities) const in MatchEntities() 184 bool Skill::MatchUriAndType(const std::string &rawUriString, const std::string &type) const in MatchUriAndType() 230 bool Skill::MatchLinkFeature(const std::string &linkFeature, const OHOS::AAFwk::Want &want, size_t &matchUriIndex) const in MatchLinkFeature() 275 bool Skill::MatchUriAndType(const std::string &rawUriString, const std::string &type, size_t &matchUriIndex) const in MatchUriAndType() 329 bool Skill::StartsWith(const std::string &sourceString, const std::string &targetPrefix) const in StartsWith() 334 std::string Skill [all...] |
H A D | extension_ability_info.cpp | 241 std::unique_ptr<Skill> extensionSkillPtr(parcel.ReadParcelable<Skill>()); in ReadFromParcel() 576 GetValueIfFindKey<std::vector<Skill>>(jsonObject, in from_json()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_default_app_test/ |
H A D | bms_bundle_default_app_mgr_test.cpp | 137 Skill skill; in AddInnerBundleInfo() 419 std::vector<Skill> skills; in HWTEST_F() 431 Skill skill; in HWTEST_F() 432 std::vector<Skill> skills{ skill }; in HWTEST_F() 444 Skill skill; in HWTEST_F() 450 std::vector<Skill> skills{ skill }; in HWTEST_F() 853 std::vector<Skill> skills; in HWTEST_F() 854 Skill skill; in HWTEST_F() 868 std::vector<Skill> skills; in HWTEST_F() 869 Skill skil in HWTEST_F() [all...] |
H A D | bms_bundle_default_app_test.cpp | 993 const std::vector<Skill> skills; in HWTEST_F() 1006 const std::vector<Skill> skills; in HWTEST_F() 1248 std::vector<Skill> skills; in HWTEST_F() 1271 std::vector<Skill> skills; in HWTEST_F() 1294 std::vector<Skill> skills; in HWTEST_F() 1828 std::vector<Skill> skills; in HWTEST_F() 1829 Skill skill; in HWTEST_F() 1848 std::vector<Skill> skills; in HWTEST_F() 1849 Skill skill; in HWTEST_F() 1868 std::vector<Skill> skill in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | skill.h | 41 struct Skill : public Parcelable { struct 55 static Skill *Unmarshalling(Parcel &parcel); 58 void from_json(const nlohmann::json &jsonObject, Skill &skill); 60 void to_json(nlohmann::json &jsonObject, const Skill &skill);
|
H A D | extension_ability_info.h | 178 std::vector<Skill> skills;
|
H A D | json_serializer.h | 158 void to_json(nlohmann::json &jsonObject, const Skill &skill); 159 void from_json(const nlohmann::json &jsonObject, Skill &skill);
|
H A D | ability_info.h | 229 std::vector<Skill> skills;
|
/foundation/bundlemanager/bundle_framework_lite/interfaces/kits/bundle_lite/ |
H A D | ability_info.h | 108 } Skill; typedef 156 Skill *skills[SKILL_SIZE];
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/default_app/ |
H A D | default_app_mgr.cpp | 444 std::string uri = Skill::GetOptParamUri(want.GetUriString()); in GetTypeFromWant() 545 Skill skill; in GetBundleInfoByUtd() 580 std::vector<Skill> skills; in GetBundleInfo() 609 const std::string& action, const std::string& type, const std::vector<Skill>& skills) const in MatchActionAndType() 612 for (const Skill& skill : skills) { in MatchActionAndType() 627 bool DefaultAppMgr::IsMatch(const std::string& type, const std::vector<Skill>& skills) const in IsMatch() 635 bool DefaultAppMgr::MatchAppType(const std::string& type, const std::vector<Skill>& skills) const in MatchAppType() 661 bool DefaultAppMgr::IsBrowserSkillsValid(const std::vector<Skill>& skills) const in IsBrowserSkillsValid() 673 for (const Skill& skill : skills) { in IsBrowserSkillsValid() 683 bool DefaultAppMgr::IsEmailSkillsValid(const std::vector<Skill> [all...] |
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/include/ |
H A D | ability_info_utils.h | 41 static bool SetAbilityInfoSkill(AbilityInfo *abilityInfo, Skill * const skills[]);
|
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/ |
H A D | ability_info_utils.cpp | 196 bool AbilityInfoUtils::SetAbilityInfoSkill(AbilityInfo *abilityInfo, Skill * const skills[]) in SetAbilityInfoSkill() 210 abilityInfo->skills[i] = static_cast<Skill *>(AdapterMalloc(sizeof(Skill))); in SetAbilityInfoSkill()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/defaultappmgr_fuzzer/ |
H A D | defaultappmgr_fuzzer.cpp | 59 std::vector<Skill> skills; in DoSomethingInterestingWithMyAPI()
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | gt_bundle_parser.h | 50 static uint8_t ParseOneSkill(const cJSON *skillObject, Skill &skill);
|
H A D | gt_bundle_manager_service.h | 109 static bool MatchSkills(const Want *want, Skill *const skills[]);
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | gt_bundle_parser.cpp | 454 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()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_kit_service_test/ |
H A D | bms_bundle_kit_service_test.cpp | 314 void CheckSkillInfos(const std::vector<Skill> &skill) const; 348 Skill MockAbilitySkillInfo() const; 349 Skill MockExtensionSkillInfo() const; 642 Skill skill; in MockInstallBundle() 645 std::vector<Skill> skills; in MockInstallBundle() 663 Skill skill; in MockInstallExtension() 666 std::vector<Skill> skills; in MockInstallExtension() 685 Skill skill = MockExtensionSkillInfo(); in MockInstallExtensionWithUri() 686 std::vector<Skill> skills; in MockInstallExtensionWithUri() 772 Skill skil in MockInstallBundle() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_data_mgr.h | 803 AbilityInfo& abilityInfo, ExtensionAbilityInfo& extensionInfo, std::vector<Skill>& skills) const; 1039 void AddSkillUrisInfo(const std::vector<Skill> &skills, std::vector<SkillUriForAbilityAndExtension> &skillUris, 1066 bool MatchUtd(const Skill &skill, const std::string &utd, int32_t count) const; 1168 bool MatchShare(const Want &want, const std::vector<Skill> &skills) const; 1169 std::vector<Skill> FindSkillsContainShareAction(const std::vector<Skill> &skills) const; 1170 void EmplaceExtensionInfo(const InnerBundleInfo &info, const std::vector<Skill> &skills, 1173 void EmplaceAbilityInfo(const InnerBundleInfo &info, const std::vector<Skill> &skills, AbilityInfo &abilityInfo,
|
H A D | inner_bundle_info.h | 306 * @param skillInfos Indicates the Skill object to be add. 309 void AddModuleSkillInfo(const std::map<std::string, std::vector<Skill>> &skillInfos) in AddModuleSkillInfo() 315 void AddModuleExtensionSkillInfos(const std::map<std::string, std::vector<Skill>> &extensionSkillInfos) in AddModuleExtensionSkillInfos() 570 void InsertSkillInfo(const std::string &key, const std::vector<Skill> &skills) in InsertSkillInfo() 579 void InsertExtensionSkillInfo(const std::string &key, const std::vector<Skill> &skills) in InsertExtensionSkillInfo() 1259 const std::map<std::string, std::vector<Skill>> &GetInnerSkillInfos() const in GetInnerSkillInfos() 1280 const std::map<std::string, std::vector<Skill>> &GetExtensionSkillInfos() const in GetExtensionSkillInfos() 2275 std::map<std::string, std::vector<Skill>> skillInfos_; 2283 std::map<std::string, std::vector<Skill>> extensionSkillInfos_;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | module_profile.cpp | 193 std::vector<Skill> skills; 220 std::vector<Skill> skills; 473 GetValueIfFindKey<std::vector<Skill>>(jsonObject, in from_json() 768 GetValueIfFindKey<std::vector<Skill>>(jsonObject, in from_json() 2142 void ToAbilitySkills(const std::vector<Skill> &skills, AbilityInfo &abilityInfo) in ToAbilitySkills() 2144 for (const Skill &skill : skills) { in ToAbilitySkills() 2149 void ToExtensionAbilitySkills(const std::vector<Skill> &skills, ExtensionAbilityInfo &extensionInfo) in ToExtensionAbilitySkills() 2151 for (const Skill &skill : skills) { in ToExtensionAbilitySkills()
|
H A D | bundle_data_mgr.cpp | 1592 std::map<std::string, std::vector<Skill>> skillInfos = info.GetInnerSkillInfos(); in GetMatchAbilityInfos() 1601 const Skill &skill = skillsPair->second[skillIndex]; in GetMatchAbilityInfos() 1638 void BundleDataMgr::AddSkillUrisInfo(const std::vector<Skill> &skills, in AddSkillUrisInfo() 1643 const Skill &skill = skills[skillIndex]; in AddSkillUrisInfo() 1666 void BundleDataMgr::EmplaceAbilityInfo(const InnerBundleInfo &info, const std::vector<Skill> &skills, in EmplaceAbilityInfo() 1728 std::map<std::string, std::vector<Skill>> skillInfos = info.GetInnerSkillInfos(); in GetMatchAbilityInfosV9() 1751 const Skill &skill = skillsPair->second[skillIndex]; in GetMatchAbilityInfosV9() 1765 bool BundleDataMgr::MatchShare(const Want &want, const std::vector<Skill> &skills) const in MatchShare() 1771 std::vector<Skill> shareActionSkills = FindSkillsContainShareAction(skills); in MatchShare() 1805 bool BundleDataMgr::MatchUtd(const Skill [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/ |
H A D | bms_data_mgr_test.cpp | 1459 Skill skill; in HWTEST_F() 1462 std::vector<Skill> skills; in HWTEST_F() 1910 std::vector<Skill> skills; in HWTEST_F() 1916 struct Skill skill; in HWTEST_F() 1931 struct Skill skill; in HWTEST_F() 1968 struct Skill skill; in HWTEST_F() 1984 std::vector<Skill> skills; in HWTEST_F() 1988 struct Skill skill; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/ |
H A D | bundle_manager_convert.cpp | 181 RetSkill ConvertSkill(AppExecFwk::Skill cSkill) in ConvertSkill() 191 RetCArrSkill ConvertSkills(std::vector<AppExecFwk::Skill> cSkills) in ConvertSkills()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/ |
H A D | common_func.h | 185 static void ConvertAbilitySkill(napi_env env, const Skill &skill, napi_value value, bool isExtension);
|