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

Commit cfdf3a44 authored by Yangster-mac's avatar Yangster-mac
Browse files

Attribution proto in atoms.

Test: statsd unit tests passed.

Change-Id: I3562319708376ea9d9a14e08382e57590eee7bf1
parent 734afbe6
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -103,7 +103,11 @@ message Atom {
 * resulted in a particular bit of work being done.
 */
message WorkSource {
    // TODO
    // The uid for a given element in the attribution chain.
    repeated int32 uid = 1;
    // The (optional) string tag for an element in the attribution chain. If the
    // element has no tag, it is encoded as an empty string.
    repeated string tag = 2;
}

/*
@@ -413,8 +417,10 @@ message WakelockStateChanged {
    optional string tag = 3;

    enum State {
        OFF = 0;
        ON = 1;
        RELEASE = 0;
        ACQUIRE = 1;
        CHANGE_RELEASE = 2;
        CHANGE_ACQUIRE = 3;
    }
    optional State state = 4;
}
+10 −4
Original line number Diff line number Diff line
@@ -99,7 +99,11 @@ message Atom {
 * resulted in a particular bit of work being done.
 */
message WorkSource {
    // TODO
    // The uid for a given element in the attribution chain.
    repeated int32 uid = 1;
    // The (optional) string tag for an element in the attribution chain. If the
    // element has no tag, it is encoded as an empty string.
    repeated string tag = 2;
}

/*
@@ -404,8 +408,10 @@ message WakelockStateChanged {
    optional string tag = 3;

    enum State {
        OFF = 0;
        ON = 1;
        RELEASE = 0;
        ACQUIRE = 1;
        CHANGE_RELEASE = 2;
        CHANGE_ACQUIRE = 3;
    }
    optional State state = 4;
}