This CL adds the necessary plumbing, but not implementation, to do the
following:
biometrics.fingerprint@2.2:
- enroll_2_2(..., handle windowId)
- authenticate_2_2(..., handle windowId)
biometrics.face@1.1:
- enroll_1_1(..., handle windowId)
- enrollRemotely(...)
Bug: 148493694
Bug: 145562442
Test: enrolled and authenticated with Keyguard and BiometricPrompt
Test: compiled face@1.0 HAL as face@1.1 and made sure it works
Change-Id: I22e25df4d880d16d21a940e7dff6d233b64743d1
At the request of Android API council, this commit adds the
@RequirePermission annotation to the @SystemApi constant
BiometricManager.Authenticators#BIOMETRIC_CONVENIENCE.
Test: atest com.android.server.biometrics
Fixes: 148596159
Change-Id: I9ec3fdf70b0abde601301012c8940116462fcc38
Replace the existing usages of now-deprecated API
WindowManager.getDefaultDisplay() with WindowMetrics or
Context.getDisplay() in frameworks/base.
Bug: 128338354
Test: Build, auto test
Change-Id: I02d38a022c5e0e6e9d699f03d35b65d6c8126da9
Minor fixes along the offline processing code path
that enable the asynchronous public API.
Bug: 135142453
Test: Camera CTS
Change-Id: I1d9cc78b14cc3fa15c825fa80dbdf8c3060ae73a
This reverts commit 21de9eebb5.
Bug: 135951924
Test: Compile
Reason for revert: Uploaded CL to fix test failure
Change-Id: I29e2937406aaea92a5e24c06819ea22bf9c8b58d
Also adds annotation to require the feature.
Bug: 147677675
Test: Compile and flash, verify Context Hub Service is not found if the
feature flag is not defined
Change-Id: Ia718c76ec4308274dc66cfe975e762997e3539ca
* changes:
Add LightsManager implementation to LightsService
Add Lights AIDL HAL support to LightsService
Rename Light to LogicalLight to avoid namespace conflicts when adding AIDL HAL lights support.
Added ability for AlwaysOnHotwordDetector to support async enrollment
performed outside of support detected through KeyphraseEnrollmentInfo.
Bug: 147159435
Test: tested enrollment and availability is updated when enrolling
outside of KeyphraseEnrollmentInfo
Change-Id: Ia5d71e90c062ac100d4c6df760acf0d41920853e
Exposes a set of @SystemApi's allowing the active VoiceInteractionService
to enroll voice models.
Bug: 147159435
Test: manual tested enrollment and unenrollment via bundled
hotwordenrollment application and test app.
Change-Id: I94ef3550df236486401a0a6f9de9d874b9bf9b46
Includes backend code to support LightsManager binder calls and route
them to the HALs.
Bug: 144979010
Bug: 144978691
Bug: 142715294
Fix: 142230898
Test: atest LightsManagerTest
Test: atest LightsServiceTest
Change-Id: I2db7f2caa432cd1e2389ea5ca6544200ada18675
Exempt-From-Owner-Approval: Reviewed in OOO OWNERS's stead.
Add protobuf dumpsys of connmetrics. Primarily used by incident service
to capture an incident report proto.
Command to invoke (any of the following after lunch and env setup):
$ adb shell dumpsys contexthub --proto
$ adb shell incident 3051
$ incident_report 3051
Bug: 146086599
Test: $ incident_report 3051, then compare the content with "dumpsys
contexthub"
Change-Id: I6c2ed76a1a17f9bfc60d07e68cd66d5eea00e9b0
This reverts commit 4042897855.
Bug: 135951924
Reason for revert:
Breaks PermissionPolicyTest.platformPermissionPolicyIsUnaltered
in CtsPermission2TestCases
Change-Id: Ie48fca6a0c54e281aae0db6cd9652b49cebbaa5c
Since not all Context Hub applications are location-related, the
use of the LOCATION_HARDWARE permission to control access to the Context Hub
System APIs can be misleading. Create a new permission to access it, and
adds the logic to enforce the permission.
Also clarifies usage of PendingIntent ContextHubClient.
Bug: 135951924
Test: Compile and flash
Change-Id: I5f22db7e57ef4a6c3718acb38c4f313d6a04839f
Camera clients of devices that support offline processing
capability must be able to check for offline support of
individual surfaces registered within a give capture session.
Bug: 135142453
Test: Camera CTS
Change-Id: Ia5b6ec31a3540925b92761c9ac1f2407214cbcf7
Adds new hinge angle sensor type that will expose the angle, in degrees,
between two displays on a device.
Bug: 144139857
Test: Make SDK docs and verify updated wording is present
Change-Id: I20e93bc788f06c4dd48d481c368da01b30cc8d4d