Home
last modified time | relevance | path

Searched refs:counters_ (Results 1 – 7 of 7) sorted by relevance

/system/core/metricsd/uploader/
Dbn_metricsd_impl.cc34 : counters_(counters) { in BnMetricsdImpl()
35 CHECK(counters_) << "Invalid counters argument to constructor"; in BnMetricsdImpl()
82 counters_->IncrementUserCrashCount(); in recordCrash()
84 counters_->IncrementKernelCrashCount(); in recordCrash()
86 counters_->IncrementUncleanShutdownCount(); in recordCrash()
Dupload_service.cc53 counters_(new CrashCounters), in UploadService()
56 metricsd_service_runner_(counters_) { in UploadService()
189 unsigned int kernel_crashes = counters_->GetAndResetKernelCrashCount(); in GatherHistograms()
190 unsigned int unclean_shutdowns = counters_->GetAndResetUncleanShutdownCount(); in GatherHistograms()
191 unsigned int user_crashes = counters_->GetAndResetUserCrashCount(); in GatherHistograms()
Dupload_service_test.cc59 counters_ = upload_service_->counters_; in SetUp()
100 std::shared_ptr<CrashCounters> counters_; member in UploadServiceTest
200 counters_->IncrementUserCrashCount(); in TEST_F()
206 counters_->IncrementKernelCrashCount(); in TEST_F()
212 counters_->IncrementUncleanShutdownCount(); in TEST_F()
213 counters_->IncrementUncleanShutdownCount(); in TEST_F()
Dmetricsd_service_runner.cc30 : counters_(counters) {} in MetricsdServiceRunner()
37 android::sp<BnMetricsdImpl> metrics_service(new BnMetricsdImpl(counters_)); in Run()
Dmetricsd_service_runner.h46 std::shared_ptr<CrashCounters> counters_; variable
Dbn_metricsd_impl.h51 std::shared_ptr<CrashCounters> counters_;
Dupload_service.h169 std::shared_ptr<CrashCounters> counters_; variable