Searched refs:GetMax (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 629 EXPECT_EQ(max, ds.progress_->GetMax()) << "invalid max"; in GetProgressMessage() 1169 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 1174 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 1181 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 1189 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 1194 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 1200 EXPECT_EQ(13, progress.GetMax()); // 11 average * 20% growth = 13.2 = 13 in TEST_F() 1208 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 1213 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 1219 EXPECT_EQ(18, progress.GetMax()); // 15 average * 20% growth = 18 in TEST_F() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.h | 121 int32_t GetMax() const;
|
D | utils.cpp | 208 int32_t Progress::GetMax() const { in GetMax() function in Progress 843 int max = progress_->GetMax(); in UpdateProgress()
|
D | dumpstate.cpp | 1520 ds.progress_->GetMax(), ds.progress_->GetInitialMax()); in dumpstate() 2188 "--ei", "android.intent.extra.MAX", std::to_string(ds.progress_->GetMax()), in SendBugreportFinishedBroadcast() 2606 "--ei", "android.intent.extra.MAX", std::to_string(progress_->GetMax()), in RunInternal() 2757 MYLOGD("Final progress: %d/%d (estimated %d)\n", progress_->Get(), progress_->GetMax(), in RunInternal()
|