/external/libchrome/components/policy/core/common/ |
D | policy_map_unittest.cc | 37 map->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, in SetPolicy() 44 map->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD, in SetPolicy() 75 EXPECT_EQ(POLICY_LEVEL_MANDATORY, entry->level); in TEST_F() 176 a.Set(kTestPolicyName1, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 179 a.Set(kTestPolicyName2, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE, in TEST_F() 181 a.Set(kTestPolicyName3, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE, in TEST_F() 189 a.Set(kTestPolicyName7, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 194 b.Set(kTestPolicyName1, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE, in TEST_F() 197 b.Set(kTestPolicyName2, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE, in TEST_F() 199 b.Set(kTestPolicyName3, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE, in TEST_F() [all …]
|
D | schema_map_unittest.cc | 144 "ChromePolicy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 151 .Set("AnotherExtensionPolicy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 162 map.Set("list", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 164 map.Set("boolean", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 166 map.Set("integer", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 168 map.Set("null", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 170 map.Set("double", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 175 map.Set("object", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 177 map.Set("string", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 182 .Set("Unexpected", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() [all …]
|
D | policy_service_impl_unittest.cc | 57 policy_map->Set(kSameLevelPolicy, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPolicies() 64 policy_map->Set(kSameLevelPolicy, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPolicies() 83 new_policy.Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in OnPolicyUpdated() 114 policy0_.Set("pre", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetUp() 164 expected.Set("pre", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 176 expectedPrevious.Set("pre", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 182 expectedCurrent.Set("aaa", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 185 policy0_.Set("aaa", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 204 expectedCurrent.Set("bbb", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 207 policy0_.Set("bbb", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() [all …]
|
D | policy_bundle_unittest.cc | 33 policy->Set("mandatory-user", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPolicies() 35 policy->Set("mandatory-machine", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE, in AddTestPolicies() 59 policy->Set(kPolicyClashing0, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPoliciesWithParams() 64 policy->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in AddTestPoliciesWithParams() 161 &policy1, kPolicy1, 1u, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE); in TEST() 171 &policy2, kPolicy2, 2u, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER); in TEST() 193 expected.Set(kPolicyClashing0, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST() 195 expected.Set(kPolicyClashing1, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE, in TEST() 197 expected.Set(kPolicy0, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST() 199 expected.Set(kPolicy1, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST() [all …]
|
D | schema_registry_tracking_policy_provider_unittest.cc | 87 bundle.Get(chrome_ns).Set("policy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 95 .Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 123 policy_map.Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 172 policy_map.Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 211 platform_policy.Get(ns).Set("foo", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
|
D | proxy_policy_provider_unittest.cc | 57 .Set("policy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F() 69 .Set("policy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
|
D | policy_types.h | 30 POLICY_LEVEL_MANDATORY, enumerator
|
D | policy_proto_decoders.cc | 33 *level = POLICY_LEVEL_MANDATORY; // Default level. in GetPolicyLevel() 38 *level = POLICY_LEVEL_MANDATORY; in GetPolicyLevel()
|
D | config_dir_policy_loader_unittest.cc | 77 : PolicyProviderTestHarness(POLICY_LEVEL_MANDATORY, in TestHarness() 239 .LoadFrom(&test_dict_foo, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
|
D | policy_statistics_collector_unittest.cc | 110 policy_map_.Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetPolicy()
|
D | policy_test_utils.cc | 172 case policy::POLICY_LEVEL_MANDATORY: in operator <<()
|
D | async_policy_provider_unittest.cc | 35 .Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetPolicy()
|
D | config_dir_policy_loader.cc | 87 POLICY_LEVEL_MANDATORY, in Load()
|
D | generate_policy_source_unittest.cc | 216 policy_map.Set(key::kChromeOsMultiProfileUserBehavior, POLICY_LEVEL_MANDATORY, in TEST()
|