When the ddr size is not present or it is invalid, getAdvertisedMem()
must return getTotalMemory() size.
Bug: 278977257
Test: atest frameworks/base/core/tests/coretests/src/android/os/ProcessTest.java
Merged-In: I2323d79d869a4c58eb29d0cae351144f357b867d
Change-Id: I2323d79d869a4c58eb29d0cae351144f357b867d
The previous revert seems to be due to the auto-merge tool partially merged
the CLs to the internal master branch.
This reverts commit 06d917ece1.
Bug: 279861837
Test: cmd stats pull-source 10064
Change-Id: I6f6663b8c8d09d391233e21c6483fde3a1530a97
Pass through format for GL
and shouldDither if HWUI wants
dithering globally enabled
Fixes: 279030860
Test: make
Change-Id: Ic9e767fede8be9664bb87a340573e5f424d0de3e
Handle feature flag changes on a background thread so we're not blocking
the main thread which might already be locked.
Fix: 281132229
Test: 0. Complete initial SUW without connecting WiFi, no account added and no lock screen set.
1. On target device, tap on deferred SUW notification and proceed.
2. Tap on "Get started" on Welcome screen. Quick Start User Guide screen is displayed.
3. Connect source and target devices by scanning the QR Code with scanner
4. WiFi setting is transferred and the target device connected to internet. Getting your phone ready screen is shown
6. Wait and observe. SysUi should not hang / black screen.
Change-Id: Ic2cf5cfb34041671468f0036a243e24005d064c9
Foundational parts of the QS scene including application state
(which is still not hooked up to real sources of truth), business logic,
and a view-model that's only good enough for placeholder scene UI.
Bug: 280887232
Test: unit tests included. Manually tested with the entire relation
chain in the Compose Gallery testdbed app.
Change-Id: Ia719fce3a3e089a7aaf677ed321b853cd0acd418
Text color was mistakenly removed in another change, this change adds it back as it was.
Bug: 280705071
Test: verified on device
Change-Id: Idc8d9e849166b02a334a892fbeef8c18c6194bbc
The leftover TODOs have been examined and can be safely punted to the
next release.
Bug: 281736422
Test: build
Change-Id: I89a463d237414e7883f1fc00a6261932084d582b
Foundational parts of the shade scene including application state
(which is still not hooked up to real sources of truth), business logic,
and a view-model that's only good enough for placeholder scene UI.
Bug: 280887022
Test: unit tests included. Manually tested with the entire relation
chain in the Compose Gallery testdbed app.
Change-Id: If1a64a9346343ad2242c39049d1a57ba7c8d76a8
Foundational parts of the lock screen scene including application state
(which is still not hooked up to real sources of truth), business logic,
and a view-model that's only good enough for placeholder scene UI.
Bug: 280879610
Test: unit tests included. Manually tested with the entire relation
chain in the Compose Gallery testdbed app.
Change-Id: I90b025f57f993c02368e73a06fba6e4ddc02b9bc
Foundational parts of the bouncer scene including application state
(which is still not hooked up to real sources of truth), business logic,
and a view-model that's only good enough for placeholder scene UI.
Bug: 280877228
Test: unit tests included. Manually tested with the entire relation
chain in the Compose Gallery testdbed app.
Change-Id: I54449898006489fd02d1f318646d4e5317256077
Creates a System UI "auth" module that can handle logic surrounding
application state like device unlocked, the selected authentication
method (e.g. PIN, password, pattern), and whether bypass is enabled.
Also handles business logic like locking and unlocking the device and making sure to automatically treat the
device as unlocked when the authentication method is "None".
Bug: 280883900
Test: Unit tests. Manual verification through testbed app.
Change-Id: I32b7b58582afda32be40b321a3e3cbd964fabcfa
With the current CancellableHandwritingGesture,
cancellationToken is only attached at the time of writeToParcel. However
if editor is in same process as IME (i.e. IME contains the editor),
writeToParcel will never be called and token will never be set.
This change refactors code to not unbeam if we didn't beam cancellation Token.
Bug: 280268494
Test: atest InputConnectionEndToEndTest InsertModeGestureTest
Change-Id: Idb9292fa087d98395d778dd3cd4a528554909ffc
For tracking camera performance, it is helpful to know the order in
which camera sessions were created.
This CL adds a sessionIndex field to CameraSessionStats which tracks
the order in which sessions were created. This field is logged by
ICameraServiceProxy.
Bug: 236318755
Test: No functional change.
`atest CtsCameraTestCases` passes
Change-Id: I5a5accdb2fd3d1de6e7ec31f3e67faaeccb0d3dc
Ignore this particular test that is on the tm-qpr-dev branch. This
passes in udc-dev and below, but cannot be cleanly fixed in tm-qpr-dev
without infrastructure changes (there is an issue with the teardown and
the orientation).
Fixes: 280524053
Test: Run test suite locally
Change-Id: I7e0a3fc80a231102b3c5d15a403317f57dfc93cc