Home
last modified time | relevance | path

Searched refs:POLICY_DOMAIN_EXTENSIONS (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/components/policy/core/common/
Dschema_registry_unittest.cc75 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"))); in TEST()
78 registry.RegisterComponent(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"), in TEST()
85 registry.RegisterComponent(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"), in TEST()
90 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"))); in TEST()
94 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc")); in TEST()
98 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"))); in TEST()
106 registry.RegisterComponents(POLICY_DOMAIN_EXTENSIONS, components); in TEST()
151 registry1->RegisterComponent(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"), in TEST()
169 combined.RegisterComponent(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "abc"), in TEST()
175 registry2->RegisterComponent(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "def"), in TEST()
[all …]
Dschema_map_unittest.cc65 domain_map[POLICY_DOMAIN_EXTENSIONS] = component_map; in CreateTestMap()
75 EXPECT_FALSE(map->GetComponents(POLICY_DOMAIN_EXTENSIONS)); in TEST_F()
94 domain_map[POLICY_DOMAIN_EXTENSIONS] = component_map; in TEST_F()
111 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, ""))); in TEST_F()
113 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "extension-3"))); in TEST_F()
116 map->GetSchema(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "extension-1")); in TEST_F()
121 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "legacy-extension")); in TEST_F()
132 domain_map[POLICY_DOMAIN_EXTENSIONS]["abc"] = schema; in TEST_F()
149 PolicyNamespace another_extension_ns(POLICY_DOMAIN_EXTENSIONS, "xyz"); in TEST_F()
157 PolicyNamespace extension_ns(POLICY_DOMAIN_EXTENSIONS, "abc"); in TEST_F()
[all …]
Dpolicy_bundle_unittest.cc97 EXPECT_TRUE(bundle.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, in TEST()
112 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension0))); in TEST()
120 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, in TEST()
129 EXPECT_TRUE(bundle1.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, in TEST()
137 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, in TEST()
154 bundle0.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension0)) in TEST()
156 bundle0.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension3)) in TEST()
164 bundle1.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension1)) in TEST()
166 bundle1.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension3)) in TEST()
174 bundle2.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension2)) in TEST()
[all …]
Dschema_registry_tracking_policy_provider_unittest.cc71 POLICY_DOMAIN_EXTENSIONS)); in TEST_F()
94 delegate_bundle->Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "xyz")) in TEST_F()
102 POLICY_DOMAIN_EXTENSIONS)); in TEST_F()
118 policy::POLICY_DOMAIN_EXTENSIONS)); in TEST_F()
128 bundle->Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "xyz")) in TEST_F()
136 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "xyz"), CreateTestSchema()); in TEST_F()
145 policy::POLICY_DOMAIN_EXTENSIONS)); in TEST_F()
157 policy::POLICY_DOMAIN_EXTENSIONS)); in TEST_F()
158 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "xyz")) in TEST_F()
166 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, "xyz"), CreateTestSchema()); in TEST_F()
[all …]
Dpolicy_service_impl_unittest.cc63 &bundle->Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension)); in AddTestPolicies()
261 policy_service_->AddObserver(POLICY_DOMAIN_EXTENSIONS, &extension_observer); in TEST_F()
277 bundle->Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension0)) in TEST_F()
279 bundle->Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension1)) in TEST_F()
290 OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension0), in TEST_F()
295 OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension1), in TEST_F()
312 bundle->Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension1)) in TEST_F()
314 bundle->Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension2)) in TEST_F()
320 OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension0), in TEST_F()
325 OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, kExtension1), in TEST_F()
[all …]
Dconfiguration_policy_provider_test.cc193 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, in SetUp()
197 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, in SetUp()
201 PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, in SetUp()
411 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, in TEST_P()
414 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_EXTENSIONS, in TEST_P()
Dpolicy_namespace.h27 POLICY_DOMAIN_EXTENSIONS, enumerator
Dpolicy_test_utils.cc182 case policy::POLICY_DOMAIN_EXTENSIONS: in operator <<()
Dschema_registry.cc94 SetDomainReady(POLICY_DOMAIN_EXTENSIONS); in SetExtensionsDomainsReady()
Dconfig_dir_policy_loader.cc198 supported_domains["extensions"] = POLICY_DOMAIN_EXTENSIONS; in Merge3rdPartyPolicy()