Home
last modified time | relevance | path

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

12

/system/gsid/
Dgsi_tool.cpp161 void Display(const GsiProgress& progress) { in Display() argument
162 if (progress.total_bytes == 0) { in Display()
171 int percentage = (progress.bytes_processed * 100) / progress.total_bytes; in Display()
172 int64_t bytes_per_col = progress.total_bytes / kColumns; in Display()
173 uint32_t fill_count = progress.bytes_processed / bytes_per_col; in Display()
183 fprintf(stdout, "\r%-15s%6d%% ", progress.step.c_str(), percentage); in Display()
188 last_update_ = progress; in Display()
275 ProgressBar progress(gsid); in Install() local
276 progress.Display(); in Install()
288 progress.Display(); in Install()
[all …]
/system/update_engine/
Dsideload_main.cc82 double progress = update_engine_status.progress; in SendStatusUpdate() local
91 if (status_ != status || fabs(progress - progress_) > 0.005) { in SendStatusUpdate()
92 ReportStatus(base::StringPrintf("set_progress %.lf", progress)); in SendStatusUpdate()
94 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.cc522 double progress = 0; in BytesReceived() local
524 progress = static_cast<double>(bytes_received) / static_cast<double>(total); in BytesReceived()
526 download_progress_ = progress; in BytesReceived()
529 ProgressUpdate(progress); in BytesReceived()
553 void UpdateAttempterAndroid::ProgressUpdate(double progress) { in ProgressUpdate() argument
556 if (progress == 1.0 || in ProgressUpdate()
557 progress - download_progress_ >= kBroadcastThresholdProgress || in ProgressUpdate()
560 download_progress_ = progress; in ProgressUpdate()
613 .progress = download_progress_, in SetStatusAndNotify()
Dupdate_engine_client_android.cc63 Status onStatusUpdate(int status_code, float progress) override;
86 float progress) { in onStatusUpdate() argument
90 << status_code << "), " << progress << ")"; in onStatusUpdate()
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()
Dparcelable_update_engine_status_unittest.cc51 EXPECT_EQ(ue_status.progress, parcelable_status.progress_); in TEST()
Dparcelable_update_engine_status.cc32 progress_(status.progress), in ParcelableUpdateEngineStatus()
Dupdate_attempter_android.h91 void ProgressUpdate(double progress) override;
/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()
DMoveStorage.cpp51 static void notifyProgress(int progress, in notifyProgress() argument
55 listener->onStatus(progress, extras); in notifyProgress()
/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()
Dclient_dbus.h97 double 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/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.h70 double progress; member
/system/core/fs_mgr/libfiemap_writer/
Dsplit_fiemap_writer.cpp47 ProgressCallback progress) { in Create() argument
68 if (progress && !progress(actual_written, file_size)) { in Create()
/system/core/fs_mgr/libfiemap_writer/include/libfiemap_writer/
Dfiemap_writer.h49 std::function<bool(uint64_t, uint64_t)> progress = {});
Dsplit_fiemap_writer.h45 ProgressCallback progress = {});
/system/update_engine/payload_consumer/
Dpostinstall_runner_action.h56 virtual void ProgressUpdate(double progress) = 0;
/system/core/adb/client/
Dbugreport.cpp150 int progress = std::stoi(line.substr(idx1, (idx2 - idx1))); in ProcessLine() local
152 int progress_percentage = (progress * 100 / total); in ProcessLine()
/system/iorap/docs/binder/
DIIorap_setTaskListener.plantuml37 iorapd -> iorapd : workload in progress

12