Home
last modified time | relevance | path

Searched refs:consent_file_ (Results 1 – 5 of 5) sorted by relevance

/system/core/metricsd/
Dmetrics_library_test.cc38 ASSERT_EQ(base::WriteFile(lib_.consent_file_, "", 0), 0); in SetMetricsConsent()
40 ASSERT_TRUE(base::DeleteFile(lib_.consent_file_, false)); in SetMetricsConsent()
Dmetrics_library.cc148 cached_enabled_ = stat(consent_file_.value().data(), &stat_buffer) >= 0; in AreMetricsEnabled()
155 consent_file_ = dir.Append(metrics::kConsentFileName); in Init()
167 consent_file_ = metrics_directory.Append(metrics::kConsentFileName); in InitForTest()
/system/core/metricsd/uploader/
Dupload_service.cc59 consent_file_ = shared_metrics_directory.Append(metrics::kConsentFileName); in UploadService()
254 return base::PathExists(consent_file_); in AreMetricsEnabled()
Dupload_service.h176 base::FilePath consent_file_; variable
/system/core/metricsd/include/metrics/
Dmetrics_library.h170 base::FilePath consent_file_; variable