/external/chromium_org/chrome/browser/chromeos/policy/ |
device_cloud_policy_store_chromeos_unittest.cc | 91 device_policy_.UnsetNewSigningKey(); 92 device_policy_.Build(); 96 device_policy_.SetDefaultNewSigningKey(); 97 device_policy_.Build(); 99 *device_policy_.GetNewSigningKey()); 153 store_->Store(device_policy_.policy()); 160 device_policy_.policy().clear_policy_data_signature(); 161 store_->Store(device_policy_.policy()); 170 device_policy_.policy().set_policy_data_signature("invalid"); 171 store_->Store(device_policy_.policy()) [all...] |
device_policy_cros_browser_test.h | 33 DevicePolicyBuilder* device_policy() { return &device_policy_; } 39 DevicePolicyBuilder device_policy_; member in class:policy::DevicePolicyCrosTestHelper 61 // Reinstalls |device_policy_| as the policy (to be used when it was
|
device_cloud_policy_manager_chromeos_unittest.cc | 218 device_policy_.policy_data().set_state(em::PolicyData::UNMANAGED); 219 device_policy_.Build(); 220 device_settings_test_helper_.set_policy_blob(device_policy_.GetBlob()); 247 device_policy_.policy_data().set_state(em::PolicyData::ACTIVE); 248 device_policy_.Build(); 249 device_settings_test_helper_.set_policy_blob(device_policy_.GetBlob()); 252 device_policy_.policy()); 300 device_policy_.SetDefaultNewSigningKey(); 301 device_policy_.policy_data().set_timestamp( 304 device_policy_.Build() [all...] |
device_policy_cros_browser_test.cc | 47 attribute->set_value(device_policy_.policy_data().username());
|
device_local_account_policy_service_unittest.cc | 181 device_policy_.payload().mutable_device_local_accounts()->add_account(); 188 device_policy_.Build(); 189 device_settings_test_helper_.set_policy_blob(device_policy_.GetBlob()); 348 device_policy_.payload().mutable_device_local_accounts()->clear_account(); 403 device_policy_.policy_data().request_token(), 405 device_policy_.policy_data().device_id(), 649 device_policy_.payload().mutable_device_local_accounts()->clear_account(); 692 device_policy_.payload().mutable_device_local_accounts()->clear_account(); 759 device_policy_.payload().mutable_device_local_accounts()->clear_account(); [all...] |
cloud_external_data_policy_observer_unittest.cc | 273 device_policy_.payload().mutable_device_local_accounts()->add_account(); 277 device_policy_.Build(); 278 device_settings_test_helper_.set_policy_blob(device_policy_.GetBlob()); 285 device_policy_.payload().mutable_device_local_accounts(); 299 device_policy_.Build(); 300 device_settings_test_helper_.set_policy_blob(device_policy_.GetBlob()); [all...] |
/external/chromium_org/chrome/browser/chromeos/settings/ |
device_settings_service_unittest.cc | 64 device_policy_.payload().mutable_device_policy_refresh_rate()-> 71 EXPECT_EQ(device_policy_.policy_data().SerializeAsString(), 74 EXPECT_EQ(device_policy_.payload().SerializeAsString(), 108 device_policy_.policy().set_policy_data_signature("bad"); 109 device_settings_test_helper_.set_policy_blob(device_policy_.GetBlob()); 110 owner_key_util_->SetPublicKeyFromPrivateKey(*device_policy_.GetSigningKey()); 122 device_policy_.policy_data().set_timestamp( 124 device_policy_.Build(); 125 device_settings_test_helper_.set_policy_blob(device_policy_.GetBlob()); 126 owner_key_util_->SetPublicKeyFromPrivateKey(*device_policy_.GetSigningKey()) [all...] |
device_settings_test_helper.cc | 40 callbacks.swap(device_policy_.store_callbacks_); 43 cb->Run(device_policy_.store_result_); 60 callbacks.swap(device_policy_.retrieve_callbacks_); 63 cb->Run(device_policy_.policy_blob_); 90 if (device_policy_.HasPendingOperations()) 139 device_policy_.retrieve_callbacks_.push_back(callback); 162 device_policy_.policy_blob_ = policy_blob; 163 device_policy_.store_callbacks_.push_back(callback); 224 device_policy_.payload().mutable_metrics_enabled()->set_metrics_enabled( 226 owner_key_util_->SetPublicKeyFromPrivateKey(*device_policy_.GetSigningKey()) [all...] |
device_settings_test_helper.h | 61 return device_policy_.store_result_; 64 device_policy_.store_result_ = store_result; 68 return device_policy_.policy_blob_; 71 device_policy_.policy_blob_ = policy_blob; 144 PolicyState device_policy_; member in class:chromeos::DeviceSettingsTestHelper 184 policy::DevicePolicyBuilder device_policy_; member in class:chromeos::DeviceSettingsTestBase
|
device_settings_provider_unittest.cc | 146 owner_key_util_->SetPrivateKey(device_policy_.GetSigningKey()); 147 InitOwner(device_policy_.policy_data().username(), true); 174 owner_key_util_->SetPrivateKey(device_policy_.GetSigningKey()); 175 InitOwner(device_policy_.policy_data().username(), true); 197 owner_key_util_->SetPublicKeyFromPrivateKey(*device_policy_.GetSigningKey()); 198 device_policy_.policy().set_policy_data_signature("bad signature"); 199 device_settings_test_helper_.set_policy_blob(device_policy_.GetBlob()); 210 owner_key_util_->SetPublicKeyFromPrivateKey(*device_policy_.GetSigningKey()); 272 device_policy_.payload().mutable_device_local_accounts()->add_account(); 275 device_policy_.Build() [all...] |
device_oauth2_token_service_unittest.cc | 62 device_policy_.policy_data().set_service_account_identity(account_id); 63 device_policy_.Build(); 64 device_settings_test_helper_.set_policy_blob(device_policy_.GetBlob()); 92 *device_policy_.GetSigningKey()); 186 policy::DevicePolicyBuilder device_policy_; member in class:chromeos::DeviceOAuth2TokenServiceTest
|
/external/chromium_org/chromeos/dbus/ |
fake_session_manager_client.cc | 83 base::Bind(callback, device_policy_)); 109 device_policy_ = policy_blob; 142 return device_policy_; 147 device_policy_ = policy_blob;
|
fake_session_manager_client.h | 103 std::string device_policy_; member in class:chromeos::FakeSessionManagerClient
|
session_manager_client.cc | 722 std::string device_policy_; member in class:chromeos::SessionManagerClientStubImpl
|
/external/chromium_org/chromeos/network/onc/ |
onc_merger_unittest.cc | 55 scoped_ptr<const base::DictionaryValue> device_policy_; member in class:chromeos::onc::merger::ONCMergerTest 63 device_policy_ = test_utils::ReadTestDictionary("device_policy.onc"); 137 policy_.get(), device_policy_.get(), user_.get(), NULL)); 143 policy_.get(), device_policy_.get(), user_.get(), NULL)); 144 EXPECT_TRUE(HaveSameValueAt(*merged, *device_policy_, 152 kNetworkConfigurationSignature, policy_.get(), device_policy_.get(),
|
/external/chromium_org/chrome/browser/chromeos/login/ |
login_utils_browsertest.cc | 518 std::string device_policy_; member in class:chromeos::__anon7821::LoginUtilsTest
|