Home
last modified time | relevance | path

Searched refs:PolicyBitmask (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/cmds/idmap2/include/idmap2/
DPolicyUtils.h27 using PolicyBitmask = android::ResTable_overlayable_policy_header::PolicyBitmask; variable
33 Result<PolicyBitmask> PoliciesToBitmaskResult(const std::vector<std::string>& policies);
37 std::vector<std::string> BitmaskToPolicies(const PolicyBitmask& bitmask);
DResourceMapping.h33 using PolicyBitmask = android::ResTable_overlayable_policy_header::PolicyBitmask; variable
48 const PolicyBitmask& fulfilled_policies,
DIdmap.h147 PolicyBitmask fulfilled_policies, bool enforce_overlayable) const;
151 uint32_t overlay_crc, PolicyBitmask fulfilled_policies,
287 const std::string& overlay_name, const PolicyBitmask& fulfilled_policies,
/frameworks/base/cmds/idmap2/libidmap2/
DPolicyUtils.cpp30 Result<PolicyBitmask> PoliciesToBitmaskResult(const std::vector<std::string>& policies) { in PoliciesToBitmaskResult()
32 PolicyBitmask bitmask = 0; in PoliciesToBitmaskResult()
44 return Result<PolicyBitmask>(bitmask); in PoliciesToBitmaskResult()
51 std::vector<std::string> BitmaskToPolicies(const PolicyBitmask& bitmask) { in BitmaskToPolicies()
DResourceMapping.cpp33 using PolicyBitmask = android::ResTable_overlayable_policy_header::PolicyBitmask; typedef
53 const PolicyBitmask& fulfilled_policies, in CheckOverlayable()
55 constexpr const PolicyBitmask kDefaultPolicies = in CheckOverlayable()
117 const PolicyBitmask& fulfilled_policies, in FromContainers()
DIdmap.cpp118 PolicyBitmask fulfilled_policies, in IsUpToDate()
137 uint32_t overlay_crc, PolicyBitmask fulfilled_policies, in IsUpToDate()
359 const PolicyBitmask& fulfilled_policies, in FromContainers()
/frameworks/base/cmds/idmap2/libidmap2_policies/include/idmap2/
DPolicies.h31 using PolicyBitmask = android::ResTable_overlayable_policy_header::PolicyBitmask; variable
58 inline static std::string PoliciesToDebugString(PolicyBitmask policies) { in PoliciesToDebugString()
/frameworks/base/cmds/idmap2/idmap2/
DCreate.cpp46 using PolicyBitmask = android::ResTable_overlayable_policy_header::PolicyBitmask; typedef
85 PolicyBitmask fulfilled_policies = 0; in Create()
DCommandUtils.h27 const std::string& overlay_name, PolicyBitmask fulfilled_policies, bool enforce_overlayable);
DCommandUtils.cpp37 PolicyBitmask fulfilled_policies, bool enforce_overlayable) { in Verify()
DCreateMultiple.cpp83 PolicyBitmask fulfilled_policies = 0; in CreateMultiple()
/frameworks/base/cmds/idmap2/self_targeting/
DSelfTargeting.cpp30 using PolicyBitmask = android::ResTable_overlayable_policy_header::PolicyBitmask; typedef
95 static PolicyBitmask GetFulfilledPolicy(const bool isSystem, const bool isVendor, in GetFulfilledPolicy()
98 auto fulfilled_policy = static_cast<PolicyBitmask>(PolicyFlags::PUBLIC); in GetFulfilledPolicy()
/frameworks/base/cmds/idmap2/tests/
DPoliciesTests.cpp27 using PolicyBitmask = android::ResTable_overlayable_policy_header::PolicyBitmask; typedef
DResourceMappingTests.cpp46 const PolicyBitmask& fulfilled_policies, in TestGetResourceMapping()
353 auto CheckEntries = [&](const PolicyBitmask& fulfilled_policies) { in TEST()
DIdmapTests.cpp392 const std::string& overlay_name, const PolicyBitmask& fulfilled_policies, in TestIdmapDataFromApkAssets()
473 const PolicyBitmask policies = kIdmapRawDataPolicies; in TEST()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp58 using PolicyBitmask = android::ResTable_overlayable_policy_header::PolicyBitmask; typedef
73 PolicyBitmask ConvertAidlArgToPolicyBitmask(int32_t arg) { in ConvertAidlArgToPolicyBitmask()
74 return static_cast<PolicyBitmask>(arg); in ConvertAidlArgToPolicyBitmask()
159 const PolicyBitmask policy_bitmask = ConvertAidlArgToPolicyBitmask(fulfilled_policies); in createIdmap()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1845 using PolicyBitmask = uint32_t; member