add WindowManager protos

Bug: 323165543
Test: presubmit
Change-Id: I31772af0a06e52df4fdb08a6dc1a07688b9dfbf6
diff --git a/Android.bp b/Android.bp
index 2f4181b..8c3083d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -5806,14 +5806,24 @@
         "protos/perfetto/common/tracing_service_state.proto",
         "protos/perfetto/common/track_event_descriptor.proto",
         "protos/perfetto/trace/android/android_input_event.proto",
+        "protos/perfetto/trace/android/app/statusbarmanager.proto",
+        "protos/perfetto/trace/android/app/window_configuration.proto",
+        "protos/perfetto/trace/android/content/activityinfo.proto",
+        "protos/perfetto/trace/android/content/configuration.proto",
+        "protos/perfetto/trace/android/content/locale.proto",
         "protos/perfetto/trace/android/graphics/pixelformat.proto",
         "protos/perfetto/trace/android/graphics/point.proto",
         "protos/perfetto/trace/android/graphics/rect.proto",
         "protos/perfetto/trace/android/inputmethodeditor.proto",
         "protos/perfetto/trace/android/inputmethodservice/inputmethodservice.proto",
         "protos/perfetto/trace/android/inputmethodservice/softinputwindow.proto",
+        "protos/perfetto/trace/android/privacy.proto",
         "protos/perfetto/trace/android/protolog.proto",
+        "protos/perfetto/trace/android/server/animationadapter.proto",
         "protos/perfetto/trace/android/server/inputmethod/inputmethodmanagerservice.proto",
+        "protos/perfetto/trace/android/server/surfaceanimator.proto",
+        "protos/perfetto/trace/android/server/windowcontainerthumbnail.proto",
+        "protos/perfetto/trace/android/server/windowmanagerservice.proto",
         "protos/perfetto/trace/android/shell_transition.proto",
         "protos/perfetto/trace/android/surfaceflinger_common.proto",
         "protos/perfetto/trace/android/surfaceflinger_layers.proto",
@@ -5821,6 +5831,8 @@
         "protos/perfetto/trace/android/typedef.proto",
         "protos/perfetto/trace/android/view/display.proto",
         "protos/perfetto/trace/android/view/displaycutout.proto",
+        "protos/perfetto/trace/android/view/displayinfo.proto",
+        "protos/perfetto/trace/android/view/enums.proto",
         "protos/perfetto/trace/android/view/imefocuscontroller.proto",
         "protos/perfetto/trace/android/view/imeinsetssourceconsumer.proto",
         "protos/perfetto/trace/android/view/inputmethod/editorinfo.proto",
@@ -5832,10 +5844,13 @@
         "protos/perfetto/trace/android/view/insetssourceconsumer.proto",
         "protos/perfetto/trace/android/view/insetssourcecontrol.proto",
         "protos/perfetto/trace/android/view/insetsstate.proto",
+        "protos/perfetto/trace/android/view/remote_animation_target.proto",
+        "protos/perfetto/trace/android/view/surface.proto",
         "protos/perfetto/trace/android/view/surfacecontrol.proto",
         "protos/perfetto/trace/android/view/viewrootimpl.proto",
         "protos/perfetto/trace/android/view/windowlayoutparams.proto",
         "protos/perfetto/trace/android/viewcapture.proto",
+        "protos/perfetto/trace/android/windowmanager.proto",
         "protos/perfetto/trace/android/winscope.proto",
         "protos/perfetto/trace/android/winscope_extensions.proto",
         "protos/perfetto/trace/android/winscope_extensions_impl.proto",
@@ -5854,14 +5869,26 @@
     name: "perfetto_protos_perfetto_trace_android_winscope_extensions_zero",
     srcs: [
         "protos/perfetto/trace/android/android_input_event.proto",
+        "protos/perfetto/trace/android/app/statusbarmanager.proto",
+        "protos/perfetto/trace/android/app/window_configuration.proto",
+        "protos/perfetto/trace/android/content/activityinfo.proto",
+        "protos/perfetto/trace/android/content/configuration.proto",
+        "protos/perfetto/trace/android/content/locale.proto",
         "protos/perfetto/trace/android/graphics/pixelformat.proto",
         "protos/perfetto/trace/android/inputmethodeditor.proto",
         "protos/perfetto/trace/android/inputmethodservice/inputmethodservice.proto",
         "protos/perfetto/trace/android/inputmethodservice/softinputwindow.proto",
+        "protos/perfetto/trace/android/privacy.proto",
+        "protos/perfetto/trace/android/server/animationadapter.proto",
         "protos/perfetto/trace/android/server/inputmethod/inputmethodmanagerservice.proto",
+        "protos/perfetto/trace/android/server/surfaceanimator.proto",
+        "protos/perfetto/trace/android/server/windowcontainerthumbnail.proto",
+        "protos/perfetto/trace/android/server/windowmanagerservice.proto",
         "protos/perfetto/trace/android/typedef.proto",
         "protos/perfetto/trace/android/view/display.proto",
         "protos/perfetto/trace/android/view/displaycutout.proto",
+        "protos/perfetto/trace/android/view/displayinfo.proto",
+        "protos/perfetto/trace/android/view/enums.proto",
         "protos/perfetto/trace/android/view/imefocuscontroller.proto",
         "protos/perfetto/trace/android/view/imeinsetssourceconsumer.proto",
         "protos/perfetto/trace/android/view/inputmethod/editorinfo.proto",
@@ -5873,10 +5900,13 @@
         "protos/perfetto/trace/android/view/insetssourceconsumer.proto",
         "protos/perfetto/trace/android/view/insetssourcecontrol.proto",
         "protos/perfetto/trace/android/view/insetsstate.proto",
+        "protos/perfetto/trace/android/view/remote_animation_target.proto",
+        "protos/perfetto/trace/android/view/surface.proto",
         "protos/perfetto/trace/android/view/surfacecontrol.proto",
         "protos/perfetto/trace/android/view/viewrootimpl.proto",
         "protos/perfetto/trace/android/view/windowlayoutparams.proto",
         "protos/perfetto/trace/android/viewcapture.proto",
+        "protos/perfetto/trace/android/windowmanager.proto",
         "protos/perfetto/trace/android/winscope_extensions_impl.proto",
     ],
 }
