Searched defs:progress (Results 1 - 17 of 17) sorted by relevance

/system/update_engine/
H A Dbinder_service_android.cc44 double progress,
49 last_progress_ = progress;
42 SendStatusUpdate( int64_t , double progress, update_engine::UpdateStatus status, const std::string& , int64_t ) argument
H A Dweave_service.cc66 double /* progress */,
85 double progress; local
91 &progress,
97 // Round to progress to 1% (0.01) to avoid excessive and meaningless state
99 progress = std::floor(progress * 100.) / 100.;
105 state.SetDouble("_updater.progress", progress);
H A Dupdate_engine_client_android.cc64 Status onStatusUpdate(int status_code, float progress) override;
87 int status_code, float progress) {
91 << status_code << "), " << progress << ")"; local
109 DEFINE_bool(update, false, "Start a new update, if no update in progress.");
86 onStatusUpdate( int status_code, float progress) argument
H A Dbinder_service_brillo.cc213 double progress,
220 progress,
211 SendStatusUpdate( int64_t last_checked_time, double progress, update_engine::UpdateStatus status, const string& new_version, int64_t new_size) argument
H A Ddbus_service.cc161 double progress,
167 last_checked_time, progress, str_status, new_version, new_size);
160 SendStatusUpdate(int64_t last_checked_time, double progress, update_engine::UpdateStatus status, const string& new_version, int64_t new_size) argument
H A Dupdate_engine_client.cc129 double progress,
136 int64_t last_checked_time, double progress, UpdateStatus current_operation,
140 LOG(INFO) << " progress: " << progress;
149 double progress = 0.0; local
154 if (!client_->GetStatus(&last_checked_time, &progress, &current_op,
162 last_checked_time, progress, UpdateStatusToString(current_op),
170 double progress = 0.0; local
175 if (!client_->GetStatus(&last_checked_time, &progress, &current_op,
195 double progress,
135 HandleStatusUpdate( int64_t last_checked_time, double progress, UpdateStatus current_operation, const string& new_version, int64_t new_size) argument
[all...]
H A Dupdate_attempter_android.cc58 // Minimum threshold to broadcast an status update in progress and time.
168 LOG(WARNING) << "Unable to reset the update progress.";
308 LOG(INFO) << "Resetting update progress.";
327 // Reset download progress regardless of whether or not the download
345 double progress = 0; local
347 progress = static_cast<double>(bytes_received) / static_cast<double>(total);
349 download_progress_ = progress;
352 ProgressUpdate(progress);
366 void UpdateAttempterAndroid::ProgressUpdate(double progress) { argument
367 // Self throttle based on progress
[all...]
H A Dupdate_attempter.cc91 // Minimum threshold to broadcast an status update in progress and time.
285 // Update in progress. Do nothing
1013 // Reset download progress regardless of whether or not the download
1080 double progress = 0; local
1082 progress = static_cast<double>(bytes_received) / static_cast<double>(total);
1084 download_progress_ = progress;
1087 ProgressUpdate(progress);
1120 double* progress,
1125 *progress = download_progress_;
1133 void UpdateAttempter::ProgressUpdate(double progress) { argument
1119 GetWeaveState(int64_t* last_checked_time, double* progress, UpdateStatus* update_status, string* current_channel, string* tracking_channel) argument
1194 GetStatus(int64_t* last_checked_time, double* progress, string* current_operation, string* new_version, int64_t* new_payload_size) argument
[all...]
/system/vold/
H A DMoveTask.cpp58 static void notifyProgress(int progress) { argument
60 StringPrintf("%d", progress).c_str(), false);
/system/weaved/buffet/
H A Dbinder_command_proxy.cc93 android::String16* progress) {
97 *progress = ToString16(command->GetProgress());
111 const android::String16& progress) {
116 auto status = ParseDictionary(progress, &dict);
92 getProgress( android::String16* progress) argument
110 setProgress( const android::String16& progress) argument
/system/weaved/libweaved/
H A Dcommand.cc133 bool Command::SetProgress(const base::DictionaryValue& progress, argument
135 return StatusToError(binder_proxy_->setProgress(ToString16(progress)), error);
/system/core/adb/
H A Dbugreport.cpp146 int progress = std::stoi(line.substr(idx1, (idx2 - idx1))); local
148 br_->UpdateProgress(line_message_, progress, total);
173 // Whether PROGRESS_LINES should be interpreted as progress.
249 // 1.0 does not support progress notifications, so print a disclaimer
252 "Bugreport is in progress and it could take minutes to complete.\n"
262 void Bugreport::UpdateProgress(const std::string& message, int progress, int total) { argument
263 int progress_percentage = (progress * 100 / total);
H A Dbugreport_test.cpp147 void ExpectProgress(int progress, int total, const std::string& file = "file.zip") { argument
148 EXPECT_CALL(br_, UpdateProgress(StrEq("generating " + file), progress, total));
219 // Tests 'adb bugreport file.zip' when it succeeds and device does not support progress.
234 // multiple buffer writers and without progress updates.
249 // Tests 'adb bugreport file.zip' when it succeeds and displays progress.
266 // Multiple progress lines in one write
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Ddd.c86 uint64_t progress = 0; /* display sign of life */ variable
578 if (progress && (st.out_full + st.out_part) % progress == 0)
/system/update_engine/client_library/
H A Dclient_binder.cc133 double progress,
142 handler->HandleStatusUpdate(last_checked_time, progress, update_status,
162 double progress; local
167 if (!GetStatus(&last_checked_time, &progress, &update_status,
172 handler->HandleStatusUpdate(last_checked_time, progress, update_status,
131 HandleStatusUpdate( int64_t last_checked_time, double progress, const String16& current_operation, const String16& new_version, int64_t new_size) argument
H A Dclient_dbus.cc136 double progress; local
142 &progress,
153 last_checked_time, progress, update_status, new_version, new_size);
159 double progress,
168 last_checked_time, progress, status, new_version, new_size);
157 RunStatusUpdateHandlers( int64_t last_checked_time, double progress, const string& current_operation, const string& new_version, int64_t new_size) argument
/system/update_engine/update_manager/
H A Dreal_updater_provider.cc72 inline double progress() { return progress_; } function in class:chromeos_update_manager::GetStatusHelper
104 // A variable reporting the update (download) progress as a decimal fraction
117 if (raw.progress() < 0.0 || raw.progress() > 1.0) {
119 *errmsg = StringPrintf("Invalid progress value received: %f",
120 raw.progress());
125 return new double(raw.progress());
428 var_progress_(new ProgressVariable("progress", system_state_)),

Completed in 185 milliseconds