a93542f9d341897f3206f775fd5720663b17504f |
|
04-Feb-2016 |
Amith Yamasani <yamasani@google.com> |
Rewrite app standby stats Don't mix up with usage stats. Keep a separate db and history based on elapsed time and screen on time. Unit tests for AppIdleHistory class. Bug: 26989006 Change-Id: If343785b46da1db67f7c1c1263854c2732a232c6
/frameworks/base/services/usage/java/com/android/server/usage/IntervalStats.java
|
d82dbb3ffe418773b0d57d63b09e69fd6dd944bb |
|
13-Jun-2015 |
Amith Yamasani <yamasani@google.com> |
Fix negative inactiveTime on creating a new user Initialize the beginIdleTime to 0 rather than current time. Bug: 21699099 Change-Id: Ib94a9198c4e80aea5d9de68c5cf5d6f8cfc79e0a
/frameworks/base/services/usage/java/com/android/server/usage/IntervalStats.java
|
c8e8729244d75584ce71a74d29c452fe538a22c5 |
|
11-Jun-2015 |
Adam Lesinski <adamlesinski@google.com> |
UsageStats: Change INTERACTION to SYSTEM_INTERACTION SYSTEM_INTERACTION events are signals to the system for a package's implicit actions (service bound, etc). These should not affect the API visible stats like lastTimeUsed, etc. USER_INTERACTION is for user initiated actions (notification interaction, etc). Bug:21761781 Change-Id: I4585cf35fbb158612a3c737710108bec34e89183
/frameworks/base/services/usage/java/com/android/server/usage/IntervalStats.java
|
547116ea62bde21012dbda1531cb58dfe61026a7 |
|
20-May-2015 |
Amith Yamasani <yamasani@google.com> |
Use screen-on time and wallclock time for idleness calc 12 hours of screen-on time and 2 days of wallclock time must elapse before considering an app idle. Bug: 20066058 Change-Id: Ie7b584b40e644d868aa2708876723c3391fd432e
/frameworks/base/services/usage/java/com/android/server/usage/IntervalStats.java
|
06bf824628c118fbd5ad6756913d7fd63a6f4ce5 |
|
09-May-2015 |
Amith Yamasani <yamasani@google.com> |
Idle timebase Use screen on time as timebase for idling out apps that have been inactive. Store the time when an app was last active as an additional package state in UsageStats. Compare it to screenOnTime to decide if it's inactive. Exclude device idle whitelist from apps that can go inactive. Bug: 20066058 Change-Id: I709f9f31a9affa7ca6e1ae3e4c5729c5fb221669
/frameworks/base/services/usage/java/com/android/server/usage/IntervalStats.java
|
978a1ed5aa2752cd36ff51df91d2d2d8be2171d9 |
|
02-Mar-2015 |
Adam Lesinski <adamlesinski@google.com> |
Add generic "INTERACTION" event type to UsageStatsManager This will allow for updating a package's last time used property for packages that are interacted in ways other than launching their activities (interacting with notifications, etc.) Change-Id: Ic6f9519f46fa04abd37ea6fc9475bcd9ea721003
/frameworks/base/services/usage/java/com/android/server/usage/IntervalStats.java
|
37a46b48dcb7e34ee3669cfb2ed78af08bfca3c7 |
|
06-Sep-2014 |
Adam Lesinski <adamlesinski@google.com> |
Store time offsets for UsageStats XML This will make adjusting for time changes easier in the future. Change-Id: I49d2dda4cc6dcb1378a58c814849924f585e0417
/frameworks/base/services/usage/java/com/android/server/usage/IntervalStats.java
|
7f61e96db7c90c1f4418359672aa4656aebee500 |
|
03-Sep-2014 |
Adam Lesinski <adamlesinski@google.com> |
Add Configuration changes to UsageStats Bug:17354208 Change-Id: I9b2f595e51b656607e30e798926cfb7e25134944
/frameworks/base/services/usage/java/com/android/server/usage/IntervalStats.java
|
9d9607527f5bbf49c96565b63b90e36276b0dda7 |
|
25-Aug-2014 |
Adam Lesinski <adamlesinski@google.com> |
Split up ComponentName in UsageEvents.Event Some events in the future may not have originated from a class, so we shouldn't be using ComponentName. Bug:17259858 Change-Id: Id7fe3245b91596cf27ae4ec51655602f01665622
/frameworks/base/services/usage/java/com/android/server/usage/IntervalStats.java
|
3516800b611a79339a3c188332d13a26e9086b09 |
|
22-Jul-2014 |
Adam Lesinski <adamlesinski@google.com> |
Second iteration of the UsageStats API Based on feedback from API council, updated the API. Also added support for querying the event log. Change-Id: Ibaa008b9e5bd145acdfe8e20c25c2ed2d96be123
/frameworks/base/services/usage/java/com/android/server/usage/IntervalStats.java
|