Commit Graph

3580 Commits

Author SHA1 Message Date
Kevin Chyn
e2ddf8416d Merge "Send "early canceled" to privileged clients" into rvc-dev am: f825133d01
Change-Id: Ibb24c6076b97bcdf90fa188f6a4055626c57442d
2020-03-28 00:12:30 +00:00
Kevin Chyn
f825133d01 Merge "Send "early canceled" to privileged clients" into rvc-dev 2020-03-28 00:05:59 +00:00
Kevin Chyn
0a45b662b0 Send "early canceled" to privileged clients
The navigation bar dismissal animation caused by "activity finish"
should be invoked in some cases immediately when the user
cancels authentication. Add a "early user cancel" message
for ConfirmDeviceCredentialActivity to subscribe to. This
message is sent immediately when the user invokes a back gesture or
cancels authentication.

Bug: 148273355

Test: Set up work profile with separate password and biometric
      Unlock work profile
      Lock screen
      Open work profile app
      Cancel authentication at various states in various ways
      Notice no navigation bar jank

Test: atest com.android.systemui.biometrics

Change-Id: I89c5b5e2782339cae15f936268e6e7b8ad4e5359
2020-03-27 14:44:08 -07:00
Nicholas Ambur
f5bd2f0b5c remove SoundTrigger public member variables am: 1e43767f10
Change-Id: I7c8e9ae9196b66447aaa8fed019aaf5261d409da
2020-03-27 21:19:14 +00:00
Nicholas Ambur
95ee3d7ad5 Merge "remove SoundTrigger public member variables" into rvc-dev 2020-03-27 20:54:22 +00:00
Nicholas Ambur
1e43767f10 remove SoundTrigger public member variables
Bug: 150127026
Test: boot and verify soundtrigger hotword is functional

Change-Id: I04061cdb3eba02aac0f08de96f957e2b74c70a12
2020-03-26 19:44:31 +00:00
Kevin Chyn
39989372b5 Merge changes I704914b2,I51560dfc,I866e84b2 into rvc-dev am: 127e3957d6
Change-Id: Iab9bb3ed728bd18373fd2aae27160cc8f6139280
2020-03-25 22:12:17 +00:00
Kevin Chyn
127e3957d6 Merge changes I704914b2,I51560dfc,I866e84b2 into rvc-dev
* changes:
  Allow BIOMETRIC_CONVENIENCE to register with BiometricService
  Improve AuthService logging
  Only BIOMETRIC_STRONG HATs should be sent to KeyStore
2020-03-25 22:10:14 +00:00
TreeHugger Robot
e4bbe57c9f Merge "Camera: Add visual samples for android.control.zoomRatio" into rvc-dev am: ff57d5cba0
Change-Id: I26fbe65db79c9a8ec0f6af87c83f276d6dbf5433
2020-03-24 18:55:45 +00:00
TreeHugger Robot
ff57d5cba0 Merge "Camera: Add visual samples for android.control.zoomRatio" into rvc-dev 2020-03-24 18:37:39 +00:00
Eino-Ville Talvala
79c5024b45 Merge "Camera: Improve docs for getOutputMinFrameDuration" into rvc-dev am: 174fd34cba
Change-Id: I9f839095f93243ef15577186b5128d530ff114b7
2020-03-23 23:02:23 +00:00
Kevin Chyn
0f598aa9c0 Only BIOMETRIC_STRONG HATs should be sent to KeyStore
Bug: 150014844
Bug: 141025588
Bug: 151967372

Test: Configure a device to have weak biometrics only, then
      run CtsVerifier Weak Biometrics section
Test: com.android.server.biometrics

Change-Id: I866e84b2f88c24faeaf42452d44f651ec220858a
2020-03-23 15:40:09 -07:00
Shuzhen Wang
69cf0fd599 Camera: Add visual samples for android.control.zoomRatio
To better document how android.control.zoomRatio works, add diagrams to
illustrate its relationship with scalerCropRegion.

Test: Build and read docs
Bug: 144780745
Change-Id: I90b93c4d516f6f1e2d427ed3d56e85b6c94befe8
2020-03-23 13:26:03 -07:00
Eino-Ville Talvala
585305da32 Camera: Improve docs for getOutputMinFrameDuration
The current text was misleading, since minimum frame duration of a
stream affects the aggregate minimum frame duration of a session
whether a stream is in use for a given request stream or not.

Test: Docs build
Bug: 147080626
Change-Id: Ic884cd0bb3ea184383944cb78e9713d6044b1959
2020-03-23 12:41:17 -07:00
TreeHugger Robot
768ca03295 Merge "Camera: Move bokeh mode to extendedSceneMode tag" into rvc-dev am: 2ecb17aa03
Change-Id: Ic1d15836ecefac7197fde0e3219f5afefb48966b
2020-03-21 04:40:36 +00:00
TreeHugger Robot
2ecb17aa03 Merge "Camera: Move bokeh mode to extendedSceneMode tag" into rvc-dev 2020-03-21 04:25:09 +00:00
Nicholas Ambur
55730e498c Merge changes from topic "enrollment-app-permission" into rvc-dev am: aceabbf758
Change-Id: I5c2236bd27ffe708b7b590b96901f166aad1362d
2020-03-21 00:41:07 +00:00
Nicholas Ambur
aceabbf758 Merge changes from topic "enrollment-app-permission" into rvc-dev
* changes:
  fix enrollment application permission check
  add KEYPHRASE_ENROLLMENT_APPLICATION permission
