Commit Graph

31634 Commits

Author SHA1 Message Date
Kweku Adams
7cca3d35c4 Merge "Remove deprecated method." 2020-06-10 15:26:28 +00:00
Adrian Roos
96cc26a21c API: Remove ViewDebug.ExportedProperty and CapturedViewProperty from current.txt
Bug: 144284873
Test: make checkapi
Change-Id: I99ed93e96f7465f1f7c9a32c3715a874055dc809
2020-06-09 15:12:36 +02:00
Charles Munger
bc2260794c Merge "Deprecate public PackageManager constructor." am: 2b745800a8 am: 061ce932ce am: d3c43f0789 am: b0f12b4b89 am: 981761c088
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1314369

Change-Id: I9922765a6d2355a488db34d32fec35a44bf8d564
2020-06-09 01:10:47 +00:00
Charles Munger
d3c43f0789 Merge "Deprecate public PackageManager constructor." am: 2b745800a8 am: 061ce932ce
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1314369

Change-Id: I232e22992440b51dcd41b77cc76e0db3dd83787e
2020-06-09 00:44:29 +00:00
Charles Munger
e73a6a704e Deprecate public PackageManager constructor.
BUG=63112905

Change-Id: I0277737eb9e683073f27d2ddea30c93f78ec4b91
2020-06-08 17:37:31 +00:00
Leon Scroggins
2abf550d14 Merge "Clean up ColorSpace.java" 2020-06-08 17:18:48 +00:00
Svetoslav Ganov
f74f28160d Merge "Correctly offset app op history on reboot" into rvc-dev am: 0ce4fba38f am: d9f92e4666 am: deb797776a am: 2191f1c2e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11747376

Change-Id: I4405ec52394c0093d0f37da512e5a2fd827a4e1b
2020-06-06 15:49:46 +00:00
Svetoslav Ganov
deb797776a Merge "Correctly offset app op history on reboot" into rvc-dev am: 0ce4fba38f am: d9f92e4666
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11747376

Change-Id: Iba05ad9051487dfe285997e97b5075579602a88d
2020-06-06 15:21:45 +00:00
Svetoslav Ganov
2d56a15699 Merge "Correctly offset app op history on reboot" into rvc-dev am: 0ce4fba38f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11747376

Change-Id: I3cd684c2f48b456efe4831a1bcb1dbffa9857c8c
2020-06-06 15:06:03 +00:00
Leon Scroggins III
53b03c0f44 Clean up ColorSpace.java
Bug: 156282935
Test: I3ce1bbd4285443a4e481a0a1e9267feafbe49d44
Test: DisplayWhiteBalanceTintControllerTest

Remove cctToIlluminantdXyz, which was @hide, but unused.

Make the @hide constructor package-protected so it can be called by
ParcelableColorSpace, but not from outside the package.

Make cctToXyz and chromaticAdaptation public. These are used by
other parts of the system and may be useful to other clients. Make the
public version of chromaticAdaptation throw IllegalArgumentExceptions
for passing arrays with the wrong number of arguments.

Make mul3x3(float[], float[]) private and copy it over to
DisplayWhiteBalanceTintController. There is nothing ColorSpace-specific
about this code.

Remove Renderer and related. They were originally used to generate the
documentation pages, but they are no longer needed. Remove
ColorSpaceRenderTest, which tested it.

Change-Id: I9094046c8e5e72be0ac208d4d242e6f0b274f386
2020-06-05 16:11:45 -04:00
Svet Ganov
185ddf644b Correctly offset app op history on reboot
The offset was computed based off the offset represented by
the most recent historical file while we have to use the time
this file was written.

Also now we persist the history on reboot and shutdown,
significantly minimizing the possibility of data loss.

Added test API to emulate reboot of the history to allow for
precise and tightly controlled test to prevent flakes due to
boot time deviations.

Test: atest android.app.appops.cts.HistoricalAppopsTest#testRebootHistory

Fixes:156853195

