Update boot image and system server profiles [M29C24P60S0PP]

Bug: 254051423
Bug: 303356546
Bug: 303339619
Bug: 303378282
Bug: 303394972

Test: go/art-benchmark?p=BootImageProfileId:36833&f=CandidateName:in:36861
Test: ATP test https://android-build.googleplex.com/builds/abtd/run/L85800030000096758

= Perf stats =
(lower is better)

Regular update to the boot image profiles, Benchmark shows an no impact on app cold startup time, boot-time and good memory reduction for system-server process besides fixing some regressions from the prev update, but with a small increase in code size which could be an acceptable cost.

         Avg % [Confidence interval min-max %]
Startup: -0.14 [-2.34, 2.06]
Memory(PSS): -0.15 [-1.82, 1.51]
Boot time: 0.19 [-0.68, 1.06]
Code size (.oat + .art + .odex): 0.88MB (1.06%)

Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code

=Generation Strategy=

method_threshold: 0.29
image_class_threshold: 0.24
preloaded_classes_threshold: 0.6
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:CLASS:android"
  value: 0.017142856
}
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:METHOD:android"
  value: 0.020714285
}
priority_packages_thresholds {
  key: "service-art.jar.prof:CLASS:android"
  value: 0.017142856
}
priority_packages_thresholds {
  key: "service-art.jar.prof:METHOD:android"
  value: 0.020714285
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:CLASS:android"
  value: 0.017142856
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:METHOD:android"
  value: 0.020714285
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:CLASS:android"
  value: 0.017142856
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:METHOD:android"
  value: 0.020714285
}
priority_packages_thresholds {
  key: "services.jar.prof:CLASS:android"
  value: 0.017142856
}
priority_packages_thresholds {
  key: "services.jar.prof:METHOD:android"
  value: 0.020714285
}

=Profile stats=

Data info:
- total aggregations: 50
- number of (device types, builds): 18

File boot-image-profile.txt
  - hot methods: 201 added, 225 removed
  - methods: 201 added, 225 removed
  - classes: 0 added, 2 removed
  - totals now: 32532 hot methods, 32532 methods, 17268 classes
  - totals before: 32556 hot methods, 32556 methods, 17270 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 137, 154, 0, 2, 21053, 9950
    com.android, 8, 9, 0, 0, 2425, 3481
    java, 40, 47, 0, 0, 7086, 2101
    android.view, 62, 66, 0, 0, 3444, 1058
    android.hardware, 3, 9, 0, 0, 495, 859
    android.app, 6, 8, 0, 0, 2952, 1108
    android.content, 11, 12, 0, 0, 1892, 585
    android.graphics, 8, 8, 0, 0, 1973, 345
    android.icu, 10, 10, 0, 0, 2048, 1474
    android.media, 1, 1, 0, 0, 792, 604
    android.widget, 14, 15, 0, 2, 1403, 397

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 14 added, 2 removed
  - totals now: 0 hot methods, 0 methods, 17228 classes
  - totals before: 0 hot methods, 0 methods, 17216 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 14, 2, 0, 9922
    android.view, 0, 0, 9, 0, 0, 1056
    android.app, 0, 0, 3, 0, 0, 1107
    android.content, 0, 0, 1, 0, 0, 583
    android.widget, 0, 0, 1, 2, 0, 396

File boot-image-profile.txt
  - hot methods: 144 added, 162 removed
  - methods: 144 added, 162 removed
  - classes: 0 added, 2 removed
  - totals now: 22501 hot methods, 22501 methods, 14055 classes
  - totals before: 22519 hot methods, 22519 methods, 14057 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 137, 154, 0, 2, 20989, 9919
    com.android, 7, 8, 0, 0, 1415, 3052
    android.view, 62, 66, 0, 0, 3444, 1058
    android.hardware, 3, 9, 0, 0, 495, 859
    android.app, 6, 8, 0, 0, 2952, 1108
    android.content, 11, 12, 0, 0, 1892, 585
    android.graphics, 8, 8, 0, 0, 1973, 345
    android.icu, 10, 10, 0, 0, 2048, 1474
    android.media, 1, 1, 0, 0, 792, 604
    android.widget, 14, 15, 0, 2, 1403, 397

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 14 added, 2 removed
  - totals now: 0 hot methods, 0 methods, 14019 classes
  - totals before: 0 hot methods, 0 methods, 14007 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 14, 2, 0, 9891
    android.view, 0, 0, 9, 0, 0, 1056
    android.app, 0, 0, 3, 0, 0, 1107
    android.content, 0, 0, 1, 0, 0, 583
    android.widget, 0, 0, 1, 2, 0, 396

File art-profile
  - hot methods: 2073 added, 821 removed
  - methods: 2073 added, 821 removed
  - classes: 10 added, 2 removed
  - totals now: 14004 hot methods, 14004 methods, 1494 classes
  - totals before: 12752 hot methods, 12752 methods, 1486 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 21, 26, 0, 0, 86, 25
    com.android, 2052, 795, 9, 2, 13918, 1439
    android.hardware, 20, 25, 0, 0, 70, 12
    android.net, 1, 1, 0, 0, 10, 3

InternalReferenceRawProfileId: 36833
InternalReferenceCandidateProfileId: 36861

Test: build & benchmark

Change-Id: If26794e3e9e3605a8059e846472c300f289dba0e
5 files changed