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

1 2

  /external/chromium_org/chrome/browser/chromeos/settings/
device_settings_service.cc 39 DeviceSettingsService::Observer::~Observer() {}
41 static DeviceSettingsService* g_device_settings_service = NULL;
44 void DeviceSettingsService::Initialize() {
46 g_device_settings_service = new DeviceSettingsService();
50 bool DeviceSettingsService::IsInitialized() {
55 void DeviceSettingsService::Shutdown() {
62 DeviceSettingsService* DeviceSettingsService::Get() {
67 DeviceSettingsService::DeviceSettingsService()
    [all...]
session_manager_operation.cc 71 DeviceSettingsService::Status status) {
119 ReportResult(DeviceSettingsService::STORE_KEY_UNAVAILABLE);
136 ReportResult(DeviceSettingsService::STORE_NO_POLICY);
142 ReportResult(DeviceSettingsService::STORE_INVALID_POLICY);
190 DeviceSettingsService::Status status =
191 DeviceSettingsService::STORE_VALIDATION_ERROR;
193 status = DeviceSettingsService::STORE_SUCCESS;
202 status = DeviceSettingsService::STORE_TEMP_VALIDATION_ERROR;
236 ReportResult(DeviceSettingsService::STORE_OPERATION_FAILED);
254 ReportResult(DeviceSettingsService::STORE_KEY_UNAVAILABLE)
    [all...]
device_settings_service_unittest.cc 30 class MockDeviceSettingsObserver : public DeviceSettingsService::Observer {
47 DeviceSettingsService::OwnershipStatus ownership_status) {
61 ownership_status_(DeviceSettingsService::OWNERSHIP_UNKNOWN) {}
81 DeviceSettingsService::OwnershipStatus ownership_status_;
91 EXPECT_EQ(DeviceSettingsService::STORE_KEY_UNAVAILABLE,
101 EXPECT_EQ(DeviceSettingsService::STORE_NO_POLICY,
113 EXPECT_EQ(DeviceSettingsService::STORE_VALIDATION_ERROR,
131 EXPECT_EQ(DeviceSettingsService::STORE_SUCCESS,
139 EXPECT_EQ(DeviceSettingsService::STORE_SUCCESS,
146 EXPECT_EQ(DeviceSettingsService::STORE_SUCCESS
    [all...]
device_settings_service.h 42 // The purpose of DeviceSettingsService is to keep track of the current key and
47 // DeviceSettingsService generates notifications for key and policy update
49 class DeviceSettingsService : public SessionManagerClient::Observer {
112 static DeviceSettingsService* Get();
116 DeviceSettingsService();
117 virtual ~DeviceSettingsService();
262 base::WeakPtrFactory<DeviceSettingsService> weak_factory_;
264 DISALLOW_COPY_AND_ASSIGN(DeviceSettingsService);
267 // Helper class for tests. Initializes the DeviceSettingsService singleton on
device_settings_provider.h 35 public DeviceSettingsService::Observer {
41 DeviceSettingsService* device_settings_service);
58 // DeviceSettingsService::Observer implementation:
142 DeviceSettingsService* device_settings_service_;
146 DeviceSettingsService::OwnershipStatus ownership_status_;
session_manager_operation.h 33 DeviceSettingsService::Status)> Callback;
69 DeviceSettingsService::PrivateKeyDelegate>& delegate) {
85 void ReportResult(DeviceSettingsService::Status status);
91 base::WeakPtr<DeviceSettingsService::PrivateKeyDelegate> delegate_;
session_manager_operation_unittest.cc 56 void(SessionManagerOperation*, DeviceSettingsService::Status));
100 &op, DeviceSettingsService::STORE_KEY_UNAVAILABLE));
119 &op, DeviceSettingsService::STORE_NO_POLICY));
136 &op, DeviceSettingsService::STORE_SUCCESS));
173 &op, DeviceSettingsService::STORE_SUCCESS));
199 &op, DeviceSettingsService::STORE_SUCCESS));
227 &op, DeviceSettingsService::STORE_SUCCESS));
device_settings_test_helper.cc 28 // DeviceSettingsService may trigger operations that hop back and forth
193 DeviceSettingsService::Initialize();
194 DeviceSettingsService::Get()->SetSessionManager(this, new MockOwnerKeyUtil());
195 DeviceSettingsService::Get()->Load();
201 DeviceSettingsService::Get()->UnsetSessionManager();
202 DeviceSettingsService::Shutdown();
cros_settings.h 27 class DeviceSettingsService;
40 explicit CrosSettings(DeviceSettingsService* device_settings_service);
device_oauth2_token_service_unittest.cc 65 DeviceSettingsService::Get()->Load();
89 DeviceSettingsService::Initialize();
93 DeviceSettingsService::Get()->SetSessionManager(
102 DeviceSettingsService::Get()->UnsetSessionManager();
103 DeviceSettingsService::Shutdown();
device_settings_provider.cc 94 DeviceSettingsService* device_settings_service)
122 ownership_status_ == DeviceSettingsService::OWNERSHIP_NONE)) {
140 DeviceSettingsService::OwnershipStatus new_ownership_status =
147 if (new_ownership_status == DeviceSettingsService::OWNERSHIP_TAKEN &&
148 ownership_status_ == DeviceSettingsService::OWNERSHIP_NONE &&
429 if (ownership_status_ == DeviceSettingsService::OWNERSHIP_TAKEN) {
    [all...]
  /external/chromium_org/chrome/browser/chromeos/policy/
device_cloud_policy_store_chromeos.cc 23 chromeos::DeviceSettingsService* device_settings_service,
78 chromeos::DeviceSettingsService::STORE_NO_POLICY) {
144 const chromeos::DeviceSettingsService::Status status =
147 case chromeos::DeviceSettingsService::STORE_SUCCESS:
148 case chromeos::DeviceSettingsService::STORE_KEY_UNAVAILABLE:
149 case chromeos::DeviceSettingsService::STORE_NO_POLICY:
150 case chromeos::DeviceSettingsService::STORE_INVALID_POLICY:
151 case chromeos::DeviceSettingsService::STORE_VALIDATION_ERROR: {
155 status == chromeos::DeviceSettingsService::STORE_SUCCESS &&
174 case chromeos::DeviceSettingsService::STORE_POLICY_ERROR
    [all...]
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_local_account_policy_service.h 34 class DeviceSettingsService;
95 chromeos::DeviceSettingsService* device_settings_service,
153 chromeos::DeviceSettingsService* device_settings_service,
227 chromeos::DeviceSettingsService* device_settings_service_;
device_local_account_policy_store.cc 27 chromeos::DeviceSettingsService* device_settings_service,
137 chromeos::DeviceSettingsService::OwnershipStatus ownership_status) {
138 DCHECK_NE(chromeos::DeviceSettingsService::OWNERSHIP_UNKNOWN,
  /external/chromium_org/chrome/browser/chromeos/ownership/
owner_settings_service.h 30 class OwnerSettingsService : public DeviceSettingsService::PrivateKeyDelegate,
42 // DeviceSettingsService::PrivateKeyDelegate implementation:
68 DeviceSettingsService* device_settings_service);
86 // Returns testing instance of DeviceSettingsService when it's set,
89 DeviceSettingsService* GetDeviceSettingsService();
owner_settings_service.cc 35 DeviceSettingsService* g_device_settings_service_for_testing = NULL;
251 DeviceSettingsService* device_settings_service) {
299 DeviceSettingsService* OwnerSettingsService::GetDeviceSettingsService() {
303 if (DeviceSettingsService::IsInitialized())
304 return DeviceSettingsService::Get();
  /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/login/screens/
error_screen.cc 52 DeviceSettingsService::Get()->GetOwnershipStatusAsync(
140 DeviceSettingsService::OwnershipStatus ownership_status) {
154 if (ownership_status == DeviceSettingsService::OWNERSHIP_NONE)
error_screen.h 104 DeviceSettingsService::OwnershipStatus ownership_status);
  /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/enrollment/
auto_enrollment_controller.h 75 DeviceSettingsService::OwnershipStatus status);
auto_enrollment_controller.cc 117 DeviceSettingsService::Get()->GetOwnershipStatusAsync(
150 DeviceSettingsService::OwnershipStatus status) {
151 if (status != DeviceSettingsService::OWNERSHIP_NONE) {

Completed in 9043 milliseconds

1 2