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
Intended for backward compatibility support for camera apps that do
not handle multi-window scenarios like inset portrait or foldables
with dynamic screen changes.
Test: New CTS tests pass
Bug: 134631897
Change-Id: I1cc85d4413e6af2b490b86916933a5cd7ce84a6a
The Identity Credential APIs provides an interface to a secure store
for user identity documents. These APIs are deliberately fairly
general and abstract. To the extent possible, specification of the
message formats and semantics of communication with credential
verification devices and Issuing Authorities (IAs) is out of scope for
these APIs.
The Identity Credential APIs rely on user authentication to protect
data elements in credentials which is implemented through
auth-tokens. This CL contains changes to CryptoObject to allow this.
Bug: 111446262
Test: CtsIdentityTestCases
Change-Id: I48f21a561b762d86c9ca8d229962782572412f47
Offline camera sessions allow clients to migrate still
ongoing capture requests to offline processing mode.
When offline mode is enabled, the initial active capture
session along with the open camera device can be closed
and further re-used while offline processing is still
ongoing.
Split and re-use parts of camera device implementation
along with its current state for offline mode.
Bug: 135142453
Test: Camera CTS
Change-Id: I5eb4055e2af4265ece0fb7271bdf5f4cf2d5aaf3
This CL exposes DisplayManager.getRequestedMinimalPostProcessing
for testing purposes. The call is propagated to
LogicalDisplay.getRequestedMinimalPostProcessingLocked().
Bug: 139369866
Test: m, flash, atest
CtsWindowManagerDeviceTestCases:MinimalPostProcessingTests
Change-Id: I7736d6e7a5c97d663111d10efa66d6d38a7e70bd
USB Gadget V1.1 HAL supports USB port reset interface.
Bug: 138702846
Test: build pass, function works
Change-Id: Ia4b3b85bb0ce74307599832f849d3e23c2546187
This unified the exception handling of SoundTrigger and
SoundTriggerModule and adds support for some ServiceSepcificExceptions
that may occur.
Change-Id: I018c7b249058758f0f3b5af34ee06a2396ecb6a7
Bug: 147435580
When a launched application doesn't occupy the entire screen space,
there is a mismatch between the configuration of the process and the
configuration of activities. This leads to compatibility issues with
apps that don't expect this, read display metrics from Application
resources and try to apply them in activities.
The platform may apply a compatibility mode, in which the process
configuration will match the config of the top running activity. This
means that the process configuration may change and runtime and
result in display adjustments that are different from the default
values. This CL propagates resource configuration updates even for
default display to make sure that the config changes are reflected
for non-activity contexts.
Test: CtsWindowManagerDeviceTestCases:AppConfigurationTests
Change-Id: I91cadc83a82a3be8c8dee810bbd1aa97cbe4e97f