Makes the following changes to help messages that will be shown during
traffic light face enrollment:
- Swaps messages for FACE_ACQUIRED_TOO_HIGH and FACE_ACQUIRED_TOO_LOW.
- Changes FACE_ACQUIRED_TILT_TOO_EXTREME message from "turn" to "tilt".
Test: Manually tested traffic light enrollment.
Bug: 179044580
Change-Id: I729cc1ac1909f3181b88d869358a4e9deb6761fd
Rename the apis to be more consistent.
Also expose to test api.
Have the aosp mark that it supports the toggle features by default.
Test: atest CtsSensorPrivacyTestCases
Bug: 162549680
Change-Id: Ib38c16adfc5cec931347e1a1891618983d78248b
1) Move re-enrollment logic to its own class
2) Show / clear the notification when appropriate for face AIDL
Fixes: 180652977
Test: manual
Change-Id: I85b386be132974cda6e6e973b244f3cb8300c291
Revert "Adding aidl file to share deviceProductInfo constants bw..."
Revert "Changes in tvsystem/ DeviceProductInfo to mirror changes..."
Revert "Adding new CTS test for the API display#getDeviceProductInfo"
Revert submission 13552775-expose DisplayInfo.deviceProductInfo
Reason for revert: broken test android.compat.sjp.cts.StrictJavaPackagesTest#testBootClassPathAndSystemServerClasspath_nonDuplicateClasses
on git_sc-dev on cf_x86_64_phone-userdebug at 7162420
Bug: 181021245
Reverted Changes:
Id6767127f:Adding aidl file to share deviceProductInfo consta...
I6959d2829:Adding public API to expose DisplayInfo.deviceProd...
I720dbfe84:Adding new CTS test for the API display#getDeviceP...
I6c726e12c:Changes in tvsystem/ DeviceProductInfo to mirror c...
Change-Id: I4c8545c651d1e399ed3ca5061d1ef5f526c3929a
As UsbAccessory#getVersion is nullable, a NPE can occur if the manufacturer/model match.
Bug: 172002066
Bug: 178227159
Bug: 180055624
Change-Id: I751a01e3d182e01e5a9dbc011b60535997f9bc15
(cherry picked from commit 25dca30e2f)
Update PowerManagerService to track and update the power state of
DisplayGroups individually.
This allows for different Displays to be on or off instead of needing to
all share the same power state.
Bug: 138328918
Test: atest FrameworksServicesTests:PowerManagerServiceTest
Change-Id: Ia32039415863ba745c7de2fba55bf25e68de4d15
Revert submission 13593269
Reason for revert: Bug: 180689674
Reverted Changes:
I59f6e607f:Update RemovalClient to support new biometric AIDL...
I3fdb3fe0b:Try to ensure tests run sequentially
Change-Id: I939172f2961f3f2c9f8eddd59261f75552eeb31f
Revert submission 13593269
Reason for revert: Bug: 180689674
Reverted Changes:
I59f6e607f:Update RemovalClient to support new biometric AIDL...
I3fdb3fe0b:Try to ensure tests run sequentially
Change-Id: Ia9c02759db7238536e21dd05f8e247a91e9ac5aa
Changing class DeviceProductInfo to public class with hidden ctor to expose via
Display#getDeviceProductInfo. Removing the relative address and changing
to connectionToSinkType.
Bug: 179775994
Test: atest CtsDisplayTestCases
Change-Id: I6959d2829f7ff9ba609f9e4e3cb7b52e0f555c3f
Enable consistent Jpeg output support for all present camera
extensions. Extensions with exclusive YUV_420 support will
include an extra SW encoding pass before the processed results
can be queued back to the client surface.
Bug: 179818844
Test: Camera CTS
Change-Id: I461e54024f150925ca1a5a57ff7b327712ce0e96
Previous change ag/13413165 stopped the framework from retrieving
authenticatorId when the current user is already the target user.
However, this happens immediately after enrollment, since enroll
and getAuthenticatorId are separate operations. So, add a way to
retrieve authenticatorId only when necessary.
Fixes: 179737483
Bug: 178018968
Test: manual
Change-Id: I71673fc672c60733616634a2fdf3153a3b2d02e1
Adds the following behavior:
1) Ensures nanoapp messages aren't delivered to host apps unless they
hold the required permissions
2) Ensures that host apps continue to hold the required permissions set
Also pipes the package name for callback clients since their package
name can't be determined on the other side of the binder.
Bug: 166846988
Test: Disable permissions on host client and verify that nanoapp and
host lose communication after ~1 minute
Test: Re-enable permissions on host client and verify host receives
appropriate callback
Change-Id: I14af504f0b230f6ce15852f16fc8b174fdd52252
* changes:
Throw SecurityException regarding sampling rates.
Add support for retrieving the Debuggable flag.
Add HIGH_SAMPLING_RATE_SENSORS permission.
Asynchronous operations that are performed in close() (such as
cleanupInternalState()) should complete before close() finishes.
Otherwise, we risk subsequent tests starting and causing racey
conditions while cleanup has not finished yet.
Fixes: 180192766
Test: atest CtsBiometricsTestCases
Test: atest com.android.server.biometrics
Change-Id: I3fdb3fe0be59e826d0c14e14a2590ccdde568774
The new AIDL interfaces accept a list of IDs to remove. Note that
the new interfaces explicitly do NOT support using "remove(0)"
to remove all enrollments.
Fixes: 179338634
Test: atest CtsBiometricsTestCases
Test: atest com.android.server.biometrics
Change-Id: I59f6e607ff876541f049ac70d06046815eba7632