Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp552 EXPECT_EQ(max, ds.progress_->GetMax()) << "invalid max"; in GetProgressMessage()
1104 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1109 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1116 EXPECT_EQ(Progress::kDefaultMax, progress.GetMax()); in TEST_F()
1124 EXPECT_EQ(10, progress.GetMax()); in TEST_F()
1129 EXPECT_EQ(10, progress.GetMax()); in TEST_F()
1135 EXPECT_EQ(13, progress.GetMax()); // 11 average * 20% growth = 13.2 = 13 in TEST_F()
1143 EXPECT_EQ(10, progress.GetMax()); in TEST_F()
1148 EXPECT_EQ(10, progress.GetMax()); in TEST_F()
1154 EXPECT_EQ(18, progress.GetMax()); // 15 average * 20% growth = 18 in TEST_F()
[all …]
/frameworks/native/cmds/dumpstate/
Ddumpstate.h124 int32_t GetMax() const;
Ddumpstate.cpp1578 ds.progress_->GetMax(), ds.progress_->GetInitialMax()); in DumpstateLimitedOnly()
1851 ds.progress_->GetMax(), ds.progress_->GetInitialMax()); in dumpstate()
3460 MYLOGD("Final progress: %d/%d (estimated %d)\n", progress_->Get(), progress_->GetMax(), in RunInternal()
3920 int32_t Progress::GetMax() const { in GetMax() function in Progress
4599 int max = progress_->GetMax(); in UpdateProgress()