HomeSort by relevance Sort by last modified time
    Searched refs:DeviceSettingsService (Results 1 - 25 of 40) sorted by null

1 2

  /external/chromium_org/chrome/browser/chromeos/settings/
device_settings_service.cc 45 DeviceSettingsService::Observer::~Observer() {}
47 static DeviceSettingsService* g_device_settings_service = NULL;
50 void DeviceSettingsService::Initialize() {
52 g_device_settings_service = new DeviceSettingsService();
56 bool DeviceSettingsService::IsInitialized() {
61 void DeviceSettingsService::Shutdown() {
68 DeviceSettingsService* DeviceSettingsService::Get() {
73 DeviceSettingsService::DeviceSettingsService()
    [all...]
device_settings_service_unittest.cc 25 class MockDeviceSettingsObserver : public DeviceSettingsService::Observer {
42 DeviceSettingsService::OwnershipStatus ownership_status) {
56 ownership_status_(DeviceSettingsService::OWNERSHIP_UNKNOWN) {}
76 DeviceSettingsService::OwnershipStatus ownership_status_;
86 EXPECT_EQ(DeviceSettingsService::STORE_KEY_UNAVAILABLE,
96 EXPECT_EQ(DeviceSettingsService::STORE_NO_POLICY,
108 EXPECT_EQ(DeviceSettingsService::STORE_VALIDATION_ERROR,
126 EXPECT_EQ(DeviceSettingsService::STORE_SUCCESS,
134 EXPECT_EQ(DeviceSettingsService::STORE_SUCCESS,
141 EXPECT_EQ(DeviceSettingsService::STORE_SUCCESS
    [all...]
device_settings_service.h 68 // The purpose of DeviceSettingsService is to keep track of the current key and
73 // DeviceSettingsService generates notifications for key and policy update
75 class DeviceSettingsService : public SessionManagerClient::Observer,
117 static DeviceSettingsService* Get();
121 DeviceSettingsService();
122 virtual ~DeviceSettingsService();
227 base::WeakPtrFactory<DeviceSettingsService> weak_factory_;
255 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsService);
258 // Helper class for tests. Initializes the DeviceSettingsService singleton on
session_manager_operation.cc 69 DeviceSettingsService::Status status) {
127 ReportResult(DeviceSettingsService::STORE_KEY_UNAVAILABLE);
144 ReportResult(DeviceSettingsService::STORE_NO_POLICY);
150 ReportResult(DeviceSettingsService::STORE_INVALID_POLICY);
193 DeviceSettingsService::Status status =
194 DeviceSettingsService::STORE_VALIDATION_ERROR;
196 status = DeviceSettingsService::STORE_SUCCESS;
205 status = DeviceSettingsService::STORE_TEMP_VALIDATION_ERROR;
239 ReportResult(DeviceSettingsService::STORE_OPERATION_FAILED);
264 ReportResult(DeviceSettingsService::STORE_KEY_UNAVAILABLE)
    [all...]
device_settings_provider.h 35 public DeviceSettingsService::Observer,
39 DeviceSettingsService* device_settings_service);
59 // DeviceSettingsService::Observer implementation:
143 DeviceSettingsService* device_settings_service_;
147 DeviceSettingsService::OwnershipStatus ownership_status_;
session_manager_operation_unittest.cc 46 void(SessionManagerOperation*, DeviceSettingsService::Status));
97 &op, DeviceSettingsService::STORE_KEY_UNAVAILABLE));
117 &op, DeviceSettingsService::STORE_NO_POLICY));
134 &op, DeviceSettingsService::STORE_SUCCESS));
155 &op, DeviceSettingsService::STORE_NO_POLICY));
188 &op, DeviceSettingsService::STORE_SUCCESS));
215 &op, DeviceSettingsService::STORE_SUCCESS));
242 &op, DeviceSettingsService::STORE_SUCCESS));
device_settings_test_helper.cc 24 // DeviceSettingsService may trigger operations that hop back and forth
186 DeviceSettingsService::Initialize();
187 DeviceSettingsService::Get()->SetSessionManager(this, new MockOwnerKeyUtil());
188 DeviceSettingsService::Get()->Load();
194 DeviceSettingsService::Get()->UnsetSessionManager();
195 DeviceSettingsService::Shutdown();
cros_settings.h 27 class DeviceSettingsService;
40 explicit CrosSettings(DeviceSettingsService* device_settings_service);
session_manager_operation.h 32 DeviceSettingsService::Status)> Callback;
81 void ReportResult(DeviceSettingsService::Status status);
device_settings_provider.cc 107 DeviceSettingsService* device_settings_service)
144 ownership_status_ == DeviceSettingsService::OWNERSHIP_NONE)) {
162 DeviceSettingsService::OwnershipStatus new_ownership_status =
169 if (new_ownership_status == DeviceSettingsService::OWNERSHIP_TAKEN &&
170 ownership_status_ == DeviceSettingsService::OWNERSHIP_NONE &&
443 if (ownership_status_ == DeviceSettingsService::OWNERSHIP_TAKEN) {
    [all...]
  /external/chromium_org/chrome/browser/chromeos/policy/
device_cloud_policy_store_chromeos.h 33 public chromeos::DeviceSettingsService::Observer {
36 chromeos::DeviceSettingsService* device_settings_service,
54 // chromeos::DeviceSettingsService::Observer:
74 chromeos::DeviceSettingsService* device_settings_service_;
device_local_account_policy_store.h 24 class DeviceSettingsService;
44 chromeos::DeviceSettingsService* device_settings_service,
81 chromeos::DeviceSettingsService::OwnershipStatus ownership_status);
85 chromeos::DeviceSettingsService* device_settings_service_;
device_cloud_policy_store_chromeos.cc 19 chromeos::DeviceSettingsService* device_settings_service,
70 chromeos::DeviceSettingsService::STORE_NO_POLICY) {
133 case chromeos::DeviceSettingsService::STORE_SUCCESS: {
149 case chromeos::DeviceSettingsService::STORE_KEY_UNAVAILABLE:
152 case chromeos::DeviceSettingsService::STORE_POLICY_ERROR:
153 case chromeos::DeviceSettingsService::STORE_OPERATION_FAILED:
156 case chromeos::DeviceSettingsService::STORE_NO_POLICY:
157 case chromeos::DeviceSettingsService::STORE_INVALID_POLICY:
158 case chromeos::DeviceSettingsService::STORE_VALIDATION_ERROR:
159 case chromeos::DeviceSettingsService::STORE_TEMP_VALIDATION_ERROR
    [all...]
device_local_account_policy_service.h 29 class DeviceSettingsService;
78 chromeos::DeviceSettingsService* device_settings_service,
121 chromeos::DeviceSettingsService* device_settings_service,
196 chromeos::DeviceSettingsService* device_settings_service_;
device_local_account_policy_store.cc 26 chromeos::DeviceSettingsService* device_settings_service,
167 chromeos::DeviceSettingsService::OwnershipStatus ownership_status) {
168 DCHECK_NE(chromeos::DeviceSettingsService::OWNERSHIP_UNKNOWN,
device_local_account_policy_service.cc 49 chromeos::DeviceSettingsService* device_settings_service,
149 chromeos::DeviceSettingsService* device_settings_service,
188 chromeos::DeviceSettingsService* device_settings_service,
  /external/chromium_org/chrome/browser/chromeos/attestation/
attestation_policy_browsertest.cc 36 public chromeos::DeviceSettingsService::Observer {
38 // DeviceSettingsService::Observer
55 chromeos::DeviceSettingsService::Get()->AddObserver(this);
58 chromeos::DeviceSettingsService::Get()->RemoveObserver(this);
  /external/chromium_org/chrome/browser/chromeos/kiosk_mode/
kiosk_mode_settings.h 77 void VerifyModeIsKnown(DeviceSettingsService::OwnershipStatus status);
kiosk_mode_settings.cc 168 DeviceSettingsService::Get()->GetOwnershipStatusAsync(
180 DeviceSettingsService::OwnershipStatus status) {
181 if (status != DeviceSettingsService::OWNERSHIP_TAKEN)
  /external/chromium_org/chrome/browser/chromeos/login/
existing_user_controller.h 171 DeviceSettingsService::OwnershipStatus status);
200 DeviceSettingsService::OwnershipStatus ownership_status);
wallpaper_manager_unittest.cc 66 // Shut down the DeviceSettingsService.
67 DeviceSettingsService::Get()->UnsetSessionManager();
user_manager_unittest.cc 60 // Shut down the DeviceSettingsService.
61 DeviceSettingsService::Get()->UnsetSessionManager();
existing_user_controller.cc 335 DeviceSettingsService::Get()->GetOwnershipStatusAsync(
343 DeviceSettingsService::OwnershipStatus ownership_status) {
347 ownership_status == DeviceSettingsService::OWNERSHIP_NONE) {
576 DeviceSettingsService::Get()->GetOwnershipStatusAsync(
622 DeviceSettingsService::OwnershipStatus status) {
623 if (status == DeviceSettingsService::OWNERSHIP_NONE) {
625 } else if (status == DeviceSettingsService::OWNERSHIP_TAKEN) {
    [all...]
login_display_host_impl.h 145 DeviceSettingsService::OwnershipStatus status);
  /external/chromium_org/chrome/browser/chromeos/
chrome_browser_main_chromeos.cc 297 DeviceSettingsService::Initialize();
298 DeviceSettingsService::Get()->SetSessionManager(
448 DeviceSettingsService::Get()->Load();
689 // Tell DeviceSettingsService to stop talking to session_manager. Do not
690 // shutdown DeviceSettingsService yet, it might still be accessed by
692 DeviceSettingsService::Get()->UnsetSessionManager();
769 // Destroy DeviceSettingsService after g_browser_process.
770 DeviceSettingsService::Shutdown();

Completed in 336 milliseconds

1 2