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
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
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
StorageStats.getCodeBytes() was replaced with getAppBytes and marked
@removed in Oreo.
Bug: 135214188
Test: Android builds
Change-Id: I171f7b04ab831fb423ef790cc45210cecf78ca93
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
Bug: 151454839
Test: See the other CL in the topic
Merged-in: I4e1d6c419c79663a47341cf26d5229ec17b9ca01
Change-Id: I4e1d6c419c79663a47341cf26d5229ec17b9ca01
(cherry picked from commit 451da1ce77)
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
Bug: 151454839
Test: See the other CL in the topic
Merged-in: I4e1d6c419c79663a47341cf26d5229ec17b9ca01
Change-Id: I4e1d6c419c79663a47341cf26d5229ec17b9ca01
(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
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