diff options
| author | TreeHugger Robot <treehugger-gerrit@google.com> | 2017-10-10 23:31:48 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-10-10 23:31:48 +0000 |
| commit | c6ee8d68dc11ce84cb61b435d2bd677fbc7549c4 (patch) | |
| tree | 0e92177c920c57badc7451d90a7fb2db64045a19 /core/java | |
| parent | 73048c90ca6099f324ad740bf4e1fee45cbb2d46 (diff) | |
| parent | de70169109c57787a23c732ec4b361ade2e9850e (diff) | |
Merge "UID mapping to provide app name and version."
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/os/IStatsManager.aidl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/java/android/os/IStatsManager.aidl b/core/java/android/os/IStatsManager.aidl index f8f28134063d..daacc4e832f9 100644 --- a/core/java/android/os/IStatsManager.aidl +++ b/core/java/android/os/IStatsManager.aidl @@ -45,4 +45,20 @@ interface IStatsManager { * Two-way binder call so that caller's method (and corresponding wakelocks) will linger. */ void informPollAlarmFired(); + + /** + * Inform statsd what the version and package are for each uid. Note that each array should + * have the same number of elements, and version[i] and package[i] correspond to uid[i]. + */ + oneway void informAllUidData(in int[] uid, in int[] version, in String[] app); + + /** + * Inform statsd what the uid and version are for one app that was updated. + */ + oneway void informOnePackage(in String app, in int uid, in int version); + + /** + * Inform stats that an app was removed. + */ + oneway void informOnePackageRemoved(in String app, in int uid); } |
