Commit Graph

112 Commits

Author SHA1 Message Date
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
Santiago Aboy Solanes
9103e46b40 Merge "Update boot image and system server profiles [M10C10P80S0]" into tm-dev am: 0cbdd27570 am: fdadb861b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18756267

Change-Id: I3a95aae1e572e3b23780a50098a0e47a12513d0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-07 08:45:33 +00:00
art-benchmark-service
22928e1a85 Update boot image and system server profiles [M10C10P80S0]
Summary:
Startup: -1.18%
Memory: -3.75%
Code size: 0.52
Boot time: 2.45%

Reasoning: Improvements in startup and memory, at the cost of boot time and slight code size increases.

=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: 4523
- number of (device types, builds): 144

File boot-image-profile.txt
  - hot methods: 337 added, 337 removed
  - methods: 337 added, 337 removed
  - classes: 107 added, 0 removed
  - totals now: 22321 hot methods, 22321 methods, 13622 classes
  - totals before: 22321 hot methods, 22321 methods, 13515 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 321, 320, 86, 0, 20756, 9456
    com.android, 6, 7, 17, 0, 1469, 3096
    android.view, 106, 106, 9, 0, 3374, 942
    android.hardware, 2, 2, 2, 0, 466, 807
    android.animation, 27, 27, 0, 0, 384, 72
    android.app, 18, 17, 10, 0, 2908, 1024
    android.content, 20, 20, 4, 0, 1854, 561
    android.graphics, 20, 20, 0, 0, 1970, 334
    android.icu, 28, 28, 1, 0, 2033, 1472
    android.media, 0, 0, 7, 0, 796, 576
    android.net, 2, 2, 3, 0, 254, 219
    android.widget, 25, 25, 3, 0, 1396, 379

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 0 added, 5 removed
  - totals now: 0 hot methods, 0 methods, 13172 classes
  - totals before: 0 hot methods, 0 methods, 13177 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, 5, 0, 9168
    android.view, 0, 0, 0, 5, 0, 873

File boot-image-profile.txt
  - hot methods: 524 added, 440 removed
  - methods: 524 added, 440 removed
  - classes: 127 added, 0 removed
  - totals now: 32260 hot methods, 32260 methods, 16726 classes
  - totals before: 32176 hot methods, 32176 methods, 16599 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 373, 319, 80, 0, 20819, 9480
    com.android, 36, 11, 25, 0, 2479, 3514
    java, 99, 94, 12, 0, 7034, 2031
    android.view, 109, 106, 9, 0, 3374, 942
    android.hardware, 3, 2, 2, 0, 466, 807
    android.animation, 27, 27, 0, 0, 384, 72
    android.app, 32, 17, 6, 0, 2908, 1020
    android.content, 23, 20, 4, 0, 1854, 561
    android.graphics, 20, 20, 0, 0, 1970, 334
    android.icu, 36, 27, 1, 0, 2033, 1472
    android.media, 11, 0, 4, 0, 796, 573
    android.net, 3, 2, 3, 0, 254, 219
    android.widget, 29, 25, 3, 0, 1396, 379

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 1 added, 7 removed
  - totals now: 0 hot methods, 0 methods, 16237 classes
  - totals before: 0 hot methods, 0 methods, 16243 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, 7, 0, 9195
    java, 0, 0, 1, 0, 0, 2012
    android.view, 0, 0, 0, 5, 0, 873
    android.app, 0, 0, 0, 2, 0, 988

File art-profile
  - hot methods: 4524 added, 1108 removed
  - methods: 3185 added, 1274 removed
  - classes: 474 added, 4 removed
  - totals now: 32629 hot methods, 60963 methods, 5017 classes
  - totals before: 29213 hot methods, 59052 methods, 4547 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 38, 12, 6, 0, 418, 144
    com.android, 4480, 1096, 453, 4, 32198, 4789
    android.hardware, 23, 12, 0, 0, 335, 102
    android.net, 15, 0, 6, 0, 61, 25

InternalReferenceRawProfileId: 7132
InternalReferenceCandidateProfileId: 7146

Test: build & benchmark
Bug: 223366272

Change-Id: Idbced6f8ef01d883370d566b0a0200cdded3dc6c
2022-06-06 13:16:57 +00:00
Rhed Jao
8f7e68c0f4 Fix cross user package visibility leakage for getAppOpPermissionPackages
To fix cross user package visibility leakage, this CL filters out
packages that aren't installed in the calling user before the API
returns results to the caller.

