5 Commits

Author SHA1 Message Date
Songchun Fan
e5c0afe110 [pm] fix potential NPE during permission check
Removing redundant copy of sourcePackageSetting from BasePermission.

BUG: 154337853
Test: cts-tf > run cts -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests
Change-Id: I9d235b66d18f8fcbe88afc9aa8aa0dca2d715deb
2020-04-22 21:29:24 -07:00
Marco Ballesio
7c786822c2 Rename AppCompactor to CachedAppOptimizer
The AppCompactor class is suitable to handling more than just
compaction, hence the renaming to a more generic set of tasks.

Change-Id: I5424989e62c78383a067cf1bd7d529c093de6b97
Bug: 143308662
Test: manual, atest CachedAppOptimizerTest
2020-01-14 14:21:51 -08:00
Nicolas Geoffray
f1213d6959 New version of boot profiles.
This time taken with JIT profiling: include all warmup methods
that execute at boot.

Test: boot
Bug: 119800099
Change-Id: I7f4aa58ca520e6d10b60246f070aaaa9c35c48ae
2019-08-12 14:28:11 +01:00
Nicolas Geoffray
bb7eaa2680 Update boot profiles for zygote and system server.
Same simpleperf input than previous version, but:
- Look at all threads of system server instead of the main one.
- Order by execution order instead of hotness order.

Test: boot
Bug: 119800099
Change-Id: I2830c16e488c261f9e05a4733ab2f220f9d645c1
2019-08-06 15:51:24 +01:00
Nicolas Geoffray
2e09f87849 Initial seed for boot profiles.
Taken from profiling system server with simpleperf at boot.

Bug: 119800099
Test: boots
Change-Id: Icb5f8d137fd0fb52aa94e2896214411ca583db9f
2019-08-05 12:18:12 +01:00