Add Android SysUi Notifications Blocking Calls Metric
The metrics are generated by pulling all notification-related slices and calculating the relevant values(name, count, duration, max_duration and min_duration).
Bug: 269125657
Test: tools/diff_test_trace_processor.py out/linux_clang_release/trace_processor_shell --name-filter Android:android_sysui_notifications_blocking_calls --keep-input
Change-Id: Ic686458385b7592f8e55453c900d8b7c3d12297b
diff --git a/Android.bp b/Android.bp
index 2586c75..7f21c43 100644
--- a/Android.bp
+++ b/Android.bp
@@ -4364,6 +4364,7 @@
srcs: [
"protos/perfetto/metrics/android/android_blocking_calls_cuj_metric.proto",
"protos/perfetto/metrics/android/android_frame_timeline_metric.proto",
+ "protos/perfetto/metrics/android/android_sysui_notifications_blocking_calls_metric.proto",
"protos/perfetto/metrics/android/android_trusty_workqueues.proto",
"protos/perfetto/metrics/android/batt_metric.proto",
"protos/perfetto/metrics/android/binder_metric.proto",
@@ -4437,6 +4438,7 @@
srcs: [
"protos/perfetto/metrics/android/android_blocking_calls_cuj_metric.proto",
"protos/perfetto/metrics/android/android_frame_timeline_metric.proto",
+ "protos/perfetto/metrics/android/android_sysui_notifications_blocking_calls_metric.proto",
"protos/perfetto/metrics/android/android_trusty_workqueues.proto",
"protos/perfetto/metrics/android/batt_metric.proto",
"protos/perfetto/metrics/android/binder_metric.proto",
@@ -10055,6 +10057,7 @@
"src/trace_processor/metrics/sql/android/android_simpleperf.sql",
"src/trace_processor/metrics/sql/android/android_startup.sql",
"src/trace_processor/metrics/sql/android/android_surfaceflinger.sql",
+ "src/trace_processor/metrics/sql/android/android_sysui_notifications_blocking_calls_metric.sql",
"src/trace_processor/metrics/sql/android/android_task_names.sql",
"src/trace_processor/metrics/sql/android/android_trace_quality.sql",
"src/trace_processor/metrics/sql/android/android_trusty_workqueues.sql",