Searched refs:cached_policy (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | user_cloud_policy_store_chromeos_unittest.cc | 405 em::CachedCloudPolicyResponse cached_policy; in TEST_F() local 406 cached_policy.mutable_cloud_policy()->CopyFrom(policy_.policy()); in TEST_F() 407 ASSERT_TRUE(cached_policy.SerializeToString(&data)); in TEST_F() 417 cached_policy.cloud_policy().policy_data())); in TEST_F() 432 em::CachedCloudPolicyResponse cached_policy; in TEST_F() local 433 cached_policy.mutable_cloud_policy()->CopyFrom(policy_.policy()); in TEST_F() 434 ASSERT_TRUE(cached_policy.SerializeToString(&data)); in TEST_F() 444 cached_policy.cloud_policy().policy_data())); in TEST_F() 482 em::CachedCloudPolicyResponse cached_policy; in TEST_F() local 483 cached_policy.mutable_cloud_policy()->CopyFrom(policy_.policy()); in TEST_F() [all …]
|
/external/chromium/chrome/browser/policy/ |
D | user_policy_cache.cc | 52 em::CachedCloudPolicyResponse cached_policy; in Run() local 54 cached_policy.mutable_cloud_policy()->CopyFrom(*cloud_policy_response_); in Run() 57 cached_policy.set_unmanaged(true); in Run() 58 cached_policy.set_timestamp(base::Time::NowFromSystemTime().ToTimeT()); in Run() 60 if (!cached_policy.SerializeToString(&data)) { in Run()
|
D | user_policy_cache_unittest.cc | 94 em::CachedCloudPolicyResponse cached_policy; in WritePolicy() local 95 cached_policy.mutable_cloud_policy()->CopyFrom(policy); in WritePolicy() 96 EXPECT_TRUE(cached_policy.SerializeToString(&data)); in WritePolicy()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | signed_settings_unittest.cc | 186 EXPECT_CALL(m_, cached_policy()) in ExpectWhitelistOp() 206 EXPECT_CALL(m_, cached_policy()) in FailingStorePropertyOp() 289 EXPECT_CALL(m_, cached_policy()) in DoRetrieveProperty() 331 EXPECT_CALL(m_, cached_policy()) in TEST_F() 351 EXPECT_CALL(m_, cached_policy()) in TEST_F() 371 EXPECT_CALL(m_, cached_policy()) in TEST_F() 463 EXPECT_CALL(m_, cached_policy()) in TEST_F() 537 EXPECT_CALL(m_, cached_policy()) in TEST_F() 575 EXPECT_CALL(m_, cached_policy()) in TEST_F()
|
D | mock_ownership_service.h | 20 MOCK_METHOD0(cached_policy, const em::PolicyData&(void));
|
D | signed_settings.cc | 88 pol.ParseFromString(service->cached_policy().policy_value()); in EnumerateWhitelist() 401 pol.ParseFromString(service_->cached_policy().policy_value()); in LookUpInPolicy() 437 to_sign.CheckTypeAndMergeFrom(service_->cached_policy()); in Execute() 553 to_sign.CheckTypeAndMergeFrom(service_->cached_policy()); in Execute() 707 const em::PolicyData& data = service_->cached_policy(); in LookUpInPolicy() 714 pol.ParseFromString(service_->cached_policy().policy_value()); in LookUpInPolicy()
|
D | signed_settings_helper_unittest.cc | 121 EXPECT_CALL(m_, cached_policy()) in TEST_F() 171 EXPECT_CALL(m_, cached_policy()) in TEST_F()
|
D | ownership_service.h | 55 virtual const em::PolicyData& cached_policy();
|
D | ownership_service.cc | 68 const em::PolicyData& OwnershipService::cached_policy() { in cached_policy() function in chromeos::OwnershipService
|