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

Commit 15a36edb authored by Charlie Wang's avatar Charlie Wang
Browse files

Adding tron logging events for standalone headsets.

Standalone headsets will use tron to log headset events.

Bug: 62103076
Test: Builds and logger can log events
Change-Id: I761ddae4501aa8b8d0d9dacc91f04fd13a2c771c
parent a9c161bc
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -4134,6 +4134,31 @@ message MetricsEvent {
    // OS: O DR
    ACTION_APP_LOCATION_CHECK = 1021;

    // Device headset status
    // CATEGORY: OTHER
    //  SUBTYPE: 1 is DON, 2 is DOFF
    // OS: O DR
    ACTION_HEADSET_STATUS = 1022;

    // Device Headset Plug status
    // CATEGORY: OTHER
    //  SUBTYPE: 1 is AC power, 2 is USB power, 3 is Unplug
    // OS: O DR
    ACTION_HEADSET_PLUG = 1023;

    // Device Headset battery level on Plug
    // CATEGORY: OTHER
    // FIELD - The battery percentage when the user decided to plug in
    // Type: integer
    // OS: O DR
    FIELD_PLUG_BATTERY_PERCENTAGE = 1024;

    // Device Headset Pose status
    // CATEGORY: OTHER
    //  SUBTYPE: 1 is 6DOF, 2 is 3DOF
    // OS: O DR
    ACTION_HEADSET_POSE_STATUS = 1025;

    // Add new aosp constants above this line.
    // END OF AOSP CONSTANTS
  }