History log of /frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageStatsActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
62ec27e97f68513c5637383fb72de469c5e903c1 11-Mar-2018 Amith Yamasani <yamasani@google.com> App Time Limits API in UsageStats

Allow setting groups of apps to control usage time limits on.
Applies only to activity time in the foreground.

Updated UsageStatsTest app to be able to add an observer for
a 30 second timeout across multiple comma separated package
names.

Bug: 74335821
Test: atest FrameworksServicesTests:AppTimeLimitControllerTests
Install and run frameworks/base/tests/UsageStatsTest

Change-Id: I677c30b4f211f7acf72c9766df3d8c1ac56a4b4e
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageStatsActivity.java
ad623015a119efe9b63f594af9c4703f40a0c27b 15-May-2017 Makoto Onuki <omakoto@google.com> Restrict access to instant app data in usage stats

- Events are obfuscated based on whether the app was instant or not at
the time each event was logged.

- UsageStats are obfuscated based on whether each app is instant or
not at the moment.

Bug 38202133
Test: Manual test using UsageStatsTest and instant apps

Change-Id: I3c74309196b88d010d317cb0dd6749bf4624e876
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageStatsActivity.java
cc562a811da508b275254f275d6e0c1758a47d07 27-Aug-2014 Adam Lesinski <adamlesinski@google.com> Make UsageStats API comply with API Council

- Fix documentation to mention units of time in APIs.
- Return a Map instead of an ArrayMap

Bug:17289531
Change-Id: I0a2cfdc0bc003eeeb65a16e37bb7b991624b2853
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageStatsActivity.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/UsageStatsActivity.java
e159e2e0b83f9ea9d48f4c8666f9536e9338a70c 23-Jul-2014 Adam Lesinski <adamlesinski@google.com> Add test UsageStats App

Also fixed UsageStatsService to do the right thing
when AppOps returns MODE_DEFAULT.

Change-Id: I0bdb28350fb2528daf2859cdcbbf9ca48d96dde9
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/UsageStatsActivity.java