@@ -5896,14 +5926,26 @@
     cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --proto_path=external/protobuf/src --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_extensions_zero)",
     out: [
         "external/perfetto/protos/perfetto/trace/android/android_input_event.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/app/statusbarmanager.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/app/window_configuration.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/content/activityinfo.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/content/configuration.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/content/locale.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/graphics/pixelformat.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/inputmethodeditor.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/inputmethodservice/inputmethodservice.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/inputmethodservice/softinputwindow.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/privacy.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/server/animationadapter.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/server/inputmethod/inputmethodmanagerservice.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/server/surfaceanimator.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/server/windowcontainerthumbnail.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/server/windowmanagerservice.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/typedef.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/view/display.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/view/displaycutout.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/view/displayinfo.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/view/enums.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/view/imefocuscontroller.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/view/imeinsetssourceconsumer.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/view/inputmethod/editorinfo.pbzero.cc",
@@ -5915,10 +5957,13 @@
         "external/perfetto/protos/perfetto/trace/android/view/insetssourceconsumer.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/view/insetssourcecontrol.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/view/insetsstate.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/view/remote_animation_target.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/view/surface.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/view/surfacecontrol.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/view/viewrootimpl.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/view/windowlayoutparams.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/viewcapture.pbzero.cc",
+        "external/perfetto/protos/perfetto/trace/android/windowmanager.pbzero.cc",
         "external/perfetto/protos/perfetto/trace/android/winscope_extensions_impl.pbzero.cc",
     ],
 }
