Home
last modified time | relevance | path

Searched refs:POLICY_LEVEL_MANDATORY (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/components/policy/core/common/
Dpolicy_map_unittest.cc37 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 …]
Dschema_map_unittest.cc144 "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 …]
Dpolicy_service_impl_unittest.cc57 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 …]
Dpolicy_bundle_unittest.cc33 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 …]
Dschema_registry_tracking_policy_provider_unittest.cc87 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()
Dproxy_policy_provider_unittest.cc57 .Set("policy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
69 .Set("policy", POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
Dpolicy_types.h30 POLICY_LEVEL_MANDATORY, enumerator
Dpolicy_proto_decoders.cc33 *level = POLICY_LEVEL_MANDATORY; // Default level. in GetPolicyLevel()
38 *level = POLICY_LEVEL_MANDATORY; in GetPolicyLevel()
Dconfig_dir_policy_loader_unittest.cc77 : PolicyProviderTestHarness(POLICY_LEVEL_MANDATORY, in TestHarness()
239 .LoadFrom(&test_dict_foo, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in TEST_F()
Dpolicy_statistics_collector_unittest.cc110 policy_map_.Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetPolicy()
Dpolicy_test_utils.cc172 case policy::POLICY_LEVEL_MANDATORY: in operator <<()
Dasync_policy_provider_unittest.cc35 .Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetPolicy()
Dconfig_dir_policy_loader.cc87 POLICY_LEVEL_MANDATORY, in Load()
Dgenerate_policy_source_unittest.cc216 policy_map.Set(key::kChromeOsMultiProfileUserBehavior, POLICY_LEVEL_MANDATORY, in TEST()