Commit Graph

3563 Commits

Author SHA1 Message Date
Automerger Merge Worker
1fc968b1c3 Merge "Merge "Mandatory concurrent stream combinations should be generated by metadata-generate." into rvc-dev am: af0910c0eb am: 83ea23513b" into rvc-d1-dev-plus-aosp am: 515cea6fed am: 8f80c2ea89
Change-Id: If30330a847067eb09f443cf48e12490740cd22f6
2020-03-19 01:41:03 +00:00
Jayant Chowdhary
3675c84e4f Merge "Mandatory concurrent stream combinations should be generated by metadata-generate." into rvc-dev am: af0910c0eb am: 83ea23513b
Change-Id: Ifb2a86c905711d5272bd0caff51ee20a71a13ed4
2020-03-19 01:12:33 +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
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
6a52009ffe Merge "Camera: clarify offline processing spec" into rvc-dev am: 9b7197fb11 am: 3ddf2b819a am: 68f9787642 am: 512e64b199
Change-Id: I6e9d68b9ecc6995406f800654cb8cab7b3ad73e3
2020-03-18 19:18:49 +00:00
TreeHugger Robot
68f9787642 Merge "Camera: clarify offline processing spec" into rvc-dev am: 9b7197fb11 am: 3ddf2b819a
Change-Id: I53e4d19de7b548223477d1a437c8e47f584784f8
2020-03-18 19:02: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
0a8c0683ee Merge "Clarify timestamp definition for SensorEvent" into rvc-dev am: e39527ff51 am: c6817e3d83 am: 17daa587a5 am: 0cc1eeaa75
Change-Id: I5c8d2ca438e5f1909280f020945da61db80b6f2f
2020-03-17 18:25:05 +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
c4a2829f64 Merge "USB: Add OWNERS for USB functionality" am: cc13533098 am: 9613717da2 am: 46d3b43dd6 am: 0d06562fb7 am: b4d2e7823b
Change-Id: Ic25832ab3386003c6b5166a4b02847d200eb360d
2020-03-16 05:46:53 +00: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
Automerger Merge Worker
2aedb9dc00 Merge "camera2: rename getConcurrentStreamingCameraIds() -> getConcurrentCameraIds()" into rvc-dev am: 6241aceae8 am: 2a84b5265d am: 6b6991c093 am: 460ff1fb2f
Change-Id: Ic7e77e0a067a6d98dbc847f87b4b3b53bddfde07
2020-03-14 02:35:58 +00:00
Jayant Chowdhary
6241aceae8 Merge "camera2: rename getConcurrentStreamingCameraIds() -> getConcurrentCameraIds()" into rvc-dev 2020-03-14 01:44:50 +00:00
Automerger Merge Worker
f569300fc4 Merge "Pass operationId to LSS, add HAT to KeyStore" into rvc-dev am: 6b7b2300c4 am: 02e3f9ebc9 am: 8cb942f45d am: 95ec6c02cf
Change-Id: I7a76715835071790b182b1542651fec572d7d81c
2020-03-14 00:55:55 +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
TreeHugger Robot
0eb1c1ba21 Merge "Update GeomagneticField parameters specified by WMM-2015" 2020-03-13 19:30:55 +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
karthik bharadwaj
49f22352d3 Update GeomagneticField parameters specified by WMM-2015
Bug: 149865957
Test: atest CtsHardwareTestCases:GeomagneticFieldTest (passes)
Change-Id: I98423f6cceb0026289c10d4adc8b8675f4b41bda
2020-03-12 14:04:20 -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
Philip P. Moltmann
8a06c2870e 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
2020-03-11 23:52:32 +00:00
Automerger Merge Worker
4e4cc3c2c5 Merge "lazy load enrollment application UID in VIMS" into rvc-dev am: fa47464c2b am: b17d19f595 am: ffc201820e am: ba6ce056e8
Change-Id: Ia2dcab5630fa021a822a084bf41f5cdd144f1ddb
2020-03-11 21:18:57 +00:00
Nicholas Ambur
fa47464c2b Merge "lazy load enrollment application UID in VIMS" into rvc-dev 2020-03-11 17:47:56 +00:00
Automerger Merge Worker
43cd3aeec0 Merge "Rename LightsManager.setLights to requestLights" into rvc-dev am: a9caa7d016 am: d58ed3659e am: fd4e71b01c am: 071b48fd2f
Change-Id: I60dab7077710eaee5574579c294cdf52ac74f713
2020-03-11 10:24:52 +00:00
TreeHugger Robot
a9caa7d016 Merge "Rename LightsManager.setLights to requestLights" into rvc-dev 2020-03-11 09:06:01 +00:00
Automerger Merge Worker
e240559de1 Merge "Merge "Camera: Add new hidden API for camera open/close callback" into rvc-dev am: abb2d5847d am: 4b69a26adc am: 1e4cf075cf" into rvc-qpr-dev-plus-aosp am: d16202e355
Change-Id: Ifd82a430aebe92c152d28a7d9d7939a847d3a07c
2020-03-11 00:12:39 +00:00
TreeHugger Robot
abb2d5847d Merge "Camera: Add new hidden API for camera open/close callback" into rvc-dev 2020-03-10 23:27:46 +00:00
Nicholas Ambur
c04b49fd2e lazy load enrollment application UID in VIMS
Enrollment application services are only avaiable for package manager
to query after the system on-boot-completed status. Lazy loading the
KeyphraseEnrollmentInfo class until first client access ensures all
packages are loaded prior to query.

Bug: 151095585
Test: erase userdata and boot device; ensure no enrollment application
crashes when boot device for first time; dump enrollment database with
`dumpsys voiceinteraction` and confirm model is present in database.

