TreeHugger Robot
1c1acd45d0
Merge "Camera: Enhance camera atoms for system health"
2020-11-19 18:22:50 +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
Dan Shi
4514ae9876
Merge "Revert "Move BasicShellCommandHandler to frameworks/lib/modules-...""
2020-11-12 22:46:35 +00:00
Dan Shi
f689b18ddc
Revert "Move BasicShellCommandHandler to frameworks/lib/modules-..."
...
Revert "Update import path of BasicShellCommandHandler"
Revert "Update path for BasicShellCommandHandler"
Revert "Update path for BasicShellCommandHandler"
Revert "Update rule for BasicShellCommandHandler"
Revert submission 12975279-move_BSCH
Reason for revert: b/173120275
Reverted Changes:
Ib750f4774:Move BasicShellCommandHandler
I43c0dc327:Update import path of BasicShellCommandHandler
I73d58c07c:Update path for BasicShellCommandHandler
I21f103949:Update path for BasicShellCommandHandler
I8a2873df6:Move BasicShellCommandHandler to frameworks/lib/mo...
I91df774a3:Update rule for BasicShellCommandHandler
Exempt-From-Owner-Approval: to fix b/173120275
Change-Id: Iaa44f9aa4c1621f331275dc76ecb7505100fe9c5
2020-11-12 22:44:12 +00:00
Chiachang Wang
c91ed0851e
Merge "Move BasicShellCommandHandler to frameworks/lib/modules-utils"
2020-11-12 05:08:48 +00:00
Mathew Inwood
3824be05b3
Merge "Temporarily move unused APIs to the blocklist." am: 9f42b2859b am: 44b82b41b5 am: ea585a3c3e am: e68e5978c0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1494144
Change-Id: Id1f22b6d968622c29cf1273e87a93c4af80c1227
2020-11-11 10:46:08 +00:00
Mathew Inwood
d0cfc1fc0e
Temporarily move unused APIs to the blocklist.
...
Bug: 170729553
Test: m
NoNonSdkCheck: b/170729553
Change-Id: Ic08ac71551a5973e65b696bfd3956d11ec97f397
2020-11-10 13:07:02 +00:00
Chiachang Wang
e8f12d1c01
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
2020-11-10 09:54:14 +08:00
Mark Renouf
749b6360a1
Refactor names of internal scrollcapture interfaces
...
Renames to better align with use and existing naming patterns.
Using 'connection' to avoid confusion as to control flow or
roles. (A connection is direct from SystemUI --> App process)
IScrollCaptureClient -> IScrollCaptureConnection
IScrollCaptureController -> IScrollCaptureCallbacks
Test: atest FrameworksCoreTests:ScrollCaptureConnectionTest \
FrameworksCoreTests:ScrollCaptureTargetResolverTest \
ScrollCaptureTest
Change-Id: I9afd33109f6718b61d172ce3e4b3bb5d71a2897e
2020-10-19 14:48:32 -04:00
Nathan Harold
bf5158f9a0
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
Merged-In: I89463b0bd641e9316f90fe4f535d326f6e74a061
Change-Id: I89463b0bd641e9316f90fe4f535d326f6e74a061
(cherry picked from commit 3a47293cb4 )
2020-09-24 09:36:15 -07:00
Xin Li
628590d7ec
Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
...
Bug: 166295507
Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27
Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
2020-08-31 21:21:38 -07:00
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