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

Commit 936b54b2 authored by Olivier Gaillard's avatar Olivier Gaillard Committed by Android (Google) Code Review
Browse files

Merge "Update the binder calls atom to track the calling app of a binder call."

parents e2b3a2fd 720ec5ba
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -2540,10 +2540,17 @@ message Temperature {
 * Binder stats will be reset every time the data is pulled. It means it can only be pulled by one
 * config on the device.
 *
 * Next tag: 14
 * Next tag: 15
 */
message BinderCalls {
    // UID of the process responsible for the binder transaction. It will be set if the process
    // executing the binder transaction attribute the transaction to another uid using
    // Binder.setThreadWorkSource().
    //
    // If not set, the value will be -1.
    optional int32 uid = 1 [(is_uid) = true];
    // UID of the process executing the binder transaction.
    optional int32 direct_caller_uid = 14;
    // Fully qualified class name of the API call.
    //
    // This is a system server class name.
+1 −0
Original line number Diff line number Diff line
@@ -1052,6 +1052,7 @@ public class StatsCompanionService extends IStatsCompanionService.Stub {
            e.writeLong(callStat.maxRequestSizeBytes);
            e.writeLong(callStat.recordedCallCount);
            e.writeInt(callStat.screenInteractive ? 1 : 0);
            e.writeInt(callStat.callingUid);
            pulledData.add(e);
        }
    }