Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/chromeos/kiosk_mode/
Dkiosk_mode_settings_unittest.cc31 CrosSettings* cros_settings = CrosSettings::Get(); in KioskModeSettingsTest() local
35 cros_settings->GetProvider(chromeos::kReportDeviceVersionInfo); in KioskModeSettingsTest()
38 cros_settings->RemoveSettingsProvider(device_settings_provider_)); in KioskModeSettingsTest()
39 cros_settings->AddSettingsProvider(&stub_settings_provider_); in KioskModeSettingsTest()
44 CrosSettings* cros_settings = CrosSettings::Get(); in ~KioskModeSettingsTest() local
46 cros_settings->RemoveSettingsProvider(&stub_settings_provider_)); in ~KioskModeSettingsTest()
47 cros_settings->AddSettingsProvider(device_settings_provider_); in ~KioskModeSettingsTest()
93 chromeos::CrosSettings* cros_settings = chromeos::CrosSettings::Get(); in TEST_F() local
96 cros_settings->SetInteger( in TEST_F()
105 cros_settings->SetInteger( in TEST_F()
[all …]
Dkiosk_mode_settings.cc53 CrosSettings* cros_settings = CrosSettings::Get(); in Initialize() local
54 if (CrosSettingsProvider::TRUSTED != cros_settings->PrepareTrustedValues( in Initialize()
63 cros_settings->GetString(kScreenSaverExtensionId, &screensaver_id_); in Initialize()
68 cros_settings->GetInteger(kScreenSaverTimeout, &screensaver_timeout); in Initialize()
69 cros_settings->GetInteger(kIdleLogoutTimeout, &idle_logout_timeout); in Initialize()
70 cros_settings->GetInteger(kIdleLogoutWarningDuration, in Initialize()
/external/chromium_org/chrome/browser/chromeos/attestation/
Dattestation_policy_observer_unittest.cc84 CrosSettings* cros_settings = CrosSettings::Get(); in AttestationPolicyObserverTest() local
86 cros_settings->GetProvider(kDeviceAttestationEnabled); in AttestationPolicyObserverTest()
87 cros_settings->RemoveSettingsProvider(device_settings_provider_); in AttestationPolicyObserverTest()
88 cros_settings->AddSettingsProvider(&stub_settings_provider_); in AttestationPolicyObserverTest()
89 cros_settings->SetBoolean(kDeviceAttestationEnabled, true); in AttestationPolicyObserverTest()
95 CrosSettings* cros_settings = CrosSettings::Get(); in ~AttestationPolicyObserverTest() local
96 cros_settings->RemoveSettingsProvider(&stub_settings_provider_); in ~AttestationPolicyObserverTest()
97 cros_settings->AddSettingsProvider(device_settings_provider_); in ~AttestationPolicyObserverTest()
181 CrosSettings* cros_settings = CrosSettings::Get(); in TEST_F() local
182 cros_settings->SetBoolean(kDeviceAttestationEnabled, false); in TEST_F()
Dplatform_verification_flow_unittest.cc202 CrosSettings* cros_settings = CrosSettings::Get(); in SetUp() local
204 cros_settings->GetProvider(kAttestationForContentProtectionEnabled); in SetUp()
205 cros_settings->RemoveSettingsProvider(device_settings_provider_); in SetUp()
206 cros_settings->AddSettingsProvider(&stub_settings_provider_); in SetUp()
207 cros_settings->SetBoolean(kAttestationForContentProtectionEnabled, true); in SetUp()
217 CrosSettings* cros_settings = CrosSettings::Get(); in TearDown() local
218 cros_settings->RemoveSettingsProvider(&stub_settings_provider_); in TearDown()
219 cros_settings->AddSettingsProvider(device_settings_provider_); in TearDown()
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_network_configuration_updater.cc26 chromeos::CrosSettings* cros_settings) { in CreateForDevicePolicy() argument
31 cros_settings)); in CreateForDevicePolicy()
40 chromeos::CrosSettings* cros_settings) in DeviceNetworkConfigurationUpdater() argument
46 cros_settings_(cros_settings), in DeviceNetworkConfigurationUpdater()
49 data_roaming_setting_subscription_ = cros_settings->AddSettingsObserver( in DeviceNetworkConfigurationUpdater()
Ddevice_local_account.cc93 chromeos::CrosSettings* cros_settings, in SetDeviceLocalAccounts() argument
113 cros_settings->Set(chromeos::kAccountsPrefDeviceLocalAccounts, list); in SetDeviceLocalAccounts()
117 chromeos::CrosSettings* cros_settings) { in GetDeviceLocalAccounts() argument
121 cros_settings->GetList(chromeos::kAccountsPrefDeviceLocalAccounts, &list); in GetDeviceLocalAccounts()
Ddevice_local_account.h69 chromeos::CrosSettings* cros_settings,
74 chromeos::CrosSettings* cros_settings);
Ddevice_network_configuration_updater.h51 chromeos::CrosSettings* cros_settings);
58 chromeos::CrosSettings* cros_settings);
Dnetwork_configuration_updater_unittest.cc317 chromeos::CrosSettings* cros_settings = chromeos::CrosSettings::Get(); in TEST_F() local
319 cros_settings->GetProvider(chromeos::kSignedDataRoamingEnabled); in TEST_F()
320 cros_settings->RemoveSettingsProvider(device_settings_provider); in TEST_F()
324 cros_settings->AddSettingsProvider(stub_settings_provider); in TEST_F()
Dcloud_external_data_policy_observer.cc123 chromeos::CrosSettings* cros_settings, in CloudExternalDataPolicyObserver() argument
127 : cros_settings_(cros_settings), in CloudExternalDataPolicyObserver()
Dcloud_external_data_policy_observer.h61 chromeos::CrosSettings* cros_settings,
Ddevice_local_account_policy_service.h154 chromeos::CrosSettings* cros_settings,
Ddevice_local_account_policy_service.cc245 chromeos::CrosSettings* cros_settings, in DeviceLocalAccountPolicyService() argument
254 cros_settings_(cros_settings), in DeviceLocalAccountPolicyService()
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Daccounts_options_handler.cc35 CrosSettings* cros_settings = CrosSettings::Get(); in WhitelistUser() local
36 if (cros_settings->FindEmailInList(kAccountsPrefUsers, username, NULL)) in WhitelistUser()
39 cros_settings->AppendToList(kAccountsPrefUsers, &username_value); in WhitelistUser()
131 CrosSettings* cros_settings = CrosSettings::Get(); in HandleWhitelistExistingUsers() local
133 if (cros_settings->GetList(kAccountsPrefUsers, &existing) && existing) in HandleWhitelistExistingUsers()
145 cros_settings->Set(kAccountsPrefUsers, *new_list.get()); in HandleWhitelistExistingUsers()
/external/chromium_org/chrome/browser/chromeos/settings/
Downer_flags_storage.cc20 CrosSettings *cros_settings) in OwnerFlagsStorage() argument
22 cros_settings_(cros_settings) { in OwnerFlagsStorage()
Downer_flags_storage.h22 OwnerFlagsStorage(PrefService *prefs, CrosSettings *cros_settings);
/external/chromium_org/chrome/browser/chromeos/login/auth/
Dlogin_performer.cc144 CrosSettings* cros_settings = CrosSettings::Get(); in PerformLogin() local
148 cros_settings->PrepareTrustedValues( in PerformLogin()
204 CrosSettings* cros_settings = CrosSettings::Get(); in LoginAsSupervisedUser() local
206 cros_settings->PrepareTrustedValues( in LoginAsSupervisedUser()
/external/chromium_org/chrome/browser/chromeos/login/
Dlogin_utils.cc531 CrosSettings* cros_settings = CrosSettings::Get(); in IsWhitelisted() local
533 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); in IsWhitelisted()
536 return cros_settings->FindEmailInList( in IsWhitelisted()
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dsignin_screen_handler.cc1434 CrosSettings* cros_settings = CrosSettings::Get(); in AllWhitelistedUsersPresent() local
1436 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); in AllWhitelistedUsersPresent()
1445 if (!cros_settings->GetList(kAccountsPrefUsers, &whitelist) || !whitelist) in AllWhitelistedUsersPresent()
1524 CrosSettings* cros_settings = CrosSettings::Get(); in IsGuestSigninAllowed() local
1525 if (!cros_settings) in IsGuestSigninAllowed()
1528 cros_settings->GetBoolean(kAccountsPrefAllowGuest, &allow_guest); in IsGuestSigninAllowed()
1533 CrosSettings* cros_settings = CrosSettings::Get(); in IsOfflineLoginAllowed() local
1534 if (!cros_settings) in IsOfflineLoginAllowed()
1539 cros_settings->GetBoolean(kAccountsPrefShowUserNamesOnSignIn, &show_pods); in IsOfflineLoginAllowed()
Dgaia_screen_handler.cc51 CrosSettings* cros_settings = CrosSettings::Get(); in UpdateAuthParams() local
53 cros_settings->GetBoolean(kAccountsPrefAllowNewUser, &allow_new_user); in UpdateAuthParams()
55 cros_settings->GetBoolean(kAccountsPrefAllowGuest, &allow_guest); in UpdateAuthParams()
/external/chromium_org/chrome/browser/ui/webui/options/
Dpreferences_browsertest.cc705 chromeos::CrosSettings* cros_settings = chromeos::CrosSettings::Get(); in IN_PROC_BROWSER_TEST_F() local
706 cros_settings->Set(pref_names_[0], *non_default_values_[0]); in IN_PROC_BROWSER_TEST_F()
772 chromeos::CrosSettings* cros_settings = chromeos::CrosSettings::Get(); in IN_PROC_BROWSER_TEST_F() local
774 cros_settings->Set(pref_names_[i], *non_default_values_[i]); in IN_PROC_BROWSER_TEST_F()
799 chromeos::CrosSettings* cros_settings = chromeos::CrosSettings::Get(); in IN_PROC_BROWSER_TEST_F() local
800 cros_settings->Set(pref_names_[0], *non_default_values_[0]); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/chromeos/login/users/
Dchrome_user_manager_impl.cc281 CrosSettings* cros_settings = CrosSettings::Get(); in RemoveUserInternal() local
291 cros_settings->PrepareTrustedValues(callback)) { in RemoveUserInternal()
297 cros_settings->GetString(kDeviceOwner, &owner); in RemoveUserInternal()
/external/chromium_org/chrome/browser/ui/ash/
Dsystem_tray_delegate_chromeos.cc940 const CrosSettings* const cros_settings = CrosSettings::Get(); in ShouldUse24HourClock() local
942 const bool system_value_found = cros_settings->GetBoolean( in ShouldUse24HourClock()
/external/chromium_org/chrome/
Dchrome_browser_chromeos.gypi958 'browser/chromeos/settings/cros_settings.cc',
959 'browser/chromeos/settings/cros_settings.h',
/external/chromium_org/chrome/browser/extensions/
Dextension_service_unittest.cc5168 chromeos::ScopedTestCrosSettings cros_settings; in TEST() local