Home
last modified time | relevance | path

Searched refs:progress_percentage (Results 1 – 3 of 3) sorted by relevance

/system/core/adb/client/
Dbugreport.cpp152 int progress_percentage = (progress * 100 / total); in ProcessLine() local
153 if (progress_percentage != 0 && progress_percentage <= last_progress_percentage_) { in ProcessLine()
157 last_progress_percentage_ = progress_percentage; in ProcessLine()
158 br_->UpdateProgress(line_message_, progress_percentage); in ProcessLine()
272 void Bugreport::UpdateProgress(const std::string& message, int progress_percentage) { in UpdateProgress() argument
274 android::base::StringPrintf("[%3d%%] %s", progress_percentage, message.c_str()), in UpdateProgress()
Dbugreport.h45 virtual void UpdateProgress(const std::string& file_name, int progress_percentage);
/system/core/adb/
Dbugreport_test.cpp143 void ExpectProgress(int progress_percentage, const std::string& file = "file.zip") { in ExpectProgress() argument
144 EXPECT_CALL(br_, UpdateProgress(StrEq("generating " + file), progress_percentage)); in ExpectProgress()