Also adding a user id parameter to the API for the system modules to
specify the correct user id when querying the appop permission packages.

NoNonSdkCheck: Keep @UnsupportedAppUsage for new signature api
Bug: 229684723
Test: atest CrossUserPackageVisibilityTests
Change-Id: I9d3de91b0195d3396d2737673cb23ef899e23467
2022-06-01 12:33:48 +08:00
art-benchmark-service
46a3a0d91b Update boot image and system server profiles [M5C5P80S0]
=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: 2245
- number of (device types, builds): 83

File boot-image-profile.txt
  - hot methods: 1213 added, 157 removed
  - methods: 1213 added, 157 removed
  - classes: 41 added, 4 removed
  - totals now: 22321 hot methods, 22321 methods, 13515 classes
  - totals before: 21265 hot methods, 21265 methods, 13478 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1110, 154, 37, 4, 20755, 9370
    com.android, 103, 3, 1, 0, 1470, 3079
    android.view, 238, 29, 7, 2, 3374, 933
    android.hardware, 67, 0, 10, 0, 466, 805
    android.app, 171, 60, 0, 2, 2907, 1014
    android.content, 92, 8, 0, 0, 1854, 557
    android.graphics, 24, 1, 1, 0, 1970, 334
    android.icu, 145, 2, 0, 0, 2033, 1471
    android.media, 53, 0, 1, 0, 796, 569
    android.net, 9, 2, 0, 0, 254, 216
    android.widget, 39, 3, 0, 0, 1396, 376

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 366 added, 363 removed
  - totals now: 0 hot methods, 0 methods, 13177 classes
  - totals before: 0 hot methods, 0 methods, 13174 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 4, 3, 0, 9173
    android.view, 0, 0, 0, 1, 0, 878
    android.app, 0, 0, 2, 2, 0, 990

File boot-image-profile.txt
  - hot methods: 1660 added, 225 removed
  - methods: 1660 added, 225 removed
  - classes: 48 added, 4 removed
  - totals now: 32176 hot methods, 32176 methods, 16599 classes
  - totals before: 30741 hot methods, 30741 methods, 16555 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1058, 154, 36, 4, 20765, 9400
    com.android, 135, 10, 1, 0, 2454, 3489
    java, 373, 45, 5, 0, 7029, 2019
    android.view, 235, 29, 7, 2, 3371, 933
    android.hardware, 66, 0, 10, 0, 465, 805
    android.app, 157, 60, 0, 2, 2893, 1014
    android.content, 89, 8, 0, 0, 1851, 557
    android.graphics, 25, 1, 1, 0, 1970, 334
    android.icu, 136, 2, 0, 0, 2024, 1471
    android.media, 42, 0, 1, 0, 785, 569
    android.net, 8, 2, 0, 0, 253, 216
    android.widget, 35, 3, 0, 0, 1392, 376

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 764 added, 536 removed
  - totals now: 0 hot methods, 0 methods, 16243 classes
  - totals before: 0 hot methods, 0 methods, 16015 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 2, 0, 0, 9202
    com.android, 0, 0, 62, 0, 0, 3468
    java, 0, 0, 113, 0, 0, 2011
    android.app, 0, 0, 2, 0, 0, 990

File art-profile
  - hot methods: 3750 added, 924 removed
  - methods: 6074 added, 1212 removed
  - classes: 125 added, 9 removed
  - totals now: 29213 hot methods, 59052 methods, 4547 classes
  - totals before: 26387 hot methods, 54190 methods, 4431 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 29, 9, 2, 0, 392, 138
    com.android, 3721, 915, 122, 9, 28814, 4340
    android.hardware, 27, 8, 2, 0, 324, 102
    android.net, 2, 1, 0, 0, 46, 19

InternalReferenceRawProfileId: 7112
InternalReferenceCandidateProfileId: 7121

Test: build & benchmark
Bug: 223366272

Change-Id: I9f938d3279919d91c7cd1c9ba40aca62f6404b0a
2022-05-24 08:49:22 +00:00
art-benchmark-service
a846e4e358 Update boot image and system server profiles [M15C15P85S0]
=Generation Strategy=

method_threshold: 0.15
image_class_threshold: 0.15
preloaded_classes_threshold: 0.85
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0

=Profile stats=

Data info:
- total aggregations: 728
- number of (device types, builds): 39

File boot-image-profile.txt
  - hot methods: 7827 added, 9252 removed
  - methods: 7827 added, 9252 removed
  - classes: 498 added, 1007 removed
  - totals now: 21265 hot methods, 21265 methods, 13478 classes
  - totals before: 22690 hot methods, 22690 methods, 13987 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 7358, 8683, 323, 595, 19799, 9337
    com.android, 431, 531, 51, 395, 1370, 3078
    android.view, 1320, 1356, 58, 11, 3165, 928
    android.hardware, 109, 116, 27, 27, 399, 795
    android.bluetooth, 0, 173, 0, 170, 0, 0
    android.animation, 193, 210, 1, 0, 384, 72
    android.app, 886, 984, 45, 12, 2796, 1016
    android.content, 765, 1139, 12, 49, 1770, 557
    android.graphics, 776, 801, 14, 1, 1947, 333
    android.icu, 630, 680, 11, 68, 1890, 1471
    android.media, 133, 164, 11, 10, 743, 568
    android.net, 92, 556, 1, 200, 247, 216
    android.widget, 574, 595, 8, 0, 1360, 376

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 2379 added, 682 removed
  - totals now: 0 hot methods, 0 methods, 13174 classes
  - totals before: 0 hot methods, 0 methods, 11477 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 1248, 508, 0, 9172
    com.android, 0, 0, 766, 174, 0, 3058
    android.view, 0, 0, 143, 7, 0, 879
    android.hardware, 0, 0, 134, 25, 0, 789
    android.bluetooth, 0, 0, 0, 164, 0, 0
    android.app, 0, 0, 131, 8, 0, 990
    android.content, 0, 0, 78, 40, 0, 552
    android.graphics, 0, 0, 36, 0, 0, 331
    android.icu, 0, 0, 66, 64, 0, 1470
    android.media, 0, 0, 72, 9, 0, 562
    android.net, 0, 0, 40, 165, 0, 216
    android.widget, 0, 0, 39, 0, 0, 368

File boot-image-profile.txt
  - hot methods: 11908 added, 13507 removed
  - methods: 11908 added, 13507 removed
  - classes: 895 added, 1047 removed
  - totals now: 30741 hot methods, 30741 methods, 16555 classes
  - totals before: 32340 hot methods, 32340 methods, 16707 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 7393, 8717, 323, 595, 19861, 9368
    com.android, 842, 942, 121, 395, 2329, 3488
    java, 2712, 2914, 231, 24, 6701, 2014
    android.view, 1320, 1356, 58, 11, 3165, 928
    android.hardware, 109, 116, 27, 27, 399, 795
    android.bluetooth, 0, 173, 0, 170, 0, 0
    android.animation, 193, 210, 1, 0, 384, 72
    android.app, 886, 984, 45, 12, 2796, 1016
    android.content, 765, 1139, 12, 49, 1770, 557
    android.graphics, 775, 801, 14, 1, 1946, 333
    android.icu, 630, 680, 11, 68, 1890, 1471
    android.media, 133, 164, 11, 10, 743, 568
    android.net, 92, 556, 1, 200, 247, 216
    android.widget, 574, 595, 8, 0, 1360, 376

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 2820 added, 709 removed
  - totals now: 0 hot methods, 0 methods, 16015 classes
  - totals before: 0 hot methods, 0 methods, 13904 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 1254, 507, 0, 9200
    com.android, 0, 0, 775, 174, 0, 3406
    java, 0, 0, 198, 14, 0, 1898
    android.view, 0, 0, 142, 6, 0, 878
    android.hardware, 0, 0, 135, 25, 0, 789
    android.bluetooth, 0, 0, 0, 164, 0, 0
    android.app, 0, 0, 132, 8, 0, 988
    android.content, 0, 0, 78, 40, 0, 552
    android.graphics, 0, 0, 36, 0, 0, 331
    android.icu, 0, 0, 66, 64, 0, 1470
    android.media, 0, 0, 72, 9, 0, 562
    android.net, 0, 0, 40, 165, 0, 216
    android.widget, 0, 0, 39, 0, 0, 368

