Merge "Update the binder calls atom to track the calling app of a binder call."
This commit is contained in:
committed by
Android (Google) Code Review
commit
936b54b261
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user