Nicolas Geoffray
637477eb87
Merge "Remove obsolete files on preloaded classes."
2021-11-17 10:36:58 +00:00
Nicolas Geoffray
26ef5ab715
Fix typo.
...
Test: n/a
Change-Id: Iacfde2e7b3e85e41233681302beed4db3f9ca576
2021-11-11 10:27:02 +00:00
Nicolas Geoffray
417a3ac589
Remove obsolete files on preloaded classes.
...
These files look to be unused.
Test: m
Change-Id: Idb7a9aa9e71290919b06a48fb4ee2df699494aa4
2021-11-10 10:25:19 +00:00
Nicolas Geoffray
83eb7d1759
Add a README to frameworks/base/config.
...
Bug: 174746397
Test: N/A
Change-Id: Ie1131c9ff818d1a5308774eb51337f8200a85d79
2021-11-10 09:36:47 +00:00
TreeHugger Robot
6ad573b6a5
Merge "Update boot image and system server profiles [M5C5P90S0PP]" into sc-dev am: db2dd6d551
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15325625
Change-Id: I52ec5aab82ffee901df46c6a61c1c09e6718b452
2021-07-19 17:04:07 +00:00
art-benchmark-service
66b4d95bc5
Update boot image and system server profiles [M5C5P90S0PP]
...
= Perf stats =
(lower is better)
Start, memory and code size are improving at a slight expense of boot
time. The increase in boot time is however small, and could well be
in the noise.
Cold startup (speed-profile): -1.21%
PSS: -3.40%
RSS: -2.58%
Privat Dirty: -4.68%
Boot time: 0.04%
Code size: 2.79%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 6988
- number of (device types, builds): 256
File boot-image-profile.txt
- hot methods: 3564 added, 2353 removed
- methods: 3564 added, 2353 removed
- classes: 498 added, 29 removed
- totals now: 22707 hot methods, 22707 methods, 13987 classes
- totals before: 21496 hot methods, 21496 methods, 13518 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3418, 2238, 39, 11, 21138, 9609
com.android, 145, 114, 89, 18, 1473, 3422
android.view, 575, 372, 4, 0, 3202, 881
android.hardware, 88, 41, 2, 0, 407, 795
android.bluetooth, 26, 23, 0, 0, 173, 170
android.animation, 95, 56, 0, 0, 401, 71
android.app, 392, 225, 7, 0, 2896, 983
android.content, 329, 243, 5, 1, 2146, 594
android.graphics, 425, 246, 0, 0, 1974, 320
android.icu, 115, 86, 0, 0, 1940, 1528
android.media, 98, 62, 0, 0, 777, 567
android.net, 78, 51, 2, 10, 711, 415
android.widget, 344, 277, 0, 0, 1382, 368
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 3 added, 19 removed
- totals now: 0 hot methods, 0 methods, 11477 classes
- totals before: 0 hot methods, 0 methods, 11493 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, 8432
com.android, 0, 0, 0, 18, 0, 2466
android.hardware, 0, 0, 1, 0, 0, 680
android.app, 0, 0, 2, 0, 0, 867
android.content, 0, 0, 0, 1, 0, 514
File boot-image-profile.txt
- hot methods: 4788 added, 2939 removed
- methods: 4788 added, 2939 removed
- classes: 678 added, 29 removed
- totals now: 32340 hot methods, 32340 methods, 16707 classes
- totals before: 30491 hot methods, 30491 methods, 16058 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3432, 2249, 39, 11, 21185, 9640
com.android, 291, 154, 89, 18, 2429, 3762
java, 825, 434, 0, 0, 6903, 1807
android.view, 574, 372, 4, 0, 3201, 881
android.hardware, 87, 41, 2, 0, 406, 795
android.bluetooth, 37, 23, 0, 0, 173, 170
android.animation, 95, 56, 0, 0, 401, 71
android.app, 390, 225, 7, 0, 2894, 983
android.content, 327, 243, 5, 1, 2144, 594
android.graphics, 423, 246, 0, 0, 1972, 320
android.icu, 115, 86, 0, 0, 1940, 1528
android.media, 95, 62, 0, 0, 774, 567
android.net, 78, 51, 2, 10, 711, 415
android.widget, 344, 277, 0, 0, 1381, 368
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 20 removed
- totals now: 0 hot methods, 0 methods, 13904 classes
- totals before: 0 hot methods, 0 methods, 13924 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, 2, 0, 8453
com.android, 0, 0, 0, 18, 0, 2805
android.view, 0, 0, 0, 1, 0, 742
android.content, 0, 0, 0, 1, 0, 514
File art-profile
- hot methods: 4595 added, 2644 removed
- methods: 5217 added, 3300 removed
- classes: 359 added, 13 removed
- totals now: 35471 hot methods, 51136 methods, 5764 classes
- totals before: 33520 hot methods, 49219 methods, 5418 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 37, 12, 157, 0, 469, 437
com.android, 4557, 2631, 142, 13, 34847, 5224
android.hardware, 8, 8, 0, 0, 242, 127
android.net, 29, 4, 157, 0, 202, 287
InternalReferenceRawProfileId: 4117
InternalReferenceCandidateProfileId: 4124
Bug: 169104277
Test: build & benchmark
Change-Id: I6dd60b5d0457e0fa35d57082677892ae65b9e920
2021-07-19 01:59:38 +00:00
Orion Hodson
1752ac5faa
Update art-team@ related OWNERS am: 7c5a5c137c am: 5a871ea77c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1739553
Change-Id: I9ff8a9b00e4ae3c00d3bf4d44081b54490bd2b2d
2021-06-25 09:30:43 +00:00
Orion Hodson
7c5a5c137c
Update art-team@ related OWNERS
...
Bug: none
Test: none
Change-Id: Ia950ae80af64f1d64c2bb1948cea842776a42f59
2021-06-25 09:46:53 +01:00
art-benchmark-service
ec0f5b9e8d
Update boot image and system server profiles [M5C5P89S0PP]
...
= Perf stats =
(lower is better)
Startup time is improving at the cost of slight increase in memory usage.
This is due the a large number of extra preloaded classes which will
be trimmed down in further updates.
Cold startup (speed-profile): -2.05%
PSS: -1.41%
RSS: -0.63%
Privat Dirty: -2.03%
Boot time: -0.71%
Code size: 0.47%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.899
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 5637
- number of (device types, builds): 179
File boot-image-profile.txt
- hot methods: 1354 added, 873 removed
- methods: 1354 added, 873 removed
- classes: 165 added, 2 removed
- totals now: 21496 hot methods, 21496 methods, 13518 classes
- totals before: 21015 hot methods, 21015 methods, 13355 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1304, 833, 156, 2, 19958, 9581
com.android, 49, 39, 9, 0, 1442, 3351
android.view, 157, 128, 3, 2, 2999, 877
android.hardware, 5, 4, 0, 0, 360, 793
android.bluetooth, 3, 3, 0, 0, 170, 170
android.animation, 24, 24, 0, 0, 362, 71
android.app, 139, 127, 0, 0, 2729, 976
android.content, 121, 106, 1, 0, 2060, 590
android.graphics, 96, 79, 1, 0, 1795, 320
android.icu, 39, 35, 0, 0, 1911, 1528
android.media, 20, 21, 1, 0, 741, 567
android.net, 381, 14, 141, 0, 684, 423
android.widget, 94, 94, 2, 0, 1315, 368
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 108 added, 0 removed
- totals now: 0 hot methods, 0 methods, 11493 classes
- totals before: 0 hot methods, 0 methods, 11385 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 108, 0, 0, 8430
android.view, 0, 0, 1, 0, 0, 743
android.app, 0, 0, 1, 0, 0, 865
android.net, 0, 0, 106, 0, 0, 341
File boot-image-profile.txt
- hot methods: 1685 added, 1227 removed
- methods: 1685 added, 1227 removed
- classes: 167 added, 2 removed
- totals now: 30491 hot methods, 30491 methods, 16058 classes
- totals before: 30033 hot methods, 30033 methods, 15893 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1303, 843, 158, 2, 20002, 9612
com.android, 112, 102, 9, 0, 2292, 3691
java, 216, 229, 0, 0, 6512, 1807
android.view, 157, 128, 3, 2, 2999, 877
android.hardware, 5, 4, 0, 0, 360, 793
android.bluetooth, 3, 14, 0, 0, 159, 170
android.animation, 24, 24, 0, 0, 362, 71
android.app, 140, 126, 0, 0, 2729, 976
android.content, 121, 106, 1, 0, 2060, 590
android.graphics, 96, 79, 1, 0, 1795, 320
android.icu, 39, 35, 0, 0, 1911, 1528
android.media, 20, 21, 1, 0, 741, 567
android.net, 381, 14, 141, 0, 684, 423
android.widget, 93, 94, 2, 0, 1314, 368
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 110 added, 0 removed
- totals now: 0 hot methods, 0 methods, 13924 classes
- totals before: 0 hot methods, 0 methods, 13814 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 110, 0, 0, 8455
android.view, 0, 0, 1, 0, 0, 743
android.media, 0, 0, 1, 0, 0, 499
android.net, 0, 0, 106, 0, 0, 341
File art-profile
- hot methods: 2406 added, 1622 removed
- methods: 2927 added, 1862 removed
- classes: 77 added, 4 removed
- totals now: 33520 hot methods, 49219 methods, 5418 classes
- totals before: 32736 hot methods, 48154 methods, 5345 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 23, 4, 8, 0, 444, 280
com.android, 2383, 1618, 69, 4, 32921, 5095
android.hardware, 2, 2, 0, 0, 242, 127
android.content, 2, 1, 1, 0, 3, 7
android.net, 16, 1, 7, 0, 177, 130
InternalReferenceRawProfileId: 3925
InternalReferenceCandidateProfileId: 3934
Bug: 169104277
Test: build & benchmark
Change-Id: Ifd03de98020a738cfa7687fe83d7d3e5c89f5c10
2021-05-26 17:09:59 +00:00
art-benchmark-service
84deab3dfe
Update boot image and system server profiles [M5C5P89S0PP]
...
= Perf stats =
(lower is better)
Reduction in the overall memory consumptions as well as faster
cold startups. The trade-off is a slight increase of code size.
Cold startup (speed-profile): -1.25%
PSS: -1.67%
RSS: -1.79%
Privat Dirty: -5.96%
Boot time: -0.82%
Code size: +4.85%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.899
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 5307
- number of (device types, builds): 168
File boot-image-profile.txt
- hot methods: 21015 added, 0 removed
- methods: 21015 added, 0 removed
- classes: 13355 added, 0 removed
- totals now: 21015 hot methods, 21015 methods, 13355 classes
- totals before: 0 hot methods, 0 methods, 0 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 19487, 0, 9427, 0, 19487, 9427
com.android, 1432, 0, 3342, 0, 1432, 3342
java, 2, 0, 114, 0, 2, 114
android.view, 2970, 0, 876, 0, 2970, 876
android.hardware, 359, 0, 793, 0, 359, 793
android.bluetooth, 170, 0, 170, 0, 170, 170
android.animation, 362, 0, 71, 0, 362, 71
android.app, 2717, 0, 976, 0, 2717, 976
android.content, 2045, 0, 589, 0, 2045, 589
android.graphics, 1778, 0, 319, 0, 1778, 319
android.icu, 1907, 0, 1528, 0, 1907, 1528
android.media, 742, 0, 566, 0, 742, 566
android.net, 317, 0, 282, 0, 317, 282
android.widget, 1315, 0, 366, 0, 1315, 366
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 11385 added, 0 removed
- totals now: 0 hot methods, 0 methods, 11385 classes
- totals before: 0 hot methods, 0 methods, 0 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 8322, 0, 0, 8322
com.android, 0, 0, 2484, 0, 0, 2484
java, 0, 0, 114, 0, 0, 114
android.view, 0, 0, 742, 0, 0, 742
android.hardware, 0, 0, 679, 0, 0, 679
android.bluetooth, 0, 0, 164, 0, 0, 164
android.animation, 0, 0, 71, 0, 0, 71
android.app, 0, 0, 864, 0, 0, 864
android.content, 0, 0, 515, 0, 0, 515
android.graphics, 0, 0, 295, 0, 0, 295
android.icu, 0, 0, 1468, 0, 0, 1468
android.media, 0, 0, 499, 0, 0, 499
android.net, 0, 0, 235, 0, 0, 235
android.widget, 0, 0, 329, 0, 0, 329
File boot-image-profile.txt
- hot methods: 2663 added, 2687 removed
- methods: 2659 added, 2687 removed
- classes: 201 added, 248 removed
- totals now: 30033 hot methods, 30033 methods, 15893 classes
- totals before: 30057 hot methods, 30061 methods, 15940 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1988, 1537, 113, 228, 19542, 9456
com.android, 295, 255, 86, 20, 2282, 3682
java, 304, 673, 0, 0, 6525, 1807
android.view, 210, 127, 21, 0, 2970, 876
android.hardware, 35, 10, 5, 2, 359, 793
android.bluetooth, 18, 16, 0, 0, 170, 170
android.animation, 28, 13, 0, 0, 362, 71
android.app, 285, 190, 16, 19, 2715, 976
android.content, 298, 104, 5, 0, 2045, 589
android.graphics, 143, 65, 0, 0, 1778, 319
android.icu, 103, 43, 0, 0, 1907, 1528
android.media, 71, 18, 4, 2, 742, 566
android.net, 42, 387, 5, 138, 317, 282
android.widget, 143, 88, 3, 0, 1315, 366
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 33 added, 175 removed
- totals now: 0 hot methods, 0 methods, 13814 classes
- totals before: 0 hot methods, 0 methods, 13956 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 6, 170, 0, 8345
com.android, 0, 0, 27, 5, 0, 2823
android.app, 0, 0, 2, 1, 0, 864
android.graphics, 0, 0, 2, 0, 0, 295
android.net, 0, 0, 0, 107, 0, 235
File art-profile
- hot methods: 4351 added, 2717 removed
- methods: 5688 added, 3427 removed
- classes: 174 added, 40 removed
- totals now: 32736 hot methods, 48154 methods, 5345 classes
- totals before: 31102 hot methods, 45893 methods, 5211 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 11, 37, 0, 18, 425, 272
com.android, 4337, 2679, 173, 22, 32156, 5030
android.hardware, 2, 2, 0, 0, 242, 127
android.net, 9, 32, 0, 15, 162, 123
InternalReferenceRawProfileId: 3892
InternalReferenceCandidateProfileId: 3900
Test: build & benchmark
Bug: 169104277
Change-Id: I64897afc1d6899d729d9086f64ac3a9574429526
(cherry picked from commit c6c95e8d93267548ba191ef3354539d183167652)
2021-05-14 17:07:47 +00:00
Paul Duffin
3f0bc6b4ba
Merge "Remove unnecessary entries in frameworks/base/config/OWNERS" am: a2baa71441 am: e9ec371853 am: a8329471e4
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1665364
Change-Id: I41bcbbc966570eb53feb276ff89a65b9854d92c3
2021-04-09 01:05:37 +00:00
Paul Duffin
4d7845e51c
Remove unnecessary entries in frameworks/base/config/OWNERS
...
The relevant files (and corresponding OWNERS entries) have been moved
to frameworks/base/boot/hiddenapi/.
Bug: 179354495
Test: m nothing
Change-Id: Ie0d7bb8c0c5176c165102f83d2d2f71d152cfd7a
2021-04-07 22:17:36 +01:00
Paul Duffin
26c79b9600
resolve merge conflicts of 86472844bc466ba9e8ccbaea5de727437ab2c9f3 to sc-dev
...
Bug: 179354495
Test: m nothing
Change-Id: I44f047eb68624d66dd215b4a8395d52dec22e4f2
2021-04-07 20:17:28 +01:00
Paul Duffin
15d97d8865
Move hiddenapi config into frameworks/base/boot
...
As part of the work to modularize the hiddenapi this change moves the
hiddenapi configuration files into the frameworks/base/boot directory
which is where the platform_bootclasspath module that will end up
using it resides.
Bug: 179354495
Test: verified that the out/soong/hiddenapi/... files are unchanged
by this change
Change-Id: Ic1c3ac9b717c34fa8ff36f349a75fb397101a077
2021-04-06 13:55:50 +01:00
art-benchmark-service
f45ca2fb70
Update boot image and system server profiles [M5C5P90S0PP]
...
= Perf stats =
(lower is better)
Big reduction in the overall memory consumptions as well as faster cold startups. The trade-off is a slight increase of code size.
Cold startup (speed-profile): -2.45%
PSS: -6.93%
RSS: -2.06%
Privat Dirty: -8.15%
Boot time: -0.71%
Code size: +5.73%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 4778
- number of (device types, builds): 138
File boot-image-profile.txt
- hot methods: 4497 added, 2661 removed
- methods: 4497 added, 2661 removed
- classes: 760 added, 34 removed
- totals now: 30057 hot methods, 30061 methods, 15940 classes
- totals before: 28221 hot methods, 28225 methods, 15214 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3051, 1971, 263, 22, 19091, 9571
com.android, 348, 157, 436, 12, 2242, 3616
java, 799, 398, 59, 0, 6894, 1807
android.view, 573, 390, 60, 1, 2887, 855
android.hardware, 51, 29, 3, 0, 334, 790
android.bluetooth, 21, 1, 1, 0, 168, 170
android.animation, 105, 104, 0, 0, 347, 71
android.app, 350, 168, 38, 1, 2620, 979
android.content, 272, 181, 17, 0, 1851, 584
android.graphics, 319, 310, 16, 0, 1700, 319
android.icu, 241, 152, 0, 0, 1847, 1528
android.media, 67, 26, 13, 2, 689, 564
android.net, 78, 49, 8, 3, 662, 415
android.widget, 246, 182, 11, 0, 1260, 363
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 18 removed
- totals now: 0 hot methods, 0 methods, 13956 classes
- totals before: 0 hot methods, 0 methods, 13974 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, 15, 0, 8509
com.android, 0, 0, 0, 3, 0, 2801
android.view, 0, 0, 0, 1, 0, 742
android.app, 0, 0, 0, 2, 0, 863
android.graphics, 0, 0, 0, 2, 0, 293
android.media, 0, 0, 0, 1, 0, 498
File art-profile
- hot methods: 4156 added, 2740 removed
- methods: 4967 added, 3444 removed
- classes: 415 added, 11 removed
- totals now: 31102 hot methods, 45893 methods, 5211 classes
- totals before: 29686 hot methods, 44370 methods, 4807 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 26, 34, 8, 1, 451, 290
com.android, 4107, 2698, 407, 10, 30498, 4879
android.hardware, 12, 12, 0, 0, 242, 127
android.content, 0, 0, 0, 0, 2, 6
android.net, 14, 21, 8, 1, 185, 138
InternalReferenceRawProfileId: 3751
InternalReferenceCandidateProfileId: 3761
Test: build & benchmark
Bug: 169104277
Change-Id: Ie9de3cba7c952b28cb48e53d44cab6e21cc8d81f
2021-04-06 00:05:36 +00:00
Janis Danisevskis
9ba0f37f8a
Merge "Keystore 2.0: Remove Keystore 1.0 SPI with all remaining references" am: a8b1b1a2e6 am: 08945c21ef am: 66ead4fb0b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1624872
Change-Id: I08fcf329e59c309d9292edc846653b02e7a60f21
2021-04-03 02:02:03 +00:00
Janis Danisevskis
a6dcf091f5
Keystore 2.0: Remove Keystore 1.0 SPI with all remaining references
...
Bug: 171305684
Test: CtsKeystoreTestCases
Change-Id: I337515dadc9e45b909bff058d4e13371b4fa843c
2021-04-01 17:06:41 -07:00
art-benchmark-service
ba35403064
Update boot image and system server profiles [M5C5P90S0PP]
...
= Perf stats =
(lower is better)
Start and memory are improving at a slight expense of code size and
boot time. The boot time metric is very noisy however. This changes
adds inline-caches to the boot profile.
An inline cache is formatted like:
```
HSPLthis/is/a/classMethod;->descriptor()V+]Ltarget/type;Lresult/type1;,Lresult/type2;]Ltarget/type2;megamorphic_types
HSPLandroid/content/pm/parsing/ParsingPackageUtils;->hasDomainURLs(Landroid/content/pm/parsing/ParsingPackage;)Z+]Landroid/content/pm/parsing/component/ParsedActivity;Landroid/content/pm/parsing/component/ParsedActivity;]Ljava/util/List;Ljava/util/Collections$EmptyList;,Ljava/util/ArrayList;]Landroid/content/pm/parsing/component/ParsedIntentInfo;Landroid/content/pm/parsing/component/ParsedIntentInfo;
```
Cold startup (speed-profile): -2.35%
PSS: -1.60%
RSS: -0.44%
Private Dirty: -2.14%
Boot time: +3.24%
Code size: +5.83%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 4247
- number of (device types, builds): 128
File boot-image-profile.txt
- hot methods: 7863 added, 8398 removed
- methods: 7857 added, 8398 removed
- classes: 352 added, 848 removed
- totals now: 28221 hot methods, 28225 methods, 15214 classes
- totals before: 28756 hot methods, 28766 methods, 15710 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3992, 4543, 246, 358, 18011, 9330
com.android, 590, 593, 96, 429, 2051, 3192
java, 2521, 2494, 9, 59, 6493, 1748
android.view, 729, 805, 15, 74, 2704, 796
android.hardware, 36, 43, 16, 8, 312, 787
android.bluetooth, 12, 10, 0, 1, 148, 169
android.animation, 99, 106, 0, 0, 346, 71
android.app, 415, 493, 24, 48, 2438, 942
android.content, 400, 462, 14, 22, 1760, 567
android.graphics, 321, 393, 2, 19, 1691, 303
android.icu, 489, 424, 58, 4, 1758, 1528
android.media, 61, 91, 4, 19, 648, 553
android.net, 134, 157, 27, 15, 633, 410
android.widget, 307, 382, 11, 16, 1196, 352
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 5 added, 474 removed
- totals now: 0 hot methods, 0 methods, 13974 classes
- totals before: 0 hot methods, 0 methods, 14443 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, 121, 0, 8524
com.android, 0, 0, 0, 308, 0, 2804
java, 0, 0, 0, 43, 0, 1714
android.view, 0, 0, 0, 11, 0, 743
android.hardware, 0, 0, 0, 1, 0, 679
android.app, 0, 0, 0, 29, 0, 865
android.content, 0, 0, 0, 4, 0, 515
android.graphics, 0, 0, 0, 8, 0, 295
android.icu, 0, 0, 0, 4, 0, 1468
android.media, 0, 0, 0, 3, 0, 499
android.net, 0, 0, 4, 1, 0, 342
android.widget, 0, 0, 0, 5, 0, 329
File art-profile
- hot methods: 15265 added, 13296 removed
- methods: 18373 added, 16318 removed
- classes: 490 added, 1810 removed
- totals now: 29686 hot methods, 44370 methods, 4807 classes
- totals before: 27717 hot methods, 42315 methods, 6127 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 185, 140, 10, 14, 459, 283
com.android, 15050, 13109, 480, 1788, 29089, 4482
android.hardware, 101, 69, 9, 6, 242, 127
android.app, 0, 0, 0, 0, 1, 3
android.content, 1, 0, 0, 0, 2, 6
android.net, 80, 68, 0, 8, 192, 131
InternalReferenceRawProfileId: 3661
InternalReferenceCandidateProfileId: 3664
Test: build & benchmark
Bug: 168941430
Merged-In: I82493824bf0f383c0db81cdc11051df50b5e813f
Merged-In: Icf870c90dd68b8450ad0928ae8e5594c5eb94423
(cherry picked from commit 740d4947b96a5992643d1122682e6affe382a8d2)
Change-Id: Ifd87d506d710d1a1eaf31842f0327eeab50684be
2021-03-23 18:48:50 +00:00
Nicolas Geoffray
9c9887381c
Merge "Remove some methods from DdmVmInternal." am: af174a5708 am: 5f117b3491 am: 55eafcc5a7
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1549965
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5f82f7d8ea56944f1243cca55aa6631dc53d29d4
2021-03-12 13:47:59 +00:00
Nicolas Geoffray
cfbebc15ae
Remove some methods from DdmVmInternal.
...
Test: m
Change-Id: I41bee1f48f77f61e5194fcc0e4607f04ab674c1f
2021-03-05 15:02:34 +00:00
Vladimir Marko
cde7c9f16f
Merge "Change dirty-image-objects file format." am: 523e3b9b79 am: e70dab7633 am: 87cb8b5efe
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1606454
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I68d174ca59fea49ce1828f0c828b32fbb5d2c214
2021-03-01 08:10:53 +00:00
Vladimir Marko
b946a3a339
Change dirty-image-objects file format.
...
Use actual descriptors instead of "pretty decriptors".
Test: m
Bug: 175869411
Change-Id: Iad3b4c78947e653c24ff80052cc5dc75f5c4b6c7
2021-02-25 12:19:58 +00:00
Bob Badour
8a6a2bce6c
[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base
...
Added SPDX-license-identifier-Apache-2.0 to:
apct-tests/perftests/autofill/Android.bp
apct-tests/perftests/blobstore/Android.bp
apct-tests/perftests/core/Android.bp
apct-tests/perftests/core/apps/overlay/Android.bp
apct-tests/perftests/core/apps/reources_manager/Android.bp
apct-tests/perftests/core/jni/Android.bp
apct-tests/perftests/multiuser/Android.bp
apct-tests/perftests/multiuser/apps/dummyapp/Android.bp
apct-tests/perftests/packagemanager/Android.bp
apct-tests/perftests/packagemanager/apps/query-all/Android.bp
apct-tests/perftests/textclassifier/Android.bp
apct-tests/perftests/utils/Android.bp
apct-tests/perftests/windowmanager/Android.bp
apex/Android.bp
apex/blobstore/framework/Android.bp
apex/blobstore/service/Android.bp
apex/jobscheduler/framework/Android.bp
apex/jobscheduler/service/Android.bp
apex/media/Android.bp
apex/media/aidl/Android.bp
apex/media/framework/Android.bp
cmds/am/Android.bp
cmds/app_process/Android.bp
cmds/appops/Android.bp
cmds/appwidget/Android.bp
cmds/backup/Android.bp
cmds/bmgr/Android.bp
cmds/bootanimation/Android.bp
cmds/bu/Android.bp
cmds/content/Android.bp
cmds/dpm/Android.bp
cmds/hid/Android.bp
cmds/hid/jni/Android.bp
cmds/idmap2/Android.bp
cmds/ime/Android.bp
cmds/incident/Android.bp
cmds/incident_helper/Android.bp
cmds/incidentd/Android.bp
cmds/input/Android.bp
cmds/interrupter/Android.bp
cmds/locksettings/Android.bp
cmds/pm/Android.bp
cmds/requestsync/Android.bp
cmds/screencap/Android.bp
cmds/sm/Android.bp
cmds/svc/Android.bp
cmds/telecom/Android.bp
cmds/uiautomator/Android.bp
cmds/uiautomator/cmds/uiautomator/Android.bp
cmds/uiautomator/instrumentation/Android.bp
cmds/uiautomator/library/Android.bp
cmds/vr/Android.bp
cmds/wm/Android.bp
config/Android.bp
core/java/android/service/wallpaper/Android.bp
core/jni/Android.bp
core/sysprop/Android.bp
core/tests/BroadcastRadioTests/Android.bp
core/tests/ConnectivityManagerTest/Android.bp
core/tests/PackageInstallerSessions/Android.bp
core/tests/PlatformCompatFramework/Android.bp
core/tests/bandwidthtests/Android.bp
core/tests/benchmarks/Android.bp
core/tests/bluetoothtests/Android.bp
core/tests/bugreports/Android.bp
core/tests/coretests/Android.bp
core/tests/coretests/BinderDeathRecipientHelperApp/Android.bp
core/tests/coretests/BinderProxyCountingTestApp/Android.bp
core/tests/coretests/BinderProxyCountingTestService/Android.bp
core/tests/coretests/BstatsTestApp/Android.bp
core/tests/coretests/DisabledTestApp/Android.bp
core/tests/coretests/EnabledTestApp/Android.bp
core/tests/coretests/aidl/Android.bp
core/tests/coretests/apks/Android.bp
core/tests/coretests/apks/install/Android.bp
core/tests/coretests/apks/install_bad_dex/Android.bp
core/tests/coretests/apks/install_complete_package_info/Android.bp
core/tests/coretests/apks/install_decl_perm/Android.bp
core/tests/coretests/apks/install_jni_lib/Android.bp
core/tests/coretests/apks/install_jni_lib_open_from_apk/Android.bp
core/tests/coretests/apks/install_loc_auto/Android.bp
core/tests/coretests/apks/install_loc_internal/Android.bp
core/tests/coretests/apks/install_loc_sdcard/Android.bp
core/tests/coretests/apks/install_loc_unspecified/Android.bp
core/tests/coretests/apks/install_use_perm_good/Android.bp
core/tests/coretests/apks/install_uses_feature/Android.bp
core/tests/coretests/apks/install_verifier_bad/Android.bp
core/tests/coretests/apks/install_verifier_good/Android.bp
core/tests/coretests/apks/keyset/Android.bp
core/tests/coretests/apks/locales/Android.bp
core/tests/coretests/apks/overlay_config/Android.bp
core/tests/coretests/apks/version/Android.bp
core/tests/coretests/apks/version_nosys/Android.bp
core/tests/featureflagtests/Android.bp
core/tests/hdmitests/Android.bp
core/tests/hosttests/test-apps/AutoLocTestApp/Android.bp
core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v1/Android.bp
core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v2/Android.bp
core/tests/hosttests/test-apps/ExternalLocAllPermsTestApp/Android.bp
core/tests/hosttests/test-apps/ExternalLocPermsFLTestApp/Android.bp
core/tests/hosttests/test-apps/ExternalLocTestApp/Android.bp
core/tests/hosttests/test-apps/ExternalLocVersionedTestApp_v1/Android.bp
core/tests/hosttests/test-apps/ExternalLocVersionedTestApp_v2/Android.bp
core/tests/hosttests/test-apps/ExternalSharedPerms/Android.bp
core/tests/hosttests/test-apps/ExternalSharedPermsBT/Android.bp
core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/Android.bp
core/tests/hosttests/test-apps/ExternalSharedPermsFL/Android.bp
core/tests/hosttests/test-apps/InternalLocTestApp/Android.bp
core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/Android.bp
core/tests/hosttests/test-apps/NoLocTestApp/Android.bp
core/tests/hosttests/test-apps/NoLocVersionedTestApp_v1/Android.bp
core/tests/hosttests/test-apps/NoLocVersionedTestApp_v2/Android.bp
core/tests/hosttests/test-apps/SharedUid/32/Android.bp
core/tests/hosttests/test-apps/SharedUid/32/jni/Android.bp
core/tests/hosttests/test-apps/SharedUid/64/Android.bp
core/tests/hosttests/test-apps/SharedUid/64/jni/Android.bp
core/tests/hosttests/test-apps/SharedUid/dual/Android.bp
core/tests/hosttests/test-apps/SharedUid/dual/jni/Android.bp
core/tests/hosttests/test-apps/SharedUid/java_only/Android.bp
core/tests/hosttests/test-apps/SimpleTestApp/Android.bp
core/tests/hosttests/test-apps/UpdateExtToIntLocTestApp_v1_ext/Android.bp
core/tests/hosttests/test-apps/UpdateExtToIntLocTestApp_v2_int/Android.bp
core/tests/hosttests/test-apps/UpdateExternalLocTestApp_v1_ext/Android.bp
core/tests/hosttests/test-apps/UpdateExternalLocTestApp_v2_none/Android.bp
core/tests/hosttests/test-apps/VersatileTestApp_Auto/Android.bp
core/tests/hosttests/test-apps/VersatileTestApp_External/Android.bp
core/tests/hosttests/test-apps/VersatileTestApp_Internal/Android.bp
core/tests/hosttests/test-apps/VersatileTestApp_None/Android.bp
core/tests/mockingcoretests/Android.bp
core/tests/notificationtests/Android.bp
core/tests/overlaytests/device/Android.bp
core/tests/overlaytests/device/test-apps/AppOverlayOne/Android.bp
core/tests/overlaytests/device/test-apps/AppOverlayTwo/Android.bp
core/tests/overlaytests/device/test-apps/FrameworkOverlay/Android.bp
core/tests/overlaytests/host/Android.bp
core/tests/overlaytests/remount/Android.bp
core/tests/overlaytests/remount/test-apps/Overlay/Android.bp
core/tests/overlaytests/remount/test-apps/SharedLibrary/Android.bp
core/tests/overlaytests/remount/test-apps/SharedLibraryOverlay/Android.bp
core/tests/overlaytests/remount/test-apps/Target/Android.bp
core/tests/packagemanagertests/Android.bp
core/tests/privacytests/Android.bp
core/tests/screenshothelpertests/Android.bp
core/tests/systemproperties/Android.bp
core/tests/utillib/Android.bp
core/tests/utiltests/Android.bp
core/tests/utiltests/jni/Android.bp
core/tests/uwbtests/Android.bp
core/xsd/Android.bp
core/xsd/vts/Android.bp
data/etc/Android.bp
data/etc/car/Android.bp
data/fonts/Android.bp
data/keyboards/Android.mk
drm/jni/Android.bp
errorprone/Android.bp
graphics/proto/Android.bp
keystore/Android.bp
keystore/tests/Android.bp
libs/WindowManager/Jetpack/Android.bp
libs/WindowManager/Shell/Android.bp
libs/WindowManager/Shell/tests/Android.bp
libs/androidfw/Android.bp
libs/androidfw/fuzz/resourcefile_fuzzer/Android.bp
libs/hostgraphics/Android.bp
libs/incident/Android.bp
libs/input/Android.bp
libs/input/tests/Android.bp
libs/protoutil/Android.bp
libs/services/Android.bp
libs/storage/Android.bp
libs/usb/tests/AccessoryChat/Android.bp
libs/usb/tests/AccessoryChat/accessorychat/Android.bp
location/lib/Android.bp
location/tests/Android.bp
location/tests/locationtests/Android.bp
lowpan/tests/Android.bp
media/Android.bp
media/java/Android.bp
media/java/android/media/tv/tunerresourcemanager/Android.bp
media/jni/Android.bp
media/jni/audioeffect/Android.bp
media/jni/soundpool/Android.bp
media/jni/soundpool/tests/Android.bp
media/lib/remotedisplay/Android.bp
media/lib/signer/Android.bp
media/lib/tvremote/Android.bp
media/lib/tvremote/tests/Android.bp
media/mca/filterfw/Android.bp
media/mca/filterfw/native/Android.bp
media/mca/filterpacks/Android.bp
media/mca/samples/CameraEffectsRecordingSample/Android.bp
media/mca/tests/Android.bp
media/native/midi/Android.bp
media/packages/BluetoothMidiService/Android.bp
media/packages/BluetoothMidiService/tests/unit/Android.bp
media/tests/AudioPolicyTest/Android.bp
media/tests/CameraBrowser/Android.bp
media/tests/EffectsTest/Android.bp
media/tests/MediaDump/Android.bp
media/tests/MediaFrameworkTest/Android.bp
media/tests/MediaRouter/Android.bp
media/tests/MtpTests/Android.bp
media/tests/ScoAudioTest/Android.bp
media/tests/SoundPoolTest/Android.bp
media/tests/TunerTest/Android.bp
media/tests/audiotests/Android.bp
media/tests/players/Android.bp
mime/Android.bp
native/android/Android.bp
native/graphics/jni/Android.bp
native/webview/loader/Android.bp
nfc-extras/Android.bp
nfc-extras/tests/Android.bp
packages/AppPredictionLib/Android.bp
packages/BackupEncryption/Android.bp
packages/BackupEncryption/test/robolectric-integration/Android.bp
packages/BackupEncryption/test/robolectric/Android.bp
packages/BackupEncryption/test/unittest/Android.bp
packages/BackupRestoreConfirmation/Android.bp
packages/CarSystemUI/Android.bp
packages/CarrierDefaultApp/Android.bp
packages/CarrierDefaultApp/tests/unit/Android.bp
packages/CompanionDeviceManager/Android.bp
packages/Connectivity/framework/Android.bp
packages/Connectivity/service/Android.bp
packages/CtsShim/Android.bp
packages/CtsShim/build/Android.bp
packages/CtsShim/build/jni/Android.bp
packages/DynamicSystemInstallationService/Android.bp
packages/DynamicSystemInstallationService/tests/Android.bp
packages/EasterEgg/Android.bp
packages/EncryptedLocalTransport/Android.bp
packages/ExtShared/Android.bp
packages/ExternalStorageProvider/Android.bp
packages/ExternalStorageProvider/tests/Android.bp
packages/FakeOemFeatures/Android.bp
packages/FusedLocation/Android.bp
packages/InputDevices/Android.bp
packages/LocalTransport/Android.bp
packages/PackageInstaller/Android.bp
packages/PrintRecommendationService/Android.bp
packages/PrintSpooler/Android.bp
packages/PrintSpooler/jni/Android.bp
packages/PrintSpooler/tests/outofprocess/Android.bp
packages/SettingsLib/ActionBarShadow/Android.bp
packages/SettingsLib/ActionButtonsPreference/Android.bp
packages/SettingsLib/AdaptiveIcon/Android.bp
packages/SettingsLib/Android.bp
packages/SettingsLib/AppPreference/Android.bp
packages/SettingsLib/BarChartPreference/Android.bp
packages/SettingsLib/DisplayDensityUtils/Android.bp
packages/SettingsLib/EntityHeaderWidgets/Android.bp
packages/SettingsLib/HelpUtils/Android.bp
packages/SettingsLib/LayoutPreference/Android.bp
packages/SettingsLib/ProgressBar/Android.bp
packages/SettingsLib/RadioButtonPreference/Android.bp
packages/SettingsLib/RestrictedLockUtils/Android.bp
packages/SettingsLib/SchedulesProvider/Android.bp
packages/SettingsLib/SearchProvider/Android.bp
packages/SettingsLib/SearchWidget/Android.bp
packages/SettingsLib/SettingsSpinner/Android.bp
packages/SettingsLib/SettingsTheme/Android.bp
packages/SettingsLib/Tile/Android.bp
packages/SettingsLib/Utils/Android.bp
packages/SettingsLib/search/Android.bp
packages/SettingsLib/tests/integ/Android.bp
packages/SettingsLib/tests/robotests/Android.bp
packages/SettingsProvider/Android.bp
packages/SharedStorageBackup/Android.bp
packages/Shell/Android.bp
packages/Shell/tests/Android.bp
packages/SimAppDialog/Android.bp
packages/SoundPicker/Android.bp
packages/StatementService/Android.bp
packages/SystemUI/Android.bp
packages/SystemUI/plugin/Android.bp
packages/SystemUI/plugin/ExamplePlugin/Android.bp
packages/SystemUI/plugin_core/Android.bp
packages/SystemUI/shared/Android.bp
packages/VpnDialogs/Android.bp
packages/WAPPushManager/Android.bp
packages/WAPPushManager/tests/Android.bp
packages/WallpaperBackup/Android.bp
packages/WallpaperCropper/Android.bp
packages/overlays/Android.mk
packages/overlays/tests/Android.bp
packages/services/PacProcessor/Android.bp
packages/services/PacProcessor/jni/Android.bp
packages/services/Proxy/Android.bp
proto/Android.bp
rs/jni/Android.mk
samples/demo/haptic-assessment/Android.bp
sax/tests/saxtests/Android.bp
services/Android.bp
services/accessibility/Android.bp
services/appprediction/Android.bp
services/appwidget/Android.bp
services/autofill/Android.bp
services/backup/Android.bp
services/backup/backuplib/Android.bp
services/companion/Android.bp
services/contentcapture/Android.bp
services/contentsuggestions/Android.bp
services/core/Android.bp
services/core/java/com/android/server/vcn/Android.bp
services/core/jni/Android.bp
services/core/xsd/Android.bp
services/core/xsd/vts/Android.bp
services/coverage/Android.bp
services/devicepolicy/Android.bp
services/incremental/Android.bp
services/midi/Android.bp
services/net/Android.bp
services/people/Android.bp
services/print/Android.bp
services/profcollect/Android.bp
services/restrictions/Android.bp
services/robotests/Android.bp
services/robotests/backup/Android.bp
services/systemcaptions/Android.bp
services/tests/PackageManagerComponentOverrideTests/Android.bp
services/tests/PackageManagerServiceTests/host/Android.bp
services/tests/PackageManagerServiceTests/host/test-apps/Android.bp
services/tests/mockingservicestests/Android.bp
services/tests/rescueparty/Android.bp
services/tests/servicestests/Android.bp
services/tests/servicestests/aidl/Android.bp
services/tests/servicestests/apks/Android.bp
services/tests/servicestests/apks/install-split-base/Android.bp
services/tests/servicestests/apks/install-split-feature-a/Android.bp
services/tests/servicestests/apks/install_intent_filters/Android.bp
services/tests/servicestests/apks/install_uses_sdk/Android.bp
services/tests/servicestests/test-apps/ConnTestApp/Android.bp
services/tests/servicestests/test-apps/JobTestApp/Android.bp
services/tests/servicestests/test-apps/PackageParserApp/Android.bp
services/tests/servicestests/test-apps/PackageParsingTestManifests/Android.bp
services/tests/servicestests/test-apps/SimpleServiceTestApp/Android.bp
services/tests/servicestests/test-apps/SuspendTestApp/Android.bp
services/tests/shortcutmanagerutils/Android.bp
services/tests/uiservicestests/Android.bp
services/tests/wmtests/Android.bp
services/usage/Android.bp
services/usb/Android.bp
services/voiceinteraction/Android.bp
services/wifi/Android.bp
startop/apps/test/Android.bp
startop/iorap/Android.bp
startop/iorap/functional_tests/Android.bp
startop/iorap/stress/Android.bp
startop/iorap/tests/Android.bp
startop/view_compiler/Android.bp
startop/view_compiler/dex_builder_test/Android.bp
test-base/hiddenapi/Android.bp
test-mock/Android.bp
test-runner/tests/Android.bp
tests/AccessibilityEventsLogger/Android.bp
tests/AccessoryDisplay/common/Android.bp
tests/AccessoryDisplay/sink/Android.bp
tests/AccessoryDisplay/source/Android.bp
tests/ActivityManagerPerfTests/stub-app/Android.bp
tests/ActivityManagerPerfTests/test-app/Android.bp
tests/ActivityManagerPerfTests/tests/Android.bp
tests/ActivityManagerPerfTests/utils/Android.bp
tests/ActivityTests/Android.bp
tests/ActivityViewTest/Android.bp
tests/AmSlam/Android.bp
tests/ApkVerityTest/Android.bp
tests/ApkVerityTest/ApkVerityTestApp/Android.bp
tests/ApkVerityTest/block_device_writer/Android.bp
tests/AppLaunch/Android.bp
tests/AppLaunchWear/Android.bp
tests/AppResourcesLoaders/Android.bp
tests/AppResourcesLoaders/Overlay/Android.bp
tests/Assist/Android.bp
tests/AutoVerify/app1/Android.bp
tests/AutoVerify/app2/Android.bp
tests/AutoVerify/app3/Android.bp
tests/AutoVerify/app4/Android.bp
tests/BackgroundDexOptServiceIntegrationTests/Android.bp
tests/BandwidthTests/Android.bp
tests/BatteryWaster/Android.bp
tests/BiDiTests/Android.bp
tests/BlobStoreTestUtils/Android.bp
tests/BootImageProfileTest/Android.bp
tests/BrowserPowerTest/Android.bp
tests/Camera2Tests/SmartCamera/SimpleCamera/jni/Android.bp
tests/CameraPrewarmTest/Android.bp
tests/Codegen/Android.bp
tests/Compatibility/Android.bp
tests/CoreTests/android/Android.bp
tests/DataIdleTest/Android.bp
tests/DozeTest/Android.bp
tests/DpiTest/Android.bp
tests/DynamicCodeLoggerIntegrationTests/Android.mk
tests/FeatureSplit/base/Android.bp
tests/FeatureSplit/feature1/Android.bp
tests/FeatureSplit/feature2/Android.bp
tests/FixVibrateSetting/Android.bp
tests/FlickerTests/Android.bp
tests/FlickerTests/test-apps/Android.bp
tests/FlickerTests/test-apps/flickerapp/Android.bp
tests/FrameworkPerf/Android.bp
tests/GamePerformance/Android.bp
tests/GridLayoutTest/Android.bp
tests/HierarchyViewerTest/Android.bp
tests/HugeBackup/Android.bp
tests/HwAccelerationTest/Android.bp
tests/Internal/Android.bp
tests/JankBench/Android.bp
tests/JobSchedulerPerfTests/Android.bp
tests/JobSchedulerTestApp/Android.bp
tests/LargeAssetTest/Android.bp
tests/LegacyAssistant/Android.bp
tests/LocalizationTest/Android.bp
tests/LocationTracker/Android.bp
tests/LotsOfApps/Android.bp
tests/LowStorageTest/Android.bp
tests/ManagedProfileLifecycleStressTest/Android.bp
tests/ManagedProfileLifecycleStressTest/app/DummyDPC/Android.bp
tests/MemoryUsage/Android.bp
tests/MirrorSurfaceTest/Android.bp
tests/NativeProcessesMemoryTest/Android.bp
tests/NetworkSecurityConfigTest/Android.bp
tests/NullHomeTest/Android.bp
tests/OdmApps/Android.bp
tests/OdmApps/app/Android.bp
tests/OdmApps/priv-app/Android.bp
tests/OneMedia/Android.bp
tests/PackageWatchdog/Android.bp
tests/PlatformCompatGating/Android.bp
tests/PlatformCompatGating/test-rules/Android.bp
tests/ProtoInputStreamTests/Android.bp
tests/RemoteDisplayProvider/Android.bp
tests/RenderThreadTest/Android.bp
tests/RollbackTest/Android.bp
tests/SerialChat/Android.bp
tests/ServiceCrashTest/Android.bp
tests/SharedLibrary/client/Android.bp
tests/SharedLibrary/lib/Android.bp
tests/ShowWhenLockedApp/Android.bp
tests/SmokeTest/Android.bp
tests/SmokeTest/tests/Android.bp
tests/SmokeTestApps/Android.bp
tests/SoundTriggerTestApp/Android.bp
tests/Split/Android.bp
tests/StagedInstallTest/Android.bp
tests/StatusBar/Android.bp
tests/SurfaceComposition/Android.bp
tests/SurfaceControlViewHostTest/Android.bp
tests/SystemMemoryTest/device/Android.bp
tests/SystemMemoryTest/host/Android.bp
tests/SystemUIDemoModeController/Android.bp
tests/TaskOrganizerTest/Android.bp
tests/TelephonyCommonTests/Android.bp
tests/TouchLatency/Android.bp
tests/TransformTest/Android.bp
tests/TtsTests/Android.bp
tests/UiBench/Android.bp
tests/UsageReportingTest/Android.bp
tests/UsageStatsPerfTests/Android.bp
tests/UsageStatsTest/Android.bp
tests/UsbHostExternalManagmentTest/AoapTestDevice/Android.bp
tests/UsbHostExternalManagmentTest/AoapTestHost/Android.bp
tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/Android.bp
tests/UsbManagerTests/Android.bp
tests/UsbManagerTests/lib/Android.bp
tests/UsbTests/Android.bp
tests/UsesFeature2Test/Android.bp
tests/VectorDrawableTest/Android.bp
tests/VoiceEnrollment/Android.bp
tests/VoiceInteraction/Android.bp
tests/WallpaperTest/Android.bp
tests/WindowAnimationJank/Android.bp
tests/WindowInsetsTests/Android.bp
tests/appwidgets/AppWidgetHostTest/Android.bp
tests/appwidgets/AppWidgetProviderTest/Android.bp
tests/backup/Android.mk
tests/benchmarks/Android.bp
tests/libs-permissions/Android.bp
tests/net/Android.bp
tests/net/common/Android.bp
tests/net/deflake/Android.bp
tests/net/integration/Android.bp
tests/net/jni/Android.bp
tests/net/smoketest/Android.bp
tests/notification/Android.bp
tests/permission/Android.bp
tests/privapp-permissions/Android.bp
tests/testables/Android.bp
tests/testables/tests/Android.bp
tests/utils/StubIME/Android.bp
tests/utils/hostutils/Android.bp
tests/utils/testutils/Android.bp
tests/vcn/Android.bp
tools/aapt/Android.bp
tools/aapt2/Android.bp
tools/aapt2/integration-tests/AutoVersionTest/Android.bp
tools/aapt2/integration-tests/BasicTest/Android.bp
tools/aapt2/integration-tests/MergeOnlyTest/LeafLib/Android.mk
tools/aapt2/integration-tests/MergeOnlyTest/LocalLib/Android.mk
tools/aapt2/integration-tests/NamespaceTest/LibOne/Android.mk
tools/aapt2/integration-tests/NamespaceTest/LibTwo/Android.mk
tools/aapt2/integration-tests/StaticLibTest/App/Android.bp
tools/aapt2/integration-tests/StaticLibTest/LibOne/Android.bp
tools/aapt2/integration-tests/StaticLibTest/LibTwo/Android.bp
tools/aapt2/integration-tests/SymlinkTest/Android.bp
tools/bit/Android.bp
tools/codegen/Android.bp
tools/dump-coverage/Android.bp
tools/incident_report/Android.bp
tools/incident_section_gen/Android.bp
tools/lock_agent/Android.bp
tools/locked_region_code_injection/Android.bp
tools/obbtool/Android.bp
tools/powermodel/Android.bp
tools/preload-check/Android.bp
tools/preload-check/device/Android.bp
tools/preload/loadclass/Android.bp
tools/processors/staledataclass/Android.bp
tools/processors/view_inspector/Android.bp
tools/protologtool/Android.bp
tools/sdkparcelables/Android.bp
tools/split-select/Android.bp
tools/streaming_proto/Android.bp
tools/validatekeymaps/Android.bp
wifi/java/Android.bp
wifi/tests/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
libs/hwui/Android.bp
native/webview/plat_support/Android.bp
obex/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-CC-BY SPDX-license-identifier-CPL-1.0
SPDX-license-identifier-GPL SPDX-license-identifier-GPL-2.0
SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS
SPDX-license-identifier-W3C legacy_unencumbered
to:
Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
legacy_unencumbered
to:
core/java/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-CPL-1.0
to:
test-base/Android.bp
test-runner/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-GPL
to:
core/res/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-GPL-2.0
to:
libs/usb/Android.bp
libs/usb/tests/accessorytest/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT
to:
tools/preload/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT
SPDX-license-identifier-Unicode-DFS
to:
api/Android.bp
boot/Android.bp
cmds/device_config/Android.bp
cmds/settings/Android.bp
core/api/Android.bp
core/tests/coretests/certs/Android.bp
core/tests/overlaytests/remount/test-apps/certs/Android.bp
core/tests/overlaytests/remount/test-apps/overlaid_apex/Android.bp
core/tests/overlaytests/remount/test-apps/overlay_apex/Android.bp
libs/tracingproxy/Android.bp
services/startop/Android.bp
test-legacy/Android.mk
tests/ApkVerityTest/testdata/Android.bp
tests/TransitionTests/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ib9737d8fb5ef5b90a2c14fe71f1a571079edcf02
Merged-In: Ib9737d8fb5ef5b90a2c14fe71f1a571079edcf02
2021-02-21 20:12:24 +00:00
Prabir Pradhan
50b3cc03e6
Move launcher activities to the back when back pressed on root task
...
This change partially reverts the back button behavior change introduced
in: I48ec35f841ab3b306fe80845150000c390908f5e
Instead of always moving the task to the back when the back button is
pressed on the root task, we only do it when the activity that is open
is a "launcher activity". These are activities that act as the main
entry points into an application, indicated with an intent filter with
ACTION_MAIN and CATEGORY_LAUNCHER.
Bug: 176235889
Test: atest WmTests
Test: atest CtsWindowManagerDeviceTestCases
Test: manual: flash crosshatch, press back button on a launcher activity,
observe task is moved to back; press back on non-launcher activity,
observe task is finished.
Change-Id: I1cbf85f1a007aeedcb66b9343d182188bacc78e7
2021-02-18 20:30:06 +00:00
Bob Badour
051ef786ac
[LSC] Add LOCAL_LICENSE_KINDS to frameworks/base
...
Added SPDX-license-identifier-Apache-2.0 to:
apct-tests/perftests/autofill/Android.bp
apct-tests/perftests/blobstore/Android.bp
apct-tests/perftests/core/Android.bp
apct-tests/perftests/core/apps/overlay/Android.bp
apct-tests/perftests/core/apps/reources_manager/Android.bp
apct-tests/perftests/core/jni/Android.bp
apct-tests/perftests/multiuser/Android.bp
apct-tests/perftests/multiuser/apps/dummyapp/Android.bp
apct-tests/perftests/packagemanager/Android.bp
apct-tests/perftests/packagemanager/apps/query-all/Android.bp
apct-tests/perftests/textclassifier/Android.bp
apct-tests/perftests/utils/Android.bp
apct-tests/perftests/windowmanager/Android.bp
apex/Android.bp
apex/blobstore/framework/Android.bp
apex/blobstore/service/Android.bp
apex/jobscheduler/framework/Android.bp
apex/jobscheduler/service/Android.bp
apex/media/Android.bp
apex/media/aidl/Android.bp
apex/media/framework/Android.bp
cmds/am/Android.bp
cmds/app_process/Android.bp
cmds/appops/Android.bp
cmds/appwidget/Android.bp
cmds/backup/Android.bp
cmds/bmgr/Android.bp
cmds/bootanimation/Android.bp
cmds/bu/Android.bp
cmds/content/Android.bp
cmds/dpm/Android.bp
cmds/hid/Android.bp
cmds/hid/jni/Android.bp
cmds/idmap2/Android.bp
cmds/ime/Android.bp
cmds/incident/Android.bp
cmds/incident_helper/Android.bp
cmds/incidentd/Android.bp
cmds/input/Android.bp
cmds/interrupter/Android.bp
cmds/locksettings/Android.bp
cmds/pm/Android.bp
cmds/requestsync/Android.bp
cmds/screencap/Android.bp
cmds/sm/Android.bp
cmds/svc/Android.bp
cmds/telecom/Android.bp
cmds/uiautomator/Android.bp
cmds/uiautomator/cmds/uiautomator/Android.bp
cmds/uiautomator/instrumentation/Android.bp
cmds/uiautomator/library/Android.bp
cmds/vr/Android.bp
cmds/wm/Android.bp
config/Android.bp
core/java/android/service/wallpaper/Android.bp
core/jni/Android.bp
core/sysprop/Android.bp
core/tests/BroadcastRadioTests/Android.bp
core/tests/ConnectivityManagerTest/Android.bp
core/tests/PackageInstallerSessions/Android.bp
core/tests/PlatformCompatFramework/Android.bp
core/tests/bandwidthtests/Android.bp
core/tests/benchmarks/Android.bp
core/tests/bluetoothtests/Android.bp
core/tests/bugreports/Android.bp
core/tests/coretests/Android.bp
core/tests/coretests/BinderDeathRecipientHelperApp/Android.bp
core/tests/coretests/BinderProxyCountingTestApp/Android.bp
core/tests/coretests/BinderProxyCountingTestService/Android.bp
core/tests/coretests/BstatsTestApp/Android.bp
core/tests/coretests/DisabledTestApp/Android.bp
core/tests/coretests/EnabledTestApp/Android.bp
core/tests/coretests/aidl/Android.bp
core/tests/coretests/apks/Android.bp
core/tests/coretests/apks/install/Android.bp
core/tests/coretests/apks/install_bad_dex/Android.bp
core/tests/coretests/apks/install_complete_package_info/Android.bp
core/tests/coretests/apks/install_decl_perm/Android.bp
core/tests/coretests/apks/install_jni_lib/Android.bp
core/tests/coretests/apks/install_jni_lib_open_from_apk/Android.bp
core/tests/coretests/apks/install_loc_auto/Android.bp
core/tests/coretests/apks/install_loc_internal/Android.bp
core/tests/coretests/apks/install_loc_sdcard/Android.bp
core/tests/coretests/apks/install_loc_unspecified/Android.bp
core/tests/coretests/apks/install_use_perm_good/Android.bp
core/tests/coretests/apks/install_uses_feature/Android.bp
core/tests/coretests/apks/install_verifier_bad/Android.bp
core/tests/coretests/apks/install_verifier_good/Android.bp
core/tests/coretests/apks/keyset/Android.bp
core/tests/coretests/apks/locales/Android.bp
core/tests/coretests/apks/overlay_config/Android.bp
core/tests/coretests/apks/version/Android.bp
core/tests/coretests/apks/version_nosys/Android.bp
core/tests/featureflagtests/Android.bp
core/tests/hdmitests/Android.bp
core/tests/hosttests/test-apps/AutoLocTestApp/Android.bp
core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v1/Android.bp
core/tests/hosttests/test-apps/AutoLocVersionedTestApp_v2/Android.bp
core/tests/hosttests/test-apps/ExternalLocAllPermsTestApp/Android.bp
core/tests/hosttests/test-apps/ExternalLocPermsFLTestApp/Android.bp
core/tests/hosttests/test-apps/ExternalLocTestApp/Android.bp
core/tests/hosttests/test-apps/ExternalLocVersionedTestApp_v1/Android.bp
core/tests/hosttests/test-apps/ExternalLocVersionedTestApp_v2/Android.bp
core/tests/hosttests/test-apps/ExternalSharedPerms/Android.bp
core/tests/hosttests/test-apps/ExternalSharedPermsBT/Android.bp
core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/Android.bp
core/tests/hosttests/test-apps/ExternalSharedPermsFL/Android.bp
core/tests/hosttests/test-apps/InternalLocTestApp/Android.bp
core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/Android.bp
core/tests/hosttests/test-apps/NoLocTestApp/Android.bp
core/tests/hosttests/test-apps/NoLocVersionedTestApp_v1/Android.bp
core/tests/hosttests/test-apps/NoLocVersionedTestApp_v2/Android.bp
core/tests/hosttests/test-apps/SharedUid/32/Android.bp
core/tests/hosttests/test-apps/SharedUid/32/jni/Android.bp
core/tests/hosttests/test-apps/SharedUid/64/Android.bp
core/tests/hosttests/test-apps/SharedUid/64/jni/Android.bp
core/tests/hosttests/test-apps/SharedUid/dual/Android.bp
core/tests/hosttests/test-apps/SharedUid/dual/jni/Android.bp
core/tests/hosttests/test-apps/SharedUid/java_only/Android.bp
core/tests/hosttests/test-apps/SimpleTestApp/Android.bp
core/tests/hosttests/test-apps/UpdateExtToIntLocTestApp_v1_ext/Android.bp
core/tests/hosttests/test-apps/UpdateExtToIntLocTestApp_v2_int/Android.bp
core/tests/hosttests/test-apps/UpdateExternalLocTestApp_v1_ext/Android.bp
core/tests/hosttests/test-apps/UpdateExternalLocTestApp_v2_none/Android.bp
core/tests/hosttests/test-apps/VersatileTestApp_Auto/Android.bp
core/tests/hosttests/test-apps/VersatileTestApp_External/Android.bp
core/tests/hosttests/test-apps/VersatileTestApp_Internal/Android.bp
core/tests/hosttests/test-apps/VersatileTestApp_None/Android.bp
core/tests/mockingcoretests/Android.bp
core/tests/notificationtests/Android.bp
core/tests/overlaytests/device/Android.bp
core/tests/overlaytests/device/test-apps/AppOverlayOne/Android.bp
core/tests/overlaytests/device/test-apps/AppOverlayTwo/Android.bp
core/tests/overlaytests/device/test-apps/FrameworkOverlay/Android.bp
core/tests/overlaytests/host/Android.bp
core/tests/overlaytests/remount/Android.bp
core/tests/overlaytests/remount/test-apps/Overlay/Android.bp
core/tests/overlaytests/remount/test-apps/SharedLibrary/Android.bp
core/tests/overlaytests/remount/test-apps/SharedLibraryOverlay/Android.bp
core/tests/overlaytests/remount/test-apps/Target/Android.bp
core/tests/packagemanagertests/Android.bp
core/tests/privacytests/Android.bp
core/tests/screenshothelpertests/Android.bp
core/tests/systemproperties/Android.bp
core/tests/utillib/Android.bp
core/tests/utiltests/Android.bp
core/tests/utiltests/jni/Android.bp
core/tests/uwbtests/Android.bp
core/xsd/Android.bp
core/xsd/vts/Android.bp
data/etc/Android.bp
data/etc/car/Android.bp
data/fonts/Android.bp
data/keyboards/Android.mk
drm/jni/Android.bp
errorprone/Android.bp
graphics/proto/Android.bp
keystore/Android.bp
keystore/tests/Android.bp
libs/WindowManager/Jetpack/Android.bp
libs/WindowManager/Shell/Android.bp
libs/WindowManager/Shell/tests/Android.bp
libs/androidfw/Android.bp
libs/androidfw/fuzz/resourcefile_fuzzer/Android.bp
libs/hostgraphics/Android.bp
libs/incident/Android.bp
libs/input/Android.bp
libs/input/tests/Android.bp
libs/protoutil/Android.bp
libs/services/Android.bp
libs/storage/Android.bp
libs/usb/tests/AccessoryChat/Android.bp
libs/usb/tests/AccessoryChat/accessorychat/Android.bp
location/lib/Android.bp
location/tests/Android.bp
location/tests/locationtests/Android.bp
lowpan/tests/Android.bp
media/Android.bp
media/java/Android.bp
media/java/android/media/tv/tunerresourcemanager/Android.bp
media/jni/Android.bp
media/jni/audioeffect/Android.bp
media/jni/soundpool/Android.bp
media/jni/soundpool/tests/Android.bp
media/lib/remotedisplay/Android.bp
media/lib/signer/Android.bp
media/lib/tvremote/Android.bp
media/lib/tvremote/tests/Android.bp
media/mca/filterfw/Android.bp
media/mca/filterfw/native/Android.bp
media/mca/filterpacks/Android.bp
media/mca/samples/CameraEffectsRecordingSample/Android.bp
media/mca/tests/Android.bp
media/native/midi/Android.bp
media/packages/BluetoothMidiService/Android.bp
media/packages/BluetoothMidiService/tests/unit/Android.bp
media/tests/AudioPolicyTest/Android.bp
media/tests/CameraBrowser/Android.bp
media/tests/EffectsTest/Android.bp
media/tests/MediaDump/Android.bp
media/tests/MediaFrameworkTest/Android.bp
media/tests/MediaRouter/Android.bp
media/tests/MtpTests/Android.bp
media/tests/ScoAudioTest/Android.bp
media/tests/SoundPoolTest/Android.bp
media/tests/TunerTest/Android.bp
media/tests/audiotests/Android.bp
media/tests/players/Android.bp
mime/Android.bp
native/android/Android.bp
native/graphics/jni/Android.bp
native/webview/loader/Android.bp
nfc-extras/Android.bp
nfc-extras/tests/Android.bp
packages/AppPredictionLib/Android.bp
packages/BackupEncryption/Android.bp
packages/BackupEncryption/test/robolectric-integration/Android.bp
packages/BackupEncryption/test/robolectric/Android.bp
packages/BackupEncryption/test/unittest/Android.bp
packages/BackupRestoreConfirmation/Android.bp
packages/CarSystemUI/Android.bp
packages/CarrierDefaultApp/Android.bp
packages/CarrierDefaultApp/tests/unit/Android.bp
packages/CompanionDeviceManager/Android.bp
packages/Connectivity/framework/Android.bp
packages/Connectivity/service/Android.bp
packages/CtsShim/Android.bp
packages/CtsShim/build/Android.bp
packages/CtsShim/build/jni/Android.bp
packages/DynamicSystemInstallationService/Android.bp
packages/DynamicSystemInstallationService/tests/Android.bp
packages/EasterEgg/Android.bp
packages/EncryptedLocalTransport/Android.bp
packages/ExtShared/Android.bp
packages/ExternalStorageProvider/Android.bp
packages/ExternalStorageProvider/tests/Android.bp
packages/FakeOemFeatures/Android.bp
packages/FusedLocation/Android.bp
packages/InputDevices/Android.bp
packages/LocalTransport/Android.bp
packages/PackageInstaller/Android.bp
packages/PrintRecommendationService/Android.bp
packages/PrintSpooler/Android.bp
packages/PrintSpooler/jni/Android.bp
packages/PrintSpooler/tests/outofprocess/Android.bp
packages/SettingsLib/ActionBarShadow/Android.bp
packages/SettingsLib/ActionButtonsPreference/Android.bp
packages/SettingsLib/AdaptiveIcon/Android.bp
packages/SettingsLib/Android.bp
packages/SettingsLib/AppPreference/Android.bp
packages/SettingsLib/BarChartPreference/Android.bp
packages/SettingsLib/DisplayDensityUtils/Android.bp
packages/SettingsLib/EntityHeaderWidgets/Android.bp
packages/SettingsLib/HelpUtils/Android.bp
packages/SettingsLib/LayoutPreference/Android.bp
packages/SettingsLib/ProgressBar/Android.bp
packages/SettingsLib/RadioButtonPreference/Android.bp
packages/SettingsLib/RestrictedLockUtils/Android.bp
packages/SettingsLib/SchedulesProvider/Android.bp
packages/SettingsLib/SearchProvider/Android.bp
packages/SettingsLib/SearchWidget/Android.bp
packages/SettingsLib/SettingsSpinner/Android.bp
packages/SettingsLib/SettingsTheme/Android.bp
packages/SettingsLib/Tile/Android.bp
packages/SettingsLib/Utils/Android.bp
packages/SettingsLib/search/Android.bp
packages/SettingsLib/tests/integ/Android.bp
packages/SettingsLib/tests/robotests/Android.bp
packages/SettingsProvider/Android.bp
packages/SharedStorageBackup/Android.bp
packages/Shell/Android.bp
packages/Shell/tests/Android.bp
packages/SimAppDialog/Android.bp
packages/SoundPicker/Android.bp
packages/StatementService/Android.bp
packages/SystemUI/Android.bp
packages/SystemUI/plugin/Android.bp
packages/SystemUI/plugin/ExamplePlugin/Android.bp
packages/SystemUI/plugin_core/Android.bp
packages/SystemUI/shared/Android.bp
packages/VpnDialogs/Android.bp
packages/WAPPushManager/Android.bp
packages/WAPPushManager/tests/Android.bp
packages/WallpaperBackup/Android.bp
packages/WallpaperCropper/Android.bp
packages/overlays/Android.mk
packages/overlays/tests/Android.bp
packages/services/PacProcessor/Android.bp
packages/services/PacProcessor/jni/Android.bp
packages/services/Proxy/Android.bp
proto/Android.bp
rs/jni/Android.mk
samples/demo/haptic-assessment/Android.bp
sax/tests/saxtests/Android.bp
services/Android.bp
services/accessibility/Android.bp
services/appprediction/Android.bp
services/appwidget/Android.bp
services/autofill/Android.bp
services/backup/Android.bp
services/backup/backuplib/Android.bp
services/companion/Android.bp
services/contentcapture/Android.bp
services/contentsuggestions/Android.bp
services/core/Android.bp
services/core/java/com/android/server/vcn/Android.bp
services/core/jni/Android.bp
services/core/xsd/Android.bp
services/core/xsd/vts/Android.bp
services/coverage/Android.bp
services/devicepolicy/Android.bp
services/incremental/Android.bp
services/midi/Android.bp
services/net/Android.bp
services/people/Android.bp
services/print/Android.bp
services/profcollect/Android.bp
services/restrictions/Android.bp
services/robotests/Android.bp
services/robotests/backup/Android.bp
services/systemcaptions/Android.bp
services/tests/PackageManagerComponentOverrideTests/Android.bp
services/tests/PackageManagerServiceTests/host/Android.bp
services/tests/PackageManagerServiceTests/host/test-apps/Android.bp
services/tests/mockingservicestests/Android.bp
services/tests/rescueparty/Android.bp
services/tests/servicestests/Android.bp
services/tests/servicestests/aidl/Android.bp
services/tests/servicestests/apks/Android.bp
services/tests/servicestests/apks/install-split-base/Android.bp
services/tests/servicestests/apks/install-split-feature-a/Android.bp
services/tests/servicestests/apks/install_intent_filters/Android.bp
services/tests/servicestests/apks/install_uses_sdk/Android.bp
services/tests/servicestests/test-apps/ConnTestApp/Android.bp
services/tests/servicestests/test-apps/JobTestApp/Android.bp
services/tests/servicestests/test-apps/PackageParserApp/Android.bp
services/tests/servicestests/test-apps/PackageParsingTestManifests/Android.bp
services/tests/servicestests/test-apps/SimpleServiceTestApp/Android.bp
services/tests/servicestests/test-apps/SuspendTestApp/Android.bp
services/tests/shortcutmanagerutils/Android.bp
services/tests/uiservicestests/Android.bp
services/tests/wmtests/Android.bp
services/usage/Android.bp
services/usb/Android.bp
services/voiceinteraction/Android.bp
services/wifi/Android.bp
startop/apps/test/Android.bp
startop/iorap/Android.bp
startop/iorap/functional_tests/Android.bp
startop/iorap/stress/Android.bp
startop/iorap/tests/Android.bp
startop/view_compiler/Android.bp
startop/view_compiler/dex_builder_test/Android.bp
test-base/hiddenapi/Android.bp
test-mock/Android.bp
test-runner/tests/Android.bp
tests/AccessibilityEventsLogger/Android.bp
tests/AccessoryDisplay/common/Android.bp
tests/AccessoryDisplay/sink/Android.bp
tests/AccessoryDisplay/source/Android.bp
tests/ActivityManagerPerfTests/stub-app/Android.bp
tests/ActivityManagerPerfTests/test-app/Android.bp
tests/ActivityManagerPerfTests/tests/Android.bp
tests/ActivityManagerPerfTests/utils/Android.bp
tests/ActivityTests/Android.bp
tests/ActivityViewTest/Android.bp
tests/AmSlam/Android.bp
tests/ApkVerityTest/Android.bp
tests/ApkVerityTest/ApkVerityTestApp/Android.bp
tests/ApkVerityTest/block_device_writer/Android.bp
tests/AppLaunch/Android.bp
tests/AppLaunchWear/Android.bp
tests/AppResourcesLoaders/Android.bp
tests/AppResourcesLoaders/Overlay/Android.bp
tests/Assist/Android.bp
tests/AutoVerify/app1/Android.bp
tests/AutoVerify/app2/Android.bp
tests/AutoVerify/app3/Android.bp
tests/AutoVerify/app4/Android.bp
tests/BackgroundDexOptServiceIntegrationTests/Android.bp
tests/BandwidthTests/Android.bp
tests/BatteryWaster/Android.bp
tests/BiDiTests/Android.bp
tests/BlobStoreTestUtils/Android.bp
tests/BootImageProfileTest/Android.bp
tests/BrowserPowerTest/Android.bp
tests/Camera2Tests/SmartCamera/SimpleCamera/jni/Android.bp
tests/CameraPrewarmTest/Android.bp
tests/Codegen/Android.bp
tests/Compatibility/Android.bp
tests/CoreTests/android/Android.bp
tests/DataIdleTest/Android.bp
tests/DozeTest/Android.bp
tests/DpiTest/Android.bp
tests/DynamicCodeLoggerIntegrationTests/Android.mk
tests/FeatureSplit/base/Android.bp
tests/FeatureSplit/feature1/Android.bp
tests/FeatureSplit/feature2/Android.bp
tests/FixVibrateSetting/Android.bp
tests/FlickerTests/Android.bp
tests/FlickerTests/test-apps/Android.bp
tests/FlickerTests/test-apps/flickerapp/Android.bp
tests/FrameworkPerf/Android.bp
tests/GamePerformance/Android.bp
tests/GridLayoutTest/Android.bp
tests/HierarchyViewerTest/Android.bp
tests/HugeBackup/Android.bp
tests/HwAccelerationTest/Android.bp
tests/Internal/Android.bp
tests/JankBench/Android.bp
tests/JobSchedulerPerfTests/Android.bp
tests/JobSchedulerTestApp/Android.bp
tests/LargeAssetTest/Android.bp
tests/LegacyAssistant/Android.bp
tests/LocalizationTest/Android.bp
tests/LocationTracker/Android.bp
tests/LotsOfApps/Android.bp
tests/LowStorageTest/Android.bp
tests/ManagedProfileLifecycleStressTest/Android.bp
tests/ManagedProfileLifecycleStressTest/app/DummyDPC/Android.bp
tests/MemoryUsage/Android.bp
tests/MirrorSurfaceTest/Android.bp
tests/NativeProcessesMemoryTest/Android.bp
tests/NetworkSecurityConfigTest/Android.bp
tests/NullHomeTest/Android.bp
tests/OdmApps/Android.bp
tests/OdmApps/app/Android.bp
tests/OdmApps/priv-app/Android.bp
tests/OneMedia/Android.bp
tests/PackageWatchdog/Android.bp
tests/PlatformCompatGating/Android.bp
tests/PlatformCompatGating/test-rules/Android.bp
tests/ProtoInputStreamTests/Android.bp
tests/RemoteDisplayProvider/Android.bp
tests/RenderThreadTest/Android.bp
tests/RollbackTest/Android.bp
tests/SerialChat/Android.bp
tests/ServiceCrashTest/Android.bp
tests/SharedLibrary/client/Android.bp
tests/SharedLibrary/lib/Android.bp
tests/ShowWhenLockedApp/Android.bp
tests/SmokeTest/Android.bp
tests/SmokeTest/tests/Android.bp
tests/SmokeTestApps/Android.bp
tests/SoundTriggerTestApp/Android.bp
tests/Split/Android.bp
tests/StagedInstallTest/Android.bp
tests/StatusBar/Android.bp
tests/SurfaceComposition/Android.bp
tests/SurfaceControlViewHostTest/Android.bp
tests/SystemMemoryTest/device/Android.bp
tests/SystemMemoryTest/host/Android.bp
tests/SystemUIDemoModeController/Android.bp
tests/TaskOrganizerTest/Android.bp
tests/TelephonyCommonTests/Android.bp
tests/TouchLatency/Android.bp
tests/TransformTest/Android.bp
tests/TtsTests/Android.bp
tests/UiBench/Android.bp
tests/UsageReportingTest/Android.bp
tests/UsageStatsPerfTests/Android.bp
tests/UsageStatsTest/Android.bp
tests/UsbHostExternalManagmentTest/AoapTestDevice/Android.bp
tests/UsbHostExternalManagmentTest/AoapTestHost/Android.bp
tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/Android.bp
tests/UsbManagerTests/Android.bp
tests/UsbManagerTests/lib/Android.bp
tests/UsbTests/Android.bp
tests/UsesFeature2Test/Android.bp
tests/VectorDrawableTest/Android.bp
tests/VoiceEnrollment/Android.bp
tests/VoiceInteraction/Android.bp
tests/WallpaperTest/Android.bp
tests/WindowAnimationJank/Android.bp
tests/WindowInsetsTests/Android.bp
tests/appwidgets/AppWidgetHostTest/Android.bp
tests/appwidgets/AppWidgetProviderTest/Android.bp
tests/backup/Android.mk
tests/benchmarks/Android.bp
tests/libs-permissions/Android.bp
tests/net/Android.bp
tests/net/common/Android.bp
tests/net/deflake/Android.bp
tests/net/integration/Android.bp
tests/net/jni/Android.bp
tests/net/smoketest/Android.bp
tests/notification/Android.bp
tests/permission/Android.bp
tests/privapp-permissions/Android.bp
tests/testables/Android.bp
tests/testables/tests/Android.bp
tests/utils/StubIME/Android.bp
tests/utils/hostutils/Android.bp
tests/utils/testutils/Android.bp
tests/vcn/Android.bp
tools/aapt/Android.bp
tools/aapt2/Android.bp
tools/aapt2/integration-tests/AutoVersionTest/Android.bp
tools/aapt2/integration-tests/BasicTest/Android.bp
tools/aapt2/integration-tests/MergeOnlyTest/LeafLib/Android.mk
tools/aapt2/integration-tests/MergeOnlyTest/LocalLib/Android.mk
tools/aapt2/integration-tests/NamespaceTest/LibOne/Android.mk
tools/aapt2/integration-tests/NamespaceTest/LibTwo/Android.mk
tools/aapt2/integration-tests/StaticLibTest/App/Android.bp
tools/aapt2/integration-tests/StaticLibTest/LibOne/Android.bp
tools/aapt2/integration-tests/StaticLibTest/LibTwo/Android.bp
tools/aapt2/integration-tests/SymlinkTest/Android.bp
tools/bit/Android.bp
tools/codegen/Android.bp
tools/dump-coverage/Android.bp
tools/incident_report/Android.bp
tools/incident_section_gen/Android.bp
tools/lock_agent/Android.bp
tools/locked_region_code_injection/Android.bp
tools/obbtool/Android.bp
tools/powermodel/Android.bp
tools/preload-check/Android.bp
tools/preload-check/device/Android.bp
tools/preload/loadclass/Android.bp
tools/processors/staledataclass/Android.bp
tools/processors/view_inspector/Android.bp
tools/protologtool/Android.bp
tools/sdkparcelables/Android.bp
tools/split-select/Android.bp
tools/streaming_proto/Android.bp
tools/validatekeymaps/Android.bp
wifi/java/Android.bp
wifi/tests/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
libs/hwui/Android.bp
native/webview/plat_support/Android.bp
obex/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-CC-BY SPDX-license-identifier-CPL-1.0
SPDX-license-identifier-GPL SPDX-license-identifier-GPL-2.0
SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS
SPDX-license-identifier-W3C legacy_unencumbered
to:
Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
legacy_unencumbered
to:
core/java/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-CPL-1.0
to:
test-base/Android.bp
test-runner/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-GPL
to:
core/res/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-GPL-2.0
to:
libs/usb/Android.bp
libs/usb/tests/accessorytest/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT
to:
tools/preload/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT
SPDX-license-identifier-Unicode-DFS
to:
api/Android.bp
boot/Android.bp
cmds/device_config/Android.bp
cmds/settings/Android.bp
core/api/Android.bp
core/tests/coretests/certs/Android.bp
core/tests/overlaytests/remount/test-apps/certs/Android.bp
core/tests/overlaytests/remount/test-apps/overlaid_apex/Android.bp
core/tests/overlaytests/remount/test-apps/overlay_apex/Android.bp
libs/tracingproxy/Android.bp
services/startop/Android.bp
test-legacy/Android.mk
tests/ApkVerityTest/testdata/Android.bp
tests/TransitionTests/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ic44d662936d1ff0cae7fbe915932b37aa4e4869a
Merged-in: I6e9103c3275cb2e6df5dc586588eccd7d2ab6b06
2021-02-16 04:09:57 -08:00
Lais Andrade
55a0aebe7f
Introduce SystemVibratorManager
...
Add default system implementation of vibrator manager service that uses
IVibratorManagerService to access the device vibrators.
Change implementation of SystemVibrator to use VibratorManagerService
and delete local service VibratorService.
Introduce missing public APIs for VibratorManager and Vibrator.getId.
Bug: 167946816
Test: VibratorManagerServiceTest, VibratorTest, VibrationEffectTest
Change-Id: I55cdeb72c7ca39ccf0c7b2fda60b16de1031801e
2021-02-11 09:26:21 +00:00
Orion Hodson
cd272e3402
preloaded-classes-denylist: remove retired class
...
Remove com.android.server.BootReceiver$2 from the denylist as this
anonymous class was retired in change https://r.android.com/1565971 .
(cherry picked from commit 1653aba6bf492e4bc3b08c3cb770865e149e1181)
Bug: 159164105
Bug: 179645293
Test: atest PreloadCheck
Change-Id: I94122241dc4cef84524ca83513a68d1fa8ffbe65
Merged-In: I94122241dc4cef84524ca83513a68d1fa8ffbe65
2021-02-08 13:24:41 +00:00
Orion Hodson
1653aba6bf
preloaded-classes-denylist: remove retired class
...
Remove com.android.server.BootReceiver$2 from the denylist as this
anonymous class was retired in change https://r.android.com/1565971 .
Bug: 159164105
Bug: 179645293
Test: atest PreloadCheck
Change-Id: I94122241dc4cef84524ca83513a68d1fa8ffbe65
2021-02-08 11:49:58 +00:00
Calin Juravle
b059b3faa0
Merge "Update boot image and system server profiles [M5C5P85S0PP]"
2021-01-26 02:11:04 +00:00
Calin Juravle
e8b91349d5
Merge "Update boot image profiles OWNERS" am: 547556cfb7 am: b7ae05e92b am: 15ad2d977b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1556947
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Idb424b52bc26749c9287b9252db5f10601c16c9e
2021-01-26 00:47:52 +00:00
Calin Juravle
173b3eb10c
Update boot image profiles OWNERS
...
Test: m
Change-Id: Ic4190cba73d40621a82ea818051d40e6b578357b
2021-01-22 17:57:45 -08:00
art-benchmark-service
b61bce68d3
Update boot image and system server profiles [M5C5P85S0PP]
...
= Perf stats =
(lower is better)
Start, memory and code size are improving at a slight expense of boot
time. The increase in boot time is however small, and could well be
in the noise.
Cold startup (speed-profile): -2.01%
PSS: -3.40%
RSS: -5.53%
Privat Dirty: -0.08%
Boot time: 1.58%
Code size: -22.4%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.85
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 1547
- number of (device types, builds): 62
File boot-image-profile.txt
- hot methods: 1431 added, 11395 removed
- methods: 1388 added, 12571 removed
- classes: 883 added, 112 removed
- totals now: 28756 hot methods, 28766 methods, 15710 classes
- totals before: 38720 hot methods, 39949 methods, 14939 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 700, 8119, 514, 46, 18562, 9442
com.android, 194, 2682, 342, 65, 2054, 3525
java, 383, 465, 19, 0, 6466, 1798
android.view, 107, 876, 31, 10, 2780, 855
android.hardware, 2, 408, 88, 1, 319, 779
android.bluetooth, 13, 88, 4, 3, 146, 170
android.animation, 0, 91, 0, 0, 353, 71
android.app, 221, 1362, 41, 7, 2516, 966
android.content, 41, 952, 36, 0, 1822, 575
android.graphics, 63, 386, 5, 0, 1763, 320
android.icu, 54, 150, 1, 4, 1693, 1474
android.media, 33, 522, 47, 3, 678, 568
android.net, 5, 431, 45, 0, 656, 398
android.widget, 36, 461, 5, 1, 1271, 357
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 518 added, 476 removed
- totals now: 0 hot methods, 0 methods, 14446 classes
- totals before: 0 hot methods, 0 methods, 14404 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, 319, 0, 8643
com.android, 0, 0, 0, 136, 0, 3112
java, 0, 0, 101, 21, 0, 1757
android.view, 0, 0, 0, 80, 0, 754
android.hardware, 0, 0, 0, 12, 0, 680
android.bluetooth, 0, 0, 0, 5, 0, 164
android.app, 0, 0, 0, 40, 0, 891
android.content, 0, 0, 0, 19, 0, 519
android.graphics, 0, 0, 0, 12, 0, 303
android.icu, 0, 0, 0, 5, 0, 1472
android.media, 0, 0, 0, 22, 0, 502
android.net, 0, 0, 0, 9, 0, 343
android.widget, 0, 0, 0, 18, 0, 334
File art-profile
- hot methods: 9847 added, 2417 removed
- methods: 9201 added, 4241 removed
- classes: 1432 added, 563 removed
- totals now: 27717 hot methods, 42315 methods, 6127 classes
- totals before: 20287 hot methods, 37355 methods, 5258 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 159, 2, 32, 2, 414, 287
com.android, 9632, 2415, 1389, 561, 27148, 5790
android.hardware, 82, 0, 27, 0, 210, 124
android.app, 0, 0, 1, 0, 1, 3
android.content, 0, 0, 2, 0, 1, 6
android.net, 77, 1, 2, 0, 180, 139
InternalReferenceRawProfileId: 3305
InternalReferenceCandidateProfileId: 3307
Test: build & benchmark
Bug: 169104277
Change-Id: I30494a9c879cd226252749a350df686d4ef99eed
2021-01-23 01:45:35 +00:00
Mathieu Chartier
b95347ff56
Remove android.net.rtp from preloaded classes
...
These cause /dev/urandom to be opened as CLO_EXEC and test
android.security.cts.FileDescriptorTest#testCLOEXEC to fail.
Also added to denylist except for AudioCodec that is pulled from
somewhere.
Bug: 174053659
Test: atest ./cts/tests/tests/security/src/android/security/cts/FileDescriptorTest.java
Change-Id: I1d83a1127ef3a0dce7ba0afa7549d2e4ec8ba453
2021-01-22 13:45:15 -08:00
Mathew Inwood
1819ed49f5
resolve merge conflicts of a07e6debf00db9de7449e8f34fc80649cc8e7e3f to master
...
Test: m
Bug: None
Change-Id: I895c1e86e49b3dc97cf0be1d0a975774fbc11ed3
2021-01-14 13:20:14 +00:00
Mathew Inwood
e329f3b03c
Move temp blocklist APIs to max-sdk-r list.
...
These APIs were temporarily blocked but are now being moved to the
max-sdk-r for final release. Tag these APIs as "lo-prio" since we
believe that they are unused.
Bug: 173499988
Test: m
Change-Id: Iee7b3c2d18fb9fb93ffe3fa3fca8ac6be7604673
2021-01-13 15:48:43 +00:00
Soonil Nagarkar
49983fcbbd
Copy LocationProviderBase API into SystemApi surface
...
This allows third party location providers to link against the standard
API surface. This replaces the LocationProviderBase implementation in
the com.android.location.providers API. Both will temporarily coexist
until third party applications can be migrated, and then old version
will be removed. Only the LocationProviderBase API is migrated right now
as its the only API that has undergone changes.
This also restores some old, unused classes which should not have been
remove from the API surface. Clients that support older API version will
still need to link against these classes.
Bug: 176115245
Test: builds
Change-Id: I2d688447e1f59e441f5c48ff36d3f0dd8b5dc7f6
2021-01-08 10:33:44 -08:00
jiabin
9bb4798296
Introduce device(s) role for strategy.
...
Adding interface for set/remove/getDevicesRoleForStrategy. This will be
used for setting device(s) role, such as preferred, for strategy.
Set/remove/getPreferreDeviceForStrategy are reimplemented by calling
the new interfaces.
Test: atest AudioHostTest
Test: atest AudioServiceHostTest
Test: atest AudioServiceTest
Test: atest audiopolicy_tests
Bug: 160352965
Change-Id: I2ba02c6b50af80846a25010ead05c4ae364868de
Merged-In: I2ba02c6b50af80846a25010ead05c4ae364868de
2020-12-21 17:01:20 +01:00
Nicolas Geoffray
2d306b8002
Merge "Remove NativeTestTarget." am: b3db690a48 am: 3a42fb2dee am: 66f19fa087
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1529303
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic6063de6300cd0a2274bbe8b32273239f8d5194d
2020-12-16 11:36:41 +00:00
Nicolas Geoffray
0022ffd73d
Remove NativeTestTarget.
...
We now have better tests in ART run tests, and it was also being added
to the shipping product for no good reason.
Test: m
Bug: 154796679
Change-Id: I8d7178873474ce84c6cf08c8af8bae96b0fab7e9
2020-12-15 09:32:34 +00:00
Jeff Sharkey
0ab7007631
resolve merge conflicts of 358f0d4fc8c248498cf113c41e043877a14e89a1 to master
...
Bug: 174932174
Test: I solemnly swear I tested this conflict resolution.
Exempt-From-Owner-Approval: refactoring with team leads buy-in
Change-Id: I9262a08ffc1ccede8e519d0eed90ed2bfcf0232c
2020-12-08 11:01:05 -07:00
Jeff Sharkey
52b9862f87
Improve OWNERS coverage across frameworks/base/.
...
As general background, OWNERS files expedite code reviews by helping
code authors quickly find relevant reviewers, and they also ensure
that stakeholders are involved in code changes in their areas.
Some teams under frameworks/base/ have been using OWNERS files
successfully for many years, and we're ready to expand them to cover
more areas. Here's the historical coverage statistics for the last
two years of changes before these new OWNERS changes land:
-- 56% of changes are fully covered by OWNERS
-- 17% of changes are partially covered by OWNERS
-- 25% of changes have no OWNERS coverage
Working closely with team leads, we've now identified clear OWNERS on
a per-package basis, and we're using "include" directives whenever
possible to to simplify future maintenance. With this extensive
effort, we've now improved our coverage as follows:
-- 98% of changes are fully covered by OWNERS
-- 1% of changes are partially covered by OWNERS
-- 1% of changes have no OWNERS coverage
This specific change is automatically generated by a script that
identifies relevant "include" directives.
Bug: 174932174
Test: manual
Exempt-From-Owner-Approval: refactoring with team leads buy-in
Merged-In: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813
Change-Id: I3480ddf2fe7ba3dfb922b459d4da01fa17a2c813
2020-12-08 08:36:28 -07:00
TreeHugger Robot
1c1acd45d0
Merge "Camera: Enhance camera atoms for system health"
2020-11-19 18:22:50 +00:00
Chiachang Wang
d5726c1916
Move BasicShellCommandHandler to frameworks/lib/modules-utils
...
BasicShellCommandHandler is used by mainline modules and the
framwork. There is a new repo that was created for putting
this kind of utility class. Move BasicShellCommandHandler for
the incoming ConnectivityService mainline and updating the
related usage.
Bug: 170598012
Test: m ; verify with adb shell cmd
Change-Id: I8a2873df6e7d8342b7a8b466bda155f74c807ee3
Merged-In: Ida30c877116090616d4bf3f87fdad835446dac84
2020-11-19 03:16:03 +00:00
Shuzhen Wang
b2443990e9
Camera: Enhance camera atoms for system health
...
Introduce camera system health atoms, including:
- Camera open, close, and session creation time
- Camera session and stream combination information,
- Stream statistics:
- stream width, height, format, dataspace, usage flag,
- max buffer count
- buffer loss
- first frame latency.
Test: ./out/host/linux-x86/bin/statsd_testdrive 227
Test: CTS PerformanceTest
Bug: 154159000
Change-Id: I858d64f3324bb9652a59e5857f2730c92c616a8e
2020-11-18 09:49:17 -08:00
Chiachang Wang
6a555279ec
Move BasicShellCommandHandler to frameworks/lib/modules-utils
...
BasicShellCommandHandler is used by mainline modules and the
framwork. There is a new repo that was created for putting
this kind of utility class. Move BasicShellCommandHandler for
the incoming ConnectivityService mainline and updating the
related usage.
Bug: 170598012
Test: m ; verify with adb shell cmd
Change-Id: Ida30c877116090616d4bf3f87fdad835446dac84
2020-11-18 09:18:06 +00:00
Calin Juravle
01109884fd
Merge "Update boot image and system server profiles [M10C10P10S0PP]"
2020-11-18 00:48:08 +00:00
art-benchmark-service
13164882fa
Update boot image and system server profiles [M10C10P10S0PP]
...
= Perf stats =
(lower is better)
Startup time is improving at the cost of slight increase in memory usage.
This is due the a large number of extra preloaded classes which will
be trimmed down in further updates.
Cold startup (speed-profile): -3.38%
PSS: -0.54%
RSS: 4.33%
Privat Dirty: -0.02%
Boot time: 3.73%
Code size: 3.57%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.1
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.01
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.01
}
=Profile stats=
Data info:
- total aggregations: 281
- number of (device types, builds): 17
File boot-image-profile.txt
- hot methods: 5268 added, 6255 removed
- methods: 5762 added, 5929 removed
- classes: 1944 added, 822 removed
- totals now: 38720 hot methods, 39949 methods, 14939 classes
- totals before: 39707 hot methods, 40116 methods, 13817 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3749, 4709, 1312, 392, 25981, 8974
com.android, 817, 725, 558, 343, 4542, 3248
java, 582, 586, 70, 69, 6548, 1779
android.view, 380, 920, 82, 61, 3549, 834
android.hardware, 127, 120, 15, 13, 725, 692
android.bluetooth, 16, 64, 2, 1, 221, 169
android.animation, 7, 21, 0, 0, 444, 71
android.app, 557, 649, 56, 44, 3657, 932
android.content, 962, 225, 35, 19, 2733, 539
android.graphics, 103, 197, 29, 16, 2086, 315
android.icu, 125, 629, 868, 0, 1789, 1477
android.media, 302, 175, 31, 18, 1167, 524
android.net, 173, 145, 11, 15, 1082, 353
android.widget, 104, 467, 22, 13, 1696, 353
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 3364 added, 558 removed
- totals now: 0 hot methods, 0 methods, 14923 classes
- totals before: 0 hot methods, 0 methods, 12117 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 1492, 341, 0, 8962
com.android, 0, 0, 1257, 131, 0, 3247
java, 0, 0, 179, 69, 0, 1778
android.view, 0, 0, 91, 53, 0, 834
android.hardware, 0, 0, 34, 13, 0, 692
android.bluetooth, 0, 0, 2, 1, 0, 169
android.app, 0, 0, 68, 41, 0, 931
android.content, 0, 0, 64, 19, 0, 538
android.graphics, 0, 0, 29, 16, 0, 315
android.icu, 0, 0, 869, 0, 0, 1477
android.media, 0, 0, 37, 15, 0, 524
android.net, 0, 0, 37, 12, 0, 352
android.widget, 0, 0, 22, 12, 0, 352
File art-profile
- hot methods: 7015 added, 11289 removed
- methods: 10994 added, 13950 removed
- classes: 1562 added, 2229 removed
- totals now: 20288 hot methods, 37357 methods, 5258 classes
- totals before: 24562 hot methods, 40313 methods, 5925 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 32, 321, 17, 65, 257, 257
com.android, 6947, 10930, 1540, 2150, 19932, 4962
android.hardware, 24, 116, 3, 39, 128, 97
android.app, 0, 0, 0, 0, 1, 2
android.content, 0, 1, 1, 0, 1, 4
android.net, 8, 194, 13, 23, 104, 137
InternalReferenceRawProfileId: 2853
InternalReferenceCandidateProfileId: 2857
Retested after blacklist at: go/art-benchmark:2890
Test: build & benchmark
Bug: 169104277
Change-Id: Id5a107451629a2be9675be58519fe4e39cd5565f
2020-11-18 00:23:52 +00:00
Jeff DeCew
f4b91ee076
Fix DecoratedCustomViewStyle
...
* Fix HUN state's end margins
* Restore previous max height of collapsed state
* Restore previous behavior of hiding the progress
bar if content is greater than ~25dp
* Remove min height which isn't necessary now that
the largeIcon has moved up a line.
* Fix headerless title's padding with the separator.
Bug: 163626038
Test: manual
Change-Id: I1fa1efa76192f081ac801a732812eef7f5bfa536
2020-11-17 14:38:14 -05:00
Jeff DeCew
1242ae9220
Remove the reply action entirely.
...
Bug: 163626038
Test: manual
Change-Id: I28992441300ffdecc58900730ff9d858d6c0a009
2020-11-13 13:16:00 -05:00
Jeff DeCew
1842262813
Notification template redesign; part 1.
...
Known issues:
* Sub-par dyson animation
* Sub-par animation of text in the title
* Notification height limits not yet adjusted
* Decorated custom view height limits not yet updated
* HUNs may need to get their own headerless template
* Messaging style notifications are not yet headerless
* Possible [de]colorization bug for grouped icons
* Some notifications still not always expandable
Bug: 163626038
Test: Manual, visual testing
Change-Id: I9e7e2fd689938a13e042c8f6319bd7d0d2252781
2020-11-13 13:16:00 -05:00