Commit Graph

135 Commits

Author SHA1 Message Date
Vova Sharaienko
3982fc8507 Merge "[TeX] Source code moved to modules-utils" into udc-dev 2023-04-11 17:04:50 +00:00
Nicolas Geoffray
f816b0acb2 Merge "Update owners for some ART related files." am: 7cc68b301f am: 81d7252824 am: 5939a41faf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2519636

Change-Id: I79d9bdbc2a69726a393779c42df066fe878680c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-04 10:25:22 +00:00
Nicolas Geoffray
5939a41faf Merge "Update owners for some ART related files." am: 7cc68b301f am: 81d7252824
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2519636

Change-Id: Iaf65d18a4aa0bb4e0c1b7f9375341203ea4bc0be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-04 09:55:33 +00:00
Nicolas Geoffray
039c8f4976 Update owners for some ART related files.
Test: N/A
Change-Id: If37223f5bbb741fa6cd85552a69af7cbbf68f656
2023-04-03 10:06:50 +01:00
Austin Borger
eebca7afc7 ActivityManager: Use the default UidObserver implementation.
A class which overrides IUidObserver.Stub with empty callback
implementations was added in change
I2ff1e868586861e4dcd6586ad22139ba84eaf39c to simplify BroadcastQueue
interface complexity. Using this default implementation will mean less
churn when new callbacks are added to IUidObserver, or existing callback
method signatures are changed.

Also rename ActivityManager.UidObserver to MyUidObserver to remove any
ambiguity.

Bug: 274486653
Test: Presubmit, smoke test on cuttlefish.
Change-Id: I6e30a4e116a7baaca1e411ca0cc4a4dca37a32bd
2023-03-31 11:24:38 -07:00
Vova Sharaienko
171ea519a9 [TeX] Source code moved to modules-utils
- to be used as a static lib by mainline modules

Bug: 271127104
Test: m
Change-Id: I80b03fb6dbcff95dd7fc0d5c4af6e868629cce64
2023-03-29 03:07:03 +00:00
art-benchmark-service
27890289a3 Update boot image and system server profiles [M20C15P70S0PP], RESTRICT AUTOMERGE Since these are profiles for T release only. am: 4fc0270622
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22277909

Change-Id: I136b8cc8c733304343231a836f94c051504a9f28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-27 16:48:28 +00:00
art-benchmark-service
4fc0270622 Update boot image and system server profiles [M20C15P70S0PP], RESTRICT AUTOMERGE Since these are profiles for T release only.
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:33626

= Perf stats =
(lower is better)

Improvements in Startup time, boot time and drop in the generated code size at the cost of a slight increase in memory, which could be an acceptable cost.

Startup: -0.83%
Memory(PSS): 1.43%
Boot time: -0.72%
Code size (.oat + .art + .odex): -2.44% (2.89 MB drop)

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

=Generation Strategy=

method_threshold: 0.2
image_class_threshold: 0.15
preloaded_classes_threshold: 0.7
priority_packages_thresholds {
  key: "services.jar.prof:CLASS:android"
  value: 0.01875
}
priority_packages_thresholds {
  key: "services.jar.prof:METHOD:android"
  value: 0.025
}

=Profile stats=

Data info:
- total aggregations: 23
- number of (device types, builds): 9

File boot-image-profile.txt
  - hot methods: 1893 added, 1590 removed
  - methods: 1893 added, 1590 removed
  - classes: 117 added, 1 removed
  - totals now: 32655 hot methods, 32655 methods, 16928 classes
  - totals before: 32352 hot methods, 32352 methods, 16812 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1210, 1012, 77, 0, 21083, 9595
    com.android, 135, 54, 32, 1, 2561, 3562
    java, 478, 460, 5, 0, 7073, 2047
    android.view, 236, 189, 11, 0, 3426, 960
    android.hardware, 13, 5, 5, 0, 480, 812
    android.animation, 11, 11, 0, 0, 393, 73
    android.app, 225, 159, 24, 0, 2990, 1053
    android.content, 161, 146, 1, 0, 1872, 565
    android.graphics, 81, 71, 0, 0, 1989, 336
    android.icu, 70, 67, 0, 0, 2038, 1472
    android.media, 12, 8, 14, 0, 802, 590
    android.net, 20, 20, 2, 0, 255, 221
    android.widget, 50, 43, 0, 0, 1403, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 404 added, 4 removed
  - totals now: 0 hot methods, 0 methods, 16831 classes
  - totals before: 0 hot methods, 0 methods, 16431 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 233, 0, 0, 9524
    com.android, 0, 0, 69, 3, 0, 3550
    java, 0, 0, 29, 1, 0, 2039
    android.view, 0, 0, 38, 0, 0, 953
    android.hardware, 0, 0, 18, 0, 0, 807
    android.animation, 0, 0, 2, 0, 0, 73
    android.app, 0, 0, 41, 0, 0, 1030
    android.content, 0, 0, 10, 0, 0, 562
    android.graphics, 0, 0, 5, 0, 0, 336
    android.icu, 0, 0, 1, 0, 0, 1472
    android.media, 0, 0, 22, 0, 0, 587
    android.net, 0, 0, 3, 0, 0, 219
    android.widget, 0, 0, 5, 0, 0, 380

File boot-image-profile.txt
  - hot methods: 1335 added, 1056 removed
  - methods: 1335 added, 1056 removed
  - classes: 111 added, 1 removed
  - totals now: 22667 hot methods, 22667 methods, 13777 classes
  - totals before: 22388 hot methods, 22388 methods, 13667 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1208, 1010, 77, 0, 21020, 9564
    com.android, 127, 46, 32, 1, 1551, 3140
    android.view, 236, 189, 11, 0, 3426, 960
    android.hardware, 13, 5, 5, 0, 480, 812
    android.animation, 11, 11, 0, 0, 393, 73
    android.app, 225, 159, 24, 0, 2990, 1053
    android.content, 161, 146, 1, 0, 1872, 565
    android.graphics, 81, 71, 0, 0, 1989, 336
    android.icu, 70, 67, 0, 0, 2038, 1472
    android.media, 12, 8, 14, 0, 802, 590
    android.net, 20, 20, 2, 0, 255, 221
    android.widget, 50, 43, 0, 0, 1403, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 332 added, 3 removed
  - totals now: 0 hot methods, 0 methods, 13690 classes
  - totals before: 0 hot methods, 0 methods, 13361 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 233, 0, 0, 9493
    com.android, 0, 0, 57, 3, 0, 3128
    android.view, 0, 0, 38, 0, 0, 953
    android.hardware, 0, 0, 18, 0, 0, 807
    android.animation, 0, 0, 2, 0, 0, 73
    android.app, 0, 0, 41, 0, 0, 1030
    android.content, 0, 0, 10, 0, 0, 562
    android.graphics, 0, 0, 5, 0, 0, 336
    android.icu, 0, 0, 1, 0, 0, 1472
    android.media, 0, 0, 22, 0, 0, 587
    android.net, 0, 0, 3, 0, 0, 219
    android.widget, 0, 0, 5, 0, 0, 380

File art-profile
  - hot methods: 2293 added, 24736 removed
  - methods: 2286 added, 50806 removed
  - classes: 6 added, 3905 removed
  - totals now: 10167 hot methods, 10167 methods, 1285 classes
  - totals before: 32610 hot methods, 58687 methods, 5184 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 22, 397, 0, 118, 66, 25
    com.android, 2271, 24333, 6, 3718, 10101, 1242
    android.hardware, 20, 315, 0, 85, 51, 14
    android.app, 0, 2, 0, 3, 0, 0
    android.content, 0, 0, 0, 2, 1, 3
    android.net, 2, 64, 0, 21, 12, 6

