Home
last modified time | relevance | path

Searched refs:system_profile (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/chrome/browser/metrics/
Dchromeos_metrics_provider_unittest.cc134 metrics::SystemProfileProto system_profile; in TEST_F() local
135 provider.ProvideSystemProfileMetrics(&system_profile); in TEST_F()
136 EXPECT_EQ(2u, system_profile.multi_profile_user_count()); in TEST_F()
156 metrics::SystemProfileProto system_profile; in TEST_F() local
157 provider.ProvideSystemProfileMetrics(&system_profile); in TEST_F()
158 EXPECT_EQ(1u, system_profile.multi_profile_user_count()); in TEST_F()
161 provider.ProvideSystemProfileMetrics(&system_profile); in TEST_F()
162 EXPECT_EQ(0u, system_profile.multi_profile_user_count()); in TEST_F()
168 metrics::SystemProfileProto system_profile; in TEST_F() local
169 provider.ProvideSystemProfileMetrics(&system_profile); in TEST_F()
[all …]
Dplugin_metrics_provider_unittest.cc81 metrics::SystemProfileProto system_profile; in TEST_F() local
82 provider.ProvideSystemProfileMetrics(&system_profile); in TEST_F()
84 ASSERT_EQ(2, system_profile.plugin_size()); in TEST_F()
85 EXPECT_EQ("p1", system_profile.plugin(0).name()); in TEST_F()
86 EXPECT_EQ("p1.plugin", system_profile.plugin(0).filename()); in TEST_F()
87 EXPECT_EQ("1.5", system_profile.plugin(0).version()); in TEST_F()
88 EXPECT_TRUE(system_profile.plugin(0).is_pepper()); in TEST_F()
89 EXPECT_EQ("p2", system_profile.plugin(1).name()); in TEST_F()
90 EXPECT_EQ("p2.plugin", system_profile.plugin(1).filename()); in TEST_F()
91 EXPECT_EQ("2.0", system_profile.plugin(1).version()); in TEST_F()
[all …]
Dextensions_metrics_provider_unittest.cc104 metrics::SystemProfileProto system_profile; in TEST() local
114 extension_metrics.ProvideSystemProfileMetrics(&system_profile); in TEST()
115 ASSERT_EQ(2, system_profile.occupied_extension_bucket_size()); in TEST()
116 EXPECT_EQ(10, system_profile.occupied_extension_bucket(0)); in TEST()
117 EXPECT_EQ(1007, system_profile.occupied_extension_bucket(1)); in TEST()
Dextensions_metrics_provider.cc176 metrics::SystemProfileProto* system_profile) { in ProvideSystemProfileMetrics() argument
177 ProvideOffStoreMetric(system_profile); in ProvideSystemProfileMetrics()
178 ProvideOccupiedBucketMetric(system_profile); in ProvideSystemProfileMetrics()
182 metrics::SystemProfileProto* system_profile) { in ProvideOffStoreMetric() argument
206 system_profile->set_offstore_extensions_state(ExtensionStateAsProto(state)); in ProvideOffStoreMetric()
210 metrics::SystemProfileProto* system_profile) { in ProvideOccupiedBucketMetric() argument
233 system_profile->add_occupied_extension_bucket(*it); in ProvideOccupiedBucketMetric()
Dextensions_metrics_provider.h38 metrics::SystemProfileProto* system_profile) OVERRIDE;
62 void ProvideOffStoreMetric(metrics::SystemProfileProto* system_profile);
66 void ProvideOccupiedBucketMetric(metrics::SystemProfileProto* system_profile);
/external/chromium_org/components/metrics/
Dmetrics_log.cc75 SystemProfileProto* system_profile) { in WriteFieldTrials() argument
79 system_profile->add_field_trial(); in WriteFieldTrials()
111 SystemProfileProto* system_profile = uma_proto_.mutable_system_profile(); in MetricsLog() local
112 system_profile->set_build_timestamp(GetBuildTime()); in MetricsLog()
113 system_profile->set_app_version(client_->GetVersionString()); in MetricsLog()
114 system_profile->set_channel(client_->GetChannel()); in MetricsLog()
238 SystemProfileProto* system_profile = uma_proto()->mutable_system_profile(); in RecordStabilityMetrics() local
240 metrics_providers[i]->ProvideStabilityMetrics(system_profile); in RecordStabilityMetrics()
265 system_profile->mutable_stability(); in RecordStabilityMetrics()
287 return uma_proto()->system_profile().has_uma_enabled_date(); in HasEnvironment()
[all …]
Dmetrics_log_unittest.cc62 const metrics::SystemProfileProto& system_profile() const { in system_profile() function in metrics::__anon3b0e5d480111::TestMetricsLog
63 return uma_proto().system_profile(); in system_profile()
103 void CheckSystemProfile(const metrics::SystemProfileProto& system_profile) { in CheckSystemProfile() argument
104 EXPECT_EQ(kInstallDateExpected, system_profile.install_date()); in CheckSystemProfile()
105 EXPECT_EQ(kEnabledDateExpected, system_profile.uma_enabled_date()); in CheckSystemProfile()
108 static_cast<size_t>(system_profile.field_trial_size())); in CheckSystemProfile()
111 system_profile.field_trial(i); in CheckSystemProfile()
118 system_profile.field_trial(i + arraysize(kFieldTrialIds)); in CheckSystemProfile()
124 system_profile.brand_code()); in CheckSystemProfile()
127 system_profile.hardware(); in CheckSystemProfile()
[all …]
Dmetrics_service_unittest.cc241 EXPECT_EQ(0, uma_log.system_profile().stability().crash_count()); in TEST_F()
296 EXPECT_EQ(1, uma_log.system_profile().stability().crash_count()); in TEST_F()
/external/chromium_org/components/metrics/proto/
Dchrome_user_metrics_extension.proto16 import "system_profile.proto";
50 optional SystemProfileProto system_profile = 3; field
DBUILD.gn17 "system_profile.proto",
/external/chromium_org/components/metrics/gpu/
Dgpu_metrics_provider_unittest.cc61 uma_proto.system_profile().hardware(); in TEST_F()
/external/chromium_org/components/metrics/net/
Dnetwork_metrics_provider.h32 metrics::SystemProfileProto* system_profile) OVERRIDE;
Dnetwork_metrics_provider.cc44 SystemProfileProto* system_profile) { in ProvideSystemProfileMetrics() argument
45 SystemProfileProto::Network* network = system_profile->mutable_network(); in ProvideSystemProfileMetrics()
/external/chromium_org/components/
Dmetrics.gypi145 'metrics/proto/system_profile.proto',
/external/lldb/examples/python/
Dcrashlog.py215 self.system_profile = list()
361 self.system_profile.append(line)