Searched refs:GetMax (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 180 EXPECT_EQ(max, ds.progress_->GetMax()) << "invalid max"; in GetProgressMessage() 664 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 669 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 676 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 684 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 689 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 695 EXPECT_EQ(13, progress.GetMax()); // 11 average * 20% growth = 13.2 = 13 in TEST_F() 703 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 708 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 714 EXPECT_EQ(18, progress.GetMax()); // 15 average * 20% growth = 18 in TEST_F() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.h | 116 int32_t GetMax() const;
|
D | dumpstate.cpp | 1479 ds.progress_->GetMax(), ds.progress_->GetInitialMax()); in dumpstate() 2071 "--ei", "android.intent.extra.MAX", std::to_string(ds.progress_->GetMax()), in run_main() 2287 "--ei", "android.intent.extra.MAX", std::to_string(ds.progress_->GetMax()), in run_main() 2321 MYLOGD("Final progress: %d/%d (estimated %d)\n", ds.progress_->Get(), ds.progress_->GetMax(), in run_main()
|
D | utils.cpp | 204 int32_t Progress::GetMax() const { in GetMax() function in Progress 1090 int max = progress_->GetMax(); in UpdateProgress()
|