InternalReferenceRawProfileId: 33626
InternalReferenceCandidateProfileId: 33629

Test: build & benchmark

Change-Id: Ib85d606d48727fd6dc0c0ecd094f7948e00464ca
2023-03-27 12:59:11 +00:00
art-benchmark-service
922a5539d9 Update boot image and system server profiles [M22C17P72S0PP]
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:33618

= Perf stats =
(lower is better)

Improvements in Startup time, memory and no noticeable impact for boot time at the cost of a slight increase in code size, which could be an acceptable cost.

Startup: -0.99%
Memory(PSS): -0.84%
Boot time: 0.46%
Code size (.oat + .art + .odex): 0.79% (0.68 MB increase)

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

=Generation Strategy=

method_threshold: 0.22
image_class_threshold: 0.17
preloaded_classes_threshold: 0.72
priority_packages_thresholds {
  key: "services.jar.prof:CLASS:android"
  value: 0.02125
}
priority_packages_thresholds {
  key: "services.jar.prof:METHOD:android"
  value: 0.0275
}

=Profile stats=

Data info:
- total aggregations: 426
- number of (device types, builds): 20

File boot-image-profile.txt
  - hot methods: 1697 added, 1322 removed
  - methods: 1697 added, 1322 removed
  - classes: 87 added, 15 removed
  - totals now: 32891 hot methods, 32891 methods, 17378 classes
  - totals before: 32516 hot methods, 32516 methods, 17306 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1165, 838, 61, 8, 21328, 10032
    com.android, 45, 22, 16, 7, 2437, 3501
    java, 407, 387, 5, 0, 7160, 2086
    android.view, 321, 199, 11, 1, 3484, 1043
    android.hardware, 26, 9, 4, 3, 492, 852
    android.animation, 24, 24, 0, 0, 404, 73
    android.app, 120, 36, 9, 0, 3018, 1100
    android.content, 90, 71, 3, 1, 1900, 585
    android.graphics, 87, 79, 2, 0, 1977, 345
    android.icu, 112, 107, 0, 0, 2048, 1474
    android.media, 15, 12, 0, 0, 792, 604
    android.net, 7, 6, 1, 0, 255, 223
    android.widget, 75, 68, 2, 0, 1408, 399

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 429 added, 11 removed
  - totals now: 0 hot methods, 0 methods, 17344 classes
  - totals before: 0 hot methods, 0 methods, 16926 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 351, 7, 0, 10013
    com.android, 0, 0, 42, 4, 0, 3493
    java, 0, 0, 6, 0, 0, 2082
    android.view, 0, 0, 50, 1, 0, 1043
    android.hardware, 0, 0, 35, 3, 0, 852
    android.app, 0, 0, 56, 0, 0, 1099
    android.content, 0, 0, 18, 0, 0, 583
    android.graphics, 0, 0, 4, 0, 0, 345
    android.icu, 0, 0, 1, 0, 0, 1474
    android.media, 0, 0, 10, 0, 0, 601
    android.net, 0, 0, 5, 0, 0, 223
    android.widget, 0, 0, 7, 0, 0, 398

File boot-image-profile.txt
  - hot methods: 1207 added, 856 removed
  - methods: 1207 added, 856 removed
  - classes: 80 added, 15 removed
  - totals now: 22788 hot methods, 22788 methods, 14158 classes
  - totals before: 22437 hot methods, 22437 methods, 14093 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1162, 835, 61, 8, 21264, 10001
    com.android, 43, 20, 16, 7, 1427, 3072
    android.view, 321, 199, 11, 1, 3484, 1043
    android.hardware, 26, 9, 4, 3, 492, 852
    android.animation, 24, 24, 0, 0, 404, 73
    android.app, 120, 36, 9, 0, 3018, 1100
    android.content, 90, 71, 3, 1, 1900, 585
    android.graphics, 87, 79, 2, 0, 1977, 345
    android.icu, 112, 107, 0, 0, 2048, 1474
    android.media, 15, 12, 0, 0, 792, 604
    android.net, 7, 6, 1, 0, 255, 223
    android.widget, 75, 68, 2, 0, 1408, 399

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 412 added, 11 removed
  - totals now: 0 hot methods, 0 methods, 14129 classes
  - totals before: 0 hot methods, 0 methods, 13728 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 351, 7, 0, 9982
    com.android, 0, 0, 38, 4, 0, 3064
    android.view, 0, 0, 50, 1, 0, 1043
    android.hardware, 0, 0, 35, 3, 0, 852
    android.app, 0, 0, 56, 0, 0, 1099
    android.content, 0, 0, 18, 0, 0, 583
    android.graphics, 0, 0, 4, 0, 0, 345
    android.icu, 0, 0, 1, 0, 0, 1474
    android.media, 0, 0, 10, 0, 0, 601
    android.net, 0, 0, 5, 0, 0, 223
    android.widget, 0, 0, 7, 0, 0, 398

File art-profile
  - hot methods: 1741 added, 2436 removed
  - methods: 1741 added, 2436 removed
  - classes: 185 added, 49 removed
  - totals now: 12201 hot methods, 12201 methods, 1612 classes
  - totals before: 12896 hot methods, 12896 methods, 1476 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 7, 23, 0, 0, 63, 23
    com.android, 1734, 2413, 184, 48, 12138, 1558
    android.hardware, 6, 21, 0, 0, 47, 12
    android.net, 1, 1, 0, 0, 10, 4

InternalReferenceRawProfileId: 33618
InternalReferenceCandidateProfileId: 33621

Test: build & benchmark

Change-Id: I137e6d45fc17143855f5c2458050fa650771d509
2023-03-27 09:04:31 +00:00
Islam Elbanna
f93b0ad669 Revert "Update boot image and system server profiles [M60C35P85S0PP]"
Revert submission 21609950-u-profiles-v7

BUG: 271469319
Reason for revert: Possible regression for startup time, will merge a better candidate later

Reverted changes: /q/submissionid:21609950-u-profiles-v7

Change-Id: I73d5b3f45ae4bb082e9312ad47c32f5e21fa073c
2023-03-03 15:25:28 +00:00
Alisher Alikhodjaev
941d928575 Merge "Implement NfcServiceManager and NfcFrameworkInitializer" am: 7e359a705b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2360420

Change-Id: I96a8563b02a668743ac9c7a1dea9a95d68daa2f6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 19:38:36 +00:00
art-benchmark-service
5cbfb0cf9b Update boot image and system server profiles [M60C35P85S0PP]
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:32538

= Perf stats =
(lower is better)

No noticeable impact for startup time, memory and boot time and a nice drop for code sizes (mainly ~4MB drop).

Startup: 0.03%
Memory(PSS): -0.93%
Boot time: 0.54%
Code size (.oat + .art + .odex): -4.93% (4.04 MB drop)

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

=Generation Strategy=

method_threshold: 0.6
image_class_threshold: 0.35
preloaded_classes_threshold: 0.85
priority_packages_thresholds {
  key: "services.jar.prof:CLASS:android"
  value: 0.04375
}
priority_packages_thresholds {
  key: "services.jar.prof:METHOD:android"
  value: 0.075
}

=Profile stats=

Data info:
- total aggregations: 2789
- number of (device types, builds): 62

