Home
last modified time | relevance | path

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

123

/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_attempter_android.h107 void OnVerifyProgressUpdate(double progress) override;
110 void ProgressUpdate(double progress) override;
113 void OnCleanupProgressUpdate(double progress) override;
Dupdate_attempter_android.cc607 double progress = 0; in BytesReceived() local
609 progress = static_cast<double>(bytes_received) / static_cast<double>(total); in BytesReceived()
611 download_progress_ = progress; in BytesReceived()
614 ProgressUpdate(progress); in BytesReceived()
638 void UpdateAttempterAndroid::ProgressUpdate(double progress) { in ProgressUpdate() argument
641 if (progress == 1.0 || in ProgressUpdate()
642 progress - download_progress_ >= kBroadcastThresholdProgress || in ProgressUpdate()
645 download_progress_ = progress; in ProgressUpdate()
650 void UpdateAttempterAndroid::OnVerifyProgressUpdate(double progress) { in OnVerifyProgressUpdate() argument
652 ProgressUpdate(progress); in OnVerifyProgressUpdate()
[all …]
Dupdate_status_utils_unittest.cc33 .progress = 0.5, in TEST()
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()
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;
Dupdate_status_utils.cc82 key_value_store.SetString(kProgress, base::NumberToString(status.progress)); in UpdateEngineStatusToString()
/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.cpp147 void Display(const GsiProgress& progress) { in Display() argument
148 if (progress.total_bytes == 0) { in Display()
157 int percentage = (progress.bytes_processed * 100) / progress.total_bytes; in Display()
158 int64_t bytes_per_col = progress.total_bytes / kColumns; in Display()
159 uint32_t fill_count = progress.bytes_processed / bytes_per_col; in Display()
169 fprintf(stdout, "\r%-15s%6d%% ", progress.step.c_str(), percentage); in Display()
174 last_update_ = progress; in Display()
264 ProgressBar progress(gsid); in Install() local
265 progress.Display(); in Install()
289 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/payload_consumer/
Dfilesystem_verifier_action.h55 virtual void OnVerifyProgressUpdate(double progress) = 0;
108 void UpdateProgress(double progress);
Dpostinstall_runner_action.h58 virtual void ProgressUpdate(double progress) = 0;
/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/
Dupdate_status.h82 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/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot_stub.h33 UpdateState GetUpdateState(double* progress = nullptr) override;
Dmock_snapshot.h33 MOCK_METHOD(UpdateState, GetUpdateState, (double* progress), (override));
/system/update_engine/client_library/
Dclient_dbus.cc52 out_status->progress = status.progress(); in ConvertToUpdateEngineStatus()
/system/extras/simpleperf/
DREADME.md13 progress of the snap and the build.

123