2020-03-21 00:39:35 +00:00
Nicholas Ambur
64fb254c63 fix enrollment application permission check
Remove check associated with enrollment application UID, and allow
enrollment applications holding the KEYPHRASE_ENROLLMENT_APPLICATION
privledged permission to enroll.

Bug: 151405284
Test: Confirm enrollment from both enrollment application and active
voiceinteraction service. Confirm enrollment can still occurr after
system user switch.

Change-Id: I8686f705fe5405523004eef5de834282a7382464
2020-03-20 14:55:35 -07:00
Shuzhen Wang
796863a5ec Camera: Move bokeh mode to extendedSceneMode tag
Migrate BOKEH_MODE_STILL_CAPTURE and BOKEH_MODE_CONTINUOUS to be 2 enums
of CONTROL_EXTENDED_SCENE_MODE.

Test: Camera CTS, VTS
Bug: 151759402
Change-Id: I2373f3cb37bbca72cdf403b209f2375c1954fb9a
2020-03-20 12:15:48 -07:00
Ilya Matyukhin
d1c630d805 [DO NOT MERGE] Enable biometrics.fingerprint@2.2 am: 7f91123ea4
Change-Id: Ibf44c7ca3fb7c0264970fdc2bf72f23b2ae98754
2020-03-20 17:52:05 +00:00
TreeHugger Robot
f4a69284d0 Merge changes from topic "revert" into rvc-dev
* changes:
  [DO NOT MERGE] Enable biometrics.fingerprint@2.2
  [DO NOT MERGE] Revert "Add support for fingerprint@2.2 and face@1.1"
2020-03-20 17:44:50 +00:00
Peter Li
ff710f1fde Merge "Move the logic of transferTouchFocusToImeWindow to IMMS." into rvc-dev am: 3e6f5a87f9
Change-Id: Id88cd4f6456e378b7edb6dd20ce502ef1aac18fe
2020-03-20 07:00:10 +00:00
lpeter
133fce0171 Move the logic of transferTouchFocusToImeWindow to IMMS.
It would better move logic of transferTouchFocusToImeWindow
from WindowManagerService to InputMethodManagerService.

Bug: 149574510
Test: atest CtsAutoFillServiceTestCases
Test: atest CtsInputMethodTestCases
Change-Id: I268b09781e5eb7c77c4912efdc8fd5d6936ada27
2020-03-20 12:16:44 +08:00
Ilya Matyukhin
244aee6368 [DO NOT MERGE] Revert "Add support for fingerprint@2.2 and face@1.1"
This reverts commit ef410e3c1e.

Reason for revert: the implementation is untested in R; moving to S.

Bug: 139317981
Bug: 151331855
Change-Id: If6a2fdb26e1ffbdb2cad7dfc16a7cd579f513d5c
2020-03-19 23:05:13 +00:00
Wonsik Kim
dd460fc52d Merge "MediaCodec: address API review #2" into rvc-dev am: de9e6f71d0
Change-Id: I504d2cd042533108a1c77fd69d20e3521e6802b6
2020-03-19 21:51:25 +00:00
Wonsik Kim
de9e6f71d0 Merge "MediaCodec: address API review #2" into rvc-dev 2020-03-19 21:46:28 +00:00
Eino-Ville Talvala
2fb97b7bc6 RESTRICT AUTOMERGE: Camera: Hide keys for the rotate-and-crop controls am: 9f9bb3b734
Change-Id: I3d938223c6a82bf6d56ccbb3d1583f28b8173a08
2020-03-19 20:47:21 +00:00
TreeHugger Robot
0b3db44d5b Merge "RESTRICT AUTOMERGE: Camera: Hide keys for the rotate-and-crop controls" into rvc-dev 2020-03-19 20:37:08 +00:00
TreeHugger Robot
db3176f0ce Merge "Add caching for getDisplayInfo" into rvc-dev am: 4753576dbf
Change-Id: I14ee048b55c4bcbeb06e089883fc4aa06a364134
2020-03-19 18:37:56 +00:00
TreeHugger Robot
4753576dbf Merge "Add caching for getDisplayInfo" into rvc-dev 2020-03-19 18:18:33 +00:00
Eino-Ville Talvala
9f9bb3b734 RESTRICT AUTOMERGE: Camera: Hide keys for the rotate-and-crop controls
Implementation is not complete yet, so hide the feature for now.

Test: Adjusted camera CTS continues to pass
Bug: 150036107
Change-Id: Ifc49766d3e7ebd5a785424cf9a59e9c0f805aabc
2020-03-19 11:05:56 -07:00
Tim Murray
890ceb5e5b Add caching for getDisplayInfo
Cache DisplayInfo objects on clients to avoid unnecessary binder traffic.

