/external/libchrome/components/policy/core/common/ |
D | policy_service_impl_unittest.cc | 56 &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 …]
|
D | policy_bundle_unittest.cc | 81 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 …]
|
D | schema_map_unittest.cc | 74 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 …]
|
D | schema_registry_tracking_policy_provider_unittest.cc | 73 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()
|
D | proxy_policy_provider_unittest.cc | 50 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()
|
D | schema_registry_unittest.cc | 125 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()
|
D | configuration_policy_provider_test.cc | 133 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()
|
D | schema_registry_tracking_policy_provider.cc | 34 if (domain == POLICY_DOMAIN_CHROME) in IsInitializationComplete() 92 const PolicyNamespace chrome_ns(POLICY_DOMAIN_CHROME, ""); in OnUpdatePolicy()
|
D | policy_bundle.cc | 18 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()
|
D | schema_map.cc | 46 if (ns.domain == POLICY_DOMAIN_CHROME) in FilterBundle() 88 if (domain == POLICY_DOMAIN_CHROME) in HasComponents()
|
D | policy_test_utils.cc | 46 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())); in PolicyServiceIsEmpty() 180 case policy::POLICY_DOMAIN_CHROME: in operator <<()
|
D | policy_namespace.h | 24 POLICY_DOMAIN_CHROME, enumerator
|
D | mock_configuration_policy_provider.cc | 26 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in UpdateChromePolicy()
|
D | policy_statistics_collector.cc | 67 PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())); in CollectStatistics()
|
D | policy_statistics_collector_unittest.cc | 94 GetPolicies(PolicyNamespace(POLICY_DOMAIN_CHROME, in SetUp()
|
D | async_policy_provider_unittest.cc | 34 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in SetPolicy()
|
D | schema_registry.cc | 239 if (wrapped_ && domain != POLICY_DOMAIN_CHROME) in RegisterComponents()
|
D | config_dir_policy_loader.cc | 177 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in LoadFromPath()
|
D | config_dir_policy_loader_unittest.cc | 238 expected_bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string())) in TEST_F()
|
D | policy_service_impl.cc | 188 const PolicyNamespace chrome_namespace(POLICY_DOMAIN_CHROME, std::string()); in MergeAndTriggerUpdates()
|
/external/autotest/client/common_lib/cros/ |
D | session_manager.py | 37 descriptor.domain = policy_descriptor_pb2.POLICY_DOMAIN_CHROME 55 descriptor.domain = policy_descriptor_pb2.POLICY_DOMAIN_CHROME
|