diff options
author | Suprabh Shukla <suprabh@google.com> | 2018-02-20 20:59:52 -0800 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2018-02-21 21:23:09 -0800 |
commit | 868bde247c76e309232b1e3e6a873bde725acc22 (patch) | |
tree | 591fe40c637c4947d352188d55e5a63607f824ab /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 5e589b7fec1fa27d1179d28daa6daa9f4f4eab1f (diff) |
Using ParceledListSlice for {get|set}AppStandbyBuckets
UsageStats.getAppStandbyBuckets and setAppStandbyBuckets deal with large
maps of packages to buckets which may exceed the IPC transaction size
limit. Using ParceledListSlice to send and receive data across binder.
Test: atest android.app.usage.cts.UsageStatsTest#testGetAppStandbyBuckets
And manually:
adb shell am get-standby-bucket --user 0
adb shell am set-standby-bucket <package1> active <package2> rare ...
Locally, added protectionLevel development to permission
CHANGE_APP_IDLE_STATE and tested setAppStandbyBuckets with a test app.
Bug: 70890569
Change-Id: Ic1fb0465137d1b830d3ad1fbf3ac8698a409c623
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions