Orion Hodson
2ccaa8e073
resolve merge conflicts of 525ed1c275 to rvc-dev-plus-aosp am: be053b7e19 am: 08e54a12ec am: 374718a2a8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12432135
Change-Id: I7c53db5f3c12e04df762e89b497bb2b45111876e
2020-08-24 12:36:23 +00:00
Orion Hodson
be053b7e19
resolve merge conflicts of 525ed1c275 to rvc-dev-plus-aosp
...
Change-Id: Icc691f4d16c5e689b30885fe6e99dc827310fa98
2020-08-24 09:07:41 +00:00
Treehugger Robot
cde7692843
Merge "profman: inclusive language updates"
2020-08-20 13:25:01 +00:00
Orion Hodson
7cebdeeb53
profman: inclusive language updates
...
Based on:
https://source.android.com/setup/contribute/respectful-code
Bug: 161336379
Bug: 161896447
Test: m
Change-Id: Iaf7db2f76d8979f1ccc06c7e9e705b69c1f8069d
2020-08-17 15:35:31 +01:00
TreeHugger Robot
6fb23b6d8a
Merge changes from topics "devicesRoleForStrategy", "useAudioDevicesTypeAddrVector"
...
* changes:
Introduce device(s) role for strategy.
Use AudioDeviceTypeAddrVector instead of Vector<AudioDeviceTypeAddr>
2020-08-13 02:24:06 +00:00
Hans Boehm
31bb4ab9e0
Merge "API and boot image updates to import RI BigInteger" am: 47ce951f33 am: 2996c1be22 am: 7949fea1f9 am: 6b9c4df784 am: c8a5932211
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1331800
Change-Id: If397cb25e2b480a421218d8b04438fce3c3224d6
2020-08-13 01:56:37 +00:00
Hans Boehm
7949fea1f9
Merge "API and boot image updates to import RI BigInteger" am: 47ce951f33 am: 2996c1be22
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1331800
Change-Id: I497efcccc6d456789a9b095942681625e93334ff
2020-08-13 00:51:24 +00:00
Hans Boehm
47ce951f33
Merge "API and boot image updates to import RI BigInteger"
2020-08-13 00:15:01 +00:00
jiabin
f40141ddbc
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
2020-08-12 14:44:28 -07:00
TreeHugger Robot
5316267ba9
Merge "resolve merge conflicts of c94e810cab to rvc-dev-plus-aosp" into rvc-dev-plus-aosp am: a3d8ee34a4 am: 8d592fae4e am: e96992ff61
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12316526
Change-Id: I71cd6bf1854ae33d727f57c63b16de61656622e5
2020-08-06 13:44:08 +00:00
Andrei Onea
6be88efde5
resolve merge conflicts of c94e810cab to rvc-dev-plus-aosp
...
Change-Id: I47128585a8259dc51f25d679d1841578138f9a1d
2020-08-05 17:42:55 +01:00
Andrei Onea
efd326d8bb
Rename manual hidden api lists
...
Use newer terminology, as specified here: go/hiddenapi-list-renaming
Test: m
Bug: 162827370
Change-Id: Id273b975b9683c2a5ae2f6e34e703df5d8b8179c
2020-08-04 15:02:24 +01:00
Hans Boehm
7cec0bba9a
API and boot image updates to import RI BigInteger
...
This reorders methods, omits a redundant "implements" spec, and adds
<x>ValueExact() methods, which are in OpenJDK 8, but hadn't been
implemented on Android.
Also update the boot image profile to compile BigInteger-required
methods that used to be native. Some of these must be compiled to
avoid ART test timeouts.
Bug: 136887041
Bug: 119491938
Bug: 28214673
Bug: 28251030
Bug: 2950143
Test: AOSP Boots. Ran some manual Calculator tests on Cuttlefish.
Change-Id: Idd72ec6a6fd54ed4ad96a82b26840b41a3882678
2020-07-23 14:12:34 -07:00
Prabir Pradhan
2dec42fa66
Move task to back when the back button is pressed on root task
...
This CL changes the behavior of pressing the back button on a root
activity so that the task is moved to the back, instead of the activity
being finished.
This removes the IRequestFinishCallback which IActivityTaskManager would
previously have triggered to make the Activity finish itself.
Bug: 146418616
Test: atest WmTests
Test: manual: flash crosshatch, press back button on a root activity,
observe task is moved to back.
Change-Id: I48ec35f841ab3b306fe80845150000c390908f5e
2020-07-15 15:24:02 -07:00
Eino-Ville Talvala
7208d0af87
Camera: Remove all camera HALv1 code
...
- Remove legacy wrapper implementing camera2 API on HALv1
- Move JNI utility code into SurfaceUtils
- Remove openLegacy path, which allowed HALv1 behavior on HALv3 devices
- Remove relevant tests
Test: atest CtsCameraTestCases
Bug: 136024295
Change-Id: I49ad89bee5c4fdc09e288597821163c81494476f
2020-07-10 11:42:59 -07:00
Nathan Harold
3a47293cb4
Remove Deprecated-At-Birth APIs from PDCS
...
Two APIs were added as @SystemApi and then @Deprecated within
the same API level (RVC). These methods were never exposed
publicly, and instead were replaced with more-appropriate
named methods that were added to the public API. As such they
were not fully deleted in RVC but were never exposed and expected
to be deleted following SDK finalization. This CL does precisely
that - removes all traces of these methods, as per the will of
the API Council.
-Remove #getDataConnectionLinkProperties()
-Remove #getDataConnectionNetworkType()
Bug: 152787887
Test: make update-api && make
Change-Id: I89463b0bd641e9316f90fe4f535d326f6e74a061
2020-07-09 15:43:34 -07:00
Nicolas Geoffray
7d8bf62409
Merge "Remove references to Dalvik logger." am: 385a775e73 am: 40ab1cf73c am: 75f6223c7c am: c96e8b2184 am: eb3069cddd
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1352358
Change-Id: I8f7490576e967ffec93b40edcc32317e0b187c38
2020-07-02 09:32:34 +00:00
Nicolas Geoffray
75f6223c7c
Merge "Remove references to Dalvik logger." am: 385a775e73 am: 40ab1cf73c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1352358
Change-Id: Ib9cdd470cc9cb0f199dc97b1d05e1d833dd3808c
2020-07-02 08:52:23 +00:00
Nicolas Geoffray
6074d56d4f
Remove references to Dalvik logger.
...
Test: m
Bug: 154796679
Change-Id: Id03d9be728c920616a7218fc5435640fc732c87e
2020-06-30 18:30:38 +01:00
Treehugger Robot
50cc024cbe
Merge "Update preloaded-classes-blacklist" am: bfaf7c5a78 am: 0cb2ff9a26 am: 14e8ef1cf4 am: 8a9d692c60 am: bc9820f3bb
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1344376
Change-Id: Idc30622a5959b1480c41bde1a23abee36f72fa41
2020-06-19 21:15:00 +00:00
Treehugger Robot
14e8ef1cf4
Merge "Update preloaded-classes-blacklist" am: bfaf7c5a78 am: 0cb2ff9a26
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1344376
Change-Id: Ib8d8708fb9e1dd6f0e9c8937b3d00fd4c39a061d
2020-06-19 20:47:58 +00:00
Calin Juravle
5e7b1ba719
Update preloaded-classes-blacklist
...
To match what was used for RVC profile.
Bug: 152574358
Test: Config file used in boot image profile generation
Change-Id: I5be50e9ec2a43d82dd5225b2f685897afa40d818
2020-06-18 18:38:45 -07:00
Calin Juravle
9b945d43ea
Merge "Update boot image and system server profiles [M10C10P30S0PP]" into rvc-dev am: 92fc2321cd am: bf05bbc6ef am: 8cc3ed80bb am: b9cdb4197d
...
Change-Id: Ie1541eff9e4669a700b3c77436d35c6defac8668
2020-05-29 22:26:30 +00:00
Calin Juravle
b9cdb4197d
Merge "Update boot image and system server profiles [M10C10P30S0PP]" into rvc-dev am: 92fc2321cd am: bf05bbc6ef am: 8cc3ed80bb
...
Change-Id: Iceea04818e5338a2a8538bb5a809d8e7e18c25ca
2020-05-29 22:12:36 +00:00
Calin Juravle
807a45fa00
Merge "Update boot image and system server profiles [M10C10P30S0PP]" into rvc-dev am: 92fc2321cd
...
Change-Id: Ia8131417a5152664726c7b444f159742eeb0ce0c
2020-05-29 21:47:05 +00:00
art-benchmark-service
0d6aafccf1
Update boot image and system server profiles [M10C10P30S0PP]
...
= Perf stats =
(lower is better)
Avg Startup time change: -1.75%
Avg Memory at boot PSS change: -0.44%
Code size: +3.36%
Boot time: -0.33%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.3
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.webview"
value: 0.01
}
=Profile stats=
Data info:
- total aggregations: 7130
- number of (device types, builds): 205
File boot-image-profile.txt
- hot methods: 1746 added, 2138 removed
- methods: 1705 added, 2226 removed
- classes: 2103 added, 240 removed
- totals now: 39682 hot methods, 40091 methods, 13821 classes
- totals before: 40074 hot methods, 40612 methods, 11958 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1369, 1520, 569, 202, 26942, 8058
com.android, 243, 246, 995, 23, 4450, 3033
java, 94, 285, 107, 0, 6526, 1778
android.view, 191, 316, 19, 53, 4089, 813
android.hardware, 13, 44, 24, 2, 718, 694
android.bluetooth, 6, 22, 0, 1, 269, 168
android.animation, 0, 14, 0, 0, 458, 71
android.app, 103, 315, 12, 20, 3749, 920
android.content, 41, 120, 31, 46, 1996, 523
android.graphics, 33, 53, 0, 0, 2180, 302
android.icu, 8, 127, 0, 0, 2293, 609
android.media, 65, 66, 10, 8, 1040, 511
android.net, 25, 49, 29, 20, 1054, 357
android.widget, 89, 118, 1, 1, 2059, 344
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 428 added, 246 removed
- totals now: 0 hot methods, 0 methods, 12125 classes
- totals before: 0 hot methods, 0 methods, 11943 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 341, 204, 0, 7817
com.android, 0, 0, 86, 23, 0, 2122
java, 0, 0, 1, 3, 0, 1668
android.view, 0, 0, 2, 53, 0, 796
android.hardware, 0, 0, 5, 2, 0, 675
android.bluetooth, 0, 0, 0, 1, 0, 168
android.app, 0, 0, 0, 20, 0, 907
android.content, 0, 0, 2, 46, 0, 493
android.icu, 0, 0, 0, 1, 0, 608
android.media, 0, 0, 1, 8, 0, 502
android.net, 0, 0, 0, 20, 0, 327
android.widget, 0, 0, 0, 1, 0, 342
File art-profile
- hot methods: 1658 added, 5108 removed
- methods: 2941 added, 9987 removed
- classes: 450 added, 1451 removed
- totals now: 24562 hot methods, 40313 methods, 5925 classes
- totals before: 28012 hot methods, 47359 methods, 6926 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 34, 12, 15, 3, 546, 305
com.android, 1612, 5094, 434, 1448, 23915, 5572
android.hardware, 10, 0, 0, 0, 220, 133
android.net, 21, 11, 14, 3, 290, 147
InternalReferenceRawProfileId: 2161
InternalReferenceCandidateProfileId: 2193
Test: build & benchmark
Bug: 148471769
Change-Id: Id1728cd51db8052e6f47cfe006a3ca4b62766f9e
2020-05-29 21:33:39 +00:00
Dmitri Plotnikov
f800b70dc5
Move IndentingPrintWriter to android.util
...
The old implementation remains in its place for now.
IndentingPrintWriter is still hidden - it will be made public
separately.
Test: atest FrameworksUtilTests:android.util.IndentingPrintWriterTest
Bug: 142281756
Change-Id: Idd2bfa027733ef384b5a676866a89fb3c35b06cb
2020-05-21 10:36:53 -07:00
Anna Trostanetski
b4a8ebd014
Merge "Remove atrost (and dbrazdil) from OWNERS files." am: 06e2fe837a am: 389fa5ce4f
...
Change-Id: I43430577015ddbcd5aabb10794d250a960eb5def
2020-05-12 16:03:40 +00:00
atrost
9cd0ba571c
Remove atrost (and dbrazdil) from OWNERS files.
...
Test: none
Change-Id: If82422229d1b4cbed5e72d1c9042bd6a38be54e5
2020-05-12 12:36:02 +01:00
Xiangyu/Malcolm Chen
9d3d7bd000
Merge "Add two ServiceState APIs back to @Unsupported list." into rvc-dev am: af242fb7e0
...
Change-Id: I60e055fae6228e139abb9100c01e95836548fdcd
2020-04-29 19:47:31 +00:00
Malcolm Chen
9993fd6bff
Add two ServiceState APIs back to @Unsupported list.
...
It was removed from boot-image-profile when we tried to expose them
for mainlining. Now it's @hide again, so we should add it back
into boot-image-profile otherwise it will break appss.
Bug: 153825725
Test: build
Change-Id: I7dcce69d3d2b3b2601f98817a4ee4467f7efb47a
2020-04-28 16:14:01 -07:00
Calin Juravle
b05bfa66a3
Merge "Update boot image and system server profiles [M10C10P10S0PP]" into rvc-dev am: d56a530ac9
...
Change-Id: I37fe17d14d8d1f95f0311ac57ecbb55c3bbdc998
2020-04-17 22:32:44 +00:00
art-benchmark-service
d60351b702
Update boot image and system server profiles [M10C10P10S0PP]
...
= Perf stats =
(lower is better)
Avg Startup time change: -1.36%
Avg Memory at boot PSS change: -5.05%
Code size: -5.05%
Boot time: -2.79%
=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: 4215
- number of (device types, builds): 137
File boot-image-profile.txt
- hot methods: 876 added, 5178 removed
- methods: 812 added, 5267 removed
- classes: 466 added, 428 removed
- totals now: 40072 hot methods, 40610 methods, 11958 classes
- totals before: 44374 hot methods, 45065 methods, 11920 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 597, 3775, 372, 334, 27091, 7691
com.android, 198, 478, 89, 89, 4453, 2061
java, 68, 715, 4, 3, 6717, 1671
android.view, 162, 220, 66, 0, 4214, 847
android.hardware, 26, 109, 19, 0, 749, 672
android.bluetooth, 3, 96, 5, 0, 285, 169
android.animation, 1, 4, 1, 0, 472, 71
android.app, 148, 374, 42, 2, 3961, 928
android.content, 52, 890, 26, 0, 2075, 538
android.graphics, 11, 51, 6, 0, 2200, 302
android.icu, 14, 99, 8, 0, 2412, 609
android.media, 15, 77, 39, 0, 1041, 509
android.net, 30, 185, 18, 5, 1078, 348
android.widget, 3, 203, 33, 0, 2088, 344
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 465 added, 429 removed
- totals now: 0 hot methods, 0 methods, 11942 classes
- totals before: 0 hot methods, 0 methods, 11906 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 371, 334, 0, 7679
com.android, 0, 0, 89, 89, 0, 2060
java, 0, 0, 4, 3, 0, 1670
android.view, 0, 0, 66, 0, 0, 847
android.hardware, 0, 0, 19, 0, 0, 672
android.bluetooth, 0, 0, 5, 0, 0, 169
android.animation, 0, 0, 1, 0, 0, 71
android.app, 0, 0, 41, 2, 0, 927
android.content, 0, 0, 26, 0, 0, 537
android.graphics, 0, 0, 6, 0, 0, 302
android.icu, 0, 0, 8, 0, 0, 609
android.media, 0, 0, 39, 0, 0, 509
android.net, 0, 0, 18, 5, 0, 347
android.widget, 0, 0, 33, 0, 0, 343
File art-profile
- hot methods: 1028 added, 0 removed
- methods: 3388 added, 0 removed
- classes: 261 added, 0 removed
- totals now: 28014 hot methods, 47361 methods, 6926 classes
- totals before: 26986 hot methods, 43973 methods, 6665 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 29, 0, 7, 0, 524, 293
com.android, 996, 0, 253, 0, 27399, 6586
android.hardware, 2, 0, 0, 0, 210, 133
android.media, 0, 0, 1, 0, 0, 1
android.net, 26, 0, 6, 0, 280, 136
InternalReferenceRawProfileId: 1088
InternalReferenceCandidateProfileId: 1092
Bug: 148471769
Test: build & benchmark
Change-Id: I165d69a3a50b504e226d910f328da635571870a6
2020-04-17 21:20:18 +00:00
Orion Hodson
b904a71209
Merge "Add UnixChannelFactory to preloaded-classes" am: 7f26443fac am: 1b49e036c0
...
Change-Id: Ia59f1348f10182c8149a25abc935735a629a5b8f
2020-03-24 09:33:36 +00:00
Calin Juravle
fc0fccfb2a
Merge "Update boot image and system server profiles [M10C10P10S0PP]" into rvc-dev am: d4a4e62a53
...
Change-Id: I3311a01d7b5ea21569545be5b28b9e3ca05dc10e
2020-03-19 18:38:36 +00:00
art-benchmark-service
ad05a307f3
Update boot image and system server profiles [M10C10P10S0PP]
...
= Perf stats =
(lower is better)
Avg Startup time change: -4.03%
Avg Memory at boot PSS change: -0.49%
Code size: +53.37%
Boot time: +2.98%
=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.01
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.01
}
=Profile stats=
Data info:
- total aggregations: 2637
- number of (device types, builds): 94
File boot-image-profile.txt
- hot methods: 21082 added, 1 removed
- methods: 21770 added, 1 removed
- classes: 117 added, 3 removed
- totals now: 44374 hot methods, 45065 methods, 11920 classes
- totals before: 23293 hot methods, 23296 methods, 11806 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 15134, 0, 95, 0, 30269, 7653
com.android, 3423, 1, 20, 0, 4733, 2061
java, 1988, 0, 2, 3, 7364, 1670
android.view, 1973, 0, 8, 0, 4272, 781
android.hardware, 677, 0, 4, 0, 832, 653
android.bluetooth, 297, 0, 0, 0, 378, 164
android.animation, 115, 0, 0, 0, 475, 70
android.app, 2165, 0, 3, 0, 4187, 888
android.content, 1765, 0, 4, 0, 2913, 512
android.graphics, 639, 0, 4, 0, 2240, 296
android.icu, 368, 0, 64, 0, 2497, 601
android.media, 720, 0, 3, 0, 1103, 470
android.net, 748, 0, 2, 0, 1233, 335
android.widget, 1387, 0, 0, 0, 2288, 311
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 117 added, 3 removed
- totals now: 0 hot methods, 0 methods, 11905 classes
- totals before: 0 hot methods, 0 methods, 11791 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 95, 0, 0, 7642
com.android, 0, 0, 20, 0, 0, 2060
java, 0, 0, 2, 3, 0, 1669
android.view, 0, 0, 8, 0, 0, 781
android.hardware, 0, 0, 4, 0, 0, 653
android.app, 0, 0, 3, 0, 0, 888
android.content, 0, 0, 4, 0, 0, 511
android.graphics, 0, 0, 4, 0, 0, 296
android.icu, 0, 0, 64, 0, 0, 601
android.media, 0, 0, 3, 0, 0, 470
android.net, 0, 0, 2, 0, 0, 334
File art-profile
- hot methods: 2191 added, 0 removed
- methods: 3356 added, 0 removed
- classes: 484 added, 0 removed
- totals now: 26986 hot methods, 43973 methods, 6665 classes
- totals before: 24795 hot methods, 40617 methods, 6181 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 19, 0, 18, 0, 495, 286
com.android, 2171, 0, 466, 0, 26403, 6333
android.hardware, 9, 0, 13, 0, 208, 133
android.content, 1, 0, 0, 0, 2, 3
android.net, 9, 0, 5, 0, 254, 130
InternalReferenceRawProfileId: 494
InternalReferenceCandidateProfileId: 506
Bug: 148471769
Test: build & benchmark
Change-Id: I5773982b7cd3c9925e0ff5fd3cfbe8e8fb8c3522
2020-03-18 20:46:32 +00:00
Orion Hodson
187996aea5
Add UnixChannelFactory to preloaded-classes
...
Bug: 144502743
Test: atest PreloadCheck
Test: cts-tradefed
Change-Id: I623ead2c26bf19a9198d0104e0c6a59242bb6eb1
2020-03-18 18:18:39 +00:00
Tony Mak
eee6d92ad4
Merge "Remove unused strings." into rvc-dev am: 124f3e883c
...
Change-Id: I29f3c426278553eaafe4966c01f33b1c969f0e68
2020-03-18 09:56:35 +00:00
Tony Mak
a14f1578ef
Remove unused strings.
...
Test: m
BUG: 151430937
Change-Id: I438ae65ec48697d4ddd63fee66bafc7656969dd8
2020-03-17 15:35:33 +00:00
Automerger Merge Worker
b770cfab5b
Merge "Remove UnixChannelFactory from preloaded-classes-blacklist" am: 620b85ae10 am: 1679129cff
...
Change-Id: I577d48d2a5e50f1b3fccc72ddeef62f4e77ce843
2020-03-16 08:51:57 +00:00
Orion Hodson
cc20fcf048
Remove UnixChannelFactory from preloaded-classes-blacklist
...
Initialization issues with FileDescriptor and UnixChannelFactory led
to UnixChannelFactory being put on the preloaded classes
blacklist. This was fixed in https://r.android.com/700445 and is no
longer required.
Bug: 109735195
Bug: 144502743
Test: art/test.py --host --prebuild --64 -r -t 071-dexfile-map-clean
Test: atest PreloadCheck
Change-Id: Idc9f4c5b39be06c0a77b092972cc2ffced37d4d1
2020-03-13 15:29:33 +00:00
art-benchmark-service
d511593a17
Update boot image and system server profiles [M10C10P10S0PP]
...
= Perf stats =
(lower is better)
Avg Startup time change: -1.35%
Avg Memory at boot PSS change: -4.25%
Code size: +5.52%
Boot time: +0.03%
=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.04
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.05
}
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.05
}
=Profile stats=
Data info:
- total aggregations: 1935
- number of (device types, builds): 70
File boot-image-profile.txt
- hot methods: 1179 added, 413 removed
- methods: 1174 added, 413 removed
- classes: 1801 added, 0 removed
- totals now: 23293 hot methods, 23296 methods, 11806 classes
- totals before: 22527 hot methods, 22535 methods, 10005 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 949, 338, 1461, 0, 15135, 7558
com.android, 55, 29, 254, 0, 1311, 2041
java, 134, 31, 59, 0, 5376, 1671
android.view, 194, 31, 119, 0, 2299, 773
android.hardware, 6, 24, 89, 0, 155, 649
android.bluetooth, 6, 4, 9, 0, 81, 164
android.animation, 22, 0, 0, 0, 360, 70
android.app, 66, 64, 132, 0, 2022, 885
android.content, 15, 25, 108, 0, 1148, 508
android.graphics, 54, 10, 8, 0, 1601, 292
android.icu, 238, 7, 288, 0, 2129, 537
android.media, 22, 8, 66, 0, 383, 467
android.net, 7, 53, 83, 0, 485, 333
android.widget, 167, 0, 31, 0, 901, 311
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 1799 added, 0 removed
- totals now: 0 hot methods, 0 methods, 11791 classes
- totals before: 0 hot methods, 0 methods, 9992 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 1461, 0, 0, 7548
com.android, 0, 0, 254, 0, 0, 2040
java, 0, 0, 59, 0, 0, 1670
android.view, 0, 0, 119, 0, 0, 773
android.hardware, 0, 0, 89, 0, 0, 649
android.bluetooth, 0, 0, 9, 0, 0, 164
android.app, 0, 0, 132, 0, 0, 885
android.content, 0, 0, 108, 0, 0, 507
android.graphics, 0, 0, 8, 0, 0, 292
android.icu, 0, 0, 288, 0, 0, 537
android.media, 0, 0, 66, 0, 0, 467
android.net, 0, 0, 83, 0, 0, 332
android.widget, 0, 0, 31, 0, 0, 310
File art-profile
- hot methods: 1508 added, 51 removed
- methods: 1174 added, 110 removed
- classes: 253 added, 55 removed
- totals now: 24797 hot methods, 40621 methods, 6183 classes
- totals before: 23340 hot methods, 39557 methods, 5985 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 21, 4, 26, 1, 476, 268
com.android, 1478, 47, 222, 54, 24234, 5869
android.hardware, 12, 4, 2, 1, 199, 120
android.net, 9, 0, 24, 0, 245, 125
InternalReferenceRawProfileId: 463
InternalReferenceCandidateProfileId: 465
Test: build & benchmark
Bug: 148471769
Change-Id: Iedee8b9637fd7cc621f32545bc354d1a69a3650e
(cherry picked from commit 435ffc9d43 )
2020-03-02 10:44:04 +00:00
art-benchmark-service
56aece6897
Update boot image and system server profiles [M10C90P90S0PP]
...
= Perf stats =
(lower is better)
Avg Startup time change: -2.79%
Avg Memory at boot PSS change: -9.64%
Code size: -31.34%
Boot time: -3.78%
Atp Tests:
health/memory/boot
health/microbench/startup/thirdparty/stable-apps/open-twitter
health/microbench/startup/thirdparty/stable-apps/open-snapchat
health/microbench/startup/thirdparty/stable-apps/open-netflix
health/microbench/startup/thirdparty/stable-apps/open-instagram
health/microbench/startup/thirdparty/stable-apps/open-facebookmessenger
health/microbench/startup/thirdparty/stable-apps/open-facebook
health/microbench/startup/firstparty/open-youtube
health/microbench/startup/firstparty/open-settings
health/microbench/startup/firstparty/open-photos
health/microbench/startup/firstparty/open-phone
health/microbench/startup/firstparty/open-messenger
health/microbench/startup/firstparty/open-maps
health/microbench/startup/firstparty/open-google
health/microbench/startup/firstparty/open-gmail
health/microbench/startup/firstparty/open-contacts
health/microbench/startup/firstparty/open-clock
health/microbench/startup/firstparty/open-chrome
health/microbench/startup/firstparty/open-camera
health/microbench/startup/firstparty/open-calendar
health/microbench/startup/firstparty/open-calculator
asit/perf/hermetic_app_launch_small_test
asit/perf/boottime_test
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.9
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.04
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.05
}
=Profile stats=
Data info:
- total aggregations: 1151
- number of (device types, builds): 61
File boot-image-profile.txt
- hot methods: 4265 added, 18862 removed
- methods: 3289 added, 25892 removed
- classes: 1028 added, 619 removed
- totals now: 22527 hot methods, 22535 methods, 9596 classes
- totals before: 37124 hot methods, 45138 methods, 9596 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 4032, 12915, 354, 508, 14524, 6097
com.android, 122, 2930, 674, 69, 1285, 1787
java, 72, 2192, 0, 25, 5273, 1612
android.view, 539, 1314, 1, 39, 2136, 654
android.hardware, 27, 628, 24, 14, 173, 560
android.bluetooth, 22, 186, 0, 2, 79, 155
android.animation, 77, 93, 0, 0, 338, 70
android.app, 340, 1903, 5, 39, 2020, 753
android.content, 71, 1641, 1, 32, 1158, 400
android.graphics, 296, 495, 2, 4, 1557, 284
android.icu, 1898, 0, 249, 0, 1898, 249
android.media, 73, 672, 11, 24, 369, 401
android.net, 74, 837, 24, 175, 531, 250
android.widget, 115, 876, 0, 15, 734, 280
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 1028 added, 534 removed
- totals now: 0 hot methods, 0 methods, 9498 classes
- totals before: 0 hot methods, 0 methods, 9498 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 354, 454, 0, 6087
com.android, 0, 0, 674, 64, 0, 1786
java, 0, 0, 0, 7, 0, 1611
android.view, 0, 0, 1, 39, 0, 654
android.hardware, 0, 0, 24, 12, 0, 560
android.bluetooth, 0, 0, 0, 2, 0, 155
android.app, 0, 0, 5, 36, 0, 753
android.content, 0, 0, 1, 29, 0, 399
android.graphics, 0, 0, 2, 4, 0, 284
android.icu, 0, 0, 249, 0, 0, 249
android.media, 0, 0, 11, 21, 0, 401
android.net, 0, 0, 24, 174, 0, 249
android.widget, 0, 0, 0, 14, 0, 279
File art-profile
- hot methods: 11611 added, 0 removed
- methods: 15375 added, 0 removed
- classes: 2513 added, 0 removed
- totals now: 23340 hot methods, 39557 methods, 3473 classes
- totals before: 11729 hot methods, 24182 methods, 3473 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 229, 0, 106, 0, 459, 243
com.android, 11334, 0, 2387, 0, 22803, 5702
android.hardware, 104, 0, 74, 0, 191, 119
android.app, 0, 0, 1, 0, 1, 2
android.net, 124, 0, 28, 0, 236, 101
InternalReferenceRawProfileId: 383
InternalReferenceCandidateProfileId: 388
Test: build & benchmark
Bug: 148471769
Change-Id: I1726b729dbbb60e5983670432a2714e8911d3755
2020-02-12 12:40:17 -08:00
art-benchmark-service
35aba41164
Update boot image and system server profiles [M2C2P20S0PP]
...
=Generation Strategy=
method_threshold: 0.02
image_class_threshold: 0.02
preloaded_classes_threshold: 0.2
upgrade_startup_methods_to_hot: true
method_threshold_for_image_classes: 5.0E-4
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.005
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.005
}
priority_packages_thresholds {
key: "com.android.chrome"
value: 0.005
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.005
}
=Profile stats=
Data info:
- total aggregations: 593
- number of (device types, builds): 42
File boot-image-profile.txt
- hot methods: 21552 added, 208 removed
- methods: 29176 added, 88 removed
- classes: 88 added, 813 removed
- totals now: 37124 hot methods, 45138 methods, 10321 classes
- totals before: 15780 hot methods, 16050 methods, 10321 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 15476, 155, 68, 85, 23407, 6251
com.android, 2832, 17, 4, 724, 4093, 1182
java, 2358, 28, 8, 4, 7393, 1637
android.view, 1971, 26, 2, 4, 2911, 692
android.hardware, 681, 6, 4, 24, 774, 550
android.bluetooth, 193, 16, 0, 0, 243, 157
android.animation, 165, 1, 0, 0, 354, 70
android.app, 2357, 38, 5, 2, 3583, 787
android.content, 1608, 14, 12, 7, 2728, 431
android.graphics, 908, 5, 0, 0, 1756, 286
android.media, 848, 9, 5, 0, 968, 414
android.net, 763, 16, 1, 1, 1294, 401
android.widget, 1224, 0, 1, 0, 1495, 295
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 35 added, 799 removed
- totals now: 0 hot methods, 0 methods, 10262 classes
- totals before: 0 hot methods, 0 methods, 10262 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 31, 75, 0, 6187
com.android, 0, 0, 3, 724, 0, 1176
java, 0, 0, 1, 0, 0, 1618
android.view, 0, 0, 2, 4, 0, 692
android.hardware, 0, 0, 2, 24, 0, 548
android.app, 0, 0, 3, 1, 0, 784
android.content, 0, 0, 10, 7, 0, 427
android.media, 0, 0, 2, 0, 0, 411
android.net, 0, 0, 1, 1, 0, 399
android.widget, 0, 0, 1, 0, 0, 293
File art-profile
- hot methods: 8824 added, 187 removed
- methods: 5425 added, 1144 removed
- classes: 545 added, 26 removed
- totals now: 11729 hot methods, 24182 methods, 2954 classes
- totals before: 3092 hot methods, 19901 methods, 2954 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 214, 0, 30, 0, 230, 137
com.android, 8580, 187, 508, 26, 11469, 3315
android.hardware, 87, 0, 8, 0, 87, 45
android.app, 1, 0, 0, 0, 1, 1
android.content, 0, 0, 1, 0, 1, 3
android.net, 100, 0, 19, 0, 112, 73
= Perf stats =
(lower is better)
Avg Startup time change: -4.33%
Avg Memory at boot PSS change: +0.8%
Avg Code size: +71.68%
ATP tests:
health/memory/boot
health/microbench/startup/firstparty/am-start/coldlaunch/open-calculator
health/microbench/startup/firstparty/am-start/coldlaunch/open-calendar
health/microbench/startup/firstparty/am-start/coldlaunch/open-camera
health/microbench/startup/firstparty/am-start/coldlaunch/open-chrome
health/microbench/startup/firstparty/am-start/coldlaunch/open-clock
health/microbench/startup/firstparty/am-start/coldlaunch/open-contacts
health/microbench/startup/firstparty/am-start/coldlaunch/open-gmail
health/microbench/startup/firstparty/am-start/coldlaunch/open-google
health/microbench/startup/firstparty/am-start/coldlaunch/open-maps
health/microbench/startup/firstparty/am-start/coldlaunch/open-messenger
health/microbench/startup/firstparty/am-start/coldlaunch/open-phone
health/microbench/startup/firstparty/am-start/coldlaunch/open-photos
health/microbench/startup/firstparty/am-start/coldlaunch/open-settings
health/microbench/startup/firstparty/am-start/coldlaunch/open-youtube
InternalReferenceRawProfileId: 153
InternalReferenceCandidateProfileId: 158
Test: build & benchmark
Change-Id: Iec81f61abb4675710c638451d8fea37d53854908
2020-02-03 17:31:15 -08:00
art-benchmark-service
d8f25641b8
Update boot image and system server profiles [M4C4P20S0]
...
=Generation Strategy=
method_threshold: 0.04
image_class_threshold: 0.04
preloaded_classes_threshold: 0.2
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
=Profile stats=
Data info:
- total aggregations: 64
- number of (device types, builds): 17
File boot-image-profile.txt
- hot methods: 3769 added, 22337 removed
- methods: 3863 added, 22867 removed
- classes: 872 added, 952 removed
- totals now: 15780 hot methods, 16050 methods, 10401 classes
- totals before: 34348 hot methods, 35054 methods, 10401 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1510, 14674, 659, 601, 8086, 6268
com.android, 479, 5495, 178, 100, 1278, 1902
java, 1403, 1603, 26, 3, 5063, 1633
android.view, 101, 1562, 78, 9, 966, 694
android.hardware, 25, 690, 26, 2, 99, 570
android.bluetooth, 22, 296, 16, 2, 66, 157
android.animation, 10, 141, 2, 0, 190, 70
android.app, 304, 2080, 81, 13, 1264, 784
android.content, 252, 992, 37, 10, 1134, 426
android.graphics, 140, 977, 6, 0, 853, 286
android.icu, 0, 1491, 0, 465, 0, 0
android.media, 35, 711, 29, 7, 129, 409
android.net, 123, 800, 81, 13, 547, 401
android.widget, 17, 992, 18, 2, 271, 294
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 3233 added, 577 removed
- totals now: 0 hot methods, 0 methods, 7606 classes
- totals before: 0 hot methods, 0 methods, 7606 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 2359, 539, 0, 6231
com.android, 0, 0, 803, 32, 0, 1897
java, 0, 0, 49, 3, 0, 1617
android.view, 0, 0, 244, 6, 0, 694
android.hardware, 0, 0, 286, 0, 0, 570
android.bluetooth, 0, 0, 62, 1, 0, 157
android.animation, 0, 0, 8, 0, 0, 70
android.app, 0, 0, 245, 8, 0, 782
android.content, 0, 0, 145, 8, 0, 424
android.graphics, 0, 0, 28, 0, 0, 286
android.icu, 0, 0, 0, 459, 0, 0
android.media, 0, 0, 115, 4, 0, 409
android.net, 0, 0, 247, 0, 0, 399
android.widget, 0, 0, 69, 2, 0, 292
File art-profile
- hot methods: 1547 added, 10249 removed
- methods: 8926 added, 7543 removed
- classes: 889 added, 754 removed
- totals now: 3092 hot methods, 19901 methods, 2819 classes
- totals before: 11794 hot methods, 18518 methods, 2819 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 16, 165, 31, 25, 16, 107
com.android, 1531, 10062, 846, 728, 3076, 2833
android.hardware, 0, 46, 7, 2, 0, 37
android.app, 0, 0, 1, 0, 0, 1
android.content, 1, 0, 2, 0, 1, 2
android.net, 12, 101, 18, 22, 12, 54
= Perf stats =
(lower is better)
Avg Startup time change: -0.29%
Avg Memory at boot PSS change: 0.99%
Avg Code size: -44.19%
ATP tests:
health/memory/boot
health/microbench/startup/firstparty/am-start/coldlaunch/open-calculator
health/microbench/startup/firstparty/am-start/coldlaunch/open-calendar
health/microbench/startup/firstparty/am-start/coldlaunch/open-camera
health/microbench/startup/firstparty/am-start/coldlaunch/open-chrome
health/microbench/startup/firstparty/am-start/coldlaunch/open-clock
health/microbench/startup/firstparty/am-start/coldlaunch/open-contacts
health/microbench/startup/firstparty/am-start/coldlaunch/open-gmail
health/microbench/startup/firstparty/am-start/coldlaunch/open-google
health/microbench/startup/firstparty/am-start/coldlaunch/open-maps
health/microbench/startup/firstparty/am-start/coldlaunch/open-messenger
health/microbench/startup/firstparty/am-start/coldlaunch/open-phone
health/microbench/startup/firstparty/am-start/coldlaunch/open-photos
health/microbench/startup/firstparty/am-start/coldlaunch/open-settings
health/microbench/startup/firstparty/am-start/coldlaunch/open-youtube
InternalReferenceRawProfileId: 62
InternalReferenceCandidateProfileId: 81
Test: build & benchmark
Bug: 148471769
Change-Id: I3569f00a1900ca92397e83186b2fad76c891f75c
2020-01-28 14:48:51 -08:00
Andrii Kulian
4679918cdf
Merge sleeping activities with visibility updates
...
Previously we were using a separate SLEEP message to communicate
with the client. The sleeping implementation on the client though
simply transitioned it between STARTED and STOPPED states.
This CL relies on visibility updates to communicate the sleeping
state. The "sleeping" status field is still used in the server-side
to record when device started going to sleep, and prevents any
activity that was launched before to influence the power state of
the device.
Bug: 137329632
Test: AM/WM CTS and unit tests
Change-Id: Idd7f5bf6730d3372168d862ef713a44f700430f1
2020-01-24 09:59:36 -08:00
Malcolm Chen
538fd0d477
[Telephony Mainline] Make newFromBundle and fillInNotifierBundle System
...
API
The APIs are used in several placed where listens to
SERVICE_STATE_CHANGE broadcast.
Bug: 140908357
Test: build
Change-Id: I84543dbb056694d975799c7959c7ed66e286c530
Merged-In: I84543dbb056694d975799c7959c7ed66e286c530
2020-01-08 14:03:55 -08:00
Jayachandran C
4eda57e047
Move ACTION_SIGNAL_STRENGTH_CHANGED to local
...
Also remove the reference to PhoneStateIntentReceiver as its being
removed as part of this CL
Bug: 147314715
Test: Build and basic sanity
Change-Id: I04d766ddae7958f0d2f35b50154e5e6d2f8dce7e
2020-01-08 12:01:21 -08:00
Malcolm Chen
8a8b120093
[Telephony Mainline] Make newFromBundle and fillInNotifierBundle System
...
API
The APIs are used in several placed where listens to
SERVICE_STATE_CHANGE broadcast.
Bug: 140908357
Test: build
Change-Id: I84543dbb056694d975799c7959c7ed66e286c530
2020-01-02 15:27:33 -08:00
Winson
14ff71712c
Revert "Revert "Deprecate PackageParser#Package""
...
This reverts commit 8e18a0ab89 .
Exempt-From-Owner-Approval: Revert to re-add approved change
Change-Id: I5b5195470f365a2347cbf444cc0494d119e42ffc
2019-12-06 12:24:05 -08:00