Change-Id: I6009d5834fff8848a17e5edef9d39395b1586318
2020-03-10 20:24:48 +00:00
Shuzhen Wang
6d76d3b1f6 Camera: Add new hidden API for camera open/close callback
The hidden API is used by SystemUI process to adjust the system UI based
on when a certain camera is opened or closed.

Test: Manually observe callbacks in SystemUI when running camera CTS
Bug: 150540299
Change-Id: I04cae782d96f0e32be8ef588dcd328f84b32887a
2020-03-10 09:35:50 -07:00
Robin Lee
e51b6e1cff Rename LightsManager.setLights to requestLights
Per API feedback on clarifying that while we strive our best to provide
excellent service to our customers, we cannot fulfil all of their orders
at once.

Fix: 150332011
Change-Id: Iac156ea5cb312cce16fbaf10fc1f8bcd6743d377
2020-03-10 11:29:25 +01:00
TreeHugger Robot
1a7f6ce763 Merge "Camera: improve switchToOffline document" 2020-03-09 20:55:38 +00:00
David Zeuthen
d50b281a32 Identity Credential: Apply changes identified in API review.
Bug: 150817385
Test: atest android.security.identity.cts
Merged-In: I4e005fa7a81ef363a80278224bb706441dad2241
Change-Id: I25e09df09e8a56dc7f639b2aa4636af0166d5050
2020-03-09 15:32:48 -04:00
Yin-Chia Yeh
f58ac11e11 Camera: improve switchToOffline document
Test: build
Bug: 150865676
Change-Id: I0f487970ac0613dbc2929c081a796908ce9da6f9
2020-03-09 12:28:59 -07:00
Automerger Merge Worker
3bf24e31aa Merge "Identity Credential: Apply changes identified in API review." am: e3643bcb6e am: 3ff7ba66fc am: bb5ff34735 am: e628c7f253 am: edc0806cdf
Change-Id: I2a72a53bf23b59e575b4f3bc8b688503e580cff1
2020-03-07 23:35:00 +00:00
Automerger Merge Worker
bb5ff34735 Merge "Identity Credential: Apply changes identified in API review." am: e3643bcb6e am: 3ff7ba66fc
Change-Id: I8c6962883d28ff9d6dc1828d556800cbba118ee6
2020-03-07 13:16:49 +00:00
Treehugger Robot
e3643bcb6e Merge "Identity Credential: Apply changes identified in API review." 2020-03-07 12:56:05 +00:00
Ilya Matyukhin
e4c6b83572 Take in a Surface then convert to a NativeHandle
We need to pass Surface objects to HIDL, but the Surface type is
currently not supported in HIDL. The closest thing to a Surface in HIDL
is a NativeHandle.

The initial plan was to convert Surface objects to NativeHandle objects
in framework, before passing them to HIDL. Unfortunately, there is no
canonical way to perform the conversion using just the framework APIs.
The only viable approach is to use the NDK conversion functions through
the JNI.

Bug: 150966034
Test: Manual, with a biometrics.face@1.1 HAL
Change-Id: I24f775b576fcab7c0260537d6f9cdc35a4794436
2020-03-06 18:21:36 -08:00
David Zeuthen
7c7d90b8c6 Identity Credential: Apply changes identified in API review.
Bug: 150817385
Test: atest android.security.identity.cts
Change-Id: I4e005fa7a81ef363a80278224bb706441dad2241
2020-03-06 15:49:57 -05:00
Ytai Ben-Tsvi
d5065ba8a5 Pass models to soundtrigger middleware with shared memory
This both avoids the need to make extra copied for the models and
allows exceeding the parcel size limits.

Bug: 150100907
Test: Manual testing of basic sound trigger functionality
Change-Id: Ic4c5c1a9de3e29b1b6fa82442254e1afe7daec19
2020-02-28 13:01:24 -08:00
Nicholas Ambur
a163d079d8 Merge "add enrollment application UID tracking" into rvc-dev 2020-02-27 18:01:24 +00:00
Jayant Chowdhary
d7cc17c164 camera2: Add documentation for getConcurrentStreamingCameraIds specifying multi-process use.
Add documentation specifying that camera devices advertised by
getConcurrentStreamingCameraIds() refer to those devices which can be
configured concurrently by the same client application.

Bug: 150225538

Test: m offline-sdk-docs

Change-Id: I4997f10ca73de45fd58d22261c7456402d761a57
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-02-26 22:44:42 +00:00
Nicholas Ambur
679e7d5beb add enrollment application UID tracking
KeyphraseEnrollmentInfo class now keeps track of the different enrollment
application UIDs. It can be queries whether a given UID matches an
existing enrollment application.

Bug: 148159858
Test: build and test that enrollment application can still enroll models
with new UID check

Merged-In: Ib60ebb259e4e3ddaa07da15e2cf55fd6099ad4d0
Change-Id: Ib60ebb259e4e3ddaa07da15e2cf55fd6099ad4d0
(cherry picked from commit 84b798555d)
2020-02-25 01:17:06 +00:00
Kevin Chyn
df244da79a Merge changes from topic "biometric-and-credential"
* changes:
  Always start AuthController
  Clean up biometric system server
2020-02-21 21:37:14 +00:00
Marin Shalamanov
7f66d5f1b3 Merge "Use Integer instead of int in DeviceProductInfo" 2020-02-21 15:59:12 +00:00
Marin Shalamanov
f5d6ae6c72 Use Integer instead of int in DeviceProductInfo
Test: m
Change-Id: I9acb25aebd0fd3e2fec248ce630d0455d6132755
2020-02-21 13:01:32 +01:00
Haining Chen
6c839dd1c6 Merge "Implementations of biometric contraints for weak and convenience tiers (1) 24 hours fallback (2) 4 hours idle timeout" 2020-02-20 21:05:24 +00:00