Searched refs:mandatory_policy (Results 1 – 2 of 2) sorted by relevance
120 const PolicyMap& mandatory_policy(const UserPolicyCache& cache) { in mandatory_policy() function in policy::UserPolicyCacheTest146 PolicyMap mandatory_policy; in TEST_F() local148 DecodePolicy(settings, &mandatory_policy, &recommended_policy); in TEST_F()155 EXPECT_TRUE(mandatory.Equals(mandatory_policy)); in TEST_F()197 EXPECT_TRUE(empty.Equals(mandatory_policy(cache))); in TEST_F()206 EXPECT_TRUE(empty.Equals(mandatory_policy(cache))); in TEST_F()219 EXPECT_TRUE(empty.Equals(mandatory_policy(cache))); in TEST_F()231 EXPECT_TRUE(empty.Equals(mandatory_policy(cache))); in TEST_F()247 EXPECT_TRUE(expected.Equals(mandatory_policy(cache))); in TEST_F()266 EXPECT_TRUE(expected.Equals(mandatory_policy(cache))); in TEST_F()[all …]
93 PolicyMap mandatory_policy; in SetPolicyInternal() local97 bool ok = DecodePolicyResponse(policy, &mandatory_policy, &recommended_policy, in SetPolicyInternal()115 !mandatory_policy_.Equals(mandatory_policy) || in SetPolicyInternal()117 mandatory_policy_.Swap(&mandatory_policy); in SetPolicyInternal()