- Oct 23, 2023
-
-
Roshan Pius authored
This reverts commit 12058cb9. Reason for revert: Fails telephony tests Bug: 303286040 Test: N/A Change-Id: I07c79f6d07ac8f7394698b8144e9310be2f3f1fe
-
- Oct 20, 2023
-
-
Roshan Pius authored
Bug: 303286040 Test: adb shell svc nfc enable Change-Id: I678d01c7c86defb7eb071d66cb2aede4983ab506
-
- Oct 19, 2023
-
-
Roshan Pius authored
Since NFC is becoming a mainline module, the existing CameraServiceProxy usage of raw INfcAdapter aidl interface will not be mainline compatible. So, create a system api to formalize this API usage. This has also been requested by the DCK team previously. Also, preserve the existing INfcAdapter usage behind the flag by including INfcAdapter file directly inside services/core. Bug: 303286040 Bug: 290843937 Test: atest CtsNfcTestCases Change-Id: I09b9bc58bd4f7cea705a0a17268448dde2bfef0a
-
Shaquille Johnson authored
-
Wilson Wu authored
-
Ahmad Khalil authored
-
Wilson Wu authored
Add view owner to cover the view related coretests. Bug: 303742628 Test: presubmit Change-Id: Ic0363487c70e543a13f52cd6f48eb5b8d107816a
-
Jorim Jaggi authored
-
Treehugger Robot authored
-
- Oct 18, 2023
-
-
Eric Biggers authored
-
Eric Biggers authored
-
Eric Biggers authored
* changes: LockSettingsService: pass SyntheticPassword to unlockKeystore() LockSettingsService: pass SyntheticPassword to setUserKeyProtection() LockSettingsService: define string constants for migration keys
-
James Willcox authored
* changes: Face auth not eligible if camera in use Make face auth ineligible when camera access is disabled
-
Peiyong Lin authored
This reverts commit b50ce8c9. Reason for revert: Revert the revert to reland the patch. Original patch was reverted due to rss memory regression. Attempt to reland the patch with a fix, the original regression seems to be caused by usage of enum. Original commit message: """ Load native GLES driver when specified. Since ANGLE and native GLES drivers can coexist, when native is specified, the loader must load the native GLES drivers specified in ro.hardware.egl. This patch passes this information down to the native graphics environment so that the EGL loader can properly check. Bug: b/283858001 Test: atest CtsAngleDeveloperOptionHostTest -c with ANGLE being default Test: atest CtsAngleDeveloperOptionHostTest -c with native being default """ Bug: b/283858001 Test: atest CtsAngleDeveloperOptionHostTest -c with ANGLE being default Test: atest CtsAngleDeveloperOptionHostTest -c with native being default Change-Id: I9a01abe2f652a5dcfa5148badde8d7aa43c1a151 Merged-In: I9a01abe2f652a5dcfa5148badde8d7aa43c1a151
-
Michael Wachenschwanz authored
-
Treehugger Robot authored
-
Ahaan Ugale authored
Change-Id: I2877baced8ebfa779c041319dc7b43aa5f411ec2
-
Treehugger Robot authored
-
Zach Lee authored
Change-Id: I57241df8ad477084d8c4b8b501a752312a32ad44
-
Treehugger Robot authored
-
Diya Bera authored
Test: atest PreAuthInfoTest Bug: 287422904 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e6f6fc99b0d3beeac22e8d3106c4eaa5c611ebcf) Merged-In: Ie06600fa9c0ba58a058dac24c7fe0bda226e9aba Change-Id: Ie06600fa9c0ba58a058dac24c7fe0bda226e9aba
-
Diya Bera authored
Test: Disable camera access in Settings, Open biometric prompt test app and try to authenticate; Fingerprint authentication should work normally Bug: 277854521 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c35a712ab4308e0281c8b2a7adfae8de42d28a6a) Merged-In: I19556fa7f861f2f7655e792b1da9d74d3cf2259e Change-Id: I19556fa7f861f2f7655e792b1da9d74d3cf2259e
-
Michael Wachenschwanz authored
mLastTopTime was initialized as 0, meaning early on in the boot OomAdjuster would mistakenly think apps had recently been in the TOP state. Also, changed mLastProviderTime even though it had some logic (now removed) to avoid the mistake. Test: atest MockingOomAdjustertest (ideally immediatly after boot) Fixes: 300106850 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1e35d99e4a8c394fc8ea11c8e4ed797c85a2e769) Merged-In: I399d34e1a9a19b7211413e51099721ea49efa7ad Change-Id: I399d34e1a9a19b7211413e51099721ea49efa7ad
-
Ian Baker authored
-
Ian Baker authored
This resolves automerge conflicts in aosp/2745223 Test: atest com.android.mediaframeworktest.unit.MediaMetadataRetrieverTest Bug: 298965955 Merged-In: I7e29732e1e77e37cfb491521d14d2f3eb07deb36 Merged-In: I81d512e9b21b64a2cca0450cb85c52d8a2125865 Change-Id: I8cb92fd35b3633cf458f8692173124fd1666d6b5
-
Shaquille Johnson authored
The javadocs mention that the functions getMac(), getKeyAgreement, getCipher() can return nullable but this isn't show in the API. Updating these to reflect that Bug: 304697130 Test: atest FrameworksCoreTests Change-Id: Icda5a087775174517abca7b4d1078a6ea0719170
-
wumin3 authored
// exception caused by concurrent access of mProcStatesCache java.lang.ArrayIndexOutOfBoundsException: src.length=95 srcPos=-39 dst.length=95 dstPos=-38 length=93 at java.lang.System.arraycopy(System.java:637) at com.android.internal.util.GrowingArrayUtils.insert(GrowingArrayUtils.java:155) at android.util.SparseArray.put(SparseArray.java:280) at com.android.server.vibrator.VibrationSettings$UidObserver.onUidStateChanged(VibrationSettings.java:736) at com.android.server.am.UidObserverController.dispatchUidsChangedForObserver(UidObserverController.java:332) at com.android.server.am.UidObserverController.dispatchUidsChanged(UidObserverController.java:207) at com.android.server.am.UidObserverController$$ExternalSyntheticLambda0.run(Unknown Source:2) at android.os.Handler.handleCallback(Handler.java:942) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:211) at android.os.Looper.loop(Looper.java:300) at android.os.HandlerThread.run(HandlerThread.java:67) at com.android.server.ServiceThread.run(ServiceThread.java:46) at com.android.server.UiThread.run(UiThread.java:45) Change-Id: Ie81c7deb617123ad427f8970d66d5fa0da3e723d Signed-off-by:
wumin3 <wumin3@xiaomi.com>
-
Treehugger Robot authored
-
Jayachandran C authored
-
- Oct 17, 2023
-
-
Peiyong Lin authored
This reverts commit a19c130b. Reason for revert: culprit of boot memory regression Original commit message: """ Load native GLES driver when specified. Since ANGLE and native GLES drivers can coexist, when native is specified, the loader must load the native GLES drivers specified in ro.hardware.egl. This patch passes this information down to the native graphics environment so that the EGL loader can properly check. Bug: b/283858001 Test: atest CtsAngleDeveloperOptionHostTest -c with ANGLE being default Test: atest CtsAngleDeveloperOptionHostTest -c with native being default """ Bug: b/283858001 Bug: b/289956225 Test: forrest test Change-Id: Idb66f290801de1ef777c909be7b582703fe7e144 Merged-In: Idb66f290801de1ef777c909be7b582703fe7e144
-
Treehugger Robot authored
-
Peiyong Lin authored
Since ANGLE and native GLES drivers can coexist, when native is specified, the loader must load the native GLES drivers specified in ro.hardware.egl. This patch passes this information down to the native graphics environment so that the EGL loader can properly check. Bug: b/283858001 Test: atest CtsAngleDeveloperOptionHostTest -c with ANGLE being default Test: atest CtsAngleDeveloperOptionHostTest -c with native being default Change-Id: I5b0b6df40daf436eb81009c83a5b585531765f4c Merged-In: I5b0b6df40daf436eb81009c83a5b585531765f4c
-
Arnab Sen authored
...while moving apps or media content from internal storage to adopted storage and vice-versa. Currently, for FBE enabled devices, whenever move is triggered for either app or media content, there is a prompt for user to enter their lockscreen credential in order to unlock storage if the user has one. But if the user does not have a lockscreen credential set and is not running,the wizard page is stuck. This leads to a bad user experience. This CL adds a new binder method ILockSettings#unlockUserKeyIfUnsecured(int) which can be used for unlocking users which do not have a lockscreen credential. This replaces the LockSettingsInternal#unlockUserKeyIfUnsecured(int). This method is used by LockPatternUtils#unlockUserKeyIfUnsecured instead of LockSettingsInternal#unlockUserKeyIfUnsecured so that Settings app can unlock users for the use-case explained above. This also modifies SyntheticPasswordTests to use the binder method. Bug: 305978187 Test: manual Steps: 1. Create multiple users with atleast one user with an authentication method setup and one without authentication (apart from system user) 2. Install same apps for all users and also add some content to the media storage. 3. Format an SD Card as adopted. 4. Attempt to move content. 5. Check that the wizard is not stuck and it is prompting the locked users to authenticate. 6. Reboot 7. After reboot, Go to Settings > All Apps > app_name > Storage & Cache 8. Tap on "Change" under Storage and Select Adopted storage. 9. Check the same as Step#5 Also, ran atest com.android.server.locksettings and checked that the all test cases are passing. Change-Id: I34741c8e25cce256c2bfcc4dafb50e5d3e16f7ea
-
Peiyong Lin authored
-
Jean Chalard authored
-
Chalard Jean authored
Test: treehugger Change-Id: I841125e1e7192abc2fc50ab710a4684e7267e469
-
Treehugger Robot authored
-
Paul Duffin authored
-
- Oct 16, 2023
-
-
Eric Biggers authored
* changes: Fix system process crash Change log priority for ERROR_KEY_DOES_NOT_EXIST in RecoverableKeyStore Use a copy of lock screen secret in recoverablekeystore. Throw InsecureUserException when LSKF is not set in recoverablekeystore.
-
Paul Duffin authored
This change adds overriding methods that are essential to compile the stubs generated from the signature files. More information and the background for this change is available at go/add-overriding-one-pager. Test: m checkbuild --build-from-text-stub Bug: 299366704 Change-Id: Ia8f0ae4b4e47a2974016fd844242aa0564027131 Merged-In: Ifc1876eb60a4b716f72c86003dc9bea0081e9a4c
-