Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 51ef38a4 authored by Avichal Rakesh's avatar Avichal Rakesh
Browse files

cameraservice: Add metrics for extension sessions

We want to log camera extension usage in cameraservice. This CL adds
the scaffolding for it. Specifically, it does the following:

  - Updates CameraSessionStats.java to match that from
    CameraSessionStats.h.
  - Updates CameraServiceProxy to log CameraExtensionSessionStats
    along with CameraSessionStats.
  - Adds ExtensionSessionStatsAggregator responsible for collecting and
    sending extension stats to cameraservice.
  - Updates CameraExtensionSessions to use
    ExtensionSessionStatsAggregator.

Bug: 261470491
Test: Only adds metrics logging. No functional change.
      `atest CtsCameraTestCases` pass.
      `statsd_testdrive 227` confirms that extension metrics are logged
          correctly.
Change-Id: I40128f41c25daca8b4cc87a862f67990f8928caf
parent c8114221
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment