- Oct 11, 2023
-
-
Jihoon Kang authored
Currently, hiddenapi_modular defines test api surface as a subset of module lib api surface, causing hiddenapi check failure in from-text stub build. In order to mitigate this and enable the hiddenapi check in from-text stub build, this change introduces a java_api_library module that generates the stub jar that contains both test and module lib api contributions. The module will not be available for consumption, but will only be used in hiddenapi check. Test: m android_test_module_lib_stubs_current.from-text --build-from-text-stub Bug: 191644675 Change-Id: I2b6c9f75d9ebcfd75fa5b509dbef14aa0f88ac97
-
Treehugger Robot authored
-
Anton Hansson authored
-
Treehugger Robot authored
-
Hansen Kurli authored
* changes: Coverage for testLegacyLockdownVpn() Create LockdownVpnTrackerTest
-
Hansen Kurli authored
Test coverage for behaviours that occur in ConnectivityServiceTest#testLegacyLockdownVpn(). Bug: 230548427 Test: atest LockdownVpnTrackerTest Change-Id: I4eaa714c1b06530cb33babf4f88688cd8201b5c5
-
- Oct 10, 2023
-
-
Kyle Zhang authored
-
Jack Wu authored
* changes: BatteryManager: make stateOfHealth a public api Add flag for state_of_health_public
-
Kyle Zhang authored
Bug: 303266912 Bug: 291440132 Change-Id: I59955afd06e514713cbe0d114c242b62eb748eda
-
Brandon Liu authored
Merge "Skip real action when onStartUser() called for the same user not on the first time" into main
-
Alisher Alikhodjaev authored
-
Varun Shah authored
-
Eric Biggers authored
-
Jiakai Zhang authored
-
Jiakai Zhang authored
-
Brandon Liu authored
first time Bug: b/291217867, b/303780990 Test: Verified all affected tests pass (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1fb786caf1036f44268ce25487b4e72f01351f99) Merged-In: I8508013d654fa30b9b10fec83e728ddc5f7cfbdb Change-Id: I8508013d654fa30b9b10fec83e728ddc5f7cfbdb NOTE FOR REVIEWERS - errors occurred while applying the patch. PLEASE REVIEW CAREFULLY. Errors: Error applying patch in services/core/java/com/android/server/om/OverlayManagerService.java, hunk HunkHeader[338,6->340,10]: Hunk cannot be applied Original patch: From 1fb786ca Mon Sep 17 00:00:00 2001 From: Brandon Liu <branliu@google.com> Date: Wed, 19 Jul 2023 23:50:06 +0000 Subject: [PATCH] Skip real action when onStartUser() called for the same user not on the first time Bug: b/291217867 Test: Verified all affected tests pass Change-Id: I8508013d654fa30b9b10fec83e728ddc5f7cfbdb ---
-
Varun Shah authored
Bug: 302067720 Test: manual (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0bdf1b7472ea5d281b3298cf1cf517af0435a086) Merged-In: I98e180fbd36344ddc949ecd679c42ff55faf7589 Change-Id: I98e180fbd36344ddc949ecd679c42ff55faf7589
-
Song Chun Fan authored
It can be confusing for the person outside of the team to triage a bug on SettingsProvider, as seen in b/301217821#comment11 Change-Id: I32a68d8be9423ad98a4412de3004968485e0ac6d
-
Anton Hansson authored
-
Eric Biggers authored
-
Tri Vo authored
-
Martin Stjernholm authored
boot. Test: Check that BackgroundDexoptJob.schedule is called after LOCKED_BOOT_COMPLETED Test: Check that `adb shell cmd jobscheduler run android 27873780` compiles some packages successfully on a locked device. Bug: 291671099 Change-Id: Ic01b09a62f8a84771172a4ec67d5af43f7c6a3b0 Merged-In: Ic01b09a62f8a84771172a4ec67d5af43f7c6a3b0
-
Stefano Cianciulli authored
This is needed because of the changes to the BackgroundDexoptJobEnded atom introduced in ag/24209548 to include the count of optimized packages and total packages. Bug: 290340704 Test: atest art_standalone_artd_tests Test: atest ArtServiceTests Change-Id: I9f27867ed10eaaeb7f8d875f08cc3f82e5015e6b Merged-In: I9f27867ed10eaaeb7f8d875f08cc3f82e5015e6b
-
Jack Wu authored
Bug: 288842045 Test: m update-api Change-Id: I923f84bff4849053a8faa921bf31e39748ed5075 Signed-off-by:
Jack Wu <wjack@google.com>
-
Jack Wu authored
Bug: 288842045 Test: m Change-Id: I236590f114c67b244ee1352cfe8472c9b855ea80 Signed-off-by:
Jack Wu <wjack@google.com>
-
Kevin Chyn authored
-
- Oct 09, 2023
-
-
Treehugger Robot authored
-
Prabir Pradhan authored
The change I58a9c06b7651ebe97cd03447b083cc9887f863b1 introduced a self-apparent bug. We fix it and amend the test case so that the issue would have been caught. Bug: 281951190 Test: atest ViewGroupTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c45197fb27ddce3886ae392465c759027f1795cd) Merged-In: I886a2594a091e5d1870e564b67d46ce5e4901ae5 Change-Id: I886a2594a091e5d1870e564b67d46ce5e4901ae5
-
Jing Ji authored
-
Kevin Chyn authored
-
Kevin Chyn authored
It's safer to have this as an opt-in configuration, as not all devices with multiple internal displays need to have their rotation matched. Bug: 274416890 Fixes: 303780641 Test: manual Merged-In: I1f7b2cf45f6e1c865ea51a9947e68c9e1ffa8d13 Change-Id: I1f7b2cf45f6e1c865ea51a9947e68c9e1ffa8d13
-
Eric Biggers authored
* changes: LockSettingsService: remove obsolete EventLog logging Ensure that LockSettingsService waits for gatekeeperd to be ready Make PasswordMetrics#computeForPasswordOrPin() private Remove PasswordMetrics#validatePassword() Enforce minimum pattern length in PasswordMetrics Properly validate credential in setLock(int, byte[], int, byte[]) DPMS: allow getPasswordMinimumMetrics() to anyone who can set LSKF Allow constructing a PIN LockscreenCredential with mInvalidChars Make LockSettingsService enforce basic requirements for new credentials Add and use PasswordMetrics#validateCredential() Make LockscreenCredential remember whether it has invalid chars Allow LockscreenCredential to represent any proposed credential Convert LockscreenCredentialTest to JUnit4 Handle incomplete protectors in destroyAllWeakTokenBasedProtectors() LockSettingsService: remove redundant calls to verifyChallenge()
-
Eric Biggers authored
-
Wen Zhang authored
When using foreach on the stream of Files.walk, the FileTreeIterator may generate an UncheckedIOException, which can cause a system crash. Bug:292486804 Test: 1.statsd_testdrive 524 2.adb install any apk 3.observe apks_size_bytes Merged-In: I18852ced54ceeb63785033de3f1ab22a35ba1fc1 Change-Id: I0e223fc61184a51a4f5a71df54ba50137376df8e
-
Treehugger Robot authored
-
Treehugger Robot authored
Merge "Revert line introduced in previous CL that seems to always pass `false` for `onTrustManagedChanged`" into main
-
Anton Hansson authored
IntDefs are not present in the generated documentation, so can not be referenced via @link/@see tags. Additionally, the "one of ..." strings are auto-generated via the presence of IntDef, so shouldn't be enumerated manually. Bug: 303184203 Test: m docs Change-Id: I70173065912abf7df11f480a858f4c50c5a9a74e
-
Anton Hansson authored
The javadoc tag is @deprecated, not @Deprecated (the java annotation). Bug: 303184203 Test: m docs Change-Id: I77a35cfa7caa5df7b42995f16fc20fab89c55f11
-
- Oct 07, 2023
-
-
Jing Ji authored
So the android.os.Debug#getBinderProxyObjectCount will include the binder proxies from both of the Java and native layers. Bug: 298314844 Test: dumpsys meminfo Merged-In: Ifb57eeacc0a4b6ee6e164e83f6f843bfe36f2b15 Change-Id: I4fc8f48e0055544c32d9cf597d3573f0a48a13e4
-
Krzysztof Kosiński authored
-