Searched refs:PolicyFlags (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/cmds/idmap2/tests/ |
D | PoliciesTests.cpp | 24 using android::idmap2::PolicyFlags; 31 ASSERT_EQ(*bitmask1, PolicyFlags::POLICY_SYSTEM_PARTITION); in TEST() 35 ASSERT_EQ(*bitmask2, PolicyFlags::POLICY_SYSTEM_PARTITION | PolicyFlags::POLICY_VENDOR_PARTITION); in TEST() 39 ASSERT_EQ(*bitmask3, PolicyFlags::POLICY_SYSTEM_PARTITION | PolicyFlags::POLICY_VENDOR_PARTITION); in TEST() 43 ASSERT_EQ(*bitmask4, PolicyFlags::POLICY_ODM_PARTITION | PolicyFlags::POLICY_OEM_PARTITION | in TEST() 44 PolicyFlags::POLICY_PUBLIC | PolicyFlags::POLICY_PRODUCT_PARTITION | in TEST() 45 PolicyFlags::POLICY_SYSTEM_PARTITION | in TEST() 46 PolicyFlags::POLICY_VENDOR_PARTITION); in TEST() 50 ASSERT_EQ(*bitmask5, PolicyFlags::POLICY_SYSTEM_PARTITION); in TEST() 69 const auto policies1 = BitmaskToPolicies(PolicyFlags::POLICY_PUBLIC); in TEST() [all …]
|
D | IdmapTests.cpp | 191 CreateIdmap(target_apk_path, overlay_apk_path, PolicyFlags::POLICY_PUBLIC, in TEST() 236 PolicyFlags::POLICY_SYSTEM_PARTITION | PolicyFlags::POLICY_PUBLIC, in TEST() 266 PolicyFlags::POLICY_PUBLIC | PolicyFlags::POLICY_SIGNATURE, in TEST() 295 PolicyFlags::POLICY_SYSTEM_PARTITION | PolicyFlags::POLICY_PUBLIC, in TEST() 327 PolicyFlags::POLICY_SYSTEM_PARTITION | PolicyFlags::POLICY_PUBLIC, in TEST() 362 CreateIdmap(target_apk_path, overlay_apk_path, PolicyFlags::POLICY_PUBLIC, in TEST() 399 CreateIdmap(target_apk_path, overlay_apk_path, PolicyFlags::POLICY_PUBLIC, in TEST() 438 CreateIdmap(target_apk_path, overlay_apk_path, PolicyFlags::POLICY_SIGNATURE, in TEST() 443 CreateIdmap(target_apk_path, overlay_apk_path, PolicyFlags::POLICY_PRODUCT_PARTITION, in TEST() 448 CreateIdmap(target_apk_path, overlay_apk_path, PolicyFlags::POLICY_SYSTEM_PARTITION, in TEST() [all …]
|
D | PrettyPrintVisitorTests.cpp | 48 PolicyFlags::POLICY_PUBLIC, /* enforce_overlayable */ true); in TEST()
|
D | RawPrintVisitorTests.cpp | 43 PolicyFlags::POLICY_PUBLIC, /* enforce_overlayable */ true); in TEST()
|
D | BinaryStreamVisitorTests.cpp | 80 PolicyFlags::POLICY_PUBLIC, /* enforce_overlayable */ true); in TEST()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | Policies.cpp | 31 static const std::unordered_map<android::StringPiece, PolicyFlags> kStringToFlag = { in PoliciesToBitmask() 32 {kPolicyOdm, PolicyFlags::POLICY_ODM_PARTITION}, in PoliciesToBitmask() 33 {kPolicyOem, PolicyFlags::POLICY_OEM_PARTITION}, in PoliciesToBitmask() 34 {kPolicyPublic, PolicyFlags::POLICY_PUBLIC}, in PoliciesToBitmask() 35 {kPolicyProduct, PolicyFlags::POLICY_PRODUCT_PARTITION}, in PoliciesToBitmask() 36 {kPolicySignature, PolicyFlags::POLICY_SIGNATURE}, in PoliciesToBitmask() 37 {kPolicySystem, PolicyFlags::POLICY_SYSTEM_PARTITION}, in PoliciesToBitmask() 38 {kPolicyVendor, PolicyFlags::POLICY_VENDOR_PARTITION}, in PoliciesToBitmask() 57 if ((bitmask & PolicyFlags::POLICY_ODM_PARTITION) != 0) { in BitmaskToPolicies() 61 if ((bitmask & PolicyFlags::POLICY_OEM_PARTITION) != 0) { in BitmaskToPolicies() [all …]
|
D | Idmap.cpp | 285 PolicyFlags::POLICY_ODM_PARTITION | PolicyFlags::POLICY_OEM_PARTITION | in CheckOverlayable() 286 PolicyFlags::POLICY_SYSTEM_PARTITION | PolicyFlags::POLICY_VENDOR_PARTITION | in CheckOverlayable() 287 PolicyFlags::POLICY_PRODUCT_PARTITION | PolicyFlags::POLICY_SIGNATURE; in CheckOverlayable()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | Policies.h | 37 using PolicyFlags = ResTable_overlayable_policy_header::PolicyFlags; variable
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Create.cpp | 41 using android::idmap2::PolicyFlags; 89 fulfilled_policies |= PolicyFlags::POLICY_PUBLIC; in Create()
|
D | Scan.cpp | 49 using android::idmap2::PolicyFlags;
|
/frameworks/base/tools/aapt2/ |
D | ResourceTable.h | 80 typedef uint32_t PolicyFlags; typedef 107 PolicyFlags policies = Policy::kNone;
|
D | ResourceParser.cpp | 1068 OverlayableItem::PolicyFlags current_policies = OverlayableItem::Policy::kNone; in ParseOverlayable()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | BinaryResourceParser.cpp | 458 OverlayableItem::PolicyFlags policies = OverlayableItem::Policy::kNone; in ParseOverlayable()
|
D | TableFlattener.cpp | 224 std::map<OverlayableItem::PolicyFlags, std::set<ResourceId>> policy_ids;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 1635 enum PolicyFlags : uint32_t { enum
|