Commit Graph

891995 Commits

Author SHA1 Message Date
Helen Qin
5636847286 Update baseline profile.
Bug: 268721349
Test: build
Change-Id: I7ddf823534e343b6a429dcb8655ffc4e055e7ac9
2023-05-09 23:10:31 +00:00
Suprabh Shukla
3f88818d94 Merge "Avoid redundant overwrite of value in TimeSparseArray" into udc-dev am: 7e39238a1f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23090943

Change-Id: Ic3e709f73e2f4f723ddacecedbbb1600b8aeb935
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 23:08:59 +00:00
Piyush Mehrotra
72dc3e9342 Merge changes from topic "br-cts-hsum" into udc-dev am: 82a2b5e93c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22327092

Change-Id: I4630a01f8dfa5046798161d7f12129a55af15d51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 23:06:49 +00:00
Suprabh Shukla
7e39238a1f Merge "Avoid redundant overwrite of value in TimeSparseArray" into udc-dev 2023-05-09 22:53:17 +00:00
Piyush Mehrotra
82a2b5e93c Merge changes from topic "br-cts-hsum" into udc-dev
* changes:
  Modifying Backup code to support HSUM mode.
  Improve `dumpsys backup`
2023-05-09 22:49:06 +00:00
Chandru S
1fb4e8fd35 Merge "Add onTrustManagedChanged state to TrustRepository" into udc-dev am: 81beed54e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22906407

Change-Id: I86201b665e8e4a8554fc497827a56d2d5febedf9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 22:46:37 +00:00
Kunal Malhotra
86d40602a9 Merge "Adding proc state to wakelock logging" into udc-dev am: a61baacdeb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23062819

Change-Id: I9a243ff7cff0b5cf950fb65c24eb9b38369d8096
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 22:46:06 +00:00
Haoyu Zhang
406bf8bdd4 Merge "Introduce handwriting hover icon and update its hide/show logic" into udc-dev am: f7e5dac822
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22913454

Change-Id: I4dd6411b00847d23465ed5d8c17d800c9d525cb2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 22:45:17 +00:00
Treehugger Robot
e994808af4 Merge "Camera: Always release the extension session after configuration" into udc-dev am: bce1bf4fdc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23064805

Change-Id: I6db43d4fdd469d0c5dda82dcf796a5597c7c3d16
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 22:44:43 +00:00
Sudheer Shanka
cff2001b24 Merge "Add a callback to listen to uid foreground-ness change." into udc-dev am: b0302b10b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22499498

Change-Id: I651780d44981bd882e40d2e2b0aa53e720581782
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 22:44:03 +00:00
Priyanka Advani
95361ab2f0 Merge changes from topic "revert-23033485-WUUYRIDOOG" into udc-dev am: c63158973a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23118164

Change-Id: I6e3b3aebe80152a2c5830b341e7aa6620ae41d26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 22:43:32 +00:00
Dmitry Dementyev
18bf0e3858 Ignore failing RecoverableKeyStoreManager tests. am: ca24397a4d am: d0ff6dcb61 am: fdde2e60a2 am: 5323ecef73 am: 0e5fa22005
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23111846

Change-Id: Iae4bda7880486698feb077034de9f3cf37b6bbda
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 22:42:43 +00:00
Chandru S
81beed54e3 Merge "Add onTrustManagedChanged state to TrustRepository" into udc-dev 2023-05-09 22:42:09 +00:00
Kunal Malhotra
a61baacdeb Merge "Adding proc state to wakelock logging" into udc-dev 2023-05-09 22:32:35 +00:00
Haoyu Zhang
f7e5dac822 Merge "Introduce handwriting hover icon and update its hide/show logic" into udc-dev 2023-05-09 22:32:28 +00:00
Treehugger Robot
bce1bf4fdc Merge "Camera: Always release the extension session after configuration" into udc-dev 2023-05-09 22:21:11 +00:00
Sudheer Shanka
b0302b10b2 Merge "Add a callback to listen to uid foreground-ness change." into udc-dev 2023-05-09 22:20:15 +00:00
Juan Yescas
34f1eab423 Return TotalMemory size when ddr size is not present
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
2023-05-09 22:19:05 +00:00
Priyanka Advani
c63158973a Merge changes from topic "revert-23033485-WUUYRIDOOG" into udc-dev
* changes:
  Revert "Carrier text: add LogBuffer debug logs"
  Revert "Add @SysUISingleton to repository switcher classes"
2023-05-09 22:17:21 +00:00
Jing Ji
f76c4e4d4f Revert^2: Log the process hosting component types in ProcessMemorySnapshot
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
2023-05-09 15:13:28 -07:00
John Reck
d13852e664 More WebView HDR plumbing
Pass through format for GL
and shouldDither if HWUI wants
dithering globally enabled

Fixes: 279030860
Test: make
Change-Id: Ic9e767fede8be9664bb87a340573e5f424d0de3e
2023-05-09 18:12:11 -04:00
Tyler Freeman
91d351bf67 fix(magnifier): fix deadlock when feature flag changes
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
2023-05-09 15:09:18 -07:00
Ale Nijamkin
8a533c1400 Merge changes from topic "flexiglass-container-config-b279501596" into udc-dev am: 92e7e12081
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22828278

Change-Id: Iee23af869d5a003a334269fd949db5998cd04377
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 22:04:51 +00:00
Kathy Chen
983f195f7a Merge "Revert "Revert "[AC] Fix NPE. If the client sends multiple unregister requests at the same time, the client request could be null before the next request is processed.""" into udc-dev am: f415752b8d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23100716

