Commit Graph

468813 Commits

Author SHA1 Message Date
TreeHugger Robot
088839281c Merge "Link to notif history in shade" 2020-02-12 03:44:29 +00:00
Remi NGUYEN VAN
eb22daaf5b Fix usage of annotations in TetheringLib
Annotations such as @SystemApi cannot be jarjared to a different
package, as the members would not match the system API declarations.

Instead, only build against the annotations from
framework-annotations-lib, but do not include them as classes in the
output jar; annotations are not required to be available to the
classloader at runtime.

Test: builds, boots, tethering working
Bug: 147812912
Fixes: 148609988
Change-Id: I1fae97a1c1e0ba07fa3e2d64cde7650cd26d0acd
2020-02-12 03:44:16 +00:00
Amy
06a551ee7b Add a TunerResourceManagerService as an Android System Serivce.
This service is used to interact with TunerHAL interface and the Tuner
framework to manage the Tuner resources currently used on the device.
Tuner framework claims resource from this service. The service will
handle the requests from multiple applications based on their priority.

Sepolicy changes are in https://android-review.googlesource.com/c/platform/system/sepolicy/+/1161873
Test: cuttlefish
Bug:
Change-Id: Ifedc4e6f120e711aadffdf715d8720e0b64fbe16
2020-02-11 19:39:44 -08:00
Automerger Merge Worker
9346552f89 Merge "[GWP-ASan] Scan GWP-ASan regions for native allocations." am: b666519a50
Change-Id: I997680166d778e7385430c4806355a13f22dd3b5
2020-02-12 03:37:15 +00:00
Automerger Merge Worker
ef00c0b698 Merge "Return null for getSubmitPdu() for encoding failure instead of NPE" am: 75214226c6 am: 8795408c51 am: 3948f04347
Change-Id: If01fb8574e8ee81854d97259347befff71c6fbab
2020-02-12 03:29:22 +00:00
TreeHugger Robot
bbb5a454e2 Merge "Fix ImageWallpaper memory regression" 2020-02-12 03:28:47 +00:00
Amy
cbe55af3a7 Add Lnb related APIs into the TunerResourceManager interface
Update, request and release APIs are added in this CL.

Test: manual
Bug: 147380513
Change-Id: I084f091cef8a7c020afa93539a46725300b102c7
2020-02-11 19:28:42 -08:00
Automerger Merge Worker
967919979e Merge "[SP11] add dumpsys support to dump stats inside providers" am: 9bcef80b3e am: c022a03494 am: 8eeba54266
Change-Id: I03ea04d5851ae4f911f9c64dbdb235aedf4cea3c
2020-02-12 03:28:19 +00:00
Amy
7894541ea4 Add Cas related APIs into the Tuner Resource Manager
Request, update and release APIs are added in this CL as long as the
related parameter interfaces.

Test: manual
Bug: 147380513
Change-Id: Ie6f119a2fbe45eb09b936d8a5f643206453b6c2a
2020-02-11 19:28:15 -08:00
TreeHugger Robot
1fc4966a00 Merge "Promote System APIs to also be Test APIs for Content Capture Data Sharing." 2020-02-12 03:27:40 +00:00
Amy
4ea3b6d4b1 Adding ITunerResourceManagerService interface into android.media.tv
This CL handles the frontend related APIs.
Please see MediaCas and Lnb related APIs in the CL chain.

Test: manual
Bug: 147380513
Change-Id: I0c463dc29b39fdca0cba07a4a4a445d7a6054c14
2020-02-11 19:27:17 -08:00
shawnlin
465b7dea75 Make SHORT_EDGES mode only extends on the short edges
- In R, we allow long edge cutouts and therefore a new ALWAYS flag is
added which allow apps to be laid out in all edges. So now we have to
ensure apps with SHORT_EDGES mode to be laid out only in short edges.

- Set wallpapaer window to ALWAYS mode

Bug: 146876976
Test: atest DisplayPolicyLayoutTests
Test: atest WallpaperTests
Change-Id: Iaf820b5c8105927e61b30d389a659b9d28db3f94
2020-02-12 11:26:44 +08:00
Treehugger Robot
b666519a50 Merge "[GWP-ASan] Scan GWP-ASan regions for native allocations." 2020-02-12 03:22:33 +00:00
menghanli
e83358b71b Refines the hardware shortcut landing dialog behavior
Let user can re-show if user click "turn off shortcut" when long press volume key.