File boot-image-profile.txt
  - hot methods: 1134 added, 1164 removed
  - methods: 1134 added, 1164 removed
  - classes: 0 added, 295 removed
  - totals now: 32486 hot methods, 32486 methods, 17011 classes
  - totals before: 32516 hot methods, 32516 methods, 17306 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 741, 766, 0, 236, 20976, 9743
    com.android, 27, 30, 0, 34, 2411, 3458
    java, 302, 304, 0, 2, 7138, 2079
    android.view, 198, 206, 0, 16, 3354, 1017
    android.hardware, 8, 9, 0, 26, 474, 825
    android.animation, 12, 12, 0, 0, 404, 73
    android.app, 35, 45, 0, 43, 2924, 1048
    android.content, 85, 89, 0, 12, 1877, 571
    android.graphics, 94, 93, 0, 1, 1970, 342
    android.icu, 86, 86, 0, 1, 2043, 1473
    android.media, 2, 3, 0, 8, 788, 596
    android.net, 11, 11, 0, 4, 254, 218
    android.widget, 53, 53, 0, 3, 1401, 394

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 0 added, 19 removed
  - totals now: 0 hot methods, 0 methods, 16908 classes
  - totals before: 0 hot methods, 0 methods, 16927 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 0, 9, 0, 9660
    com.android, 0, 0, 0, 8, 0, 3447
    java, 0, 0, 0, 1, 0, 2076
    android.view, 0, 0, 0, 3, 0, 991

File boot-image-profile.txt
  - hot methods: 765 added, 793 removed
  - methods: 765 added, 793 removed
  - classes: 0 added, 286 removed
  - totals now: 22409 hot methods, 22409 methods, 13807 classes
  - totals before: 22437 hot methods, 22437 methods, 14093 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 740, 765, 0, 236, 20912, 9712
    com.android, 25, 28, 0, 30, 1401, 3033
    android.view, 198, 206, 0, 16, 3354, 1017
    android.hardware, 8, 9, 0, 26, 474, 825
    android.animation, 12, 12, 0, 0, 404, 73
    android.app, 35, 45, 0, 43, 2924, 1048
    android.content, 85, 89, 0, 12, 1877, 571
    android.graphics, 94, 93, 0, 1, 1970, 342
    android.icu, 86, 86, 0, 1, 2043, 1473
    android.media, 2, 3, 0, 8, 788, 596
    android.net, 11, 11, 0, 4, 254, 218
    android.widget, 53, 53, 0, 3, 1401, 394

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 0 added, 17 removed
  - totals now: 0 hot methods, 0 methods, 13711 classes
  - totals before: 0 hot methods, 0 methods, 13728 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 0, 9, 0, 9629
    com.android, 0, 0, 0, 8, 0, 3022
    android.view, 0, 0, 0, 3, 0, 991

File art-profile
  - hot methods: 382 added, 5965 removed
  - methods: 382 added, 5965 removed
  - classes: 0 added, 33 removed
  - totals now: 7313 hot methods, 7313 methods, 1443 classes
  - totals before: 12896 hot methods, 12896 methods, 1476 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 55, 0, 2, 24, 21
    com.android, 382, 5910, 0, 30, 7289, 1392
    android.hardware, 0, 52, 0, 0, 10, 12
    android.content, 0, 0, 0, 1, 2, 3
    android.net, 0, 2, 0, 1, 8, 3

InternalReferenceRawProfileId: 32502
InternalReferenceCandidateProfileId: 32516

Test: build & benchmark

Change-Id: I6e540f8ec146e6aea4f87b85c694a52bb176e3ab
2023-03-01 14:58:47 +00:00
Alisher Alikhodjaev
08b7d5270f Implement NfcServiceManager and NfcFrameworkInitializer
Bug: 244264995
Test: read a tag, nfc on/off
Merged-In: Ie11e888cb852740d806d06c0c725bb2a4544e13c
Change-Id: Ie11e888cb852740d806d06c0c725bb2a4544e13c
2023-02-28 14:34:15 -08:00
Islam Elbanna
e8733a8177 Merge "Update boot image and system server profiles [M55C15P80S0PP]" 2023-02-14 20:18:33 +00:00
Ronish Kalia
6b365a84ab Merge "Rename healthconnect to healthfitness" 2023-02-14 12:08:35 +00:00
art-benchmark-service
00abe24009 Update boot image and system server profiles [M55C15P80S0PP]
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:32157

= Perf stats =
(lower is better)

Slight improvement for startup time, memory, boot time and huge drop for code sizes (mainly ~2MB drop for services.odex).

Startup: -0.53%
Memory(PSS): -0.24%
Boot time: -0.97%
Code size (.oat + .art + .odex): -2.73% (2.3 MB drop)

Ignore-AOSP-First: Boot image profiles

=Generation Strategy=

method_threshold: 0.55
image_class_threshold: 0.15
preloaded_classes_threshold: 0.8
priority_packages_thresholds {
  key: "services.jar.prof:android"
  value: 0.04
}

=Profile stats=

Data info:
- total aggregations: 776
- number of (device types, builds): 17

File boot-image-profile.txt
  - hot methods: 1248 added, 1252 removed
  - methods: 1248 added, 1252 removed
  - classes: 490 added, 14 removed
  - totals now: 32516 hot methods, 32516 methods, 17306 classes
  - totals before: 32520 hot methods, 32520 methods, 16830 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 824, 843, 368, 11, 21001, 9979
    com.android, 63, 62, 79, 3, 2414, 3492
    java, 313, 306, 10, 0, 7140, 2081
    android.view, 196, 194, 55, 3, 3362, 1033
    android.hardware, 3, 5, 41, 0, 475, 851
    android.animation, 39, 25, 0, 0, 404, 73
    android.app, 64, 95, 51, 0, 2934, 1091
    android.content, 80, 79, 15, 0, 1881, 583
    android.graphics, 104, 110, 8, 0, 1969, 343
    android.icu, 71, 69, 1, 0, 2043, 1474
    android.media, 2, 2, 15, 0, 789, 604
    android.net, 12, 12, 4, 0, 254, 222
    android.widget, 52, 47, 5, 0, 1401, 397

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 250 added, 15 removed
  - totals now: 0 hot methods, 0 methods, 16927 classes
  - totals before: 0 hot methods, 0 methods, 16692 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 153, 12, 0, 9669
    com.android, 0, 0, 57, 3, 0, 3455
    java, 0, 0, 29, 0, 0, 2077
    android.view, 0, 0, 44, 4, 0, 994
    android.hardware, 0, 0, 10, 0, 0, 820
    android.app, 0, 0, 9, 0, 0, 1043
    android.content, 0, 0, 4, 0, 0, 565
    android.graphics, 0, 0, 10, 0, 0, 341
    android.icu, 0, 0, 1, 0, 0, 1473
    android.media, 0, 0, 10, 0, 0, 591
    android.widget, 0, 0, 10, 0, 0, 391

File boot-image-profile.txt
  - hot methods: 844 added, 881 removed
  - methods: 844 added, 881 removed
  - classes: 461 added, 14 removed
  - totals now: 22437 hot methods, 22437 methods, 14093 classes
  - totals before: 22474 hot methods, 22474 methods, 13646 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 807, 844, 367, 11, 20937, 9948
    com.android, 36, 36, 74, 3, 1404, 3063
    android.view, 190, 194, 54, 3, 3362, 1033
    android.hardware, 2, 5, 41, 0, 475, 851
    android.animation, 39, 25, 0, 0, 404, 73
    android.app, 61, 95, 51, 0, 2934, 1091
    android.content, 78, 79, 15, 0, 1881, 583
    android.graphics, 104, 110, 8, 0, 1969, 343
    android.icu, 71, 69, 1, 0, 2043, 1474
    android.media, 2, 2, 15, 0, 789, 604
    android.net, 12, 12, 4, 0, 254, 222
    android.widget, 51, 47, 5, 0, 1401, 397

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 208 added, 17 removed
  - totals now: 0 hot methods, 0 methods, 13728 classes
  - totals before: 0 hot methods, 0 methods, 13537 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 153, 14, 0, 9638
    com.android, 0, 0, 55, 3, 0, 3030
    android.view, 0, 0, 44, 4, 0, 994
    android.hardware, 0, 0, 10, 0, 0, 820
    android.app, 0, 0, 9, 0, 0, 1043
    android.content, 0, 0, 4, 0, 0, 565
    android.graphics, 0, 0, 10, 0, 0, 341
    android.icu, 0, 0, 1, 0, 0, 1473
    android.media, 0, 0, 10, 0, 0, 591
    android.widget, 0, 0, 10, 0, 0, 391

