Lines Matching refs:PolicyFlags
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()
73 const auto policies2 = BitmaskToPolicies(PolicyFlags::POLICY_SYSTEM_PARTITION | in TEST()
74 PolicyFlags::POLICY_VENDOR_PARTITION); in TEST()
80 PolicyFlags::POLICY_ODM_PARTITION | PolicyFlags::POLICY_OEM_PARTITION | in TEST()
81 PolicyFlags::POLICY_PUBLIC | PolicyFlags::POLICY_PRODUCT_PARTITION | in TEST()
82 PolicyFlags::POLICY_SYSTEM_PARTITION | PolicyFlags::POLICY_VENDOR_PARTITION); in TEST()