@@ -5938,14 +5983,26 @@
     cmd: "mkdir -p $(genDir)/external/perfetto/ && $(location aprotoc) --proto_path=external/perfetto --proto_path=external/protobuf/src --plugin=protoc-gen-plugin=$(location protozero_plugin) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/ $(locations :perfetto_protos_perfetto_trace_android_winscope_extensions_zero)",
     out: [
         "external/perfetto/protos/perfetto/trace/android/android_input_event.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/app/statusbarmanager.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/app/window_configuration.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/content/activityinfo.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/content/configuration.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/content/locale.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/graphics/pixelformat.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/inputmethodeditor.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/inputmethodservice/inputmethodservice.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/inputmethodservice/softinputwindow.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/privacy.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/server/animationadapter.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/server/inputmethod/inputmethodmanagerservice.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/server/surfaceanimator.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/server/windowcontainerthumbnail.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/server/windowmanagerservice.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/typedef.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/view/display.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/view/displaycutout.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/view/displayinfo.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/view/enums.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/view/imefocuscontroller.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/view/imeinsetssourceconsumer.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/view/inputmethod/editorinfo.pbzero.h",
@@ -5957,10 +6014,13 @@
         "external/perfetto/protos/perfetto/trace/android/view/insetssourceconsumer.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/view/insetssourcecontrol.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/view/insetsstate.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/view/remote_animation_target.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/view/surface.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/view/surfacecontrol.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/view/viewrootimpl.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/view/windowlayoutparams.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/viewcapture.pbzero.h",
+        "external/perfetto/protos/perfetto/trace/android/windowmanager.pbzero.h",
         "external/perfetto/protos/perfetto/trace/android/winscope_extensions_impl.pbzero.h",
     ],
     export_include_dirs: [
@@ -15873,7 +15933,12 @@
         "protos/perfetto/trace/android/android_input_event.proto",
         "protos/perfetto/trace/android/android_log.proto",
         "protos/perfetto/trace/android/android_system_property.proto",
+        "protos/perfetto/trace/android/app/statusbarmanager.proto",
+        "protos/perfetto/trace/android/app/window_configuration.proto",
         "protos/perfetto/trace/android/camera_event.proto",
+        "protos/perfetto/trace/android/content/activityinfo.proto",
+        "protos/perfetto/trace/android/content/configuration.proto",
+        "protos/perfetto/trace/android/content/locale.proto",
         "protos/perfetto/trace/android/frame_timeline_event.proto",
         "protos/perfetto/trace/android/gpu_mem_event.proto",
         "protos/perfetto/trace/android/graphics/pixelformat.proto",
@@ -15887,8 +15952,13 @@
         "protos/perfetto/trace/android/network_trace.proto",
         "protos/perfetto/trace/android/packages_list.proto",
         "protos/perfetto/trace/android/pixel_modem_events.proto",
+        "protos/perfetto/trace/android/privacy.proto",
         "protos/perfetto/trace/android/protolog.proto",
+        "protos/perfetto/trace/android/server/animationadapter.proto",
         "protos/perfetto/trace/android/server/inputmethod/inputmethodmanagerservice.proto",
+        "protos/perfetto/trace/android/server/surfaceanimator.proto",
+        "protos/perfetto/trace/android/server/windowcontainerthumbnail.proto",
+        "protos/perfetto/trace/android/server/windowmanagerservice.proto",
         "protos/perfetto/trace/android/shell_transition.proto",
         "protos/perfetto/trace/android/surfaceflinger_common.proto",
         "protos/perfetto/trace/android/surfaceflinger_layers.proto",
@@ -15896,6 +15966,8 @@
         "protos/perfetto/trace/android/typedef.proto",
         "protos/perfetto/trace/android/view/display.proto",
         "protos/perfetto/trace/android/view/displaycutout.proto",
+        "protos/perfetto/trace/android/view/displayinfo.proto",
+        "protos/perfetto/trace/android/view/enums.proto",
         "protos/perfetto/trace/android/view/imefocuscontroller.proto",
         "protos/perfetto/trace/android/view/imeinsetssourceconsumer.proto",
         "protos/perfetto/trace/android/view/inputmethod/editorinfo.proto",
@@ -15907,10 +15979,13 @@
         "protos/perfetto/trace/android/view/insetssourceconsumer.proto",
         "protos/perfetto/trace/android/view/insetssourcecontrol.proto",
         "protos/perfetto/trace/android/view/insetsstate.proto",
+        "protos/perfetto/trace/android/view/remote_animation_target.proto",
+        "protos/perfetto/trace/android/view/surface.proto",
         "protos/perfetto/trace/android/view/surfacecontrol.proto",
         "protos/perfetto/trace/android/view/viewrootimpl.proto",
         "protos/perfetto/trace/android/view/windowlayoutparams.proto",
         "protos/perfetto/trace/android/viewcapture.proto",
+        "protos/perfetto/trace/android/windowmanager.proto",
         "protos/perfetto/trace/android/winscope_extensions.proto",
         "protos/perfetto/trace/android/winscope_extensions_impl.proto",
         "protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto",
@@ -17438,7 +17513,7 @@
     cmd: "mkdir -p $(genDir)/$(in) " +
         "&& $(location aprotoc) " +
         "--plugin=$(location protoc-gen-javastream) " +
-        "--javastream_opt=include_filter:perfetto.protos.TracePacket,perfetto.protos.ShellTransition,perfetto.protos.ShellHandlerMappings,perfetto.protos.ProtoLogMessage,perfetto.protos.ProtoLogViewerConfig,perfetto.protos.ShellHandlerMapping,perfetto.protos.ShellHandlerMappings,perfetto.protos.ProtoLogGroup,perfetto.protos.ProtoLogConfig,perfetto.protos.DataSourceConfig,perfetto.protos.InternedString,perfetto.protos.InternedData,perfetto.protos.ProtoLogLevel,perfetto.protos.TestEvent,perfetto.protos.TestEvent.TestPayload,perfetto.protos.TestConfig,perfetto.protos.TestConfig.DummyFields,perfetto.protos.WinscopeExtensionsImpl,perfetto.protos.InputMethodClientsTraceProto,perfetto.protos.InputMethodManagerServiceTraceProto,perfetto.protos.InputMethodServiceTraceProto,perfetto.protos.ViewCapture " +
+        "--javastream_opt=include_filter:perfetto.protos.TracePacket,perfetto.protos.ShellTransition,perfetto.protos.ShellHandlerMappings,perfetto.protos.ProtoLogMessage,perfetto.protos.ProtoLogViewerConfig,perfetto.protos.ShellHandlerMapping,perfetto.protos.ShellHandlerMappings,perfetto.protos.ProtoLogGroup,perfetto.protos.ProtoLogConfig,perfetto.protos.DataSourceConfig,perfetto.protos.InternedString,perfetto.protos.InternedData,perfetto.protos.ProtoLogLevel,perfetto.protos.TestEvent,perfetto.protos.TestEvent.TestPayload,perfetto.protos.TestConfig,perfetto.protos.TestConfig.DummyFields,perfetto.protos.WinscopeExtensionsImpl,perfetto.protos.InputMethodClientsTraceProto,perfetto.protos.InputMethodManagerServiceTraceProto,perfetto.protos.InputMethodServiceTraceProto,perfetto.protos.ViewCapture,perfetto.protos.WindowManagerTraceEntry " +
         "--javastream_out=$(genDir)/$(in) " +
         "-Iexternal/protobuf/src " +
         "-Iexternal/perfetto " +