File art-profile
  - hot methods: 2126 added, 6952 removed
  - methods: 2126 added, 6952 removed
  - classes: 83 added, 1961 removed
  - totals now: 12896 hot methods, 12896 methods, 1476 classes
  - totals before: 17722 hot methods, 17722 methods, 3354 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 9, 67, 1, 41, 79, 23
    com.android, 2117, 6885, 82, 1894, 12817, 1422
    android.hardware, 7, 35, 0, 24, 62, 12
    android.app, 0, 1, 0, 2, 0, 0
    android.content, 0, 0, 1, 0, 2, 4
    android.net, 1, 22, 0, 11, 10, 4

InternalReferenceRawProfileId: 32157
InternalReferenceCandidateProfileId: 32163

Test: build & benchmark
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code

Change-Id: Ic0a1e248907a14b18167a53816ab4083da7292d6
2023-02-14 10:25:02 +00:00
Alisher Alikhodjaev
d8c67dd892 Implement NfcServiceManager and NfcFrameworkInitializer
Bug: 244264995
Test: read a tag, nfc on/off
Change-Id: Ie11e888cb852740d806d06c0c725bb2a4544e13c
2023-02-08 09:49:49 -08:00
ronish
fc97db55b1 Rename healthconnect to healthfitness
Bug: 264516143
Change-Id: I972c9f4b88f7e7c1488f31f4db88265a356c5b9d
2023-02-07 18:09:23 +00:00
Paul Duffin
5e9010e245 Merge "Conditionally add the car bcpf to platform bootclasspath" am: 18f0a04eb8 am: 8076a6a0d3 am: 75fa8c900f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2378892

Change-Id: Ib6a03255fca5e2b8aac105e6f1e11329911e0021
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13 22:05:33 +00:00
Paul Duffin
8076a6a0d3 Merge "Conditionally add the car bcpf to platform bootclasspath" am: 18f0a04eb8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2378892

Change-Id: If730f49da9b288ffc042a6132297c2d7a8628950
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-13 15:43:33 +00:00
Paul Duffin
c67e1df34f Conditionally add the car bcpf to platform bootclasspath
Previously, the com.android.car.framework was always added to the
platform bootclasspath and then Soong ignored errors that arose when
the android.car-module was not listed in PRODUCT_APEX_BOOT_JARS. This
changes uses the target_board_auto Soong config variable to control
whether the car fragment is added or not.

Test: none
Bug: 264598408
Change-Id: Ie2819215ae399cf50ff17ca47551947773cae80d
2023-01-10 16:59:47 +00:00
art-benchmark-service
08401c1ffc Update boot image and system server profiles [M5C5P80S0]
Bug: 254051423
Test: go/art-benchmark?fb=BootImageProfileId:eq:29850

= Perf stats =
(lower is better)

Startup time, memory, boot time and Odex file sizes are all improving at the cost of a slight increase in generated boot image size, which could be an acceptable cost.

Startup: -1.88%
Memory: -0.12%
Boot time: -17.94%
Odex size: -0.10% (4.81 MB drop)
Boot image(.oat, .art) size: 1.88%

=Generation Strategy=

method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0

=Profile stats=

Data info:
- total aggregations: 178
- number of (device types, builds): 20

File boot-image-profile.txt
  - hot methods: 1546 added, 1376 removed
  - methods: 1544 added, 1376 removed
  - classes: 218 added, 52 removed
  - totals now: 32520 hot methods, 32520 methods, 16830 classes
  - totals before: 32350 hot methods, 32352 methods, 16664 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1012, 906, 120, 29, 21020, 9622
    com.android, 93, 78, 48, 14, 2413, 3416
    java, 403, 367, 41, 6, 7133, 2071
    android.view, 202, 236, 38, 8, 3360, 981
    android.hardware, 15, 8, 4, 0, 477, 810
    android.animation, 22, 23, 0, 0, 390, 73
    android.app, 151, 119, 7, 2, 2965, 1040
    android.content, 93, 72, 6, 0, 1880, 568
    android.graphics, 90, 87, 4, 4, 1975, 335
    android.icu, 91, 86, 4, 3, 2041, 1473
    android.media, 5, 8, 16, 2, 789, 589
    android.net, 9, 9, 0, 0, 254, 218
    android.widget, 50, 52, 11, 0, 1396, 392

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 246 added, 52 removed
  - totals now: 0 hot methods, 0 methods, 16692 classes
  - totals before: 0 hot methods, 0 methods, 16498 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 101, 27, 0, 9528
    com.android, 0, 0, 86, 16, 0, 3401
    java, 0, 0, 31, 6, 0, 2048
    android.view, 0, 0, 29, 6, 0, 954
    android.hardware, 0, 0, 4, 0, 0, 810
    android.animation, 0, 0, 1, 0, 0, 73
    android.app, 0, 0, 11, 2, 0, 1034
    android.content, 0, 0, 6, 0, 0, 561
    android.graphics, 0, 0, 3, 4, 0, 331
    android.icu, 0, 0, 3, 3, 0, 1472
    android.media, 0, 0, 11, 2, 0, 581
    android.widget, 0, 0, 2, 0, 0, 381

File boot-image-profile.txt
  - hot methods: 1111 added, 972 removed
  - methods: 1109 added, 972 removed
  - classes: 168 added, 43 removed
  - totals now: 22474 hot methods, 22474 methods, 13646 classes
  - totals before: 22335 hot methods, 22337 methods, 13521 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1029, 906, 121, 29, 20974, 9592
    com.android, 81, 65, 47, 14, 1404, 2992
    android.view, 208, 236, 39, 8, 3366, 982
    android.hardware, 16, 8, 4, 0, 478, 810
    android.animation, 22, 23, 0, 0, 390, 73
    android.app, 154, 119, 7, 2, 2968, 1040
    android.content, 95, 72, 6, 0, 1882, 568
    android.graphics, 90, 87, 4, 4, 1975, 335
    android.icu, 91, 86, 4, 3, 2041, 1473
    android.media, 5, 8, 16, 2, 789, 589
    android.net, 9, 9, 0, 0, 254, 218
    android.widget, 51, 52, 11, 0, 1397, 392

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 189 added, 43 removed
  - totals now: 0 hot methods, 0 methods, 13535 classes
  - totals before: 0 hot methods, 0 methods, 13389 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 101, 27, 0, 9497
    com.android, 0, 0, 86, 16, 0, 2978
    android.view, 0, 0, 29, 6, 0, 954
    android.hardware, 0, 0, 4, 0, 0, 810
    android.animation, 0, 0, 1, 0, 0, 73
    android.app, 0, 0, 11, 2, 0, 1034
    android.content, 0, 0, 6, 0, 0, 561
    android.graphics, 0, 0, 3, 4, 0, 331
    android.icu, 0, 0, 3, 3, 0, 1472
    android.media, 0, 0, 11, 2, 0, 581
    android.widget, 0, 0, 2, 0, 0, 381

