Lines Matching refs:PolicyFlags
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()
65 if ((bitmask & PolicyFlags::POLICY_PUBLIC) != 0) { in BitmaskToPolicies()
69 if ((bitmask & PolicyFlags::POLICY_PRODUCT_PARTITION) != 0) { in BitmaskToPolicies()
73 if ((bitmask & PolicyFlags::POLICY_SIGNATURE) != 0) { in BitmaskToPolicies()
77 if ((bitmask & PolicyFlags::POLICY_SYSTEM_PARTITION) != 0) { in BitmaskToPolicies()
81 if ((bitmask & PolicyFlags::POLICY_VENDOR_PARTITION) != 0) { in BitmaskToPolicies()