Allow the caller to get authenticator IDs for a specific UID. If
that UID is not the caller UID the USE_BIOMETRIC_INTERNAL permission
is required; this is enforced by AuthService.
Test: aosp/1686345
Bug: 163866361
Change-Id: I0eef28ecefb85f1c10a73a354d08c38087d59814
Add FLAG to registerDisplayListener method to receive
brightness-specific changes.
getBrightnessInfo() method added to
android.view.Display to get brightness value, min, max
and highBrightnessMode status.
Bug: 168210311
Bug: 171023136
Test: atest com.android.server.display
Change-Id: I581e86e039cc7cf1bbca4cf7af03daa41dbddfe0
clients of fingerprint sensor state changes
Implements FingerprintStateCallback class to receive notifications of
changes in fingerprint state, and updates ServiceProvider method
signatures and Fingerprint21 accordingly to use this callback type for
authentication, enrollment, and other side fps events. Also defines
FingerprintStateListener class to forward state changes in
fingerprint-related events from FingerprintService to the
SideFpsEventHandler, which defines logic for interactions
between power button state and side fps state.
Test: adb shell dumpsys fingerprint
Bug: 183997671
Change-Id: I9a44e2f31648590c0d0d4d065b68c39c9f204051
This CL adds functions to fingerprint's and face's AidlConversionUtils
that map HAL-level constants to the framework constants. This makes the
layers independent from the numerical values of the constants,
which makes it easier to add new constants in the future.
Bug: 181358178
Test: atest CtsBiometricsTestCases
Change-Id: Ia9864eb7dae7933cc02b2019117bc590d3f30184
clients of fingerprint sensor state changes
Implements FingerprintStateCallback class to receive notifications of
changes in fingerprint state, and updates ServiceProvider method
signatures and Fingerprint21 accordingly to use this callback type for
authentication, enrollment, and other side fps events. Also defines
FingerprintStateListener class to forward state changes in
fingerprint-related events from FingerprintService to the
SideFpsEventHandler, which defines logic for PhoneWindowManager to use
in interactions between power button state and side fps state.
Test: adb shell dumpsys fingerprint
Bug: 183997671
Change-Id: I3147d41074589fe5a47434b96d10e78182ab3747
Adds logging to the framework for new authentication and biometric atoms
introduced as part of ag/13856328.
Test: Manually trigger each case and verify log statements are called.
Bug: 185136248
Change-Id: I2783e4738eac36f34b073107afbd67ce1df4b0fb
Makes the following changes to the BiometricManager strings API:
- Move string getter methods to a static nested StringProvider class
- Add a BiometricManager method to get a StringProvider instance
- Document when null may be returned and how (not) to interpret it
Test: atest BiometricManagerTest
Test: Manually logged strings in biometric test app
Bug: 182793560
Change-Id: I27862bd5f67ea291f166a7ac91b03c7c432da64f
Add TestApi LightsManager#openSession(int priority) to allow sorting of
sessions by descending priority. Assuming priority 0 for public API
LightsManager#openSession().
Bug: 185877106
Test: atest LightsManagerTest
Change-Id: I4a2d9f8982119b47cbcbf77ff43377fecb343112
Create a dedicated api in the sensor privacy service to check if the
toggle is supported.
Also address some other api feedback and also rename the older mute
feature to all-sensors so that there are no longer overloaded methods
with different functions.
Test: Checkbuild, CtsSensorPrivacyTestCases, Manual
Fixes: 181681375
Change-Id: I655544846310e864ec8479ce8f93aee2860824f7
Camera devices meeting performance class requirement will not advertise
JPEG sizes smaller than 1080p.
Test: Build doc
Bug: 184687664
Change-Id: If9a76cb7f80c01a43cd5ba9e91c1f543b81d4d54
This string is used to refer to configuration settings and when
preserving the values in permanent storage.
Bug: 184813910
Test: atest HdmiControlManagerTest HdmiCecConfigTest
Change-Id: I9c24b627f71b808533ef31d0c371ff7301bc757e
CryptoObject still called the legacy AndroidKeystoreProvider which did
not return the correct operation handle for per operation auth bound
keys.
Bug: 184804041
Bug: 185181377
Test: CtsVerifier->Security->Biometric Tests->2a Strong Biometrics +
Crypto
Merged-In: I0bceff0425e7ef32c394f33deda3c78f729c0c6c
Change-Id: I0bceff0425e7ef32c394f33deda3c78f729c0c6c
This addresses the ambiguity when a physical camera backs more than one
logical camera, and only one of the logical cameras support
multi-resolution streams.
Address couple of TODOs on handling interactions between multiResolution
streams and ultra high resolution camera.
Test: Camera CTS, VTS
Bug: 184663916
Change-Id: I370f35bc8e25649134e1a1ba38db0f3ece3b3f1e
Fixes: 184965821
Test: On various devices:
adb shell settings put secure biometric_app_enabled 0/1
adb shell settings put secure biometric_keyguard_enabled 0/1
Test: On face-only devices that shipped before S:
Existing settings (settings > security > face unlock) are not
affected and still work.
Newly added secure settings do not take effect (as expected)
Test: atest com.android.server.biometrics
Test: atest KeyguardUpdateMonitorTest
Change-Id: Ie0fda46facefd3ecfbbce6ef769d6d8e9fdfb09b
Bug: 185207500
Test: Build, locally tested a simple app that calls
SensorManager.registerListener() and observed that the log
CompatibilityChangeReporter: Compat change id reported: 136069189
is no longer printed out in logcat.
Change-Id: I8ef197b650bb07638300045d42de96ba3bcd20e2
Add hidden APIs to expose the supported frequency range and maximum
amplitudes at each frequency for the device in Vibrator.java.
Also add a hidden method hasFrequencyControl().
Bug: 167947076
Test: VibratorTest
Change-Id: If2d5f8f0aa92223b4a342893f5fd3a1668dfcff1