/external/chromium_org/chrome/browser/metrics/ |
extensions_metrics_provider_unittest.cc | 14 #include "components/metrics/proto/system_profile.pb.h" 104 metrics::SystemProfileProto system_profile; local 114 extension_metrics.ProvideSystemProfileMetrics(&system_profile); 115 ASSERT_EQ(2, system_profile.occupied_extension_bucket_size()); 116 EXPECT_EQ(10, system_profile.occupied_extension_bucket(0)); 117 EXPECT_EQ(1007, system_profile.occupied_extension_bucket(1));
|
chromeos_metrics_provider_unittest.cc | 23 #include "components/metrics/proto/system_profile.pb.h" 134 metrics::SystemProfileProto system_profile; local 135 provider.ProvideSystemProfileMetrics(&system_profile); 136 EXPECT_EQ(2u, system_profile.multi_profile_user_count()); 156 metrics::SystemProfileProto system_profile; local 157 provider.ProvideSystemProfileMetrics(&system_profile); 158 EXPECT_EQ(1u, system_profile.multi_profile_user_count()); 161 provider.ProvideSystemProfileMetrics(&system_profile); 162 EXPECT_EQ(0u, system_profile.multi_profile_user_count()); 168 metrics::SystemProfileProto system_profile; local 185 metrics::SystemProfileProto system_profile; local 215 metrics::SystemProfileProto system_profile; local [all...] |
plugin_metrics_provider_unittest.cc | 16 #include "components/metrics/proto/system_profile.pb.h" 81 metrics::SystemProfileProto system_profile; local 82 provider.ProvideSystemProfileMetrics(&system_profile); 84 ASSERT_EQ(2, system_profile.plugin_size()); 85 EXPECT_EQ("p1", system_profile.plugin(0).name()); 86 EXPECT_EQ("p1.plugin", system_profile.plugin(0).filename()); 87 EXPECT_EQ("1.5", system_profile.plugin(0).version()); 88 EXPECT_TRUE(system_profile.plugin(0).is_pepper()); 89 EXPECT_EQ("p2", system_profile.plugin(1).name()); 90 EXPECT_EQ("p2.plugin", system_profile.plugin(1).filename()) 165 metrics::SystemProfileProto system_profile; local [all...] |
/external/chromium_org/components/metrics/ |
metrics_log_unittest.cc | 62 const metrics::SystemProfileProto& system_profile() const { function in class:metrics::__anon11208::TestMetricsLog 63 return uma_proto().system_profile(); 103 void CheckSystemProfile(const metrics::SystemProfileProto& system_profile) { 104 EXPECT_EQ(kInstallDateExpected, system_profile.install_date()); 105 EXPECT_EQ(kEnabledDateExpected, system_profile.uma_enabled_date()); 108 static_cast<size_t>(system_profile.field_trial_size())); 111 system_profile.field_trial(i); 118 system_profile.field_trial(i + arraysize(kFieldTrialIds)); 124 system_profile.brand_code()); 127 system_profile.hardware() [all...] |
metrics_log.cc | 30 #include "components/metrics/proto/system_profile.pb.h" 75 SystemProfileProto* system_profile) { 79 system_profile->add_field_trial(); 111 SystemProfileProto* system_profile = uma_proto_.mutable_system_profile(); local 112 system_profile->set_build_timestamp(GetBuildTime()); 113 system_profile->set_app_version(client_->GetVersionString()); 114 system_profile->set_channel(client_->GetChannel()); 238 SystemProfileProto* system_profile = uma_proto()->mutable_system_profile(); local 240 metrics_providers[i]->ProvideStabilityMetrics(system_profile); 265 system_profile->mutable_stability() 335 SystemProfileProto* system_profile = uma_proto()->mutable_system_profile(); local 420 SystemProfileProto* system_profile = uma_proto()->mutable_system_profile(); local [all...] |