File art-profile
  - hot methods: 2071 added, 12500 removed
  - methods: 1988 added, 38385 removed
  - classes: 121 added, 1950 removed
  - totals now: 17722 hot methods, 17722 methods, 3354 classes
  - totals before: 28151 hot methods, 54119 methods, 5183 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 18, 235, 4, 62, 137, 63
    com.android, 2053, 12252, 115, 1845, 17585, 3234
    android.hardware, 16, 209, 3, 49, 90, 36
    android.app, 0, 0, 0, 1, 1, 2
    android.content, 0, 0, 0, 2, 2, 3
    android.net, 1, 20, 1, 8, 31, 15

InternalReferenceRawProfileId: 29850
InternalReferenceCandidateProfileId: 29857

Ignore-AOSP-First: Boot image profiles

Change-Id: Idb5cccfb48336de21388b697755841069c356ab5
2022-12-28 11:09:58 +00:00
Shan Huang
79195a44ce Make OnBackAnimationCallback and BackEvent public.
Bug: 238475284
Test: BackNavigationGestureTest
Test: BackAnimationControllerTest
Change-Id: Ib342a92add166d804336653ab868bc0349540b2c
2022-11-30 09:00:28 -08:00
Qiao Li
85a346ade1 Merge "Clean up federatedcompute module config" 2022-11-18 17:55:51 +00:00
Nikita Ioffe
7bef1a42bf Merge changes from topics "avf-sys-feature", "move-avf-jar-to-bcp" am: 757c168f12 am: 5639ef4953 am: 9d5013bdcd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2259705

Change-Id: Ia179f1943f42c869421a411c328d5689ad4fd341
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 19:10:40 +00:00
Nikita Ioffe
9d5013bdcd Merge changes from topics "avf-sys-feature", "move-avf-jar-to-bcp" am: 757c168f12 am: 5639ef4953
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2259705

Change-Id: I0ec4b4f91dd746a96f4600e3f598f333ba879e59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 09:40:21 +00:00
Nikita Ioffe
5639ef4953 Merge changes from topics "avf-sys-feature", "move-avf-jar-to-bcp" am: 757c168f12
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2259705

Change-Id: I864dd2564a2f4411a7f83d048aac3e70498ab789
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-16 09:08:15 +00:00
Nikita Ioffe
ceff6b8f1f Add com.android.virt-bootclasspath-fragment
Bug: 243512044
Test: build on product with AVF support
Test: build on product without AVF support
Change-Id: Iefebdad4da18bab5870c41f67839030d927ab6f7
2022-11-15 08:44:42 +00:00
qiaoli
99be9445cd Clean up federatedcompute module config
Test: TH
Bug: 253316936
Change-Id: I344d4cddf16082d0ecad3c3005ec80faf36dd12d
2022-11-15 07:29:19 +00:00
art-benchmark-service
a949c1b448 Update boot image and system server profiles [M5C5P80S0], RESTRICT AUTOMERGE Since these are profiles for T release only. am: 9f9a36381c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20320595

Change-Id: If6d4156289e9d16f01f50ed32bc2f9aced4f028f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-31 13:52:54 +00:00
art-benchmark-service
9f9a36381c Update boot image and system server profiles [M5C5P80S0], RESTRICT AUTOMERGE Since these are profiles for T release only.
Bug: 254051423

= Perf stats =
(lower is better)

Startup time and code size are improving at the cost of a slight increase in boot time and memory, which could be an acceptable cost.

Startup: -1.42%
Memory: 0.23%
Boot time: 2.08%
Code size: -1.75%


=Generation Strategy=

method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0

=Profile stats=

Data info:
- total aggregations: 2452
- number of (device types, builds): 186

File boot-image-profile.txt
  - hot methods: 2315 added, 2247 removed
  - methods: 2315 added, 2247 removed
  - classes: 15 added, 1 removed
  - totals now: 22388 hot methods, 22388 methods, 13667 classes
  - totals before: 22320 hot methods, 22320 methods, 13653 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 2207, 2141, 9, 1, 20822, 9487
    com.android, 91, 89, 5, 0, 1470, 3109
    android.view, 512, 499, 5, 0, 3379, 949
    android.hardware, 29, 23, 0, 0, 472, 807
    android.animation, 65, 65, 0, 0, 393, 73
    android.app, 178, 162, 0, 1, 2924, 1029
    android.content, 216, 210, 0, 0, 1857, 564
    android.graphics, 230, 218, 2, 0, 1979, 336
    android.icu, 190, 188, 0, 0, 2035, 1472
    android.media, 19, 17, 0, 0, 798, 576
    android.net, 27, 26, 0, 0, 255, 219
    android.widget, 164, 164, 0, 0, 1396, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 182 added, 3 removed
  - totals now: 0 hot methods, 0 methods, 13361 classes
  - totals before: 0 hot methods, 0 methods, 13182 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 92, 3, 0, 9260
    com.android, 0, 0, 16, 0, 0, 3074
    android.view, 0, 0, 42, 0, 0, 915
    android.app, 0, 0, 0, 1, 0, 989
    android.media, 0, 0, 4, 2, 0, 565
    android.widget, 0, 0, 7, 0, 0, 375

File boot-image-profile.txt
  - hot methods: 3425 added, 3332 removed
  - methods: 3425 added, 3332 removed
  - classes: 15 added, 1 removed
  - totals now: 32352 hot methods, 32352 methods, 16812 classes
  - totals before: 32259 hot methods, 32259 methods, 16798 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 2210, 2144, 9, 1, 20885, 9518
    com.android, 193, 191, 5, 0, 2480, 3531
    java, 807, 786, 0, 0, 7055, 2042
    android.view, 512, 499, 5, 0, 3379, 949
    android.hardware, 29, 23, 0, 0, 472, 807
    android.animation, 65, 65, 0, 0, 393, 73
    android.app, 178, 162, 0, 1, 2924, 1029
    android.content, 216, 210, 0, 0, 1857, 564
    android.graphics, 230, 218, 2, 0, 1979, 336
    android.icu, 190, 188, 0, 0, 2035, 1472
    android.media, 19, 17, 0, 0, 798, 576
    android.net, 27, 26, 0, 0, 255, 219
    android.widget, 164, 164, 0, 0, 1396, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 182 added, 3 removed
  - totals now: 0 hot methods, 0 methods, 16431 classes
  - totals before: 0 hot methods, 0 methods, 16252 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 92, 3, 0, 9291
    com.android, 0, 0, 16, 0, 0, 3484
    android.view, 0, 0, 42, 0, 0, 915
    android.app, 0, 0, 0, 1, 0, 989
    android.media, 0, 0, 4, 2, 0, 565
    android.widget, 0, 0, 7, 0, 0, 375

File art-profile
  - hot methods: 2960 added, 7053 removed
  - methods: 3522 added, 8149 removed
  - classes: 54 added, 307 removed
  - totals now: 32610 hot methods, 58687 methods, 5184 classes
  - totals before: 36703 hot methods, 63314 methods, 5437 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 32, 45, 0, 5, 441, 143
    com.android, 2928, 6997, 53, 296, 32163, 4954
    android.hardware, 31, 43, 0, 5, 346, 99
    android.app, 0, 1, 0, 0, 2, 3
    android.content, 0, 0, 0, 0, 1, 5
    android.net, 1, 1, 0, 0, 74, 27

InternalReferenceRawProfileId: 20586
InternalReferenceCandidateProfileId: 20601

Test: build & benchmark
Ignore-AOSP-First: T profiles