File art-profile
  - hot methods: 16518 added, 25602 removed
  - methods: 31902 added, 28848 removed
  - classes: 1107 added, 2440 removed
  - totals now: 26387 hot methods, 54190 methods, 4431 classes
  - totals before: 35471 hot methods, 51136 methods, 5764 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 219, 316, 42, 343, 372, 136
    com.android, 16297, 25136, 1048, 2045, 26008, 4227
    android.hardware, 206, 143, 40, 67, 305, 100
    android.app, 2, 0, 1, 1, 3, 3
    android.content, 0, 2, 0, 2, 1, 5
    android.media, 0, 0, 0, 1, 0, 0
    android.net, 10, 167, 1, 269, 45, 19

InternalReferenceRawProfileId: 6586
InternalReferenceCandidateProfileId: 6607

Test: build & benchmark

Bug: 223366272

Change-Id: Id523f8c8e9aa78afc560c4876feba7d65c5b29e1
2022-05-17 18:31:21 +01:00
Victor Chang
756c8c3f5b Remove the *byteShort string resources from the frameworks
The "byteShort" is still kept because ICU's version is too long for this
use case.

This commit is separated to unblock the previous commit which removed
the usage of these strings.

Bug: 36994779
Bug: 71580745
Bug: 217592956
Test: m droid
Change-Id: I1833bd357860841037aa323cdf6acf9366b6ca1e
2022-05-17 17:07:11 +01:00
Xiao Ma
f4d72b212c Split out the ethernet API surface and use framework-connectivity-t
Ethernet framework and service source code is going to be moved to
Connectivity mainline module, this CL contains below corresponding
changes to adapt the migration in f/b side:

1. Split out ethernet module-lib APIs to Connectivity module.
   Add the ethernet resource filegroup to tiramisu-updatable-sources
   filegroup as well, build them together. Also update the module-lib
   and system api txt to reflect the APIs change. Remove the hidden
   APIs which are moved to Connectivity module. This removal fixes the
   api inconsistent issue with Tethering/apex/hidden/.

2. Remove EthernetService from SystemServer which will be registered
   from ConnectivityServiceInitializer.

3. Replace the BackgroundThread class(imported from f/b/core/java)
   with the one in the modules-utils-backgroundthread lib, which is
   visible to Connectivity module.

Bug: 210586283
Test: m
Test: atest FrameworksNetTests EthernetServiceTests
Change-Id: I3e13cb9c0e348333af295c2537d459aa6700ff17
Merged-In: I1956848d3248cc56e9841d221e5e4c160bed65a4
2022-03-14 13:47:01 +00:00
Xiao Ma
218c4d3162 Split out the ethernet API surface and use framework-connectivity-t
Ethernet framework and service source code is going to be moved to
Connectivity mainline module, this CL contains below corresponding
changes to adapt the migration in f/b side:

1. Split out ethernet module-lib APIs to Connectivity module.
   Add the ethernet resource filegroup to tiramisu-updatable-sources
   filegroup as well, build them together. Also update the module-lib
   and system api txt to reflect the APIs change. Remove the hidden
   APIs which are moved to Connectivity module. This removal fixes the
   api inconsistent issue with Tethering/apex/hidden/.

2. Remove EthernetService from SystemServer which will be registered
   from ConnectivityServiceInitializer.

3. Replace the BackgroundThread class(imported from f/b/core/java)
   with the one in the modules-utils-backgroundthread lib, which is
   visible to Connectivity module.

Bug: 210586283
Test: m
Test: atest FrameworksNetTests EthernetServiceTests
Change-Id: I1956848d3248cc56e9841d221e5e4c160bed65a4
2022-03-10 21:22:42 +09:00
Frank Wang
22c3bb0c72 Merge "Remove Auxiliary stubs and bootclasspath fragment" into tm-dev 2022-03-04 16:38:39 +00:00
Frank Wang
0ce30dd193 Remove Auxiliary stubs and bootclasspath fragment
Test: TH
Bug: 210728915
Change-Id: I9434a5cc50d3dbea0b55a8b8deda987fbd5e66ea
2022-03-03 06:13:41 +00:00
Nikita Ioffe
e267cc6f42 Remove supplementalprocess APEX
Bug: 220320098
Test: m
Change-Id: Ib3392d9609e6ef421c53c38d7f5e32df2e2d6a6d
2022-03-02 18:44:11 +00:00
Roopa Sattiraju
82c71dd74d Merge "Enabling Apex in BT" into tm-dev 2022-02-25 06:30:19 +00:00
Roopa Sattiraju
293ed88b2f Enabling Apex in BT
Bug: 217736913
Test: Compile, bringup and test user journeys
Change-Id: I3e796e3618ad9a077fa5e8ac387e314e896d1051
2022-02-24 20:42:33 +00:00
Neha Pattan
fa46dd2aae (1/6) AdServices setup.
Bug: 219953633
Test: build
      mmm -j packages/modules/AdServices
      mmm -j packages/modules/SupplementalApi
