Home
last modified time | relevance | path

Searched refs:uma_proto (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/components/metrics/profiler/
Dprofiler_metrics_provider_unittest.cc95 ChromeUserMetricsExtension uma_proto; in TEST() local
96 profiler_metrics_provider.ProvideGeneralMetrics(&uma_proto); in TEST()
98 ASSERT_EQ(1, uma_proto.profiler_event_size()); in TEST()
100 uma_proto.profiler_event(0).profile_type()); in TEST()
102 uma_proto.profiler_event(0).time_source()); in TEST()
103 ASSERT_EQ(4, uma_proto.profiler_event(0).tracked_object_size()); in TEST()
106 &uma_proto.profiler_event(0).tracked_object(0); in TEST()
125 tracked_object = &uma_proto.profiler_event(0).tracked_object(1); in TEST()
144 tracked_object = &uma_proto.profiler_event(0).tracked_object(2); in TEST()
163 tracked_object = &uma_proto.profiler_event(0).tracked_object(3); in TEST()
Dprofiler_metrics_provider.cc118 ChromeUserMetricsExtension* uma_proto) { in ProvideGeneralMetrics() argument
125 DCHECK_EQ(0, uma_proto->profiler_event_size()); in ProvideGeneralMetrics()
126 ProfilerEventProto* profile = uma_proto->add_profiler_event(); in ProvideGeneralMetrics()
Dprofiler_metrics_provider.h27 ChromeUserMetricsExtension* uma_proto) OVERRIDE;
/external/chromium_org/components/metrics/gpu/
Dgpu_metrics_provider_unittest.cc55 metrics::ChromeUserMetricsExtension uma_proto; in TEST_F() local
57 provider.ProvideSystemProfileMetrics(uma_proto.mutable_system_profile()); in TEST_F()
61 uma_proto.system_profile().hardware(); in TEST_F()
/external/chromium_org/components/metrics/
Dmetrics_log_unittest.cc58 const metrics::ChromeUserMetricsExtension& uma_proto() const { in uma_proto() function in metrics::__anon3b0e5d480111::TestMetricsLog
59 return *MetricsLog::uma_proto(); in uma_proto()
63 return uma_proto().system_profile(); in system_profile()
207 const ChromeUserMetricsExtension& uma_proto = log.uma_proto(); in TEST_F() local
209 uma_proto.histogram_event(uma_proto.histogram_event_size() - 1); in TEST_F()
382 EXPECT_TRUE(log.uma_proto().system_profile().has_channel()); in TEST_F()
Dmetrics_log.cc238 SystemProfileProto* system_profile = uma_proto()->mutable_system_profile(); in RecordStabilityMetrics()
278 metrics_providers[i]->ProvideGeneralMetrics(uma_proto()); in RecordGeneralMetrics()
287 return uma_proto()->system_profile().has_uma_enabled_date(); in HasEnvironment()
291 return uma_proto()->system_profile().stability().has_launch_count(); in HasStabilityMetrics()
305 uma_proto()->mutable_system_profile()->mutable_stability(); in WriteRequiredStabilityAttributes()
319 uma_proto()->mutable_system_profile()->mutable_stability(); in WriteRealtimeStabilityAttributes()
335 SystemProfileProto* system_profile = uma_proto()->mutable_system_profile(); in RecordEnvironment()
420 SystemProfileProto* system_profile = uma_proto()->mutable_system_profile(); in LoadSavedEnvironmentFromPrefs()
Dmetrics_log.h152 ChromeUserMetricsExtension* uma_proto() { return &uma_proto_; } in uma_proto() function
153 const ChromeUserMetricsExtension* uma_proto() const { in uma_proto() function
Dmetrics_provider.cc40 ChromeUserMetricsExtension* uma_proto) { in ProvideGeneralMetrics() argument
Dmetrics_provider.h54 ChromeUserMetricsExtension* uma_proto);
/external/chromium_org/chrome/browser/metrics/
Dandroid_metrics_provider.h28 metrics::ChromeUserMetricsExtension* uma_proto) override;
Domnibox_metrics_provider.h28 metrics::ChromeUserMetricsExtension* uma_proto) OVERRIDE;
Domnibox_metrics_provider.cc92 metrics::ChromeUserMetricsExtension* uma_proto) { in ProvideGeneralMetrics() argument
93 uma_proto->mutable_omnibox_event()->Swap( in ProvideGeneralMetrics()
Dchromeos_metrics_provider.h45 metrics::ChromeUserMetricsExtension* uma_proto) OVERRIDE;
Dsignin_status_metrics_provider.h41 metrics::ChromeUserMetricsExtension* uma_proto) OVERRIDE;
Dchromeos_metrics_provider.cc197 metrics::ChromeUserMetricsExtension* uma_proto) { in ProvideGeneralMetrics() argument
203 uma_proto->add_sampled_profile()->Swap(&(*iter)); in ProvideGeneralMetrics()
Dandroid_metrics_provider.cc42 metrics::ChromeUserMetricsExtension* uma_proto) { in ProvideGeneralMetrics() argument
Dsignin_status_metrics_provider.cc75 metrics::ChromeUserMetricsExtension* uma_proto) { in ProvideGeneralMetrics() argument