Home
last modified time | relevance | path

Searched refs:progress_ (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp1524 printf("== Final progress (pid %d): %d/%d (estimated %d)\n", ds.pid_, ds.progress_->Get(), in dumpstate()
1525 ds.progress_->GetMax(), ds.progress_->GetInitialMax()); in dumpstate()
2259 "--ei", "android.intent.extra.MAX", std::to_string(ds.progress_->GetMax()), in SendBugreportFinishedBroadcast()
2618 progress_.reset(new Progress(stats_path)); in RunInternal()
2684 "--ei", "android.intent.extra.MAX", std::to_string(progress_->GetMax()), in RunInternal()
2830 MYLOGD("Final progress: %d/%d (estimated %d)\n", progress_->Get(), progress_->GetMax(), in RunInternal()
2831 progress_->GetInitialMax()); in RunInternal()
2832 progress_->Save(); in RunInternal()
3007 progress_ = progress; in Progress()
3012 progress_(0), in Progress()
[all …]
Ddumpstate.h143 int32_t progress_; variable
412 std::unique_ptr<Progress> progress_; variable
DDumpstateService.cpp205 ds_->progress_->Dump(fd, " "); in dump()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp588 ds.progress_.reset(new Progress()); in SetUp()
616 ds.progress_.reset(new Progress(initial_max, progress, 1.2)); in SetProgress()
621 EXPECT_EQ(progress, ds.progress_->Get()) << "invalid progress"; in GetProgressMessage()
622 EXPECT_EQ(max, ds.progress_->GetMax()) << "invalid max"; in GetProgressMessage()