Change-Id: I1d6deb18973fe86817619dbe41704d9ac6a96dbb
2022-10-31 10:45:19 +00:00
Amos Bianchi
62e8cf3a70 Add Device Lock service to system server.
Bug: b/241442337
Bug: b/228907574
Test: service successfully starts
Test: atest DeviceLockUnitTests
Test: cts-tradefed run cts -m CtsDeviceLockTestCases

Change-Id: I928d697c4040168955090712547c973a9e7ff61c
2022-10-20 22:50:42 -07:00
art-benchmark-service
9ef6c57626 Update boot image and system server profiles [M10C10P80S0]
Bug: 254051423

= Perf stats =
(lower is better)

Startup and boot time, memory and code side are all improved.

Startup: -3.39%
Memory: -5.84%
Boot time: -1.50%
Code size: -2.35%

=Generation Strategy=

method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0

=Profile stats=

Data info:
- total aggregations: 183
- number of (device types, builds): 19

File boot-image-profile.txt
  - hot methods: 17 added, 1063 removed
  - methods: 17 added, 1112 removed
  - classes: 8 added, 1 removed
  - totals now: 22335 hot methods, 22337 methods, 13521 classes
  - totals before: 23381 hot methods, 23432 methods, 13514 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 15, 962, 7, 1, 20851, 9500
    com.android, 2, 100, 1, 0, 1388, 2959
    android.view, 3, 170, 2, 0, 3394, 951
    android.hardware, 0, 34, 0, 0, 470, 806
    android.animation, 0, 6, 0, 0, 391, 73
    android.app, 7, 205, 1, 1, 2933, 1035
    android.content, 1, 35, 0, 0, 1859, 562
    android.graphics, 2, 59, 1, 0, 1972, 335
    android.icu, 0, 26, 0, 0, 2036, 1472
    android.media, 0, 78, 0, 0, 792, 575
    android.net, 0, 14, 0, 0, 254, 218
    android.widget, 0, 79, 0, 0, 1398, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 5 added, 3 removed
  - totals now: 0 hot methods, 0 methods, 13389 classes
  - totals before: 0 hot methods, 0 methods, 13387 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 5, 3, 0, 9423
    android.app, 0, 0, 0, 1, 0, 1025
    android.media, 0, 0, 5, 2, 0, 572

File boot-image-profile.txt
  - hot methods: 40 added, 1077 removed
  - methods: 40 added, 1126 removed
  - classes: 11 added, 1 removed
  - totals now: 32350 hot methods, 32352 methods, 16664 classes
  - totals before: 33387 hot methods, 33438 methods, 16654 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 15, 962, 7, 1, 20914, 9531
    com.android, 2, 100, 1, 0, 2398, 3382
    java, 23, 14, 2, 0, 7097, 2036
    android.view, 3, 170, 2, 0, 3394, 951
    android.hardware, 0, 34, 0, 0, 470, 806
    android.animation, 0, 6, 0, 0, 391, 73
    android.app, 7, 205, 1, 1, 2933, 1035
    android.content, 1, 35, 0, 0, 1859, 562
    android.graphics, 2, 59, 1, 0, 1972, 335
    android.icu, 0, 26, 0, 0, 2036, 1472
    android.media, 0, 78, 0, 0, 792, 575
    android.net, 0, 14, 0, 0, 254, 218
    android.widget, 0, 79, 0, 0, 1398, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 5 added, 3 removed
  - totals now: 0 hot methods, 0 methods, 16498 classes
  - totals before: 0 hot methods, 0 methods, 16496 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 5, 3, 0, 9454
    android.app, 0, 0, 0, 1, 0, 1025
    android.media, 0, 0, 5, 2, 0, 572

File art-profile
  - hot methods: 1128 added, 531 removed
  - methods: 1883 added, 730 removed
  - classes: 61 added, 8 removed
  - totals now: 28149 hot methods, 54115 methods, 5183 classes
  - totals before: 27552 hot methods, 52962 methods, 5130 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 9, 1, 0, 0, 354, 121
    com.android, 1115, 530, 59, 8, 27782, 4964
    android.hardware, 9, 1, 0, 0, 283, 82

InternalReferenceRawProfileId: 16050
InternalReferenceCandidateProfileId: 16066

Test: build & benchmark

Ignore-AOSP-First: Updating boot image profiles

Change-Id: I3c6f9caae9bdf7efeb9d10cbac94ab729e9d4e6b
2022-10-18 09:11:19 +00:00
Hassan Ali
3dddec3af4 Merge "Add configinfrastructure to platform_bootclasspath" 2022-10-10 13:46:28 +00:00
art-benchmark-service
9f6049f747 Update boot image and system server profiles [M10C10P80S0PP]
= Perf stats =
(lower is better)

Startup and boot time are improving at the cost of a slight increase in code size, which could be an acceptable cost.

Also it fixes a regression at
Bug: b/249424113

Startup: -1.71%
Memory: 0.02%
Boot time: -0.95%
Code size: 2.41%

=Generation Strategy=

method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
  key: "android"
  value: 0.04
}
priority_packages_thresholds {
  key: "com.android.systemui"
  value: 0.04
}
priority_packages_thresholds {
  key: "com.google.android.GoogleCamera"
  value: 0.04
}
priority_packages_thresholds {
  key: "com.google.android.dialer"
  value: 0.04
}
priority_packages_thresholds {
  key: "com.google.android.gms"
  value: 0.04
}
priority_packages_thresholds {
  key: "com.google.android.webview"
  value: 0.04
}

=Profile stats=

Data info:
- total aggregations: 138
- number of (device types, builds): 15

File boot-image-profile.txt
  - hot methods: 2288 added, 1228 removed
  - methods: 2339 added, 1228 removed
  - classes: 138 added, 246 removed
  - totals now: 23381 hot methods, 23432 methods, 13514 classes
  - totals before: 22321 hot methods, 22321 methods, 13622 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 2095, 1053, 75, 37, 21798, 9494
    com.android, 182, 165, 61, 199, 1486, 2958
    android.view, 455, 268, 22, 15, 3561, 949
    android.hardware, 44, 6, 0, 1, 504, 806
    android.animation, 39, 26, 1, 0, 397, 73
    android.app, 359, 136, 14, 3, 3131, 1035
    android.content, 130, 91, 6, 5, 1893, 562
    android.graphics, 124, 65, 3, 3, 2029, 334
    android.icu, 82, 53, 0, 0, 2062, 1472
    android.media, 82, 8, 0, 1, 870, 575
    android.net, 20, 6, 0, 1, 268, 218
    android.widget, 138, 57, 2, 0, 1477, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 450 added, 229 removed
  - totals now: 0 hot methods, 0 methods, 13393 classes
  - totals before: 0 hot methods, 0 methods, 13172 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 286, 27, 0, 9427
    com.android, 0, 0, 42, 192, 0, 2908
    android.view, 0, 0, 68, 10, 0, 931
    android.hardware, 0, 0, 18, 1, 0, 806
    android.animation, 0, 0, 1, 0, 0, 72
    android.app, 0, 0, 39, 3, 0, 1026
    android.content, 0, 0, 8, 5, 0, 555
    android.graphics, 0, 0, 4, 3, 0, 332
    android.icu, 0, 0, 2, 0, 0, 1472
    android.media, 0, 0, 13, 0, 0, 575
    android.net, 0, 0, 3, 1, 0, 218
    android.widget, 0, 0, 11, 0, 0, 379