Test: boots, works, 60->90->60 works
Bug: 140788621

Change-Id: I0dec0f6e293f1345fbe0a30c4a6e39305c94276d
2020-03-19 09:27:43 -07:00
Jayant Chowdhary
9e1a5df4ba Merge "Mandatory concurrent stream combinations should be generated by metadata-generate." into rvc-dev am: af0910c0eb
Change-Id: I151c7f8f96741cb8c4392f42f1824b91a884eb0d
2020-03-19 00:56:52 +00:00
Jayant Chowdhary
af0910c0eb Merge "Mandatory concurrent stream combinations should be generated by metadata-generate." into rvc-dev 2020-03-19 00:49:17 +00:00
Wonsik Kim
637afb2db4 MediaCodec: address API review #2
- Remove GraphicBlock and use HardwareBuffer instead.
- retrieveChangedKeys -> getChangedKeys
- More messages for Exceptions

Bug: 149487982
Test: atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small
Change-Id: I4d19a8dfa6b9f43005c3d3d8ecc840d16aebd356
2020-03-18 17:29:21 -07:00
Jayant Chowdhary
48dec2e76e Mandatory concurrent stream combinations should be generated by metadata-generate.
Bug: 151462833

Test: builds

Change-Id: I2255ad38a06f7eba3eb591e9147ab694178e4989
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-03-18 12:47:04 -07:00
TreeHugger Robot
1b8e2148dc Merge "Camera: clarify offline processing spec" into rvc-dev am: 9b7197fb11
Change-Id: I109793056edbfbf40b7b315952c3fb2b3e48cbf8
2020-03-18 18:40:36 +00:00
TreeHugger Robot
9b7197fb11 Merge "Camera: clarify offline processing spec" into rvc-dev 2020-03-18 18:25:36 +00:00
Automerger Merge Worker
c6817e3d83 Merge "Clarify timestamp definition for SensorEvent" into rvc-dev am: e39527ff51
Change-Id: I4ff6a7a05e8453e006488da7dacbde90ae52fd32
2020-03-17 17:43:30 +00:00
TreeHugger Robot
e39527ff51 Merge "Clarify timestamp definition for SensorEvent" into rvc-dev 2020-03-17 17:29:38 +00:00
Yin-Chia Yeh
0e847e45ae Camera: clarify offline processing spec
Test: build
Bug: 149346795
Change-Id: Iefd35ad4e79ce43c3d7eb308d39a1d3f89022be6
2020-03-17 09:42:36 -07:00
Anthony Stange
d2c1159c5c Clarify timestamp definition for SensorEvent
Bug: 149914062
Test: presubmits
Change-Id: Ib686100496ce80febba6258bbab57f95ddb3386c
2020-03-16 17:31:03 -04:00
Automerger Merge Worker
46d3b43dd6 Merge "USB: Add OWNERS for USB functionality" am: cc13533098 am: 9613717da2
Change-Id: I8df10c3a282703e95947649cb8cf39a0d4471f77
2020-03-16 05:06:33 +00:00
Jayant Chowdhary
6241aceae8 Merge "camera2: rename getConcurrentStreamingCameraIds() -> getConcurrentCameraIds()" into rvc-dev 2020-03-14 01:44:50 +00:00
Kevin Chyn
6b7b2300c4 Merge "Pass operationId to LSS, add HAT to KeyStore" into rvc-dev 2020-03-13 23:53:16 +00:00
Kevin Chyn
c8cb6852df Pass operationId to LSS, add HAT to KeyStore
Since we're now allowing auth-per-use credential keys, we need to
pass the operationId to SystemUI, which owns the call to verify
credential. Upon receiving a non-null HAT, it should be sent to
KeyStore.

Bug: 148425329

Test: atest com.android.systemui.biometrics
Test: atest com.android.server.biometrics

Change-Id: Iea737bf2dc0d81d87419df96d5cb43d51f10c6e3
2020-03-12 15:49:27 -07:00
Jayant Chowdhary
44bc7d8c23 camera2: rename getConcurrentStreamingCameraIds() -> getConcurrentCameraIds()
Bug: 150896133

Test: builds
Test: atest ConcurrentCameraTest.java

Change-Id: I0634358ed2591448d2f69be329a524fe1a197813
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-03-12 13:20:48 -07:00
Philip P. Moltmann
12ac3f406f Rename featureId -> attributionTag
In the core functionality this changes everything including aidl's and
field names:
- Context
- ContentProvider
- AppOps*
- Package parsing

For the rest, this is a shallow change to only change to the changed
APIs. This keeps the change small-ish

Exempt-From-Owner-Approval: Rename
Fixes: 148792795
Test: TH
Change-Id: I2a2245fe76e09e62cb13d5785d2efb4a304ba54a
Merged-In: I2a2245fe76e09e62cb13d5785d2efb4a304ba54a
2020-03-12 19:26:10 +00:00
James Wei
2688557ea7 USB: Add OWNERS for USB functionality
Add and update active owners

Bug: 151289514
Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: Ifed67825df464b86e12c63193b6b54692ac4de7c
2020-03-12 17:12:17 +08:00