OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UpdateEngineClient
(Results
1 - 23
of
23
) sorted by null
/external/chromium_org/chromeos/dbus/
fake_update_engine_client.h
15
// A fake implementation of
UpdateEngineClient
. The user of this class can
19
class FakeUpdateEngineClient : public
UpdateEngineClient
{
24
//
UpdateEngineClient
overrides
37
// Pushes
UpdateEngineClient
::Status in the queue to test changing status.
40
void PushLastStatus(const
UpdateEngineClient
::Status& status) {
44
// Sets the default
UpdateEngineClient
::Status. GetLastStatus() returns the
46
void set_default_status(const
UpdateEngineClient
::Status& status);
50
const
UpdateEngineClient
::UpdateCheckResult& result);
58
std::queue<
UpdateEngineClient
::Status> status_queue_;
59
UpdateEngineClient
::Status default_status_
[
all
...]
fake_update_engine_client.cc
10
: update_check_result_(
UpdateEngineClient
::UPDATE_RESULT_SUCCESS),
39
UpdateEngineClient
::Status FakeUpdateEngineClient::GetLastStatus() {
43
UpdateEngineClient
::Status last_status = status_queue_.front();
57
const
UpdateEngineClient
::Status& status) {
62
const
UpdateEngineClient
::UpdateCheckResult& result) {
update_engine_client.h
18
//
UpdateEngineClient
is used to communicate with the update engine.
19
class CHROMEOS_EXPORT
UpdateEngineClient
: public DBusClient {
69
virtual ~
UpdateEngineClient
();
123
static
UpdateEngineClient
* Create(DBusClientImplementationType type);
127
UpdateEngineClient
();
130
DISALLOW_COPY_AND_ASSIGN(
UpdateEngineClient
);
update_engine_client.cc
39
UpdateEngineClient
::UpdateStatusOperation UpdateStatusFromString(
42
return
UpdateEngineClient
::UPDATE_STATUS_IDLE;
44
return
UpdateEngineClient
::UPDATE_STATUS_CHECKING_FOR_UPDATE;
46
return
UpdateEngineClient
::UPDATE_STATUS_UPDATE_AVAILABLE;
48
return
UpdateEngineClient
::UPDATE_STATUS_DOWNLOADING;
50
return
UpdateEngineClient
::UPDATE_STATUS_VERIFYING;
52
return
UpdateEngineClient
::UPDATE_STATUS_FINALIZING;
54
return
UpdateEngineClient
::UPDATE_STATUS_UPDATED_NEED_REBOOT;
56
return
UpdateEngineClient
::UPDATE_STATUS_REPORTING_ERROR_EVENT;
57
return
UpdateEngineClient
::UPDATE_STATUS_ERROR
[
all
...]
dbus_thread_manager.h
59
class
UpdateEngineClient
;
151
virtual
UpdateEngineClient
* GetUpdateEngineClient() = 0;
fake_dbus_thread_manager.cc
110
scoped_ptr<
UpdateEngineClient
>(
UpdateEngineClient
::Create(client_type)));
260
scoped_ptr<
UpdateEngineClient
> client) {
411
UpdateEngineClient
* FakeDBusThreadManager::GetUpdateEngineClient() {
fake_dbus_thread_manager.h
65
void SetUpdateEngineClient(scoped_ptr<
UpdateEngineClient
> client);
102
virtual
UpdateEngineClient
* GetUpdateEngineClient() OVERRIDE;
137
scoped_ptr<
UpdateEngineClient
> update_engine_client_;
dbus_thread_manager.cc
106
update_engine_client_.reset(
UpdateEngineClient
::Create(client_type));
193
UpdateEngineClient
* update_engine_client() {
228
scoped_ptr<
UpdateEngineClient
> update_engine_client_;
400
virtual
UpdateEngineClient
* GetUpdateEngineClient() OVERRIDE {
/external/chromium_org/chrome/browser/ui/webui/help/
version_updater_chromeos.h
14
public chromeos::
UpdateEngineClient
::Observer {
32
//
UpdateEngineClient
::Observer implementation.
34
const chromeos::
UpdateEngineClient
::Status& status) OVERRIDE;
36
// Callback from
UpdateEngineClient
::RequestUpdateCheck().
37
void OnUpdateCheck(chromeos::
UpdateEngineClient
::UpdateCheckResult result);
43
chromeos::
UpdateEngineClient
::UpdateStatusOperation last_operation_;
version_updater_chromeos.cc
31
using chromeos::
UpdateEngineClient
;
113
UpdateEngineClient
* update_engine_client =
142
UpdateEngineClient
* update_engine_client =
150
: last_operation_(
UpdateEngineClient
::UPDATE_STATUS_IDLE),
155
UpdateEngineClient
* update_engine_client =
161
const
UpdateEngineClient
::Status& status) {
169
UpdateEngineClient
::UpdateStatusOperation operation_to_show = status.status;
170
if (status.status ==
UpdateEngineClient
::UPDATE_STATUS_IDLE &&
172
UpdateEngineClient
::UPDATE_STATUS_CHECKING_FOR_UPDATE) {
177
case
UpdateEngineClient
::UPDATE_STATUS_ERROR
[
all
...]
/external/chromium_org/chrome/browser/chromeos/
upgrade_detector_chromeos.h
16
public chromeos::
UpdateEngineClient
::Observer {
35
// chromeos::
UpdateEngineClient
::Observer implementation.
37
const chromeos::
UpdateEngineClient
::Status& status) OVERRIDE;
upgrade_detector_chromeos.cc
19
using chromeos::
UpdateEngineClient
;
40
const
UpdateEngineClient
::Status& status) {
41
if (status.status !=
UpdateEngineClient
::UPDATE_STATUS_UPDATED_NEED_REBOOT)
/external/chromium_org/chrome/browser/extensions/api/system_private/
system_private_apitest.cc
15
using chromeos::
UpdateEngineClient
;
39
scoped_ptr<
UpdateEngineClient
>(fake_update_engine_client_));
56
UpdateEngineClient
::Status status_not_available;
57
status_not_available.status =
UpdateEngineClient
::UPDATE_STATUS_IDLE;
58
UpdateEngineClient
::Status status_updating;
59
status_updating.status =
UpdateEngineClient
::UPDATE_STATUS_DOWNLOADING;
61
UpdateEngineClient
::Status status_boot_needed;
63
UpdateEngineClient
::UPDATE_STATUS_UPDATED_NEED_REBOOT;
system_private_api.cc
79
// With
UpdateEngineClient
, we can provide more detailed information about
81
const chromeos::
UpdateEngineClient
::Status status =
88
case chromeos::
UpdateEngineClient
::UPDATE_STATUS_ERROR:
91
case chromeos::
UpdateEngineClient
::UPDATE_STATUS_IDLE:
94
case chromeos::
UpdateEngineClient
::UPDATE_STATUS_CHECKING_FOR_UPDATE:
97
case chromeos::
UpdateEngineClient
::UPDATE_STATUS_UPDATE_AVAILABLE:
100
case chromeos::
UpdateEngineClient
::UPDATE_STATUS_DOWNLOADING:
104
case chromeos::
UpdateEngineClient
::UPDATE_STATUS_VERIFYING:
108
case chromeos::
UpdateEngineClient
::UPDATE_STATUS_FINALIZING:
112
case chromeos::
UpdateEngineClient
::UPDATE_STATUS_UPDATED_NEED_REBOOT
[
all
...]
/external/chromium_org/chrome/browser/chromeos/login/screens/
update_screen_browsertest.cc
50
scoped_ptr<
UpdateEngineClient
>(fake_update_engine_client_));
131
UpdateEngineClient
::Status status;
132
status.status =
UpdateEngineClient
::UPDATE_STATUS_IDLE;
134
status.status =
UpdateEngineClient
::UPDATE_STATUS_CHECKING_FOR_UPDATE;
136
status.status =
UpdateEngineClient
::UPDATE_STATUS_IDLE;
149
UpdateEngineClient
::Status status;
150
status.status =
UpdateEngineClient
::UPDATE_STATUS_UPDATE_AVAILABLE;
154
status.status =
UpdateEngineClient
::UPDATE_STATUS_DOWNLOADING;
164
status.status =
UpdateEngineClient
::UPDATE_STATUS_VERIFYING;
167
status.status =
UpdateEngineClient
::UPDATE_STATUS_FINALIZING
[
all
...]
update_screen.cc
63
UpdateEngineClient
::UpdateCheckResult result) {
66
if (result ==
UpdateEngineClient
::UPDATE_RESULT_SUCCESS)
125
const
UpdateEngineClient
::Status& status) {
130
status.status >
UpdateEngineClient
::UPDATE_STATUS_CHECKING_FOR_UPDATE) {
134
UpdateEngineClient
::UPDATE_STATUS_IDLE) {
139
case
UpdateEngineClient
::UPDATE_STATUS_CHECKING_FOR_UPDATE:
143
case
UpdateEngineClient
::UPDATE_STATUS_UPDATE_AVAILABLE:
160
case
UpdateEngineClient
::UPDATE_STATUS_DOWNLOADING:
188
case
UpdateEngineClient
::UPDATE_STATUS_VERIFYING:
194
case
UpdateEngineClient
::UPDATE_STATUS_FINALIZING
[
all
...]
update_screen.h
30
class UpdateScreen: public
UpdateEngineClient
::Observer,
71
//
UpdateEngineClient
::Observer implementation:
73
const
UpdateEngineClient
::Status& status) OVERRIDE;
94
void UpdateDownloadingStats(const
UpdateEngineClient
::Status& status);
/external/chromium_org/chrome/browser/chromeos/system/
automatic_reboot_manager.h
74
public
UpdateEngineClient
::Observer,
102
//
UpdateEngineClient
::Observer:
104
const
UpdateEngineClient
::Status& status) OVERRIDE;
automatic_reboot_manager.cc
225
const
UpdateEngineClient
::Status& status) {
229
if (status.status !=
UpdateEngineClient
::UPDATE_STATUS_UPDATED_NEED_REBOOT ||
automatic_reboot_manager_unittest.cc
368
scoped_ptr<
UpdateEngineClient
>(update_engine_client_));
551
UpdateEngineClient
::Status client_status;
552
client_status.status =
UpdateEngineClient
::UPDATE_STATUS_UPDATED_NEED_REBOOT;
[
all
...]
/external/chromium_org/chrome/browser/chromeos/app_mode/
kiosk_app_update_service_browsertest.cc
80
UpdateEngineClient
::Status status;
81
status.status =
UpdateEngineClient
::UPDATE_STATUS_UPDATED_NEED_REBOOT;
/external/chromium_org/chrome/browser/lifetime/
application_lifetime.cc
355
chromeos::
UpdateEngineClient
* update_engine_client
358
chromeos::
UpdateEngineClient
::UPDATE_STATUS_UPDATED_NEED_REBOOT) {
/external/chromium_org/chrome/browser/automation/
testing_automation_provider_chromeos.cc
55
using chromeos::
UpdateEngineClient
;
63
UpdateEngineClient
::UpdateCheckResult result) {
64
if (result ==
UpdateEngineClient
::UPDATE_RESULT_SUCCESS)
Completed in 1004 milliseconds