Home
last modified time | relevance | path

Searched refs:cros_settings_ (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_status_collector_browsertest.cc172 cros_settings_ = chromeos::CrosSettings::Get(); in DeviceStatusCollectorTest()
174 cros_settings_->GetProvider(chromeos::kReportDeviceVersionInfo); in DeviceStatusCollectorTest()
177 cros_settings_->RemoveSettingsProvider(device_settings_provider_)); in DeviceStatusCollectorTest()
178 cros_settings_->AddSettingsProvider(&stub_settings_provider_); in DeviceStatusCollectorTest()
190 cros_settings_->RemoveSettingsProvider(&stub_settings_provider_)); in ~DeviceStatusCollectorTest()
191 cros_settings_->AddSettingsProvider(device_settings_provider_); in ~DeviceStatusCollectorTest()
196 cros_settings_->SetBoolean(chromeos::kReportDeviceNetworkInterfaces, false); in SetUp()
271 chromeos::CrosSettings* cros_settings_; member in policy::DeviceStatusCollectorTest
286 cros_settings_->SetBoolean(chromeos::kReportDeviceActivityTimes, true); in TEST_F()
313 cros_settings_->SetBoolean(chromeos::kReportDeviceActivityTimes, true); in TEST_F()
[all …]
Ddevice_status_collector.cc104 cros_settings_ = chromeos::CrosSettings::Get(); in DeviceStatusCollector()
111 version_info_subscription_ = cros_settings_->AddSettingsObserver( in DeviceStatusCollector()
113 activity_times_subscription_ = cros_settings_->AddSettingsObserver( in DeviceStatusCollector()
115 boot_mode_subscription_ = cros_settings_->AddSettingsObserver( in DeviceStatusCollector()
117 location_subscription_ = cros_settings_->AddSettingsObserver( in DeviceStatusCollector()
119 network_interfaces_subscription_ = cros_settings_->AddSettingsObserver( in DeviceStatusCollector()
121 users_subscription_ = cros_settings_->AddSettingsObserver( in DeviceStatusCollector()
180 cros_settings_->PrepareTrustedValues( in UpdateReportingSettings()
185 if (!cros_settings_->GetBoolean( in UpdateReportingSettings()
189 if (!cros_settings_->GetBoolean( in UpdateReportingSettings()
[all …]
Ddevice_network_configuration_updater.cc46 cros_settings_(cros_settings), in DeviceNetworkConfigurationUpdater()
81 cros_settings_->PrepareTrustedValues(base::Bind( in OnDataRoamingSettingChanged()
93 if (!cros_settings_->GetBoolean(chromeos::kSignedDataRoamingEnabled, in OnDataRoamingSettingChanged()
Dcloud_external_data_policy_observer.cc127 : cros_settings_(cros_settings), in CloudExternalDataPolicyObserver()
140 device_local_accounts_subscription_ = cros_settings_->AddSettingsObserver( in CloudExternalDataPolicyObserver()
247 cros_settings_->PrepareTrustedValues(base::Bind( in RetrieveDeviceLocalAccounts()
254 policy::GetDeviceLocalAccounts(cros_settings_); in RetrieveDeviceLocalAccounts()
Ddevice_local_account_policy_service.cc254 cros_settings_(cros_settings), in DeviceLocalAccountPolicyService()
261 local_accounts_subscription_(cros_settings_->AddSettingsObserver( in DeviceLocalAccountPolicyService()
413 cros_settings_->PrepareTrustedValues( in UpdateAccountList()
433 GetDeviceLocalAccounts(cros_settings_); in UpdateAccountList()
Ddevice_network_configuration_updater.h69 chromeos::CrosSettings* cros_settings_; variable
Dcloud_external_data_policy_observer.h105 chromeos::CrosSettings* cros_settings_; variable
Ddevice_status_collector.h166 chromeos::CrosSettings* cros_settings_; variable
Dcloud_external_data_policy_observer_unittest.cc140 chromeos::CrosSettings cros_settings_; member in policy::CloudExternalDataPolicyObserverTest
171 cros_settings_(&device_settings_service_), in CloudExternalDataPolicyObserverTest()
184 &cros_settings_, in SetUp()
245 &cros_settings_, in CreateObserver()
Ddevice_local_account_policy_service.h228 chromeos::CrosSettings* cros_settings_; variable
Ddevice_local_account_policy_service_unittest.cc98 chromeos::CrosSettings cros_settings_; member in policy::DeviceLocalAccountPolicyServiceTestBase
134 cros_settings_(&device_settings_service_), in DeviceLocalAccountPolicyServiceTestBase()
164 &cros_settings_, in CreatePolicyService()
/external/chromium_org/chrome/browser/chromeos/login/users/
Duser_manager_unittest.cc61 cros_settings_ = CrosSettings::Get(); in SetUp()
65 cros_settings_->GetProvider(chromeos::kReportDeviceVersionInfo); in SetUp()
68 cros_settings_->RemoveSettingsProvider(device_settings_provider_)); in SetUp()
69 cros_settings_->AddSettingsProvider(&stub_settings_provider_); in SetUp()
93 cros_settings_->RemoveSettingsProvider(&stub_settings_provider_)); in TearDown()
94 cros_settings_->AddSettingsProvider(device_settings_provider_); in TearDown()
157 CrosSettings* cros_settings_; member in chromeos::UserManagerTest
Dchrome_user_manager_impl.cc100 cros_settings_(CrosSettings::Get()), in ChromeUserManagerImpl()
126 local_accounts_subscription_ = cros_settings_->AddSettingsObserver( in ChromeUserManagerImpl()
136 cros_settings_, in ChromeUserManagerImpl()
143 cros_settings_, in ChromeUserManagerImpl()
548 cros_settings_->PrepareTrustedValues( in RetrieveTrustedDevicePolicies()
555 cros_settings_->GetBoolean(kAccountsPrefEphemeralUsersEnabled, in RetrieveTrustedDevicePolicies()
560 cros_settings_->GetString(kDeviceOwner, &owner_email); in RetrieveTrustedDevicePolicies()
566 policy::GetDeviceLocalAccounts(cros_settings_)); in RetrieveTrustedDevicePolicies()
707 policy::GetDeviceLocalAccounts(cros_settings_); in KioskAppLoggedIn()
989 cros_settings_->GetBoolean(kAccountsPrefSupervisedUsersEnabled, in AreSupervisedUsersAllowed()
Dsupervised_user_manager_impl.h112 CrosSettings* cros_settings_; variable
Dchrome_user_manager_impl.h202 CrosSettings* cros_settings_; variable
/external/chromium_org/chrome/browser/metrics/variations/
Dvariations_service_unittest.cc202 cros_settings_ = chromeos::CrosSettings::Get(); in SetUp()
203 DCHECK(cros_settings_ != NULL); in SetUp()
206 device_settings_provider_ = cros_settings_->GetProvider( in SetUp()
209 EXPECT_TRUE(cros_settings_->RemoveSettingsProvider( in SetUp()
211 cros_settings_->AddSettingsProvider(&stub_settings_provider_); in SetUp()
217 cros_settings_->RemoveSettingsProvider(&stub_settings_provider_)); in TearDown()
218 cros_settings_->AddSettingsProvider(device_settings_provider_); in TearDown()
222 cros_settings_->SetString(chromeos::kVariationsRestrictParameter, value); in SetVariationsRestrictParameterPolicyValue()
226 chromeos::CrosSettings* cros_settings_; member in chrome_variations::VariationsServiceTestChromeOS
/external/chromium_org/chrome/browser/chromeos/login/
Dexisting_user_controller.cc162 cros_settings_(CrosSettings::Get()), in ExistingUserController()
186 show_user_names_subscription_ = cros_settings_->AddSettingsObserver( in ExistingUserController()
190 allow_new_user_subscription_ = cros_settings_->AddSettingsObserver( in ExistingUserController()
194 allow_guest_subscription_ = cros_settings_->AddSettingsObserver( in ExistingUserController()
198 allow_supervised_user_subscription_ = cros_settings_->AddSettingsObserver( in ExistingUserController()
202 users_subscription_ = cros_settings_->AddSettingsObserver( in ExistingUserController()
207 cros_settings_->AddSettingsObserver( in ExistingUserController()
212 cros_settings_->AddSettingsObserver( in ExistingUserController()
229 cros_settings_->GetBoolean(kAccountsPrefShowUserNamesOnSignIn, in UpdateLoginDisplay()
256 cros_settings_->GetBoolean(kAccountsPrefAllowGuest, &show_guest); in UpdateLoginDisplay()
[all …]
Dversion_info_updater.cc42 : cros_settings_(chromeos::CrosSettings::Get()), in VersionInfoUpdater()
86 cros_settings_->AddSettingsObserver(kReportingFlags[i], in StartUpdate()
Dversion_info_updater.h80 chromeos::CrosSettings* cros_settings_; variable
Dexisting_user_controller.h275 CrosSettings* cros_settings_; variable
/external/chromium_org/chrome/browser/chromeos/attestation/
Dattestation_policy_observer.cc95 : cros_settings_(CrosSettings::Get()), in AttestationPolicyObserver()
103 attestation_subscription_ = cros_settings_->AddSettingsObserver( in AttestationPolicyObserver()
114 : cros_settings_(CrosSettings::Get()), in AttestationPolicyObserver()
122 attestation_subscription_ = cros_settings_->AddSettingsObserver( in AttestationPolicyObserver()
142 if (!cros_settings_->GetBoolean(kDeviceAttestationEnabled, &enabled) || in Start()
Dattestation_policy_observer.h91 CrosSettings* cros_settings_; variable
/external/chromium_org/chrome/browser/chromeos/settings/
Downer_flags_storage.cc22 cros_settings_(cros_settings) { in OwnerFlagsStorage()
63 cros_settings_->Set(kStartUpFlags, experiments_list); in SetFlags()
Downer_flags_storage.h28 CrosSettings* cros_settings_;
Dstub_cros_settings_provider.h41 CrosSettings* cros_settings_; variable

12