Bug: 142529032
Test: Manuel test
Change-Id: I6fbcabcde07706999459c90318d2237b781431e8
2020-02-12 11:17:38 +08:00
Automerger Merge Worker
3948f04347 Merge "Return null for getSubmitPdu() for encoding failure instead of NPE" am: 75214226c6 am: 8795408c51
Change-Id: I214fd47fd23f6b9aa5b2de0e817c8eb32b77d1f7
2020-02-12 03:13:39 +00:00
Automerger Merge Worker
8eeba54266 Merge "[SP11] add dumpsys support to dump stats inside providers" am: 9bcef80b3e am: c022a03494
Change-Id: I7c6bf5cb081fb943777988c4d9f40b36f9a16efb
2020-02-12 03:13:22 +00:00
Charles Chen
3e857ec536 Always get window insets from server
The previous implementation of computeWindowInsets is to
use last view from WM#addView, which may be invalid because
the last added view is removed and throws NPE when getting
property from the invalid view.
In this CL, we change the approach to always obtain window
insets from server.

fixes: 148789183
Test: atest FrameworksCoreTests:WindowMetricsTest
Test: atest WindowMetricsTests

Change-Id: Ic5512c31f86c597d99e13d29df654d3f527d6b55
2020-02-12 11:09:25 +08:00
Automerger Merge Worker
8795408c51 Merge "Return null for getSubmitPdu() for encoding failure instead of NPE" am: 75214226c6
Change-Id: Ib374f2ecf640ed0064b5033251f49ec2febf8801
2020-02-12 03:08:39 +00:00
TreeHugger Robot
166e81fea3 Merge "NotificationReported atom: Hash free-string ids." 2020-02-12 03:06:07 +00:00
Treehugger Robot
75214226c6 Merge "Return null for getSubmitPdu() for encoding failure instead of NPE" 2020-02-12 03:04:03 +00:00
Automerger Merge Worker
c022a03494 Merge "[SP11] add dumpsys support to dump stats inside providers" am: 9bcef80b3e
Change-Id: I44f69d27b89c6d0463a5b12b98e0cc3cf8297a33
2020-02-12 02:59:21 +00:00
TreeHugger Robot
dc3391f685 Merge "[SfStats] Add event connection count to atom proto." 2020-02-12 02:57:54 +00:00
Adrian Roos
e8d7ecdbb1 Merge "Insets Animation: Add CancellationSignal to controlWindowInsetsAnimation" 2020-02-12 02:45:41 +00:00
Treehugger Robot
9bcef80b3e Merge "[SP11] add dumpsys support to dump stats inside providers" 2020-02-12 02:45:38 +00:00
ryanlwlin
7bc9d86c2f Extract Mirror windowcontrol to a single class
To change control UI and make if more flexible, we extract to a single
class to adapt new UI requirement.

