History log of /frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageLogActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageLogActivity.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/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageLogActivity.java
66143fa5b34eea7413335111838fb692987b611a 11-Sep-2014 Adam Lesinski <adamlesinski@google.com> UsageStats should deal with changing time

When the system time is changed, the UsageStats API
will modify all existing entries to correspond with the
new time change. If the time changed when the device was
off, stats in the future will be deleted.

Change-Id: Ica3e9917d4d1a180f97700e52ab390e3673e1e82
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageLogActivity.java
7f61e96db7c90c1f4418359672aa4656aebee500 03-Sep-2014 Adam Lesinski <adamlesinski@google.com> Add Configuration changes to UsageStats

Bug:17354208
Change-Id: I9b2f595e51b656607e30e798926cfb7e25134944
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageLogActivity.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/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageLogActivity.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/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageLogActivity.java