summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSuprabh Shukla <suprabh@google.com>2021-04-16 01:39:20 -0700
committerSuprabh Shukla <suprabh@google.com>2021-04-22 17:00:48 -0700
commit8a41b3f729776b145173a173030c284388c0d7ed (patch)
tree1f8a3821015b5e8d8b6be495a07c2c4c333c1f66 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta3e28dec2c727ff3d13fd1f80b09b304da7af95d (diff)
Optimizing AppStandby.getIdleUidsForUser
This is called by NPMS on boot for all users, and it makes a lot of calls to getAppMinBucket. Optimizing the newly added call into alarm manager internal, and some bookkeeping at the front. Alarm manager now maintains a list of all apps that have requested the permission. This saves any calls into permission manager in hasScheduleExactAlarm. Test: atest FrameworksMockingServicesTests:com.android.server.alarm atest FrameworksServicesTests:AppStandbyControllerTests atrace for boot time analysis. Bug: 185081934 Change-Id: I4f0b80715acb37a777d28f8c41f666b20f26bd8d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions