Home
last modified time | relevance | path

Searched refs:listener_ (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/cmds/dumpstate/
DDumpstateSectionReporter.cpp28 : title_(title), listener_(listener), sendReport_(sendReport), status_(OK), size_(-1) { in DumpstateSectionReporter()
33 if ((listener_ != nullptr) && (sendReport_)) { in ~DumpstateSectionReporter()
36 listener_->onSectionComplete(title_, status_, size_, (int32_t)elapsed.count()); in ~DumpstateSectionReporter()
DDumpstateService.cpp67 if (ds_.listener_ != nullptr) { in setListener()
73 ds_.listener_ = listener; in setListener()
DDumpstateSectionReporter.h54 android::sp<android::os::IDumpstateListener> listener_; variable
Dutils.cpp1093 if (max_changed && listener_ != nullptr) { in UpdateProgress()
1094 listener_->onMaxProgressUpdated(max); in UpdateProgress()
1108 if (listener_ != nullptr) { in UpdateProgress()
1117 listener_->onProgressUpdated(progress); in UpdateProgress()
Ddumpstate.h360 android::sp<android::os::IDumpstateListener> listener_; variable
Ddumpstate.cpp1120 DumpstateSectionReporter section_reporter(path, ds.listener_, ds.report_section_); in RunDumpsysTextByPriority()
1191 DumpstateSectionReporter section_reporter(path, ds.listener_, ds.report_section_); in RunDumpsysProto()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp346 ds.listener_ = listener; in TEST_F()
378 ds.listener_.clear(); in TEST_F()
383 ds.listener_ = listener; in TEST_F()
414 ds.listener_.clear(); in TEST_F()
583 ds.listener_ = listener; in TEST_F()
595 ds.listener_.clear(); in TEST_F()
637 Dumpstate::GetInstance().listener_ = nullptr; in TEST_F()
Ddumpstate_smoke_test.cpp96 ds.listener_ = listener; in SetUpTestCase()