Home
last modified time | relevance | path

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

12

/system/update_engine/
Dsideload_main.cc71 double progress = update_engine_status.progress; in SendStatusUpdate() local
80 if (status_ != status || fabs(progress - progress_) > 0.005) { in SendStatusUpdate()
81 ReportStatus(base::StringPrintf("set_progress %.lf", progress)); in SendStatusUpdate()
83 progress_ = progress; in SendStatusUpdate()
Dupdate_engine_client.cc136 double progress,
144 double progress, in HandleStatusUpdate() argument
150 LOG(INFO) << " progress: " << progress; in HandleStatusUpdate()
159 double progress = 0.0; in ShowStatus() local
167 &progress, in ShowStatus()
185 progress, in ShowStatus()
195 double progress = 0.0; in GetNeedReboot() local
201 &progress, in GetNeedReboot()
224 double progress,
Dupdate_attempter_android.cc604 double progress = 0; in BytesReceived() local
606 progress = static_cast<double>(bytes_received) / static_cast<double>(total); in BytesReceived()
608 download_progress_ = progress; in BytesReceived()
611 ProgressUpdate(progress); in BytesReceived()
635 void UpdateAttempterAndroid::ProgressUpdate(double progress) { in ProgressUpdate() argument
638 if (progress == 1.0 || in ProgressUpdate()
639 progress - download_progress_ >= kBroadcastThresholdProgress || in ProgressUpdate()
642 download_progress_ = progress; in ProgressUpdate()
704 .progress = download_progress_, in SetStatusAndNotify()
1020 void UpdateAttempterAndroid::OnCleanupProgressUpdate(double progress) { in OnCleanupProgressUpdate() argument
[all …]
Dupdate_engine_client_android.cc63 Status onStatusUpdate(int status_code, float progress) override;
89 float progress) { in onStatusUpdate() argument
93 << status_code << "), " << progress << ")"; in onStatusUpdate()
Dupdate_attempter_android.h105 void ProgressUpdate(double progress) override;
108 void OnCleanupProgressUpdate(double progress) override;
Dbinder_service_android.cc60 last_progress_ = update_engine_status.progress; in SendStatusUpdate()
231 void OnCleanupProgressUpdate(double progress) { in OnCleanupProgressUpdate() argument
235 progress)); in OnCleanupProgressUpdate()
Dservice_delegate_android_interface.h36 virtual void OnCleanupProgressUpdate(double progress) = 0;
Ddbus_service.cc113 *out_progress = status.progress; in GetStatus()
221 update_engine_status.progress, in SendStatusUpdate()
Dupdate_attempter.cc1230 double progress = 0; in BytesReceived() local
1232 progress = static_cast<double>(bytes_received) / static_cast<double>(total); in BytesReceived()
1234 download_progress_ = progress; in BytesReceived()
1237 ProgressUpdate(progress); in BytesReceived()
1245 void UpdateAttempter::ProgressUpdate(double progress) { in ProgressUpdate() argument
1248 if (progress == 1.0 || in ProgressUpdate()
1249 progress - download_progress_ >= kBroadcastThresholdProgress || in ProgressUpdate()
1252 download_progress_ = progress; in ProgressUpdate()
1311 out_status->progress = download_progress_; in GetStatus()
/system/vold/
DBenchmark.cpp127 res |= BenchmarkCreate([&](int progress) -> bool { in benchmarkInternal() argument
129 listener->onStatus(progress, *extras); in benchmarkInternal()
154 res |= BenchmarkRun([&](int progress) -> bool { in benchmarkInternal() argument
156 listener->onStatus(progress, *extras); in benchmarkInternal()
/system/gsid/
Dgsi_tool.cpp148 void Display(const GsiProgress& progress) { in Display() argument
149 if (progress.total_bytes == 0) { in Display()
158 int percentage = (progress.bytes_processed * 100) / progress.total_bytes; in Display()
159 int64_t bytes_per_col = progress.total_bytes / kColumns; in Display()
160 uint32_t fill_count = progress.bytes_processed / bytes_per_col; in Display()
170 fprintf(stdout, "\r%-15s%6d%% ", progress.step.c_str(), percentage); in Display()
175 last_update_ = progress; in Display()
265 ProgressBar progress(gsid); in Install() local
266 progress.Display(); in Install()
290 progress.Display(); in Install()
[all …]
Dpartition_installer.cpp176 auto progress = [this](uint64_t bytes, uint64_t /* total */) -> bool { in CreateImage() local
185 return images_->CreateBackingImage(name, size, flags, std::move(progress)); in CreateImage()
203 int progress = -1; in CommitGsiChunk() local
225 if (new_progress != progress) { in CommitGsiChunk()
/system/update_engine/client_library/
Dclient_dbus.cc164 double progress; in StatusUpdateHandlersRegistered() local
170 &progress, in StatusUpdateHandlersRegistered()
181 last_checked_time, progress, update_status, new_version, new_size); in StatusUpdateHandlersRegistered()
187 double progress, in RunStatusUpdateHandlers() argument
196 last_checked_time, progress, status, new_version, new_size); in RunStatusUpdateHandlers()
Dclient_binder.cc185 double progress; in RegisterStatusUpdateHandler() local
191 &progress, in RegisterStatusUpdateHandler()
199 last_checked_time, progress, update_status, new_version, new_size); in RegisterStatusUpdateHandler()
/system/core/fs_mgr/libfiemap/include/libfiemap/
Dfiemap_writer.h51 std::function<bool(uint64_t, uint64_t)> progress = {});
54 std::function<bool(uint64_t, uint64_t)> progress = {});
Dsplit_fiemap_writer.h46 ProgressCallback progress = {});
49 ProgressCallback progress = {});
/system/extras/simpleperf/scripts/
Dreport_html.js56 this.progress = 0;
65 updateAsync(text, progress) { argument
66 progress = parseInt(progress); // Truncate float number to integer.
71 this.progress = progress;
72 this.modal.find('.progress-bar').css('width', progress + '%')
73 .attr('aria-valuenow', progress).text(progress + '%');
568 .then(() => drawViewsAsync(views, 100, (view, progress) => view.drawAsync(progress)))
750 .then(() => drawViewsAsync(views, 100, (view, progress) => view.drawAsync(progress)))
777 _drawMoreFlameGraphs(moreCount, progress) { argument
778 let initProgress = progress / (1 + moreCount);
[all …]
/system/core/fs_mgr/libfiemap/
Dsplit_fiemap_writer.cpp47 ProgressCallback progress) { in Create() argument
49 if (!Create(file_path, file_size, max_piece_size, &ret, progress).is_ok()) { in Create()
57 ProgressCallback progress) { in Create() argument
83 if (progress && !progress(actual_written, file_size)) { in Create()
/system/update_engine/common/
Dcleanup_previous_update_action_delegate.h27 virtual void OnCleanupProgressUpdate(double progress) = 0;
/system/update_engine/update_manager/
Dreal_updater_provider.cc79 inline double progress() { return update_engine_status_.progress; } in progress() function in chromeos_update_manager::GetStatusHelper
127 if (raw.progress() < 0.0 || raw.progress() > 1.0) { in GetValue()
130 StringPrintf("Invalid progress value received: %f", raw.progress()); in GetValue()
135 return new double(raw.progress()); in GetValue()
/system/update_engine/client_library/include/update_engine/
Dstatus_update_handler.h39 double progress,
Dupdate_status.h71 double progress; member
/system/core/fs_mgr/libsnapshot/android/snapshot/
Dsnapshot.proto77 // the update and before the merge allows us to infer the progress of the
83 // before the update and before the merge allows us to infer the progress of
91 // No update or merge is in progress.
124 // of sectors modified to monitor and show the progress of the merge during
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.h56 virtual void ProgressUpdate(double progress) = 0;
/system/extras/simpleperf/
DREADME.md13 progress of the snap and the build.

12