Change-Id: I4142371f8bc2b1d710cc8c300e7e79cb03764c04
2020-06-05 09:55:27 -07:00
Amy Zhang
c814174383 Merge "Expose necessary SystemApi as test API for CEC CTS" into rvc-dev am: a7dc4defd3 am: 96b40c3613 am: a3521674ff am: 808115f7e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11625493

Change-Id: I9324a1eb2cbc0b07bb36f16aaf5fb67a468d6b7c
2020-06-05 03:42:43 +00:00
Amy Zhang
808115f7e8 Merge "Expose necessary SystemApi as test API for CEC CTS" into rvc-dev am: a7dc4defd3 am: 96b40c3613 am: a3521674ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11625493

Change-Id: I1f24a0a353b3c2459b5e89b5dd934ca85b748d0f
2020-06-05 03:28:02 +00:00
Amy Zhang
c7e54b5d44 Merge "Expose necessary SystemApi as test API for CEC CTS" into rvc-dev am: a7dc4defd3 am: 96b40c3613
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11625493

Change-Id: Icd3cf32f8d0460c960d54ab261e483d9c3e22064
2020-06-05 03:16:38 +00:00
Amy Zhang
023916bd8a Merge "Expose necessary SystemApi as test API for CEC CTS" into rvc-dev am: a7dc4defd3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11625493

Change-Id: If1355f8fceabcccabaf0dc9abe299112123a40b1
2020-06-05 02:56:27 +00:00
Amy Zhang
e151e60843 Expose necessary SystemApi as test API for CEC CTS
This CL annotates multiple APIs in the HdmiControlManager as Test APIs.
Also creates a Test api wrapper for aidl interface IHdmiControlService.
HdmiPortInfo is the param under test that is also annotated as Test API.

Test: atest android.hardware.hdmi.cts
Bug: 155113872
Change-Id: I58b483eaaa5fe08f90415a7e044c30a28dc7d7c2
2020-06-04 13:47:37 -07:00
Kweku Adams
75e3509c6f Remove deprecated method.
StorageStats.getCodeBytes() was replaced with getAppBytes and marked
@removed in Oreo.

Bug: 135214188
Test: Android builds
Change-Id: I171f7b04ab831fb423ef790cc45210cecf78ca93
2020-06-04 09:49:11 -07:00
Joanne Chung
ae50c82e5d Merge "Made AutofillId.withoutSession is testable." 2020-06-04 01:50:18 +00:00
Kweku Adams
518380d8be Add removeFromWhitelist method to PowerWhitelistManager.
The remove/restoreSystemWhitelist methods don't seem to be used
anywhere, so I've left them out for now.

Bug: 142420609
Bug: 144864180
Test: atest PowerWhitelistTest
Change-Id: I669f805044deab0817766be8c3671d6375087ce0
2020-06-03 11:49:02 -07:00
Joanne Chung
91c3c2a9f0 Made AutofillId.withoutSession is testable.
Bug: 156408900
Test: atest android.autofillservice.cts.inline.\
InlineAugmentedWebViewActivityTest