Change-Id: Iab5564abddffd12bbd852f3ac219c41c09cfc807
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 22:02:24 +00:00
Dmitry Dementyev
0e5fa22005 Ignore failing RecoverableKeyStoreManager tests. am: ca24397a4d am: d0ff6dcb61 am: fdde2e60a2 am: 5323ecef73
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23111846

Change-Id: Ifab58d222ac2d0fe603f19db5be149e43a79019f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 21:56:41 +00:00
Ale Nijamkin
92e7e12081 Merge changes from topic "flexiglass-container-config-b279501596" into udc-dev
* changes:
  [flexiglass] Container config - UI layer.
  [flexiglass] Container config - domain layer.
  [flexiglass] Container config - data layer.
2023-05-09 21:55:51 +00:00
Alejandro Nijamkin
d7840346d1 [flexiglass] Foundation for placeholder QS scene.
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
2023-05-09 14:55:18 -07:00
Chris Antol
acdc87a5b6 Re-add text color to Settings Switch
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
2023-05-09 21:54:59 +00:00
Helen Qin
2e66141565 Clean up UI todos.
The leftover TODOs have been examined and can be safely punted to the
next release.

Bug: 281736422
Test: build
Change-Id: I89a463d237414e7883f1fc00a6261932084d582b
2023-05-09 21:53:52 +00:00
Alejandro Nijamkin
1240a66fe0 [flexiglass] Foundation for placeholder shade scene.
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
2023-05-09 14:52:00 -07:00
Alejandro Nijamkin
63561ed2df [flexiglass] Foundation for placeholder lock screen scene.
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
2023-05-09 14:52:00 -07:00
Kholoud Mohamed
73c35de08c Remove policies for admins on role/package removal
Bug: 256852787
Bug: 273494642
Test: N/A
Change-Id: I2a6ccecd10b8bdaf80679f6d52eb85e9d16ca21f
2023-05-09 21:51:52 +00:00
Kathy Chen
f415752b8d Merge "Revert "Revert "[AC] Fix NPE. If the client sends multiple unregister requests at the same time, the client request could be null before the next request is processed.""" into udc-dev 2023-05-09 21:46:30 +00:00
Atneya Nair
7956a587aa Merge "Remove ST INTERCEPTED state" into udc-dev am: 528cd329f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23065725

Change-Id: Ie89a8dbdf923e47fb741340bed09376c1d8ee1ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 21:43:02 +00:00
Treehugger Robot
8cd3ef1982 Merge "Track input shaders java-side for heap tooling" into udc-dev am: 18396b26dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23089668

Change-Id: I1de7dc34dcae0b64e6f7fa9dce0328c997c49ed5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 21:42:33 +00:00
Bhavuk Jain
fd155abc61 Merge "Converted released flag to unreleased flag for wallpaper picker for creative categories" into udc-dev am: 030bd47ce9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23087027

Change-Id: Iaa9af13e3f012e94a08bf59d0937efba148d302d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 21:41:48 +00:00
Atneya Nair
528cd329f0 Merge "Remove ST INTERCEPTED state" into udc-dev 2023-05-09 21:41:32 +00:00
Prince Donkor
9cccfdcb86 Merge "Deletion of ENABLE_LOW_LIGHT_CLOCK_UNDOCKED Flag" into udc-dev am: 9aa7ca073b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23084796

Change-Id: I2a90f65ba837d87308693f996e014d46b162a3e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 21:39:07 +00:00
Treehugger Robot
18396b26dd Merge "Track input shaders java-side for heap tooling" into udc-dev 2023-05-09 21:36:38 +00:00
Bhavuk Jain
030bd47ce9 Merge "Converted released flag to unreleased flag for wallpaper picker for creative categories" into udc-dev 2023-05-09 21:23:54 +00:00
Dmitry Dementyev
5323ecef73 Ignore failing RecoverableKeyStoreManager tests. am: ca24397a4d am: d0ff6dcb61 am: fdde2e60a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23111846

Change-Id: I433b5d30d9911afbd63b3652e1fb8a9f9d1f3f09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 21:12:16 +00:00
Alejandro Nijamkin
8d655c3954 [flexiglass] Foundation for placeholder bouncer scene.
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
2023-05-09 14:08:14 -07:00
Alejandro Nijamkin
71754a1556 [flexiglass] Authentication logic.
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
2023-05-09 14:08:13 -07:00
Taran Singh
59845d242f Cancellable gesture should always have cancellation token
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
2023-05-09 20:58:28 +00:00
Prince Donkor
9aa7ca073b Merge "Deletion of ENABLE_LOW_LIGHT_CLOCK_UNDOCKED Flag" into udc-dev 2023-05-09 20:55:17 +00:00
Avichal Rakesh
5409fbac99 cameraservice: Log session index
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
2023-05-09 13:53:24 -07:00
Aaron Liu
c0842320c0 DO NOT MERGE Ignore test that is failing on tm-qpr-dev
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
2023-05-09 20:49:00 +00:00
Pinyao Ting
4885689d24 Make RemoteViews.Action and its derived classes static
To avoid unintentional memory leak through circular dependency.

Bug: 270939797
Test: manual
Change-Id: Idcc73a8b9ca57f53cb89cc6453c51607e76cdac5
2023-05-09 20:45:23 +00:00
Chen Bai
e1cc6f6a4f wallpaper: fix null service manager registered to server
- Don't getService WallPaperManagerService within ctor.

BUG: 277380463
Change-Id: I4297ee0e39318b6ce11744b36fb1690a2e1e10ca
(cherry picked from commit 0787189090)
2023-05-09 20:45:15 +00:00
Diya Bera
177184e4dd Return enabledOnKeyguard for all alive users
Test: atest BiometricServiceTest
Fixes: 269374736
Change-Id: Iea9667da46ddedc60776f06fbd9d6095af0bc373
2023-05-09 13:44:23 -07:00