Lines Matching refs:bitmask
41 PolicyBitmask bitmask = 0; in PoliciesToBitmask() local
45 bitmask |= iter->second; in PoliciesToBitmask()
51 return Result<PolicyBitmask>(bitmask); in PoliciesToBitmask()
54 std::vector<std::string> BitmaskToPolicies(const PolicyBitmask& bitmask) { in BitmaskToPolicies() argument
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()