Searched refs:counters_ (Results 1 – 7 of 7) sorted by relevance
34 : 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()
53 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()
59 counters_ = upload_service_->counters_; in SetUp()100 std::shared_ptr<CrashCounters> counters_; member in UploadServiceTest200 counters_->IncrementUserCrashCount(); in TEST_F()206 counters_->IncrementKernelCrashCount(); in TEST_F()212 counters_->IncrementUncleanShutdownCount(); in TEST_F()213 counters_->IncrementUncleanShutdownCount(); in TEST_F()
30 : counters_(counters) {} in MetricsdServiceRunner()37 android::sp<BnMetricsdImpl> metrics_service(new BnMetricsdImpl(counters_)); in Run()
46 std::shared_ptr<CrashCounters> counters_; variable
51 std::shared_ptr<CrashCounters> counters_;
169 std::shared_ptr<CrashCounters> counters_; variable