Lines Matching refs:soong_metrics_proto
44 soong_metrics_proto "android/soong/ui/metrics/metrics_proto" packageName
78 metrics soong_metrics_proto.MetricsBase
90 metrics: soong_metrics_proto.MetricsBase{},
111 func (m *Metrics) SetTimeMetrics(perf soong_metrics_proto.PerfInfo) {
128 func (m *Metrics) SetCriticalPathInfo(criticalPathInfo soong_metrics_proto.CriticalPathInfo) {
148 func (m *Metrics) BuildConfig(b *soong_metrics_proto.BuildConfig) {
154 func (m *Metrics) SystemResourceInfo(b *soong_metrics_proto.SystemResourceInfo) {
159 func (m *Metrics) ExpConfigFetcher(b *soong_metrics_proto.ExpConfigFetcher) {
177 m.metrics.TargetBuildVariant = soong_metrics_proto.MetricsBase_USER.Enum()
179 m.metrics.TargetBuildVariant = soong_metrics_proto.MetricsBase_USERDEBUG.Enum()
181 m.metrics.TargetBuildVariant = soong_metrics_proto.MetricsBase_ENG.Enum()
209 func arch(a string) *soong_metrics_proto.MetricsBase_Arch {
212 return soong_metrics_proto.MetricsBase_ARM.Enum()
214 return soong_metrics_proto.MetricsBase_ARM64.Enum()
216 return soong_metrics_proto.MetricsBase_X86.Enum()
218 return soong_metrics_proto.MetricsBase_X86_64.Enum()
220 return soong_metrics_proto.MetricsBase_UNKNOWN.Enum()
258 func (m *Metrics) SetSoongBuildMetrics(metrics *soong_metrics_proto.SoongBuildMetrics) {
266 cujs soong_metrics_proto.CriticalUserJourneysMetrics
277 c.cujs.Cujs = append(c.cujs.Cujs, &soong_metrics_proto.CriticalUserJourneyMetrics{