Home
last modified time | relevance | path

Searched refs:POLICY_DOMAIN_CHROME (Results 1 – 21 of 21) sorted by relevance

/external/libchrome/components/policy/core/common/
Dpolicy_service_impl_unittest.cc56 &bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())); in AddTestPolicies()
168 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()), expected)); in TEST_F()
173 policy_service_->AddObserver(POLICY_DOMAIN_CHROME, &observer); in TEST_F()
188 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST_F()
200 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()), expectedCurrent)); in TEST_F()
210 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST_F()
221 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST_F()
237 EXPECT_CALL(observer, OnPolicyUpdated(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST_F()
249 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()), expectedCurrent)); in TEST_F()
251 policy_service_->RemoveObserver(POLICY_DOMAIN_CHROME, &observer); in TEST_F()
[all …]
Dpolicy_bundle_unittest.cc81 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))); in TEST()
86 EXPECT_TRUE(bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST()
91 EXPECT_EQ(POLICY_DOMAIN_CHROME, it->first.domain); in TEST()
110 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))); in TEST()
118 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST()
127 EXPECT_TRUE(bundle1.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST()
135 EXPECT_TRUE(bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, in TEST()
152 bundle0.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST()
162 bundle1.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST()
172 bundle2.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST()
[all …]
Dschema_map_unittest.cc74 EXPECT_FALSE(map->GetComponents(POLICY_DOMAIN_CHROME)); in TEST_F()
76 EXPECT_FALSE(map->GetSchema(PolicyNamespace(POLICY_DOMAIN_CHROME, ""))); in TEST_F()
89 domain_map[POLICY_DOMAIN_CHROME] = component_map; in TEST_F()
105 PolicyNamespace(POLICY_DOMAIN_CHROME, ""))); in TEST_F()
107 PolicyNamespace(POLICY_DOMAIN_CHROME, "extension-1"))); in TEST_F()
109 PolicyNamespace(POLICY_DOMAIN_CHROME, "legacy-extension"))); in TEST_F()
142 PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, ""); in TEST_F()
244 PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, ""); in TEST_F()
278 map[POLICY_DOMAIN_CHROME][""] = Schema(); in TEST_F()
280 map[POLICY_DOMAIN_CHROME][""] = Schema(); in TEST_F()
[all …]
Dschema_registry_tracking_policy_provider_unittest.cc73 EXPECT_CALL(mock_provider_, IsInitializationComplete(POLICY_DOMAIN_CHROME)) in TEST_F()
76 POLICY_DOMAIN_CHROME)); in TEST_F()
86 const PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, ""); in TEST_F()
127 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, "")).CopyFrom(policy_map); in TEST_F()
141 schema_registry_.SetDomainReady(POLICY_DOMAIN_CHROME); in TEST_F()
147 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, "")) in TEST_F()
Dproxy_policy_provider_unittest.cc50 EXPECT_TRUE(proxy_provider_.IsInitializationComplete(POLICY_DOMAIN_CHROME)); in TEST_F()
56 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST_F()
68 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST_F()
Dschema_registry_unittest.cc125 registry.SetDomainReady(POLICY_DOMAIN_CHROME); in TEST()
129 registry.SetDomainReady(POLICY_DOMAIN_CHROME); in TEST()
231 registry1->RegisterComponent(PolicyNamespace(POLICY_DOMAIN_CHROME, ""), in TEST()
282 registry->SetDomainReady(POLICY_DOMAIN_CHROME); in TEST()
291 forwarding.SetDomainReady(POLICY_DOMAIN_CHROME); in TEST()
Dconfiguration_policy_provider_test.cc133 const PolicyNamespace ns(POLICY_DOMAIN_CHROME, ""); in SetUp()
187 const PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, ""); in SetUp()
234 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in CheckValue()
348 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST_P()
404 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST_P()
Dschema_registry_tracking_policy_provider.cc34 if (domain == POLICY_DOMAIN_CHROME) in IsInitializationComplete()
92 const PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, ""); in OnUpdatePolicy()
Dpolicy_bundle.cc18 DCHECK(ns.domain != POLICY_DOMAIN_CHROME || ns.component_id.empty()); in Get()
26 DCHECK(ns.domain != POLICY_DOMAIN_CHROME || ns.component_id.empty()); in Get()
Dschema_map.cc46 if (ns.domain == POLICY_DOMAIN_CHROME) in FilterBundle()
88 if (domain == POLICY_DOMAIN_CHROME) in HasComponents()
Dpolicy_test_utils.cc46 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())); in PolicyServiceIsEmpty()
180 case policy::POLICY_DOMAIN_CHROME: in operator <<()
Dpolicy_namespace.h24 POLICY_DOMAIN_CHROME, enumerator
Dmock_configuration_policy_provider.cc26 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in UpdateChromePolicy()
Dpolicy_statistics_collector.cc67 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())); in CollectStatistics()
Dpolicy_statistics_collector_unittest.cc94 GetPolicies(PolicyNamespace(POLICY_DOMAIN_CHROME, in SetUp()
Dasync_policy_provider_unittest.cc34 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in SetPolicy()
Dschema_registry.cc239 if (wrapped_ && domain != POLICY_DOMAIN_CHROME) in RegisterComponents()
Dconfig_dir_policy_loader.cc177 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in LoadFromPath()
Dconfig_dir_policy_loader_unittest.cc238 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST_F()
Dpolicy_service_impl.cc188 const PolicyNamespace chrome_namespace(POLICY_DOMAIN_CHROME, std::string()); in MergeAndTriggerUpdates()
/external/autotest/client/common_lib/cros/
Dsession_manager.py37 descriptor.domain = policy_descriptor_pb2.POLICY_DOMAIN_CHROME
55 descriptor.domain = policy_descriptor_pb2.POLICY_DOMAIN_CHROME