Searched refs:GetMax (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 575 EXPECT_EQ(max, ds.progress_->GetMax()) << "invalid max"; in GetProgressMessage() 1034 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 1039 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 1046 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F() 1054 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 1059 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 1065 EXPECT_EQ(13, progress.GetMax()); // 11 average * 20% growth = 13.2 = 13 in TEST_F() 1073 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 1078 EXPECT_EQ(10, progress.GetMax()); in TEST_F() 1084 EXPECT_EQ(18, progress.GetMax()); // 15 average * 20% growth = 18 in TEST_F() [all …]
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.h | 124 int32_t GetMax() const;
|
D | dumpstate.cpp | 1429 ds.progress_->GetMax(), ds.progress_->GetInitialMax()); in DumpstateLimitedOnly() 1638 ds.progress_->GetMax(), ds.progress_->GetInitialMax()); in dumpstate() 2795 MYLOGD("Final progress: %d/%d (estimated %d)\n", progress_->Get(), progress_->GetMax(), in RunInternal() 3102 int32_t Progress::GetMax() const { in GetMax() function in Progress 3749 int max = progress_->GetMax(); in UpdateProgress()
|