File boot-image-profile.txt
  - hot methods: 2876 added, 1749 removed
  - methods: 2927 added, 1749 removed
  - classes: 190 added, 262 removed
  - totals now: 33387 hot methods, 33438 methods, 16654 classes
  - totals before: 32260 hot methods, 32260 methods, 16726 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 2095, 1053, 82, 37, 21861, 9525
    com.android, 208, 191, 66, 199, 2496, 3381
    java, 471, 417, 18, 15, 7088, 2034
    android.view, 455, 268, 22, 15, 3561, 949
    android.hardware, 44, 6, 0, 1, 504, 806
    android.animation, 39, 26, 1, 0, 397, 73
    android.app, 359, 136, 18, 3, 3131, 1035
    android.content, 130, 91, 6, 5, 1893, 562
    android.graphics, 124, 65, 3, 3, 2029, 334
    android.icu, 82, 53, 0, 0, 2062, 1472
    android.media, 82, 8, 3, 1, 870, 575
    android.net, 20, 6, 0, 1, 268, 218
    android.widget, 138, 57, 2, 0, 1477, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 511 added, 245 removed
  - totals now: 0 hot methods, 0 methods, 16502 classes
  - totals before: 0 hot methods, 0 methods, 16236 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 290, 27, 0, 9458
    com.android, 0, 0, 55, 192, 0, 3331
    java, 0, 0, 27, 15, 0, 2023
    android.view, 0, 0, 68, 10, 0, 931
    android.hardware, 0, 0, 18, 1, 0, 806
    android.animation, 0, 0, 1, 0, 0, 72
    android.app, 0, 0, 41, 3, 0, 1026
    android.content, 0, 0, 8, 5, 0, 555
    android.graphics, 0, 0, 4, 3, 0, 332
    android.icu, 0, 0, 2, 0, 0, 1472
    android.media, 0, 0, 13, 0, 0, 575
    android.net, 0, 0, 3, 1, 0, 218
    android.widget, 0, 0, 11, 0, 0, 379

File art-profile
  - hot methods: 6099 added, 11176 removed
  - methods: 8477 added, 16478 removed
  - classes: 512 added, 399 removed
  - totals now: 27552 hot methods, 52962 methods, 5130 classes
  - totals before: 32629 hot methods, 60963 methods, 5017 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 25, 97, 0, 23, 346, 121
    com.android, 6074, 11075, 492, 368, 27197, 4913
    android.hardware, 23, 83, 0, 20, 275, 82
    android.app, 0, 2, 0, 0, 1, 3
    android.content, 1, 0, 0, 0, 2, 5
    android.net, 1, 12, 0, 3, 50, 22

InternalReferenceRawProfileId: 14025
InternalReferenceCandidateProfileId: 15056

Test: build & benchmark

Ignore-AOSP-First: Updating boot image profiles

Change-Id: Id3e168b9ac675e6b3d12b1f7d69268732488e211
2022-10-07 13:13:57 +00:00
Hassan Ali
482f91c8e3 Add configinfrastructure to platform_bootclasspath
Test: m configinfrastructure-sdk
Bug: 248552678
Change-Id: Ic7c7f18c281b376eb84e07114343fd8eb719c52e
2022-10-05 13:20:10 +00:00
qiaoli
8d1d87d286 Add federatedcompute stubs and bootclasspath fragment
Test: TH
Bug: 244640209
Change-Id: I364cbe5303333f1e70585840c1bda178135fe22d
2022-09-28 16:22:32 +00:00
Anna Zhuravleva
bdc7f99df4 Add Health Connect library to bootclasspath.
Test: build
Bug: 244547761
Change-Id: I4c3e0285d4fb3a1e540c3820a7b0e94a2685219f
2022-09-06 10:47:37 +00:00
art-benchmark-service
2cf233a180 Update boot image and system server profiles [M10C10P80S0], RESTRICT AUTOMERGE (Since these are profiles for T release only) am: 0842656809
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19582529

Change-Id: I5e0b145563401497c57d945a2e3994a18a80da91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 09:59:16 +00:00
art-benchmark-service
0842656809 Update boot image and system server profiles [M10C10P80S0], RESTRICT AUTOMERGE (Since these are profiles for T release only)
= Perf stats =
(lower is better)

Startup time is improving at the cost of a slight increase in code size, memory and boot-time, which could be an acceptable cost.

Startup: -1.61%
PSS: 0.93%
RSS: 0.90%
Privat Dirty: 3.14%
Boot time: 0.58%
Code size: 0.18%

=Generation Strategy=

method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0

=Profile stats=

Data info:
- total aggregations: 16916
- number of (device types, builds): 450

File boot-image-profile.txt
  - hot methods: 420 added, 436 removed
  - methods: 420 added, 436 removed
  - classes: 0 added, 5 removed
  - totals now: 22320 hot methods, 22320 methods, 13653 classes
  - totals before: 22336 hot methods, 22336 methods, 13658 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 407, 422, 0, 5, 20756, 9479
    com.android, 6, 7, 0, 0, 1468, 3104
    android.view, 133, 145, 0, 5, 3366, 944
    android.hardware, 6, 5, 0, 0, 466, 807
    android.animation, 8, 8, 0, 0, 393, 73
    android.app, 25, 25, 0, 0, 2908, 1030
    android.content, 38, 41, 0, 0, 1851, 564
    android.graphics, 38, 42, 0, 0, 1967, 334
    android.icu, 23, 23, 0, 0, 2033, 1472
    android.media, 2, 2, 0, 0, 796, 576
    android.net, 3, 3, 0, 0, 254, 219
    android.widget, 45, 45, 0, 0, 1396, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 6 added, 0 removed
  - totals now: 0 hot methods, 0 methods, 13182 classes
  - totals before: 0 hot methods, 0 methods, 13176 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 5, 0, 0, 9171
    android.app, 0, 0, 2, 0, 0, 990
    android.media, 0, 0, 1, 0, 0, 563

File boot-image-profile.txt
  - hot methods: 634 added, 650 removed
  - methods: 634 added, 650 removed
  - classes: 0 added, 5 removed
  - totals now: 32259 hot methods, 32259 methods, 16798 classes
  - totals before: 32275 hot methods, 32275 methods, 16803 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 408, 423, 0, 5, 20819, 9510
    com.android, 56, 57, 0, 0, 2478, 3526
    java, 125, 125, 0, 0, 7034, 2042
    android.view, 133, 145, 0, 5, 3366, 944
    android.hardware, 6, 5, 0, 0, 466, 807
    android.animation, 8, 8, 0, 0, 393, 73
    android.app, 25, 25, 0, 0, 2908, 1030
    android.content, 38, 41, 0, 0, 1851, 564
    android.graphics, 38, 42, 0, 0, 1967, 334
    android.icu, 23, 23, 0, 0, 2033, 1472
    android.media, 2, 2, 0, 0, 796, 576
    android.net, 3, 3, 0, 0, 254, 219
    android.widget, 45, 45, 0, 0, 1396, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 6 added, 0 removed
  - totals now: 0 hot methods, 0 methods, 16252 classes
  - totals before: 0 hot methods, 0 methods, 16246 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 5, 0, 0, 9202
    android.app, 0, 0, 2, 0, 0, 990
    android.media, 0, 0, 1, 0, 0, 563

File art-profile
  - hot methods: 1459 added, 1017 removed
  - methods: 1825 added, 1408 removed
  - classes: 54 added, 6 removed
  - totals now: 36703 hot methods, 63314 methods, 5437 classes
  - totals before: 36261 hot methods, 62897 methods, 5389 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 4, 1, 0, 0, 454, 148
    com.android, 1454, 1016, 54, 6, 36232, 5197
    android.hardware, 4, 1, 0, 0, 358, 104

InternalReferenceRawProfileId: 10606
InternalReferenceCandidateProfileId: 10612

Test: build & benchmark

Ignore-AOSP-First: T profiles