Bug: 143745827
Test: MirrorWindowControlTest
Test: WindowMagnificationControllerTest
Change-Id: I0dc141bed293d485357c5347d04d9abd46a010ff
2020-02-12 10:44:02 +08:00
TreeHugger Robot
524ec05bc6 Merge "startop: Add iorap.stress.memory tool to test system with less RAM" 2020-02-12 02:42:39 +00:00
Adrian Roos
ec8ac6ba2e InsetsAnimation: Fix crash if disabling decor fitting before view is attached
Bug: 149341851
Test: atest WindowTest
Change-Id: I6a688c493e79c0e95037dcc690c92fb33049dc95
2020-02-12 02:26:43 +00:00
Shu Chen
5ec64751ac FISHEYE_RAMP_WIDTH should be in DP instead of pixels.
Test: locally verified.
Change-Id: I3938761b51d4ebb84b6bfb67aef72bc85911f163
2020-02-12 10:12:13 +08:00
TreeHugger Robot
f71eb8e279 Merge "Add test extservices apex config for e2e tests" 2020-02-12 02:05:06 +00:00
Automerger Merge Worker
cc9e0dc4ee [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 805865c314 -s ours am: c6199ca4d8 -s ours am: b58a50b130 -s ours
am skip reason: subject contains skip directive

Change-Id: I0697d1b2a5fb540dfac83ed3fd18e0486508c54b
2020-02-12 02:00:50 +00:00
TreeHugger Robot
07e850a979 Merge "Add new permission / appop for reading loader data" 2020-02-12 01:56:31 +00:00
Kweku Adams
4833658f59 Merge "Making the auto restricted delay configurable." 2020-02-12 01:54:53 +00:00
TreeHugger Robot
644610cd07 Merge "wifi: add WAPI-CERT case for enterprise netowrk" 2020-02-12 01:53:41 +00:00
TreeHugger Robot
0d51f951f5 Merge "Add inflation error manager" 2020-02-12 01:49:18 +00:00
Automerger Merge Worker
b58a50b130 [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 805865c314 -s ours am: c6199ca4d8 -s ours
am skip reason: subject contains skip directive

Change-Id: I3fb736f28768a041f4d541e5bcf6bbbc77be234d
2020-02-12 01:45:51 +00:00
Dave Mankoff
9d81f0ab04 Merge "Unregister prox sensor when QS or Bouncer are expanded." 2020-02-12 01:36:37 +00:00
Tarandeep Singh
7eb2bed224 Apply Insets animation when hw acceleration unavailable
On certain midrange and lower-specced devices, apps could be running
without hardware acceleration. Insets animation relied on ThreadRenderer's
frame-by-frame callbacks to animate system bars / IME.
When hardware acceleration is not available, we should just animate it
without any frame sync for now.

Bug: 111084606
Bug: 149342281
Test: Manually tested on Go device
     1. Use app like Messages which don't have hw accelaration
     2. Tap on editor to verify IME appears.

Change-Id: Icf453f09f4236a5092cf3ff7be99f98ece073979
2020-02-11 17:35:22 -08:00
Automerger Merge Worker
c6199ca4d8 [automerger skipped] Merge "Import translations. DO NOT MERGE" am: 805865c314 -s ours
am skip reason: subject contains skip directive

Change-Id: I01982de063bc8532fe9615ba0a451527aafea132
2020-02-12 01:32:19 +00:00
PETER LIANG
0b2c26e421 Merge "Implement and add the bounce fragment type into shortcut menu." 2020-02-12 01:30:59 +00:00
Mitch Phillips
6229df2bb9 [GWP-ASan] Scan GWP-ASan regions for native allocations.
GWP-ASan is part of the native allocator, and may allocate some memory.
When GWP-ASan is enabled, JNI needs to look inside of
GWP-ASan regions as well for native allocations.

Bug: 135634846
Test: ???
Change-Id: Id4f15544a902a034687690214c9481ab963929fc
2020-02-11 17:23:21 -08:00
Shu Chen
7948993c49 Merge "Limits the left/right bounds of the magnified text content within the textview." 2020-02-12 01:21:27 +00:00
Treehugger Robot
805865c314 Merge "Import translations. DO NOT MERGE" 2020-02-12 01:18:29 +00:00
Shu Chen
3cdd8e53b4 Merge "Don't show magnifier with animation for the new fisheye magnifier." 2020-02-12 01:09:17 +00:00
Shu Chen
2596513c60 Merge "Use the line height to adjust the Y coordinate for touch through." 2020-02-12 01:08:59 +00:00
Philip P. Moltmann
e276c35a5c No need to grab lock for single read
The read is atomic anyway.

Test: Built
Change-Id: I0d62248913c2c702b62852ced5d1e60b8502d9dc
2020-02-11 17:04:59 -08:00
Robert Shih
b14bb41bb4 Merge "atoms.proto: locally aggregate legacy drm API metrics" 2020-02-12 00:58:38 +00:00
TreeHugger Robot
7ef11494ea Merge "iorap: Disable iorap integration test temporarily." 2020-02-12 00:55:32 +00:00
Automerger Merge Worker
89580dc2ed Merge "Set boot image profile properties in a loop for BootImageProfileTest" am: 33905aa38d am: c0800cfc20 am: 68d208e6fa
Change-Id: I39a6773363e49b6517cca4761b0221b5ccc3618d
2020-02-12 00:54:01 +00:00
Automerger Merge Worker
0b49886dca Merge "Fix clang-tidy performance-faster-string-find warnings" am: 57fb318ca3 am: 7c0f0d3cec am: 40ef6319ca
Change-Id: Id9d31a0c5cf41a0bb4a58326faa79511a1d8cc4a
2020-02-12 00:53:37 +00:00
Sudheer Shanka
86783e168d Update BlobStoreManager javadoc.
- Indicate that blob could be deleted even if the app
  acquires a lease.
- Indicate the meaning of passing 0 as blob expiry time.

Bug: 143559646
Test: atest cts/tests/BlobStore/src/com/android/cts/blob/BlobStoreManagerTest.java
Change-Id: I4deb72cb5b5500d42825781e329e9b2ec9839c7b
2020-02-11 16:50:03 -08:00