Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dbugreport.cpp154 int progress_percentage = (progress * 100 / total); in ProcessLine() local
155 if (progress_percentage != 0 && progress_percentage <= last_progress_percentage_) { in ProcessLine()
159 last_progress_percentage_ = progress_percentage; in ProcessLine()
160 br_->UpdateProgress(line_message_, progress_percentage); in ProcessLine()
284 void Bugreport::UpdateProgress(const std::string& message, int progress_percentage) { in UpdateProgress() argument
286 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);
/packages/modules/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()