Change-Id: I941ad5affa04cf701ac9882e8e5afb582d733c45
2022-08-17 12:37:00 +00:00
art-benchmark-service
23b5c65dd0 RESTRICT AUTOMERGE am: 803fd5e8a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19457909

Change-Id: I9042f70daca982dba7605f3b40cf0c8ebe97f924
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-29 12:23:11 +00:00
art-benchmark-service
803fd5e8a5 RESTRICT AUTOMERGE
Since these are profiles for T release only.

Update boot image and system server profiles [M10C10P80S0]

= Perf stats =
(lower is better)

Startup time, memory and boot time are improving at the cost of a slight increase in code size, which could be an acceptable cost.

Startup: -1.20%%
PSS: -0.43%
RSS: 0.16%
Privat Dirty: -0.23%
Boot time: -13.09%
Code size: 1.95%

=Generation Strategy=

method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0

=Profile stats=

Data info:
- total aggregations: 14464
- number of (device types, builds): 396

File boot-image-profile.txt
  - hot methods: 1867 added, 1852 removed
  - methods: 1867 added, 1852 removed
  - classes: 36 added, 0 removed
  - totals now: 22336 hot methods, 22336 methods, 13658 classes
  - totals before: 22321 hot methods, 22321 methods, 13622 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1772, 1757, 28, 0, 20771, 9484
    com.android, 95, 95, 8, 0, 1469, 3104
    android.view, 367, 363, 7, 0, 3378, 949
    android.hardware, 16, 17, 0, 0, 465, 807
    android.animation, 54, 45, 1, 0, 393, 73
    android.app, 141, 141, 6, 0, 2908, 1030
    android.content, 193, 193, 3, 0, 1854, 564
    android.graphics, 210, 209, 0, 0, 1971, 334
    android.icu, 162, 162, 0, 0, 2033, 1472
    android.media, 12, 12, 0, 0, 796, 576
    android.net, 32, 32, 0, 0, 254, 219
    android.widget, 139, 139, 2, 0, 1396, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 7 added, 3 removed
  - totals now: 0 hot methods, 0 methods, 13176 classes
  - totals before: 0 hot methods, 0 methods, 13172 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 1, 3, 0, 9166
    android.app, 0, 0, 0, 2, 0, 988
    android.icu, 0, 0, 1, 0, 0, 1471

File boot-image-profile.txt
  - hot methods: 2682 added, 2667 removed
  - methods: 2682 added, 2667 removed
  - classes: 77 added, 0 removed
  - totals now: 32275 hot methods, 32275 methods, 16803 classes
  - totals before: 32260 hot methods, 32260 methods, 16726 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1773, 1758, 35, 0, 20834, 9515
    com.android, 136, 136, 12, 0, 2479, 3526
    java, 640, 640, 11, 0, 7034, 2042
    android.view, 367, 363, 7, 0, 3378, 949
    android.hardware, 16, 17, 0, 0, 465, 807
    android.animation, 54, 45, 1, 0, 393, 73
    android.app, 141, 141, 10, 0, 2908, 1030
    android.content, 193, 193, 3, 0, 1854, 564
    android.graphics, 210, 209, 0, 0, 1971, 334
    android.icu, 162, 162, 0, 0, 2033, 1472
    android.media, 12, 12, 3, 0, 796, 576
    android.net, 32, 32, 0, 0, 254, 219
    android.widget, 139, 139, 2, 0, 1396, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 11 added, 2 removed
  - totals now: 0 hot methods, 0 methods, 16246 classes
  - totals before: 0 hot methods, 0 methods, 16237 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 3, 1, 0, 9197
    java, 0, 0, 0, 1, 0, 2011
    android.icu, 0, 0, 1, 0, 0, 1471

File art-profile
  - hot methods: 5252 added, 1620 removed
  - methods: 3641 added, 1707 removed
  - classes: 373 added, 1 removed
  - totals now: 36261 hot methods, 62897 methods, 5389 classes
  - totals before: 32629 hot methods, 60963 methods, 5017 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 50, 17, 4, 0, 451, 148
    com.android, 5199, 1603, 361, 1, 35794, 5149
    android.hardware, 35, 15, 2, 0, 355, 104
    android.content, 0, 0, 0, 0, 1, 5
    android.net, 14, 1, 2, 0, 74, 27

InternalReferenceRawProfileId: 10558
InternalReferenceCandidateProfileId: 10566

Test: build & benchmark

Change-Id: I70e504ecad27ec4f213ce71bcef3c44ef0f57e3a
2022-07-29 10:07:47 +00:00
Ivan Chiang
36e6fecf63 Use noteOpNoThrow instead of checkOpNoThrow in AssistDataRequester
To audit data access and verify the uid and package are consistent,
use noteOpNoThrow instead of checkOpNoThrow.

Bug: 187439908
Test: atest AssistDataRequesterTest
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsAssistTestCases
Change-Id: Ib48040b5b55be09958da4398f4d663908573568c
2022-07-18 05:55:59 +00:00
TreeHugger Robot
575f7a41a1 Merge "Change Bluetooth apex mountpoint" into tm-dev am: 7a1c701712 am: 183bba2187 am: a9abf3ce77
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19038084

Change-Id: I4adccf555ab14095ffce6ddbd42ce2eecdc333a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 11:15:47 +00:00
TreeHugger Robot
73e564fe80 Merge "Change Bluetooth apex mountpoint" into tm-dev am: 7a1c701712 am: a506d19b0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19038084

Change-Id: I8fb452c5d9aef764141685fef00de87cb26246b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 10:50:54 +00:00
TreeHugger Robot
8e7a983e84 Merge "Change Bluetooth apex mountpoint" into tm-dev am: 7a1c701712
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19038084

Change-Id: I0a607b5e69c7baa5c3ae43a53a78bac387f179ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-23 10:33:36 +00:00
William Escande
7b012e937e Change Bluetooth apex mountpoint
Apex name has been changed to com.android.btservices
Changing mount point accordingly
Bug: 235892590
Test: Flash / boot bt / look logs & pair a device

Change-Id: I8cff5f6449ee19466b3df571a40e062964a9e46c
2022-06-22 13:19:14 -07:00
Automerger Merge Worker
0e3a19b32f Merge "Merge "Remove the *byteShort string resources from the frameworks" am: 73caeda3ad am: 8e6a5fa450" into tm-dev-plus-aosp am: 8576ae798a am: 8e567d3c30 am: 0d4289194b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2100172

Change-Id: If3de1c0499d054ee194bc1e3a09935c884de703c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 16:08:42 +00:00
Victor Chang
de05f19334 Merge "Remove the *byteShort string resources from the frameworks" am: 73caeda3ad am: 8e6a5fa450
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2100172

Change-Id: I944d0d73a165e7817cf4a10d85cd49d880640432
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 15:12:44 +00:00
Yohei Yukawa
1f0211714c Remove IInputMethodClient from hiddenapi-unsupported.txt
There has somehow been the following AIDL-generaged method

  IInputMethodSession IInputMethodSession.Stub#asInterface(IBinder)

in hiddenapi-unsupported.  This is strange because A) there is no way
for IME client apps to obtain an IBinder object of IInputMethodSession
and B) even if IME client apps somehow get a raw IBinder object of
IInputMethodSession its IPC methods are not accessible due to
restrictions on non-SDK interfaces.  Therefore, the risk of
accidentally breaking apps by removing this entry is supposed to be
very low.

To make future refactoring possible, let's remove this entry from
hiddenapi-unsupported.txt.

Fix: 235267988
Test: presubmit
Change-Id: If3b0737854038e39c2bfe4f7811c5d7d7bdc18a7
2022-06-07 16:12:02 -07:00