Change-Id: I27d1227f858aac83b3de1cb8ef719edf177524dc
2020-06-03 07:41:00 +00:00
TreeHugger Robot
92cb1b7124 Merge "Add test for permission APEX." into rvc-dev am: e40b321ee6 am: 7a4f041cc0 am: fc5d27390c am: a82376011e
Change-Id: Iac0ef2d1dc0bb8067585c216ea9b315a8a18e60b
2020-05-29 22:37:51 +00:00
TreeHugger Robot
a82376011e Merge "Add test for permission APEX." into rvc-dev am: e40b321ee6 am: 7a4f041cc0 am: fc5d27390c
Change-Id: I1249e22635c92f2cf762c2f73ba20e286cb45f03
2020-05-29 22:13:05 +00:00
TreeHugger Robot
69a06a6b05 Merge "Add test for permission APEX." into rvc-dev am: e40b321ee6 am: 7a4f041cc0
Change-Id: Ibda861c652c958df0716f97c31acfe3e3d2118ee
2020-05-29 21:58:57 +00:00
TreeHugger Robot
df59ca6ce5 Merge "Add test for permission APEX." into rvc-dev am: e40b321ee6
Change-Id: Ib64481eed6554a3c997d5a99d897b9b732328324
2020-05-29 21:47:34 +00:00
TreeHugger Robot
e40b321ee6 Merge "Add test for permission APEX." into rvc-dev 2020-05-29 21:40:19 +00:00
TreeHugger Robot
214e6f6c88 Merge "Remove @hide from Matrix" 2020-05-29 19:49:31 +00:00
Automerger Merge Worker
6ce0f51c2c Merge "Merge "add SoundTrigger TestApis" into rvc-dev am: 779a8966f5 am: 4a3d876730 am: 22064c93c0" into rvc-qpr-dev-plus-aosp am: 96bd7eaf86
Change-Id: I1de6c67456a96b86e2784e1080ebe6c5e336df7b
2020-05-29 04:02:33 +00:00
Nicholas Ambur
affe5232e7 Merge "add SoundTrigger TestApis" into rvc-dev am: 779a8966f5 am: 4a3d876730 am: 22064c93c0
Change-Id: I546a8849eedab63b712e5e39764bd1f93e40b078
2020-05-29 03:49:55 +00:00
Nicholas Ambur
94d7147f5c Merge "add SoundTrigger TestApis" into rvc-dev am: 779a8966f5 am: 4a3d876730
Change-Id: I85e7d234ed86b0da1defead4eab972c4a2bb2677
2020-05-29 03:29:46 +00:00
Nicholas Ambur
fcb6232fea Merge "add SoundTrigger TestApis" into rvc-dev am: 779a8966f5
Change-Id: I1d829629577e0516cf01fae69876a62070129cec
2020-05-29 03:19:17 +00:00
Nicholas Ambur
779a8966f5 Merge "add SoundTrigger TestApis" into rvc-dev 2020-05-29 03:17:09 +00:00
Hai Zhang
3562068af9 Add test for permission APEX.
Bug: 152055112
Test: atest PermissionApexTests
Change-Id: I4201501d586fe62df7a04d0e2da955d6d873d3df
2020-05-28 16:19:07 -07:00
Makoto Onuki
2ba0a25175 Merge "Update api-lint baseline for NO_SETTINGS_PROVIDER" 2020-05-28 17:02:57 +00:00
Makoto Onuki
a664a9017f Update api-lint baseline for NO_SETTINGS_PROVIDER
Bug: 151454839
Test: See the other CL in the topic

Merged-in: I4e1d6c419c79663a47341cf26d5229ec17b9ca01
Change-Id: I4e1d6c419c79663a47341cf26d5229ec17b9ca01
(cherry picked from commit 451da1ce77)
2020-05-27 21:49:29 +00:00
Makoto Onuki
b55bfbda2b Merge "Update api-lint baseline for NO_SETTINGS_PROVIDER" 2020-05-27 15:03:09 +00:00
Automerger Merge Worker
432000fef9 Merge "Merge "Add support for TvInputManager.acquireTvInputHardware CTS" into rvc-dev am: f49fa1a9ea am: b7e62faf05 am: 1c4bcda424" into rvc-qpr-dev-plus-aosp am: cce2d11a1c
Change-Id: I8e145e9a194fad5b6e78f50016af542a0d384ef1
2020-05-27 05:28:15 +00:00
TreeHugger Robot
116baa3ad8 Merge "Add support for TvInputManager.acquireTvInputHardware CTS" into rvc-dev am: f49fa1a9ea am: b7e62faf05 am: 1c4bcda424
Change-Id: I2543d698154caff16978fb1e1730794975052011
2020-05-27 05:16:53 +00:00
TreeHugger Robot
629cac54f6 Merge "Add support for TvInputManager.acquireTvInputHardware CTS" into rvc-dev am: f49fa1a9ea
Change-Id: I5a4cbbb4bda0e975129108ee32dd3c1965bed24f
2020-05-27 04:48:53 +00:00
TreeHugger Robot
f49fa1a9ea Merge "Add support for TvInputManager.acquireTvInputHardware CTS" into rvc-dev 2020-05-27 04:39:45 +00:00
Zach Johnson
61a01fb0ca Add NAMESPACE_BLUETOOTH for bluetooth feature experiments
Exempt-From-Owner-Approval: dianne approved, but from her android.com account instead of google.com account
Test: compile
Bug: 156757711
Merged-In: I330b8cc5aeb14ebcc15fb88c605ac72770497040
Change-Id: I330b8cc5aeb14ebcc15fb88c605ac72770497040
2020-05-27 03:39:06 +00:00
Zach Johnson
1eec532a8e Add NAMESPACE_BLUETOOTH for bluetooth feature experiments
Exempt-From-Owner-Approval: exact cherry-pick from already approved master CL.
Test: compile
Bug: 156757711
Merged-In: I330b8cc5aeb14ebcc15fb88c605ac72770497040
Change-Id: I330b8cc5aeb14ebcc15fb88c605ac72770497040
(cherry picked from commit 9b9235981c)
2020-05-27 02:01:21 +00:00
Makoto Onuki
7821658dfb Update api-lint baseline for NO_SETTINGS_PROVIDER
Bug: 151454839
Test: See the other CL in the topic

