Home
last modified time | relevance | path

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

/frameworks/base/cmds/idmap2/idmap2/
DCreateMultiple.cpp83 PolicyBitmask fulfilled_policies = 0; in CreateMultiple() local
86 fulfilled_policies |= *conv_result; in CreateMultiple()
91 if (fulfilled_policies == 0) { in CreateMultiple()
92 fulfilled_policies |= PolicyFlags::PUBLIC; in CreateMultiple()
110 if (!Verify(idmap_path, target_apk_path, overlay_apk_path, "", fulfilled_policies, in CreateMultiple()
119 Idmap::FromContainers(**target, **overlay, "", fulfilled_policies, !ignore_overlayable); in CreateMultiple()
DCreate.cpp85 PolicyBitmask fulfilled_policies = 0; in Create() local
88 fulfilled_policies |= *conv_result; in Create()
93 if (fulfilled_policies == 0) { in Create()
94 fulfilled_policies |= PolicyFlags::PUBLIC; in Create()
107 const auto idmap = Idmap::FromContainers(**target, **overlay, overlay_name, fulfilled_policies, in Create()
DCommandUtils.cpp37 PolicyBitmask fulfilled_policies, bool enforce_overlayable) { in Verify() argument
56 const auto header_ok = header->IsUpToDate(**target, **overlay, overlay_name, fulfilled_policies, in Verify()
DCommandUtils.h27 const std::string& overlay_name, PolicyBitmask fulfilled_policies, bool enforce_overlayable);
/frameworks/base/cmds/idmap2/libidmap2/
DResourceMapping.cpp53 const PolicyBitmask& fulfilled_policies, in CheckOverlayable() argument
70 return (kDefaultPolicies & fulfilled_policies) != 0 in CheckOverlayable()
96 if (((*overlayable_info)->policy_flags & fulfilled_policies) == 0) { in CheckOverlayable()
98 ConcatPolicies(BitmaskToPolicies(fulfilled_policies)).c_str(), in CheckOverlayable()
117 const PolicyBitmask& fulfilled_policies, in FromContainers() argument
135 auto overlayable = CheckOverlayable(target, overlay_info, fulfilled_policies, *target_resid); in FromContainers()
DIdmap.cpp117 PolicyBitmask fulfilled_policies, in IsUpToDate() argument
130 fulfilled_policies, enforce_overlayable); in IsUpToDate()
136 uint32_t overlay_crc, PolicyBitmask fulfilled_policies, in IsUpToDate() argument
156 if (fulfilled_policies_ != fulfilled_policies) { in IsUpToDate()
158 fulfilled_policies, fulfilled_policies_); in IsUpToDate()
306 const PolicyBitmask& fulfilled_policies, in FromContainers() argument
326 header->fulfilled_policies_ = fulfilled_policies; in FromContainers()
339 target, overlay, *info, fulfilled_policies, enforce_overlayable, log_info); in FromContainers()
/frameworks/base/cmds/idmap2/include/idmap2/
DIdmap.h136 PolicyBitmask fulfilled_policies, bool enforce_overlayable) const;
140 uint32_t overlay_crc, PolicyBitmask fulfilled_policies,
266 const std::string& overlay_name, const PolicyBitmask& fulfilled_policies,
DResourceMapping.h47 const PolicyBitmask& fulfilled_policies,
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.h50 const std::string& overlay_name, int32_t fulfilled_policies,
55 const std::string& overlay_name, int32_t fulfilled_policies,
DIdmap2Service.cpp108 const std::string& overlay_name, int32_t fulfilled_policies, in verifyIdmap() argument
140 ConvertAidlArgToPolicyBitmask(fulfilled_policies), enforce_overlayable); in verifyIdmap()
151 const std::string& overlay_name, int32_t fulfilled_policies, in createIdmap() argument
158 const PolicyBitmask policy_bitmask = ConvertAidlArgToPolicyBitmask(fulfilled_policies); in createIdmap()
/frameworks/base/cmds/idmap2/tests/
DResourceMappingTests.cpp45 const PolicyBitmask& fulfilled_policies, in TestGetResourceMapping() argument
70 return ResourceMapping::FromContainers(**target, **overlay, *overlay_info, fulfilled_policies, in TestGetResourceMapping()
325 auto CheckEntries = [&](const PolicyBitmask& fulfilled_policies) { in TEST() argument
328 TestConstants::OVERLAY_NAME_ALL_POLICIES, fulfilled_policies, in TEST()
DIdmapTests.cpp372 const std::string& overlay_name, const PolicyBitmask& fulfilled_policies, in TestIdmapDataFromApkAssets() argument
393 fulfilled_policies, enforce_overlayable, log_info); in TestIdmapDataFromApkAssets()
/frameworks/base/libs/androidfw/
DIdmap.cpp48 uint32_t fulfilled_policies; member