Home
last modified time | relevance | path

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

12

/system/update_engine/
Dweave_service.cc85 double progress; in UpdateWeaveState() local
91 &progress, in UpdateWeaveState()
99 progress = std::floor(progress * 100.) / 100.; in UpdateWeaveState()
105 state.SetDouble("_updater.progress", progress); in UpdateWeaveState()
Dupdate_engine_client.cc129 double progress,
136 int64_t last_checked_time, double progress, UpdateStatus current_operation, in HandleStatusUpdate() argument
140 LOG(INFO) << " progress: " << progress; in HandleStatusUpdate()
149 double progress = 0.0; in ShowStatus() local
154 if (!client_->GetStatus(&last_checked_time, &progress, &current_op, in ShowStatus()
162 last_checked_time, progress, UpdateStatusToString(current_op), in ShowStatus()
170 double progress = 0.0; in GetNeedReboot() local
175 if (!client_->GetStatus(&last_checked_time, &progress, &current_op, in GetNeedReboot()
195 double progress,
Dsideload_main.cc85 double progress, in SendStatusUpdate() argument
97 if (status_ != status || fabs(progress - progress_) > 0.005) { in SendStatusUpdate()
98 ReportStatus(base::StringPrintf("set_progress %.lf", progress)); in SendStatusUpdate()
100 progress_ = progress; in SendStatusUpdate()
Dupdate_attempter_android.cc339 double progress = 0; in BytesReceived() local
341 progress = static_cast<double>(bytes_received) / static_cast<double>(total); in BytesReceived()
343 download_progress_ = progress; in BytesReceived()
346 ProgressUpdate(progress); in BytesReceived()
360 void UpdateAttempterAndroid::ProgressUpdate(double progress) { in ProgressUpdate() argument
363 if (progress == 1.0 || in ProgressUpdate()
364 progress - download_progress_ >= kBroadcastThresholdProgress || in ProgressUpdate()
367 download_progress_ = progress; in ProgressUpdate()
Dupdate_engine_client_android.cc64 Status onStatusUpdate(int status_code, float progress) override;
87 int status_code, float progress) { in onStatusUpdate() argument
91 << status_code << "), " << progress << ")"; in onStatusUpdate()
Dupdate_attempter.cc1080 double progress = 0; in BytesReceived() local
1082 progress = static_cast<double>(bytes_received) / static_cast<double>(total); in BytesReceived()
1084 download_progress_ = progress; in BytesReceived()
1087 ProgressUpdate(progress); in BytesReceived()
1120 double* progress, in GetWeaveState() argument
1125 *progress = download_progress_; in GetWeaveState()
1133 void UpdateAttempter::ProgressUpdate(double progress) { in ProgressUpdate() argument
1136 if (progress == 1.0 || in ProgressUpdate()
1137 progress - download_progress_ >= kBroadcastThresholdProgress || in ProgressUpdate()
1140 download_progress_ = progress; in ProgressUpdate()
[all …]
Dservice_observer_interface.h35 double progress,
Dbinder_service_android.cc44 double progress, in SendStatusUpdate() argument
49 last_progress_ = progress; in SendStatusUpdate()
Dupdate_attempter.h108 double* progress,
114 void ProgressUpdate(double progress) override;
125 double* progress,
Dweave_service_interface.h48 double* progress,
Ddbus_service.cc161 double progress, in SendStatusUpdate() argument
167 last_checked_time, progress, str_status, new_version, new_size); in SendStatusUpdate()
Dmock_update_attempter.h40 double* progress,
Dweave_service.h40 double progress,
/system/update_engine/client_library/
Dclient_binder.cc133 double progress, in HandleStatusUpdate() argument
142 handler->HandleStatusUpdate(last_checked_time, progress, update_status, in HandleStatusUpdate()
162 double progress; in RegisterStatusUpdateHandler() local
167 if (!GetStatus(&last_checked_time, &progress, &update_status, in RegisterStatusUpdateHandler()
172 handler->HandleStatusUpdate(last_checked_time, progress, update_status, in RegisterStatusUpdateHandler()
Dclient_dbus.cc136 double progress; in StatusUpdateHandlersRegistered() local
142 &progress, in StatusUpdateHandlersRegistered()
153 last_checked_time, progress, update_status, new_version, new_size); in StatusUpdateHandlersRegistered()
159 double progress, in RunStatusUpdateHandlers() argument
168 last_checked_time, progress, status, new_version, new_size); in RunStatusUpdateHandlers()
/system/weaved/buffet/
Dbinder_command_proxy.cc93 android::String16* progress) { in getProgress() argument
97 *progress = ToString16(command->GetProgress()); in getProgress()
111 const android::String16& progress) { in setProgress() argument
116 auto status = ParseDictionary(progress, &dict); in setProgress()
Dbinder_command_proxy.h41 android::binder::Status getProgress(android::String16* progress) override;
44 const android::String16& progress) override;
/system/core/adb/
Dbugreport.cpp146 int progress = std::stoi(line.substr(idx1, (idx2 - idx1))); in ProcessLine() local
148 br_->UpdateProgress(line_message_, progress, total); in ProcessLine()
262 void Bugreport::UpdateProgress(const std::string& message, int progress, int total) { in UpdateProgress() argument
263 int progress_percentage = (progress * 100 / total); in UpdateProgress()
Dbugreport.h46 virtual void UpdateProgress(const std::string& file_name, int progress, int total);
/system/update_engine/update_manager/
Dreal_updater_provider.cc72 inline double progress() { return progress_; } in progress() function in chromeos_update_manager::GetStatusHelper
117 if (raw.progress() < 0.0 || raw.progress() > 1.0) { in GetValue()
120 raw.progress()); in GetValue()
125 return new double(raw.progress()); in GetValue()
/system/update_engine/binder_bindings/android/brillo/
DIUpdateEngineStatusCallback.aidl21 void HandleStatusUpdate(in long last_checked_time, in double progress, in HandleStatusUpdate() argument
/system/update_engine/client_library/include/update_engine/
Dstatus_update_handler.h39 double progress,
/system/weaved/brillo/android/weave/
DIWeaveCommand.aidl29 void setProgress(in String progress); in setProgress() argument
/system/core/toolbox/upstream-netbsd/bin/dd/
Dextern.h76 extern uint64_t progress;
Dmisc.c75 if (progress) in summary()
101 if (progress) in posix_summary()

12