We can only migrate existing gesture monitors to spy windows if we allow
pilfering from these spy windows. Expose the pilferPointers API so that
other processes can pilfer from arbitrary input windows.
The pilferPointers API is guarded with the MONITOR_INPUT signature
permission.
Bug: 257977069
Test: Build
Change-Id: Ice43ed420502ce3b5e5d37d9ac9e810a51ed07bc
Test: atest com.android.server.biometrics
Test: atest com.android.server.locksettings
Test: tested on hidl fingerprint device
Test: tested on hidl face device
Test: tested on aidl fingerprint/face device with various different combinations of strengths.
The device tested consisted of:
* Locking out device in keyguard, resetting, ensuring it works as expected
* Locking out device in biometric prompt, resetting, ensuring it works as expected
for work profile & default profile.
Bug: 244355277
Change-Id: I849dfc13da17a49ec9b20fa58390707e1f8109ab
Enable capture process progress callback that can be
triggered by the extension implementation
Bug: 255536242
Test: Camera CTS
Change-Id: I6af4f189e08f07013b80fbf4de579da0ebaf3d7f
DAB entry table was intialized with null if the DAB entry table
input in module properties constructor is empty map, which means
DAB is not supported.
Bug: 255843881
Test: atest RadioManagerTest
Change-Id: I3801e132c3448f9c474d53febb93b2e1f33cba5b
For near-field file-based audio transfer and
explicit user audio interaction.
Bug: 253416313
Bug: 235618473
Test: m -j
Change-Id: I4379f395496f0c49936798f74222a767ed79385c
Unit tests for methods related to discribeContents, parcel, and
creator of classes in radio package were added. The issue that
secondary ids in program selector should not be sorted due to
no comparator implemented was also fixed.
Bug: 249602599
Test: atest android.hardware.radio.tests.unittests
Change-Id: I97b5efe244f1ae0fb37e3e4dd312f4bef6e75d04
* changes:
Add hidden API to query the bluetooth address of an InputDevice
Native input manager: Add default initializers for locked members
Introduce monitoring behavior changes for USI devices (3/n)
Notify the policy when a stylus gesture starts
Since revealing the bluetooth address of an input device can reveal
whether bluetooth is enabled, we require the BLUETOOTH permission for
this API.
This also means we cannot send the bluetooth address to apps using the
InputDevice class. We add an IInputManager method to query the address
instead that performs the permission check.
Since we are not using the Java InputDevice class to store the address,
we must cache the vector of last-reported InputDeviceInfos in
NativeInputManager.
DD: go/inputdevice-battery-notifications
Bug: 243005009
Test: manual
Change-Id: I560cb170ab7008314821e5150caf4868efb5d8d5
@EnforcePermission
Migrates all existing java methods annotated with @EnforcePermission
such that they call the super.<methodName>_enforcePermission
method provided by PermissionEnforcer.
29 call sites in framework-minus-apex
371 call sites in services.core.unboosted
Bug: 234083358
Test: TH
Change-Id: Iecab9b73644c911aa6d2a9a83fbab7dbb79f529b
The new API can be used to speed up applying certain capture request
settings. Auto-generated files from changes in metadata_definitions.xml
Bug: 239822823
Test: Successful build
Change-Id: Idaf38603582e6ce78252d55edb39d56b02b248bb
Add an additional dimension to DisplayModeDirector for render frame rate
in addition to the display physical refresh rate. DisplayModeDirector aggregates the requests for both render frame rates and physical refresh rates, and sets the policy to SurfaceFlinger.
SurfaceFlinger will select the display refresh rate based on the physical refresh rate range, and schedule applications based on the render frame rate range.
This is a change over the previous logic where the render frame rate and
physical refresh rate were always the same for SurfaceFlinger.
Test: atest LocalDisplayAdapterTest DisplayModeDirectorTest
Bug: 241460058
Change-Id: I9563257c7268a731a3919ffa368f7b8ae777eb99
There's an unsafe use of a @Nullable reference in FingerprintManager.
Add null check.
Bug: 254465749
Test: Manually confirm device doesn't crash during boot.
Change-Id: I26da2e9a2af06e110367fc6f1127df4fddbcc678
A subsequent change will actually move the files to the other git
project.
Bug: 243194720
Test: presubmit
Change-Id: If126bb68f74852528c4da8df79831b49b5129983
Test: Ran CtsCameraTestCases
Test: Ran new VTS test for color space reporting
Test: Created app to test display P3 camera, switching between color spaces
Bug: 238359088
Change-Id: I5c74ea438970cbe55f93b925a6744f4343bc545a
Added a watchdog to kill hung operations within the biometric scheduler.
The watchdog will cancel/remove all pending and the current running
operation if it is not finished with 10 seconds.
Test: Manual
Test: atest BiometricSchedulerTest
Fixes: 243445002
Change-Id: I877fec8d674be204b922088d072afe00f99b6635
The callback of on-close listener in program list was moved outside
of the lock in porgram list to avoid the deadlock between
program list and tuner adpater.
Bug: 254505565
Test: atest android.radio.cts.RadioTunerTest
Change-Id: I9c668c63a578ba04b52747e0ef96e9e67cc00b72
Allow extension vendors to specify the camera capture session
type.
Bug: 254351814
Test: Camera CTS
Change-Id: I36d70f6f168cd51f19ea517a98428c02a96842cc