/system/update_engine/ |
D | sideload_main.cc | 71 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()
|
D | update_attempter_android.h | 107 void OnVerifyProgressUpdate(double progress) override; 110 void ProgressUpdate(double progress) override; 113 void OnCleanupProgressUpdate(double progress) override;
|
D | update_attempter_android.cc | 607 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 …]
|
D | update_status_utils_unittest.cc | 33 .progress = 0.5, in TEST()
|
D | update_engine_client_android.cc | 63 Status onStatusUpdate(int status_code, float progress) override; 89 float progress) { in onStatusUpdate() argument 93 << status_code << "), " << progress << ")"; in onStatusUpdate()
|
D | binder_service_android.cc | 60 last_progress_ = update_engine_status.progress; in SendStatusUpdate() 231 void OnCleanupProgressUpdate(double progress) { in OnCleanupProgressUpdate() argument 235 progress)); in OnCleanupProgressUpdate()
|
D | service_delegate_android_interface.h | 36 virtual void OnCleanupProgressUpdate(double progress) = 0;
|
D | update_status_utils.cc | 82 key_value_store.SetString(kProgress, base::NumberToString(status.progress)); in UpdateEngineStatusToString()
|
/system/vold/ |
D | Benchmark.cpp | 127 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/ |
D | gsi_tool.cpp | 147 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 …]
|
D | partition_installer.cpp | 176 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/ |
D | filesystem_verifier_action.h | 55 virtual void OnVerifyProgressUpdate(double progress) = 0; 108 void UpdateProgress(double progress);
|
D | postinstall_runner_action.h | 58 virtual void ProgressUpdate(double progress) = 0;
|
/system/core/fs_mgr/libfiemap/include/libfiemap/ |
D | fiemap_writer.h | 51 std::function<bool(uint64_t, uint64_t)> progress = {}); 54 std::function<bool(uint64_t, uint64_t)> progress = {});
|
D | split_fiemap_writer.h | 46 ProgressCallback progress = {}); 49 ProgressCallback progress = {});
|
/system/extras/simpleperf/scripts/ |
D | report_html.js | 56 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/ |
D | split_fiemap_writer.cpp | 47 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/ |
D | cleanup_previous_update_action_delegate.h | 27 virtual void OnCleanupProgressUpdate(double progress) = 0;
|
/system/update_engine/update_manager/ |
D | real_updater_provider.cc | 79 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/ |
D | update_status.h | 82 double progress; member
|
/system/core/fs_mgr/libsnapshot/android/snapshot/ |
D | snapshot.proto | 77 // 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/ |
D | snapshot_stub.h | 33 UpdateState GetUpdateState(double* progress = nullptr) override;
|
D | mock_snapshot.h | 33 MOCK_METHOD(UpdateState, GetUpdateState, (double* progress), (override));
|
/system/update_engine/client_library/ |
D | client_dbus.cc | 52 out_status->progress = status.progress(); in ConvertToUpdateEngineStatus()
|
/system/extras/simpleperf/ |
D | README.md | 13 progress of the snap and the build.
|