Home
last modified time | relevance | path

Searched refs:fulfilled_policies (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/cmds/idmap2/idmap2/
DScan.cpp109 std::vector<std::string> fulfilled_policies = {kPolicyPublic}; in PoliciesForPath() local
112 fulfilled_policies.emplace_back(pair.second); in PoliciesForPath()
117 return fulfilled_policies; in PoliciesForPath()
178 std::vector<std::string> fulfilled_policies; in Scan() local
180 fulfilled_policies = override_policies; in Scan()
182 fulfilled_policies = PoliciesForPath(path); in Scan()
186 if (std::find(fulfilled_policies.begin(), fulfilled_policies.end(), kPolicyVendor) != in Scan()
187 fulfilled_policies.end() && in Scan()
198 InputOverlay input{path, idmap_path, overlay_info->priority, fulfilled_policies, in Scan()
DCreate.cpp80 PolicyBitmask fulfilled_policies = 0; in Create() local
83 fulfilled_policies |= *conv_result; in Create()
88 if (fulfilled_policies == 0) { in Create()
89 fulfilled_policies |= PolicyFlags::POLICY_PUBLIC; in Create()
103 *overlay_apk, fulfilled_policies, !ignore_overlayable); in Create()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.h42 binder::Status verifyIdmap(const std::string& overlay_apk_path, int32_t fulfilled_policies,
46 const std::string& overlay_apk_path, int32_t fulfilled_policies,
DIdmap2Service.cpp97 int32_t fulfilled_policies ATTRIBUTE_UNUSED, in verifyIdmap()
114 const std::string& overlay_apk_path, int32_t fulfilled_policies, in createIdmap() argument
121 const PolicyBitmask policy_bitmask = ConvertAidlArgToPolicyBitmask(fulfilled_policies); in createIdmap()
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp283 const PolicyBitmask& fulfilled_policies, const ResourceId& resid) { in CheckOverlayable() argument
292 return (sDefaultPolicies & fulfilled_policies) != 0 in CheckOverlayable()
313 if ((overlayable_info->policy_flags & fulfilled_policies) == 0) { in CheckOverlayable()
315 ConcatPolicies(BitmaskToPolicies(fulfilled_policies)).c_str(), in CheckOverlayable()
326 const PolicyBitmask& fulfilled_policies, in FromApkAssets() argument
426 CheckOverlayable(*target_pkg, *overlay_info, fulfilled_policies, target_resid); in FromApkAssets()
/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h239 const PolicyBitmask& fulfilled_policies,
/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp173 const PolicyBitmask& fulfilled_policies, bool enforce_overlayable, in CreateIdmap() argument
183 *overlay_apk, fulfilled_policies, enforce_overlayable); in CreateIdmap()