Merged-in: I4e1d6c419c79663a47341cf26d5229ec17b9ca01
Change-Id: I4e1d6c419c79663a47341cf26d5229ec17b9ca01
2020-05-26 17:16:31 -07:00
Makoto Onuki
451da1ce77 Update api-lint baseline for NO_SETTINGS_PROVIDER
Bug: 151454839
Test: See the other CL in the topic

Change-Id: I4e1d6c419c79663a47341cf26d5229ec17b9ca01
2020-05-26 17:09:40 -07:00
Zach Johnson
9b9235981c Add NAMESPACE_BLUETOOTH for bluetooth feature experiments
Test: compile
Bug: 156757711
Change-Id: I330b8cc5aeb14ebcc15fb88c605ac72770497040
2020-05-26 13:59:56 -07:00
Ray Essick
43132a9ab8 Replace "allow-frame-drop" with KEY_ALLOW_FRAME_DROP
Also, provide javadoc describing the semantics.

Bug: 153165698
Test: build
Change-Id: I0deebe2ad9ab6857cf525f09f865b562142c1010
2020-05-25 11:46:54 -07:00
Anton Hansson
4e6c713554 Merge "Remove nullablility annotations from module-lib" 2020-05-25 08:52:36 +00:00
Chris Li
188dd133c3 Merge "Migrate DisplayContent.mOverlayContainers to DisplayArea" 2020-05-21 00:21:17 +00:00
Chris Li
27284de40a Migrate DisplayContent.mOverlayContainers to DisplayArea
(1/n DisplayArea Sibling Roots)

Instead of adding magnification window to the overlay containers in
DisplayContent, move it to be part of the policy created display
hierarchy.

DA.Root
   - DA for FEATURE_WINDOWED_MAGNIFICATION
      - BELOW_TASKS
      - TDA
      - ABOVE_TASKS (below TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY)
   - DA.Tokens for TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY
      - Magnification overlay windows
   - ABOVE_TASKS (DA.Tokens's for layers above
     TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY)

Fix: 156424590
Test: manual: magnification and screen rotation
Test: go/wm-smoke (manual)
Change-Id: I959c0a882b0a0e9a9dbb44ad62a3c65c1dfe3c06
2020-05-20 13:44:33 -07:00
TreeHugger Robot
5804ce6725 Merge "Change implementation of VibrationEffect scaling" 2020-05-20 14:50:38 +00:00
Anton Hansson
f330f3ab74 Remove nullablility annotations from module-lib
They were added to workaround the problem of package-private versions
being added to the stubs, which prevented use of the annotations from
mainline modules.

Having them in the API leads to a different problem -- this version of
the nullability annotations have SOURCE retention. However in the stubs
build we want to have CLASS retention, so that kotlin can make use of
their presence.

This is arguably a much cleaner fix, since having a source-retention
annotation doesn't really make much sense.

Bug: 157010342
Test: m
Change-Id: Id78f00da5b6af2930224a82faa24cb8235362521
Merged-In: Id78f00da5b6af2930224a82faa24cb8235362521
2020-05-20 12:55:43 +01:00