- Dec 11, 2023
-
-
Colin Cross authored
These tests are testing aapt2 outputs and shouldn't use ResourceProcessorBusyBox. Bug: 294256649 Test: m javac-check Change-Id: I28f093d697448131968ed4c4c32e31b9a8fb3036 Merged-In: I28f093d697448131968ed4c4c32e31b9a8fb3036
-
- Dec 07, 2023
-
-
Zi Wang authored
-
Anvesh Renikindi authored
-
Zi Wang authored
Previously the config was correct in internal main but not updated in aosp. Later the incorrect aosp config was applied to internal main and cause CtsAppSecurityHostTestCases fail. This CL fixes this problem. Test: CI Change-Id: Iaca74986ec16d8acb6b15b4d30908642fe0ccc9d
-
Treehugger Robot authored
-
Lee Shombert authored
-
Lee Shombert authored
Assign ownership to the AnrTimer files in the java source, java unit test, and jni directories. Bug: 282428924 Test: none - OWNERS only Change-Id: I208296bc0cf8369d59ef51c620f50939f843173d
-
Steven Moreland authored
-
Eric Biggers authored
-
Massimo Carli authored
-
Victor Chang authored
-
Alex Buynytskyy authored
-
Eran Messeri authored
-
Massimo Carli authored
This reverts commit 38b09712. Reason for revert: b/315307245 Change-Id: I92b3c242317bc5c9cba5d128c4ed7eaa13af7953
-
Ted Bauer authored
-
Sandro Montanari authored
-
Sandro Montanari authored
Bug: 28746284 Test: atest NetworkSecurityConfigTests Change-Id: Icdfc0a383e6c28e9ed6743418322264b117a8bde
-
Hansen Kurli authored
-
Paul Colța authored
-
Jeongsik Mun authored
ACTION_PACKAGES_SUSPENSION_CHANGED can be delivered without suspension changes, which ends up finishing SuspendedAppActivity and CTS fails. This CL adds a check to make sure suspended state changed before finishing it. Bug: 245426112 Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testSuspendPackageWithPackageManager Change-Id: I74116b1c8508239b4026883916a89bfdac902bae
-
- Dec 06, 2023
-
-
Ted Bauer authored
Bug: 288298466 Test: m Change-Id: Icb5bf605d41b1232e3a892f32d1932fb5e493d59 Merged-In: I2d26474beef74c66571f26b83f2ae7da481a8bf3
-
Suren Baghdasaryan authored
-
Eric Biggers authored
-
Eran Messeri authored
This reverts commit 468c8fe6. Additionally, this adds a guard for reading the flag: If the calling app does not have the right permission to read the device configuration, the code will assume it is not set. Reason for revert: Fixed flag reading code Bug: 314744703 Test: atest CtsWebkitTestCases:android.webkit.cts.WebViewSslTest#testProceedClientCertRequestKeyWithAndroidKeystoreKey Change-Id: I29c58bc8c5960c0ab9af70f93440bd9a1db12dc7
-
Treehugger Robot authored
-
Adrian Roos authored
Change-Id: I812aa14966aa885b8a1e8e13a9365cf92187baf3
-
Yi Kong authored
-
Eric Biggers authored
Currently Keystore is notified of the device being unlocked and locked for each user via onLockScreenEvent(lockScreenEvent, userId, password, unlockingSids), where lockScreenEvent is UNLOCK or LOCK. This is a bit confusing because the password parameter is only meaningful for UNLOCK, and the unlockingSids parameter is only meaningful for LOCK. This problem will get worse when we add a parameter that tells Keystore whether unlocking via a weak biometric or trust agent is possible, as that will be another parameter that is only meaningful for LOCK. Therefore, this CL splits onLockScreenEvent into two methods onDeviceUnlocked and onDeviceLocked, each with the appropriate parameters. No actual change in behavior intended. This change does make TrustManagerService no longer call getBiometricSids() for unlocks, so technically that is a slight difference; however, for UNLOCK events Keystore ignored the SID list, so this just eliminates unnecessary work. Bug: 296464083 Test: atest -p --include-subdirs system/security/keystore2 \ && atest CtsKeystoreTestCases \ && atest TrustTests \ && atest com.android.server.locksettings Flag: N/A, straightforward refactoring Change-Id: Ibfaa22ba27d13248c9c4c69a4d2efb2231792c31
-
Yi Kong authored
Test: presubmit Change-Id: Ifd5f633a517d6dbd7344849a739acb32cb142296
-
Yi Kong authored
-
- Dec 05, 2023
-
-
Treehugger Robot authored
-
TeYuan Wang authored
Bug: 312540064 Test: build Change-Id: I6eea4004111513692178ae23557ad65251cbfa40
-
Treehugger Robot authored
-
John Reck authored
Allows cleaner OWNERS control of the tests specific to graphics going forward Test: n/a Change-Id: I1be93ff42a94879f42dded0800e4d05003004e2c
-
Victor Chang authored
The regression is introduced in Android 14 with ICU 72 when \u202f is used in the time format for en-US. UCharacter.isUWhitespace is a better way to determine Unicode whitespace characters than the characters used in the java language as in JLS 3.6, because the time format comes from the ICU following the Unicode / CLDR spec. Flag: NA Bug: 312903894 Test: Verified that MAGIC1 is inserted before \u202f Test: Inspected the TextView.mText via https://google.github.io/web-hv (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e01e702f5dc541cbdd3812ea9dbdd2ac58d9c503) Merged-In: I7b660b94c6ef75dbe96be8bcd2b074c8edd73ba7 Change-Id: I7b660b94c6ef75dbe96be8bcd2b074c8edd73ba7
-
Victor Tan authored
-
Hansen Kurli authored
The existing tests in this directory are VpnProfileTest and NetworkUtilsInternalTest. Both tests are in FrameworksNetTests. Create the TEST_MAPPING to ensure the expected tests are run. Add in postsubmit before presubmit. Test: atest --test-mapping core/java/com/android/internal/net:postsubmit Change-Id: I9393f22fcba8539522382afa3bcc49ac23d22778
-
Yi Kong authored
frameworks/base/tools/aapt2/link/ManifestFixer.cpp:341:23: error: unused variable 'attr' [-Werror,-Wunused-variable] 341 | if (xml::Attribute* attr = el->FindAttribute(xml::kSchemaAndroid, "glEsVersion")) { | ^~~~ Test: presubmit Change-Id: Icec4737a5f8076173a2aff54532a79fa123df326
-
Mikhail Naganov authored
-
Mikhail Naganov authored
Revert submission 2388404-cuttlefish_aidl_audio Reason for revert: Breaks CtsVirtualDevicesTestCases.*VirtualAudioTest.* Can be difference in timing, due to larger HAL buffers. Need to investigate. Reverted changes: /q/submissionid:2388404-cuttlefish_aidl_audio Bug: 314844829 Change-Id: I9e3ebc87aa5923a78805e997e44693958c74d6e8
-