Searched refs:GetMax (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 178 EXPECT_EQ(max, ds.progress_->GetMax()) << "invalid max"; in GetProgressMessage() 604 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 609 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 616 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 624 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 629 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 635 EXPECT_EQ(13, progress.GetMax()); // 11 average * 20% growth = 13.2 = 13 in TEST_F() 643 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 648 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 654 EXPECT_EQ(18, progress.GetMax()); // 15 average * 20% growth = 18 in TEST_F() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.h | 112 int32_t GetMax() const;
|
D | dumpstate.cpp | 1160 ds.progress_->GetMax(), ds.progress_->GetInitialMax()); in dumpstate() 1615 "--ei", "android.intent.extra.MAX", std::to_string(ds.progress_->GetMax()), in main() 1829 "--ei", "android.intent.extra.MAX", std::to_string(ds.progress_->GetMax()), in main() 1863 MYLOGD("Final progress: %d/%d (estimated %d)\n", ds.progress_->Get(), ds.progress_->GetMax(), in main()
|
D | utils.cpp | 229 int32_t Progress::GetMax() const { in GetMax() function in Progress 1047 int max = progress_->GetMax(); in UpdateProgress()
|