Treehugger Robot
b291cbbf8b
[automerger skipped] Merge "Revert "Use TelephonyManager#isEmergencyNumber() instead"" am: 9955752655 am: f50a479c87 am: 3dc09e761d -s ours
...
am skip reason: Merged-In I5df03a61f55f863e17594aa3239433a5048a4890 with SHA-1 839508eea2 is already in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702033
Change-Id: I1ec154cfd52ced4e14236081ae245045723f89fc
2021-05-11 18:13:28 +00:00
Benedict Wong
ed4b96cf10
Merge "Add clarifying comments on for IPsec forward policies" am: 1a88665f3c am: 2a42aa8921 am: 1d5e155997
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702525
Change-Id: I77e806ab3e76307dfc6456b210f691027aaeec66
2021-05-11 18:13:01 +00:00
Treehugger Robot
565f3fe51c
Merge "HDMICEC: Add setarc shell command"
2021-05-11 18:09:17 +00:00
Fabian Kozynski
5217ea9b6b
Fix accessibility string
...
Test: build
Bug: 187530100
Change-Id: I6b2bd8f99a719114b57a43e9f06432ba7e5167f8
2021-05-11 18:06:12 +00:00
Chloris Kuo
f6a6597f24
Fix bug: NAS set to none will be reset to default after the second
...
reboot
Bug: 185725135
Test: atest NotificationAssistantsTest, ManagedServicesTest,
NotificationManagedServiceTest
Change-Id: I63ba2a4e6fc1e9ac4612231af25c55fb66b0991e
2021-05-11 11:04:42 -07:00
Vova Sharaienko
088d5b61d7
Merge changes from topic "lmkd_ams" am: 360eb85898 am: d156fe95a2
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702074
Change-Id: Id59cd0b04f118ee7064107487753e7a0c21dd436
2021-05-11 18:04:12 +00:00
Vova Sharaienko
488f8197a2
ActivityManagerService: reroute lmkd atoms logging am: 48f93dabe0 am: 330d8a7cf9
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702073
Change-Id: I9134590521ba3238a7bb03043301f534c4fef560
2021-05-11 18:04:07 +00:00
Andy Hung
d3ceb62024
AudioTrack: 24 channel index masks, compressed formats
...
PCM channel count is limited to AudioSystem.CHANNEL_OUT_MAX.
Compressed channel count is limited to AudioSystem.FCC_24
as typically the data rate is smaller than the equivalent
PCM channel count stream.
Test: atest AudioTrackTest
Test: atest AudioTrackTest#testImmersiveStreaming
Test: atest AudioTrackTest#testImmersiveChannelIndex
Bug: 187062102
Change-Id: I96b2e37c9b59c9e38a0caf69e19c280949c4d099
2021-05-11 11:01:22 -07:00
Alexander Dorokhine
48df6c6055
Merge "Unhide the storage attribution API with system visibility." into sc-dev
2021-05-11 18:00:42 +00:00
Vishnu Nair
0d7aff7b35
Remove rotation based scaling
...
In order to simplify some of the geometry logic in BufferStateLayer,
and unify with the rest of the layer in SurfaceFlinger we translate the
concept of source and dest frame into crop, scale and position. This is
currently done on the client side.
But if there is buffer rotation transform, we will generate an
additional scale, to scale the buffer size to the new orientation. This
causes issues with rounded corners because the additional scale
stretches the rounded corner incorrectly. And translating the buffer
rotation into a rotation matrix affects child layers.
This solution only adjusts the buffer size based on the rotation
matrix and the scale is generated based on the rotated buffer.
This cannot be done in the client side because we do not have
the current display orientation to unflip the buffer if the client
sets the transformToDisplayInverse flag.
In the future the plan is to drive the transform hint and the
display orientation down from WM so this calculation can go
back to the client.
Also fixes incorrect additional scaling from source frame to dest frame
in ASurfaceTransaction_setGeometry.
Test: atest SurfaceControlTest ASurfaceControlTest libgui_test SurfaceFlinger_test
Test: go/wm-smoke
Bug: 185597146
Change-Id: I38adbc72c7567510c953cfd362a94b2b38d7fda7
2021-05-11 10:55:24 -07:00
Vova Sharaienko
d156fe95a2
Merge changes from topic "lmkd_ams" am: 360eb85898
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702074
Change-Id: I83c23ee6717baf465048891f086cfc9f5c516634
2021-05-11 17:52:28 +00:00
TreeHugger Robot
46614cfa99
Merge changes I9a231625,Idaf3a905 into sc-dev
...
* changes:
Avoid creating a layer for linear stretch
Add a stretchy benchmark
2021-05-11 17:50:41 +00:00
Dmitri Plotnikov
3dfe9e9c8e
Remove last learned battery capacity from battery checkin dump
...
Test: cts-tradefed run cts-dev -m CtsDumpsysHostTestCases -t android.dumpsys.cts.BatteryStatsDumpsysTest
Bug: 187470619
Change-Id: Ide69435651463e9513af2a9c2f3ab1abb8b83382
2021-05-11 10:49:13 -07:00
Treehugger Robot
3dc09e761d
Merge "Revert "Use TelephonyManager#isEmergencyNumber() instead"" am: 9955752655 am: f50a479c87
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702033
Change-Id: Iec01e2fdb1729835b534a3ead5845a99188c675c
2021-05-11 17:48:41 +00:00
Benedict Wong
1d5e155997
Merge "Add clarifying comments on for IPsec forward policies" am: 1a88665f3c am: 2a42aa8921
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702525
Change-Id: Ifef0b1d3a1def9dfcf995fb5ddc79c0a88658ad0
2021-05-11 17:48:00 +00:00
Vova Sharaienko
330d8a7cf9
ActivityManagerService: reroute lmkd atoms logging am: 48f93dabe0
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702073
Change-Id: Ic4bfb73a97f0155e5db6e56037d276d7d1a4c1ac
2021-05-11 17:42:46 +00:00
Hui Yu
58076e5de6
Set temp allowlist for runtime broadcast.
...
1. Add/move scheduleTempAllowlistLocked() call into
deliverToRegisteredReceiverLocked() so it can be called also for runtime
broadcast.
2. Rename scheduleTempAllowlistLocked() to
maybeScheduleTempAllowlistLocked().
Bug: 187550591
Test: b/187550591 reproduce steps.
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Change-Id: I323550a8ccd16b7e4ca359cd2a43476637847c85
2021-05-11 10:40:48 -07:00
TreeHugger Robot
e7f4abd086
Merge "Add a UWB subsystem uid" into sc-dev
2021-05-11 17:38:19 +00:00
Treehugger Robot
f50a479c87
Merge "Revert "Use TelephonyManager#isEmergencyNumber() instead"" am: 9955752655
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702033
Change-Id: I46696e7cf602b69baaa0827e4f56e71dc1beea62
2021-05-11 17:31:44 +00:00
Alexander Dorokhine
e3eea0e2a5
Merge "Delete deprecated methods after dogfood transition." into sc-dev
2021-05-11 17:29:35 +00:00
Vova Sharaienko
360eb85898
Merge changes from topic "lmkd_ams"
...
* changes:
AMS: added caching DataInputStream object
ActivityManagerService: reroute lmkd atoms logging
2021-05-11 17:29:20 +00:00
Kelvin Zhang
3965584d3a
Fix segmentation fault in aapt2
...
When passing a single iterator to std::vector::eraase, only element at
that iterator is removed. If no elements are filtered, std::remove_if()
returns the end iterator, attempting to erase() the end iterator can
cause segmentation fault. This bug causes signing test to fail.
https://atp.googleplex.com/tests/asit/ota/signing?tabId=test_run
Test: aapt2
PRODUCT/app/CalculatorGooglePrebuilt/CalculatorGooglePrebuilt.apk
Bug: 175789289
Bug: 178554651
Change-Id: I813055238bef2dcbdf76172a00b3f44ae940b759
(cherry picked from commit b88ccf80aa )
2021-05-11 17:18:45 +00:00
Songchun Fan
f6c65bbf65
[incremental] use same sysfs name for setOptions
...
Otherwise we have errors during applyStorageParams:
05-10 15:35:32.363 562 625 E IncrementalService: applyStorageParams failed: Status(-8, EX_SERVICE_SPECIFIC): '-95: '
05-10 15:35:32.363 562 625 E incfs-dataloaderconnector: setStorageParams failed with error: -95
05-10 15:35:32.363 562 625 E incfs-dataloaderconnector: DataLoader supports UID
05-10 15:35:32.367 0 0 E incfs : Can't change sysfs_name mount option on remount
BUG: 187308584
Test: atest CtsContentTestCases:android.content.pm.cts.PackageManagerShellCommandIncrementalTest#testInstallWithIdSigNoMissingPages
Change-Id: Ic2146aa7855e13de9f96794639de556f64e93701
2021-05-11 10:18:22 -07:00
Benedict Wong
2a42aa8921
Merge "Add clarifying comments on for IPsec forward policies" am: 1a88665f3c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702525
Change-Id: I7267d331065ceadb830a14170920810f053eacb8
2021-05-11 17:17:53 +00:00
Treehugger Robot
9955752655
Merge "Revert "Use TelephonyManager#isEmergencyNumber() instead""
2021-05-11 17:10:29 +00:00
Treehugger Robot
b61fb4ee86
Merge changes I87740397,I0cc4538b,Iaceb2b7c am: 56ba9447cf am: f98d2cc9fc am: 10c37d1a19
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700306
Change-Id: Ic941da1dba88c3c6a89efb4d8148c879cfa43b52
2021-05-11 17:07:45 +00:00
Kweku Adams
9c5607b2ca
[automerger skipped] Use BatteryManagerInternal to determine low battery. am: 937355815f am: 8cdf84ddf6 am: 87b883c4f3 -s ours
...
am skip reason: Merged-In I0cc4538bb80ce21e42721eccf6b6671d52a24084 with SHA-1 de95150c42 is already in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702028
Change-Id: Id95d600109dbc1c86532e332e9a5a3c50dd79236
2021-05-11 17:07:38 +00:00
Tim Murray
af251f30e5
[automerger skipped] BackgroundDexOptService: defer post-boot job further am: b42d33ec7b am: 67538e727a am: 0fed008c15 -s ours
...
am skip reason: Merged-In Iaceb2b7c34c7b923778a8a603d7b9666ea9a20c4 with SHA-1 0977880865 is already in history
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700305
Change-Id: I49bb7b0714e39d79a29d172160e591ad87130f1d
2021-05-11 17:07:17 +00:00
TreeHugger Robot
97ceb86bdd
Merge "Added more logging statements on PackageInstallerActivity." into sc-dev
2021-05-11 17:07:11 +00:00
Automerger Merge Worker
cb18635f6f
Merge "Merge "Compile libhwui.so with 2MB section alignment." am: 919e8c1ba3 am: 2cf6388ff3 am: 18b7ad49da" into sc-dev
2021-05-11 17:06:19 +00:00
TreeHugger Robot
111df38202
Merge "Refactor how AppSearchResult and AppSearchBatchResult are parcelled." into sc-dev
2021-05-11 17:06:08 +00:00
Collin Fijalkovich
93df39ae49
Merge "Compile libhwui.so with 2MB section alignment." am: 919e8c1ba3 am: 2cf6388ff3 am: 18b7ad49da
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1685430
Change-Id: I5bc88e07bc7455c10ba39c953f7667a4486bb041
2021-05-11 17:06:07 +00:00
Treehugger Robot
b6ef3454bd
Merge "Fix the path of boot image profile and preloaded classes for frameworks." am: 0e52d9c6f9 am: 43927fdefc am: 1938444d6c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1698770
Change-Id: I5524625c2c15bea22613ce7d8ed842cd355139a1
2021-05-11 17:05:41 +00:00
David Su
e9be280327
Merge "Emphasize possibility of multiple networks with same transport" am: f9c9dba0fb am: 9e29893e5a am: dfedef0c98
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1620459
Change-Id: I8417a8af1202c01803c61ff54363b45960af6965
2021-05-11 17:04:48 +00:00
Benedict Wong
1a88665f3c
Merge "Add clarifying comments on for IPsec forward policies"
2021-05-11 17:00:57 +00:00
Treehugger Robot
10c37d1a19
Merge changes I87740397,I0cc4538b,Iaceb2b7c am: 56ba9447cf am: f98d2cc9fc
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700306
Change-Id: Iba3c2efb70ae09bad536755f3b302652c4c061e0
2021-05-11 16:49:32 +00:00
Kweku Adams
87b883c4f3
Use BatteryManagerInternal to determine low battery. am: 937355815f am: 8cdf84ddf6
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702028
Change-Id: Ie60678098a4430f28d6de23f7dc4f3c805e1f407
2021-05-11 16:49:29 +00:00
Tim Murray
0fed008c15
BackgroundDexOptService: defer post-boot job further am: b42d33ec7b am: 67538e727a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700305
Change-Id: Ib00fac2a8f49bd287942915da147db8ffb58d3fa
2021-05-11 16:49:27 +00:00
Collin Fijalkovich
18b7ad49da
Merge "Compile libhwui.so with 2MB section alignment." am: 919e8c1ba3 am: 2cf6388ff3
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1685430
Change-Id: I91e869df8ff6b9434e206f8d6ca22437b0b96397
2021-05-11 16:48:49 +00:00
TreeHugger Robot
3266b6970c
Merge "Fix aapt badging segmentation fault" into sc-dev
2021-05-11 16:48:45 +00:00
Treehugger Robot
1938444d6c
Merge "Fix the path of boot image profile and preloaded classes for frameworks." am: 0e52d9c6f9 am: 43927fdefc
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1698770
Change-Id: I6e547ce0830ef25f846e6556c91d1ec0a5766f0d
2021-05-11 16:48:35 +00:00
David Su
dfedef0c98
Merge "Emphasize possibility of multiple networks with same transport" am: f9c9dba0fb am: 9e29893e5a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1620459
Change-Id: If641ab6d8ab300048c5666eea399e3ab8404d826
2021-05-11 16:48:03 +00:00
Treehugger Robot
f98d2cc9fc
Merge changes I87740397,I0cc4538b,Iaceb2b7c am: 56ba9447cf
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700306
Change-Id: I4bc1321f1e1c687ce6d29376d73531919da6b545
2021-05-11 16:38:32 +00:00
Kweku Adams
8cdf84ddf6
Use BatteryManagerInternal to determine low battery. am: 937355815f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1702028
Change-Id: I6b22d6b361ec9066b1266db0cb048a5d31610ea5
2021-05-11 16:33:25 +00:00
Tim Murray
67538e727a
BackgroundDexOptService: defer post-boot job further am: b42d33ec7b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1700305
Change-Id: Ifa48a29de706f08a78ec38f21d307d4616dd0d4a
2021-05-11 16:31:03 +00:00
John Reck
09d9ccadc3
Avoid creating a layer for linear stretch
...
Bug: 187718492
Test: manual logging no layer updates during benchmark
Change-Id: I9a231625142e404882be6c53fa6d01b2fb81af1a
2021-05-11 12:26:52 -04:00
satayev
a8e4e5dcc3
Expose SharedLibraryInfo#getAllCodePaths as @TestApi.
...
The method is called by CTS helper app to list all java shared libraries
present on the device. All classes present in the reported jar/apk files
are then collected by a CTS/GTS EDI collector.
Bug: 187823488
Test: m
Change-Id: I750065112d70bc3ab45c8b6c6cc8aa4d429488a8
2021-05-11 17:26:47 +01:00
John Reck
a8427802f5
Add a stretchy benchmark
...
Test: this
Bug: 187718492
Change-Id: Idaf3a90567a4f90c7089159b496ddf4aac24bf05
2021-05-11 12:26:18 -04:00
Nathalie Le Clair
ac0134bc53
Reinitialize PowerManager in unit tests
...
PowerManager keeps a cache of isInteractive(). Therefore only the first
call to PowerManager#isInteractive() can be mocked; for the next calls,
the cache will be used.
To avoid using the cache and to mock every call of
PowerManager#isInteractive, PowerManager needs to be reinitialized on
every call of HdmiControlManager#getPowerManager().
Bug: 187415933
Test: atest
Change-Id: I9374cadd4f6e861ccf248d5758a86133c0dea8cd
2021-05-11 18:25:51 +02:00
Collin Fijalkovich
2cf6388ff3
Merge "Compile libhwui.so with 2MB section alignment." am: 919e8c1ba3
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1685430
Change-Id: I5c07336f4f20128e5ba3de9dd77303a2f21e3d57
2021-05-11 16:21:01 +00:00