Michal Olech
8c36342587
Merge "[CEC Configuration] Add 'routing_control' setting"
2021-06-06 20:10:07 +00:00
Joe Bolinger
d361a6bbd2
Merge "Fix feedback and animations for face to fingerprint fallback authentication." into sc-dev am: 896ac3e18f am: 9c613a484d am: 28b70ca276
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14823790
Change-Id: Ib224bbcf91f451e5d8c69dd65d627e3c991b08d4
2021-06-04 11:14:17 +00:00
Joe Bolinger
9f685a9fa7
Fix feedback and animations for face to fingerprint fallback authentication.
...
Bug: 189164072
Test: atest com.android.systemui.biometrics com.android.server.biometrics
Change-Id: I7fe8085dc4a4994c591bb4be20309ffb46bb06e9
2021-06-03 14:41:29 -07:00
Thiébaud Weksteen
6e75745a91
Fix typo in documentation
...
Test: n/a
Change-Id: Icf02b33fd548db263d998d206266d4755312ade7
2021-06-03 19:45:31 +02:00
Kevin Chyn
7f0f8978ab
Merge changes I2eebe329,I81f1dfc1 into sc-dev am: bc77821e7d am: 36992991bd am: 13a0087ef2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14791442
Change-Id: Iee7493b41e654ab62aa908773e2157f348c16ce7
2021-06-02 20:27:03 +00:00
Kevin Chyn
bc77821e7d
Merge changes I2eebe329,I81f1dfc1 into sc-dev
...
* changes:
Turn off HBM when AcquiredInfo#GOOD
Do not handle requests on system_server thread
2021-06-02 20:06:11 +00:00
TreeHugger Robot
67ffe38320
Merge "camera2: Fix parcelling of sensor pixel modes." into sc-dev am: 1cdc8379a8 am: d767220f54 am: 1808497ce3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14745457
Change-Id: I28b88b2357b7e7fdead03b87399bca061555508c
2021-06-02 19:48:45 +00:00
TreeHugger Robot
1cdc8379a8
Merge "camera2: Fix parcelling of sensor pixel modes." into sc-dev
2021-06-02 19:10:53 +00:00
Kevin Chyn
f6ff170d53
Turn off HBM when AcquiredInfo#GOOD
...
Prevent unnecessary use of HBM. This change decouples illumination
state from touch state. onFingerUp should always be called whenever
the finger leaves the HBM area, and not only when illumination was
requested (isFingerDown was actually isIlluminationRequested()).
Moves the check to onFingerUp to stop illumination only if illumination
was actually happening.
Bug: 187460696
Test: atest UdfpsControllerTest
Change-Id: I2eebe32990761d2fbf86cab228e4a7221a209b42
2021-06-02 09:29:35 -07:00
Michal Olech
bc57a6aaa5
[CEC Configuration] Add 'routing_control' setting
...
This ports Settings.Global.HDMI_CEC_SWITCH_ENABLED to HdmiCecConfig.
Bug: 187284252
Test: run cts
Change-Id: I7994a1d69ffc0bf68323d4dcc212a89be1926db9
2021-05-31 13:03:47 +02:00
Michal Olech
3d007e9ce4
[CEC Configuration] Add 'system_audio_control' setting
...
This ports Settings.Global.HDMI_SYSTEM_AUDIO_CONTROL_ENABLED to
HdmiCecConfig.
Bug: 187284252
Test: run cts
Change-Id: Idb0e069f915a9a7c04c4f7fd24d8c200666c47a9
2021-05-31 13:03:46 +02:00
Jayant Chowdhary
e1a464e141
camera2: Fix parcelling of sensor pixel modes.
...
OutputConfiguration.writeToParcel previously used writeList to parcel
the List<Integer> mSensorPixelModesUsed. The Integer list read from a
Parcel into a vector of int32_ts in cameraserver native code, doesn't get read correctly
(values sent are not the ones received).
Therefore, instead we explicitly convert the Integer list into an int[]
before parcelling using writeIntArray. We also explicitly use
readInt32Vector on the native side in readFromParcel now.
Bug: 184396641
Test: atest RobustnessTest.java#testConfigureInvalidSensorPixelModes
Change-Id: Ie0a8d0da2f89c959df6a3529d4836889e235fa93
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com >
2021-05-27 10:56:47 -07:00
Kevin Chyn
b5bbf7d443
Merge "Add AIDL constants to framework constants" into sc-dev am: 90135f22d9 am: 5c8c0e4c8f am: 838a32360b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14719309
Change-Id: I49d92b749d341339b43b4c07af049c5302b00a62
2021-05-26 02:45:40 +00:00
Kevin Chyn
9e1ae2cec0
Add AIDL constants to framework constants
...
Fixes: 188912467
Test: Modify HAL to send above constants. No longer see
"Unknown enrollment acquired message" in logcat
Change-Id: I286465dae550fa123fef785879084e86081f2b43
2021-05-25 23:13:24 +00:00
Joe Bolinger
db6a6465fe
Merge "Add biometric strength reset and fix CTS tests on multi sensor devices (mostly)" into sc-dev am: c584a39e67 am: f841c1086c am: 65cc066446
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14637111
Change-Id: I48f077138e2261cb0336749a24ffeb6a4178490e
2021-05-25 04:38:04 +00:00
Joe Bolinger
d8ea71fbc4
Add biometric strength reset and fix CTS tests on multi sensor devices (mostly)
...
Tests can still fail due to flakiness in cleanup (main cause seems to be stale enrollments).
Fix: 187250205
Test: atest CtsBiometricsTestCases
Change-Id: I3e379322277cde984f5a0112d38db60b9c6e360d
2021-05-24 14:09:32 -07:00
Chris Ye
4e64a8cf6f
Merge "Add capabilities to android.hardware.lights.Light." into sc-dev am: b3d0a2afe3 am: 8f139eb555 am: fe7df089ac
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14552279
Change-Id: I762fb119569860061ce2e2e2109e9c1e553d2754
2021-05-24 18:32:41 +00:00
Chris Ye
b3d0a2afe3
Merge "Add capabilities to android.hardware.lights.Light." into sc-dev
2021-05-24 17:34:58 +00:00
Chris Ye
9f98e33d8e
Add capabilities to android.hardware.lights.Light.
...
Add capabilities of MONO, RGB and PLAYER_ID to
android.hardware.lights.Light, and the APIs to query the capabilities.
Bug: 181743615
Test: atest InputDeviceLightsManagerTest, atest LightsManagerTest, atest android.hardware.input.cts.tests
Change-Id: I266c83584d63815e1a71897e5975d6c13e8543bb
2021-05-22 18:28:14 -07:00
TreeHugger Robot
03e973c44f
Merge "Update signature on remove sensor privacy listener API" into sc-dev am: 59bdbf467f am: 368439e9f1 am: 293987b7f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14649887
Change-Id: Ic238bbd82ba04b4ad0d3b349a5cdf2e19f8cb975
2021-05-22 02:46:36 +00:00
TreeHugger Robot
59bdbf467f
Merge "Update signature on remove sensor privacy listener API" into sc-dev
2021-05-22 02:02:21 +00:00
Joe Bolinger
804fcb2ca6
Merge changes I57f018e4,Ib1e92278 into sc-dev am: 16cd6bb81f am: f9742d8153 am: 479e47ec0d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14669695
Change-Id: Ie96c4dca25291de86cdec6fb6e8dad6bcd9cc919
2021-05-21 22:49:13 +00:00
Joe Bolinger
16cd6bb81f
Merge changes I57f018e4,Ib1e92278 into sc-dev
...
* changes:
Remove confirm button when falling back to fingerprint auth.
Delay starting fingerprint sensor when using multi-sensor devices.
2021-05-21 21:35:57 +00:00
Evan Severson
6c8326f02a
Update signature on remove sensor privacy listener API
...
If a listener can be registered for multiple sensors they should be able
to be removed individually.
Test: Build
Bug: 181681375
Change-Id: I04b867de8140adc8db0137e7d13c0f8d1a966a5e
2021-05-21 19:54:11 +00:00
Grace Cheng
b03339a582
Merge "Add plumbing to show/hide side-fps UI affordance near power button" into sc-dev am: 961749155a am: fc0c6cd6af am: f7a278df19
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14628982
Change-Id: I6a337cde244fe8d87a3a8e525462d7f3dc3781e3
2021-05-21 17:21:30 +00:00
“Grace
dc5a083fa3
Add plumbing to show/hide side-fps UI affordance near power button
...
Configure side-fps devices to display a indicator for the fingerprint
sensor location during fps-related events (enrollment, auth, etc)
Test: Observe indicator behavior during fingerprint enrollment
Bug: 186470722
Change-Id: I353ec22a239a01edc5cc3dbf0e3c6d80faa2a0e9
2021-05-21 01:59:58 +00:00
Joe Bolinger
fdc48a48c5
Delay starting fingerprint sensor when using multi-sensor devices.
...
Fix: 183951321
Test: atest com.android.server.biometrics
Test: atest com.android.systemui.biometrics
Test: manual with integration app
Change-Id: Ib1e92278d695b0ce5b6f799f51007262ade31f05
2021-05-20 18:56:31 -07:00
Jayant Chowdhary
e6f851c263
Merge "camera2: Add system api to specify oom score offset while opening a camera." into sc-dev am: 441d5e9e11 am: e822c3521e am: 936c58f4b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14625167
Change-Id: I0930721a3fdfd03eb3685e828eff8e11c50903a8
2021-05-20 14:23:51 +00:00
Jayant Chowdhary
e69876bbc1
camera2: Add system api to specify oom score offset while opening a camera.
...
Bug: 187429135
Test: atest CameraEvictionTest.java
Change-Id: Ib29053ed94822fa0e73b075387fb84463e0e057d
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com >
2021-05-19 19:24:09 -07:00
Ady Abraham
fd490502aa
Merge changes from topic "preferredDisplayModeId60120" into sc-dev am: c49b886d73
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14185079
Change-Id: I1b548d9b4666c30750cb13657d783c649ea04c3e
2021-05-13 16:22:00 +00:00
Ady Abraham
c49b886d73
Merge changes from topic "preferredDisplayModeId60120" into sc-dev
...
* changes:
Enable preferredDisplayModeId for frame rate override
Add preferredMaxDisplayRefreshRate
2021-05-13 15:59:00 +00:00
Treehugger Robot
0c4eef22d5
Merge "Add lcnathalie to OWNERS" am: d7158e25d6 am: 3c351fd63c am: d52c25c2bd am: 43285b0c22
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1705352
Change-Id: I17f910f44685edac3d457a63586da317fa05b787
2021-05-12 15:11:38 +00:00
Treehugger Robot
43285b0c22
Merge "Add lcnathalie to OWNERS" am: d7158e25d6 am: 3c351fd63c am: d52c25c2bd
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1705352
Change-Id: I1d26ce678eb542dbc0d93812f969625879134e52
2021-05-12 14:44:10 +00:00
Treehugger Robot
d52c25c2bd
Merge "Add lcnathalie to OWNERS" am: d7158e25d6 am: 3c351fd63c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1705352
Change-Id: Iff6217a949282bd89a006d7a8970ab2638cdb538
2021-05-12 14:33:04 +00:00
Nathalie Le Clair
1d5d3ca3cf
Add lcnathalie to OWNERS
...
Bug: N/A
Test: N/A
Change-Id: I369963eb006affb24cba0ab9ef97ec797396fc53
2021-05-12 13:47:10 +02:00
Joe Bolinger
3df2bb6d6e
Merge changes from topic "user-id-again" into sc-dev am: ab0b82aef5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14472586
Change-Id: Ic6821600e844a071781dd584865fcc606ba9d7ae
2021-05-12 01:30:17 +00:00
Joe Bolinger
ab0b82aef5
Merge changes from topic "user-id-again" into sc-dev
...
* changes:
Add userId parameter to all uses of challenge client.
Cache challenge response in Face10 implementation.
2021-05-12 01:25:39 +00:00
Ilya Matyukhin
ab98e72ad5
Merge "Make UdfpsHbmCallback a dependency of UdfpsController" into sc-dev am: c7bfe7d196
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14492382
Change-Id: Ifef89062814c182a60342f568ac2302deeb31d09
2021-05-11 23:09:54 +00:00
Ilya Matyukhin
351107ec74
Make UdfpsHbmCallback a dependency of UdfpsController
...
Bug: 187732246
Test: atest UdfpsControllerGoogle
Change-Id: I1aead35213de9491538b6eaf5d4a45be569ecab8
2021-05-11 12:56:58 -07:00
TreeHugger Robot
3b838adc12
Merge "Camera: Support advanced extensions" into sc-dev am: dd3707adc0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13766710
Change-Id: Ie581d9b67a121ab9b075ca0de04767cb240f0916
2021-05-11 19:48:37 +00:00
TreeHugger Robot
dd3707adc0
Merge "Camera: Support advanced extensions" into sc-dev
2021-05-11 19:42:46 +00:00
Joe Bolinger
72c3446049
Add userId parameter to all uses of challenge client.
...
Bug: 171335732
Bug: 186310980
Fix: 184915229
Test: atest com.android.server.biometrics
Test: manually on device (as normal, extra user, & work profile)
Change-Id: Iccb65657736a73c591a3bb5b69fb432d3f0cb676
2021-05-11 19:33:01 +00:00
Joe Bolinger
1652749e61
Cache challenge response in Face10 implementation.
...
Prevents operations that happen in rapid succession from failing.
Fix: 185969412
Test: atest com.android.server.biometrics
Test: manual enroll/delete multiple times on device
Change-Id: I20f19c13ec545884c3ed0c91e103f27927413737
2021-05-11 12:17:34 -07:00
Ady Abraham
26c834522b
Add preferredMaxDisplayRefreshRate
...
Add a new private window attribute for allowing apps to specify the max
display refresh rate. This is useful for use cases such as keyguard
where the refresh rate should be limited to preserve power.
In the next CLs the preferredDiplayModeId would be enabled for
frame rate override (60-on-120) and the preferredMaxDisplayRefreshRate
would be the alternative to control the display refresh rate (as opposed
to the frame rate experienced by the app).
Test: atest RefreshRatePolicyTest
Test: atest DisplayModeDirectorTest
Test: Launch camera app and observe refresh rate
Bug: 183226498
Change-Id: I1c5e9f6047cbea4bfb581251b8dd2b9058b3e378
2021-05-10 16:37:33 -07:00
Ilya Matyukhin
55c0c2d658
Merge "Split onPointerDown to onPointerDown and onUiReady" into sc-dev am: 22f83b56f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14332774
Change-Id: I730556f10b092e114a4f87cd16889e0a2786ea0f
2021-05-10 08:07:16 +00:00
Ilya Matyukhin
22f83b56f7
Merge "Split onPointerDown to onPointerDown and onUiReady" into sc-dev
2021-05-10 07:36:14 +00:00
Evan Rosky
393d5343f8
Merge "Revert "Add reporting to monitor apps incorrectly using getRaw"" into sc-dev am: 0214d012f6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14443843
Change-Id: I3d1fe904c92e2f603afb5b2edf95e2c69e4f3b83
2021-05-06 17:19:14 +00:00
Evan Rosky
abc24090f0
Revert "Add reporting to monitor apps incorrectly using getRaw"
...
This reverts commit 8b82086722 .
Reason for revert: Metrics no-longer needed, we are adding compat for this.
Bug: 187153492
Test: N/A
Change-Id: I31bbe36378a2da969a094405b0e0a7b7b9cde3a0
2021-05-06 01:44:51 +00:00
Ivan Gorinov
a7765759c4
Sensors: Set the wakeup LOW_LATENCY_OFFBODY_DETECT as default
...
This sensor type is included in the wakeup sensor list returned by
the native sensor API, but missing in the list returned by Java API.
Test: Sensor.isWakeUpSensor()
Bug: 187181510
Change-Id: I8de98755af7c85a7a4c907c83d69c254ea8f8d7b
2021-05-04 21:10:52 -07:00
Wale Ogunwale
97010b0f38
Merge "Add helper class FoldStateListener" into sc-dev am: c80b0a8f31
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14411660
Change-Id: I0ddb4d9dd174d2f3dce126afcc6f16c504d9fcdb
2021-05-03 21:36:10 +00:00