Lines Matching refs:PolicyFlags
28 using PolicyFlags = android::ResTable_overlayable_policy_header::PolicyFlags; typedef
35 ASSERT_EQ(*bitmask1, PolicyFlags::SYSTEM_PARTITION); in TEST()
39 ASSERT_EQ(*bitmask2, PolicyFlags::SYSTEM_PARTITION | PolicyFlags::VENDOR_PARTITION); in TEST()
43 ASSERT_EQ(*bitmask3, PolicyFlags::SYSTEM_PARTITION | PolicyFlags::VENDOR_PARTITION); in TEST()
48 ASSERT_EQ(*bitmask4, PolicyFlags::ODM_PARTITION | PolicyFlags::OEM_PARTITION | in TEST()
49 PolicyFlags::PUBLIC | PolicyFlags::PRODUCT_PARTITION | in TEST()
50 PolicyFlags::SYSTEM_PARTITION | PolicyFlags::VENDOR_PARTITION); in TEST()
54 ASSERT_EQ(*bitmask5, PolicyFlags::SYSTEM_PARTITION); in TEST()
73 ASSERT_EQ(*bitmask11, PolicyFlags::SIGNATURE); in TEST()
77 ASSERT_EQ(*bitmask12, PolicyFlags::ACTOR_SIGNATURE); in TEST()
81 const auto policies1 = BitmaskToPolicies(PolicyFlags::PUBLIC); in TEST()
86 BitmaskToPolicies(PolicyFlags::SYSTEM_PARTITION | PolicyFlags::VENDOR_PARTITION); in TEST()
92 BitmaskToPolicies(PolicyFlags::ODM_PARTITION | PolicyFlags::OEM_PARTITION | in TEST()
93 PolicyFlags::PUBLIC | PolicyFlags::PRODUCT_PARTITION | in TEST()
94 PolicyFlags::SYSTEM_PARTITION | PolicyFlags::VENDOR_PARTITION); in TEST()
103 const auto policies4 = BitmaskToPolicies(PolicyFlags::SIGNATURE); in TEST()
107 const auto policies5 = BitmaskToPolicies(PolicyFlags::ACTOR_SIGNATURE); in TEST()