Home
last modified time | relevance | path

Searched refs:matchUriIndex (Results 1 - 5 of 5) sorted by relevance

/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dskill.h50 bool Match(const OHOS::AAFwk::Want &want, size_t &matchUriIndex) const;
65 bool MatchUriAndType(const std::string &rawUriString, const std::string &type, size_t &matchUriIndex) const;
69 bool MatchMimeType(const std::string &uriString, size_t &matchUriIndex) const;
70 bool MatchLinkFeature(const std::string &linkFeature, const OHOS::AAFwk::Want &want, size_t &matchUriIndex) const;
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dskill.cpp64 size_t matchUriIndex = 0; in Match() local
65 return MatchLinkFeature(linkFeature, want, matchUriIndex); in Match()
91 bool Skill::Match(const OHOS::AAFwk::Want &want, size_t &matchUriIndex) const in Match()
95 return MatchLinkFeature(linkFeature, want, matchUriIndex); in Match()
106 if (MatchUriAndType(want.GetUriString(), strType, matchUriIndex)) { in Match()
113 bool matchUriAndType = MatchUriAndType(want.GetUriString(), want.GetType(), matchUriIndex); in Match()
230 bool Skill::MatchLinkFeature(const std::string &linkFeature, const OHOS::AAFwk::Want &want, size_t &matchUriIndex) const in MatchLinkFeature()
239 matchUriIndex = uriIndex; in MatchLinkFeature()
253 matchUriIndex = uriIndex; in MatchLinkFeature()
267 matchUriIndex in MatchLinkFeature()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_data_mgr.cpp1602 size_t matchUriIndex = 0; in GetMatchAbilityInfos() local
1603 if (isPrivateType || skill.Match(want, matchUriIndex)) { in GetMatchAbilityInfos()
1628 AddSkillUrisInfo(skillsPair->second, abilityinfo.skillUri, skillIndex, matchUriIndex); in GetMatchAbilityInfos()
1640 std::optional<size_t> matchSkillIndex, std::optional<size_t> matchUriIndex) const in AddSkillUrisInfo()
1657 if (matchSkillIndex.has_value() && matchUriIndex.has_value() && in AddSkillUrisInfo()
1658 skillIndex == matchSkillIndex.value() && uriIndex == matchUriIndex.value()) { in AddSkillUrisInfo()
1668 std::optional<size_t> matchSkillIndex, std::optional<size_t> matchUriIndex, int32_t appIndex) const in EmplaceAbilityInfo()
1702 AddSkillUrisInfo(skills, abilityInfo.skillUri, matchSkillIndex, matchUriIndex); in EmplaceAbilityInfo()
1752 size_t matchUriIndex = 0; in GetMatchAbilityInfosV9() local
1753 if (skill.Match(want, matchUriIndex)) { in GetMatchAbilityInfosV9()
1666 EmplaceAbilityInfo(const InnerBundleInfo &info, const std::vector<Skill> &skills, AbilityInfo &abilityInfo, int32_t flags, int32_t userId, std::vector<AbilityInfo> &infos, std::optional<size_t> matchSkillIndex, std::optional<size_t> matchUriIndex, int32_t appIndex) const EmplaceAbilityInfo() argument
5824 size_t matchUriIndex = 0; GetMatchExtensionInfos() local
5862 EmplaceExtensionInfo(const InnerBundleInfo &info, const std::vector<Skill> &skills, ExtensionAbilityInfo &extensionInfo, int32_t flags, int32_t userId, std::vector<ExtensionAbilityInfo> &infos, std::optional<size_t> matchSkillIndex, std::optional<size_t> matchUriIndex, int32_t appIndex) const EmplaceExtensionInfo() argument
5919 size_t matchUriIndex = 0; GetMatchExtensionInfosV9() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_data_mgr.h1040 std::optional<size_t> matchSkillIndex, std::optional<size_t> matchUriIndex) const;
1172 std::optional<size_t> matchSkillIndex, std::optional<size_t> matchUriIndex, int32_t appIndex = 0) const;
1175 std::optional<size_t> matchSkillIndex, std::optional<size_t> matchUriIndex, int32_t appIndex = 0) const;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_manager_test/
H A Dbms_bundle_manager_test.cpp1997 size_t matchUriIndex = 0; in HWTEST_F() local
1998 bool ret = skill.MatchMimeType(".jpg", matchUriIndex); in HWTEST_F()
2000 EXPECT_EQ(matchUriIndex, 0); in HWTEST_F()

Completed in 21 milliseconds