Change-Id: I2fe660daf8f90b41526d946fb66e83aaf9fd1ed0
2022-02-24 16:28:26 +00:00
Junyu Lai
6b708138c1 [MS54.1] Move NetworkStats to updatable sources
This CL builds NetworkStats related code with the
connectivity module instead of platform.

This includes:
1. Add netstats.proto to the module.
2. Add lib dependencies for all callers.
3. Include several source files in platform and add jarjar rule
   to it. Modify callers accordingly.

Test: TH
Bug: 197717846
Change-Id: I244693aebe1782d9e67502638ff8145c51462e1e
Merged-In: I244693aebe1782d9e67502638ff8145c51462e1e
2022-02-18 16:20:47 +08:00
Frank Wang
e97ff9ebfe Add ondevicepersonalization stubs and bootclasspath fragment
Test: Build
Bug: b/218749359
Change-Id: I651ca865a3215fa2a541636c3af495fdcd4ba8f9
2022-02-13 07:06:31 +00:00
Aaron Huang
794d210854 Split out the ipsec API surface and use framework-connectivity-tiramisu
(cherry picked from commit 1dad7aa006)
Bug: 204153604
Test: TH
Change-Id: I6cc8aef6a0ab9ce4bcef2797196b1d1b3687acca
Merged-In: I6cc8aef6a0ab9ce4bcef2797196b1d1b3687acca
2022-02-10 19:01:00 +09:00
Junyu Lai
a8f1f762eb [MS54.1] Move NetworkStats to updatable sources
This CL builds NetworkStats related code with the
connectivity module instead of platform.

This includes:
1. Add netstats.proto to the module.
2. Add lib dependencies for all callers.
3. Include several source files in platform and add jarjar rule
   to it. Modify callers accordingly.

Test: TH
Bug: 197717846
Change-Id: I244693aebe1782d9e67502638ff8145c51462e1e
2022-02-07 11:45:17 +09:00
Aaron Huang
1dad7aa006 Split out the ipsec API surface and use framework-connectivity-tiramisu
Bug: 204153604
Test: TH
Change-Id: I6cc8aef6a0ab9ce4bcef2797196b1d1b3687acca
2022-02-03 09:47:41 +09:00
Remi NGUYEN VAN
0b692d5b50 Remove nearby API surface
It is being merged into the tethering/connectivity API surface, under
the existing framework-connectivity-t API.

Bug: 189355156
Test: m
Change-Id: I5878ffc1449f0eb19abdccd34d5c8ca1f711fbc8
2022-01-28 11:25:09 +09:00
Frank Wang
07861f70d3 Revert "Revert "Add SupplementalProcess stubs and bootclasspath ..."
Revert^2 "Add bootclasspath config in Auxiliary."

ba33413304d140c02bd8d2477576fb19889af031

Change-Id: I2e8f05406c90565b517f5d7d05aae0dc6d8a4200
2022-01-27 07:52:21 +00:00
Calvin Pan
a9ace2c620 Clean <plurals> in FindActionModeCallback
Bug: 199230228
Test: make
Change-Id: I59618e5467696d3173dfb4782ce55964694a42fc
2022-01-24 14:46:19 +08:00
paulhu
c100db56a2 Split out the nsd API surface and use framework-connectivity-tiramisu
- Split out nsd APIs and hidden APIs to Connectivity module.
- Keep the all files in f/b/packages/Connectivity-T and add
  framework-connectivity-tiramisu library on p/m/Connectivity.
  Then make framework to use this module library.
- Remove NsdService from SystemServer which will register from
  ConnectivityServiceInitializer

Bug: 206893064
Test: m online-sdk-dev-docs
Test: atest FrameworksNetTests CtsNetTestCases
CTS-Coverage-Bug: 207804007
Merged-In: I72c7de124b9cc53f2263bd452ecd5f39e88e485b
Change-Id: I72c7de124b9cc53f2263bd452ecd5f39e88e485b
2022-01-19 18:47:45 +08:00