- Nov 30, 2023
-
-
Elliott Hughes authored
-
- Nov 29, 2023
-
-
Eric Biggers authored
-
Eric Biggers authored
-
Eran Messeri authored
-
Eran Messeri authored
Add myself as an owner for the flags file, so that I can approve changes in the EMEA timezone. Bug: n/a Test: n/a Change-Id: Id32d3c65a7794477d47ed5ebe7471aacd04b6923
-
- Nov 28, 2023
-
-
Eric Biggers authored
-
Mateus Azis authored
-
Treehugger Robot authored
-
John Reck authored
-
Shaquille Johnson authored
-
Timothy Yiu authored
-
Wei Sheng Shih authored
-
Yi Kong authored
-
Dmitri Plotnikov authored
-
- Nov 27, 2023
-
-
Dmitri Plotnikov authored
The code before this change assumes that `mProcStateTimeMs` and `mProcStateScreenOffTimeMs` are either both null or both non-null. However, if during the readSummary operation one of the two counters is read successfully while the other fails, we end up in an inconsistent state. Bug: 305894439 Test: atest PowerStatsTests Change-Id: I7928031e78d742e196750a95f6a17795b4192530 Merged-In: I7928031e78d742e196750a95f6a17795b4192530
-
Dmitri Plotnikov authored
-
Elliott Hughes authored
We see this a lot in logs, and it causes a lot of people to hassle us about what is actually a common case: ``` AdbDebuggingManager: Cannot read user keys AdbDebuggingManager: java.io.FileNotFoundException: /data/misc/adb/adb_keys: open failed: ENOENT (No such file or directory) AdbDebuggingManager: at libcore.io.IoBridge.open(IoBridge.java:574) AdbDebuggingManager: at java.io.FileInputStream.<init>(FileInputStream.java:160) AdbDebuggingManager: at android.os.FileUtils.readTextFile(FileUtils.java:638) AdbDebuggingManager: at com.android.server.adb.AdbDebuggingManager.dump(AdbDebuggingManager.java:1801) AdbDebuggingManager: at com.android.server.adb.AdbService.dump(AdbService.java:604) AdbDebuggingManager: at android.os.Binder.doDump(Binder.java:1030) AdbDebuggingManager: at android.os.Binder.dump(Binder.java:1020) AdbDebuggingManager: at android.os.Binder.onTransact(Binder.java:890) AdbDebuggingManager: at android.debug.IAdbManager$Stub.onTransact(IAdbManager.java:357) AdbDebuggingManager: at android.os.Binder.execTransactInternal(Binder.java:1362) AdbDebuggingManager: at android.os.Binder.execTransact(Binder.java:1301) AdbDebuggingManager: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory) AdbDebuggingManager: at libcore.io.Linux.open(Native Method) AdbDebuggingManager: at libcore.io.ForwardingOs.open(ForwardingOs.java:563) AdbDebuggingManager: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274) AdbDebuggingManager: at libcore.io.IoBridge.open(IoBridge.java:560) ``` Test: treehugger Change-Id: I5206f8dada0d97c022459c2370b839c209041539
-
Dmitri Plotnikov authored
Bug: 282715698 Test: presubmit (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1814dffd1c6f9edc0115ac73a434263321d77db9) Merged-In: Ifd0de818ee99dfd6e44750f9bff4a6a7ef1e6dd2 Change-Id: Ifd0de818ee99dfd6e44750f9bff4a6a7ef1e6dd2
-
Shaquille Johnson authored
When the keystore service is not available or not initialized we do not want to crash the service. So we throw and Exception that KeystoreService is not availble when it should be possibly in an incorrect state. Test: atest CtsKeystoreTestCases Bug: 304758094 Change-Id: If73856deb27b9f11a9b77f0ba32c3b4037332759
-
Steven Kester Yuwono authored
-
Yi Kong authored
-
Treehugger Robot authored
-
- Nov 25, 2023
-
- Nov 23, 2023
-
-
Treehugger Robot authored
-
Steven Kester Yuwono authored
Apple Wallet's `.pkpass` and `.pkpasses` file are considered as `application/octet-stream` in Android. Adding the mapping in android.mime.types so those files could be resolved correctly. Change-Id: Ic3315bc24441b134bd594237a35cacef77ec9082
-
Riddle Hsu authored
-
Marvin Ramin authored
Bug: 310547345 Change-Id: I3f702495ec9877a3c2bbac0b4470baf512da26ed Test: n/a
-
liulvping authored
If the client process was killed by lmkd or other, and its pid rescued by any process. Then it may be killed by mistaken. Bug: 312576121 Change-Id: I577372953c5f9090d11dbf9ca5bd67e1f5dd9408 Signed-off-by:
liulvping <liulvping@xiaomi.com>
-
- Nov 22, 2023
-
-
TYM Tsai authored
Bug: 309596860 Test: NA Change-Id: I35f75f5d26e252ed2d4e3724a1d8a67690259fd7
-
Sudheer Shanka authored
-
Grace Jia authored
-
Sudheer Shanka authored
When a process is cached, broadcasts to the process could be delayed but we do not want to block delivery to other receivers that are in a lower priority tranche than the deferred receivers. We already take care of this, but only if all receivers in a process are deferred until active. Since it's possible we defer delivery by a few minutes (not defer until active) to cached processes, we should skip beyond receivers in the cached process. Bug: 298300047 Bug: 305877431 Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueModernImplTest.java Test: atest CtsBroadcastTestCases Change-Id: Iaf310716433824d2136b8385f7642ffdd49431eb Merged-In: Iaf310716433824d2136b8385f7642ffdd49431eb
-
xiaotonj authored
Fix areBundleEqual in Call. Currently the sentence in areBundleEqual arranged in a wrong order. Fixed this by moving the check sentence before the actual query sentence. Bug: b/312604549 Test: cts call tests Change-Id: Id8caa5719b4df724cbe03edd75b99a2b2e3882b5
-
Sudheer Shanka authored
-
Treehugger Robot authored
-
Corina Grigoras authored
Change-Id: I62eb0570ea17e087996687b991598bc2359ec95c
-
Siim Sammul authored
-
Siim Sammul authored
This is needed because there is potentially a race condition between when NativeTombstoneManager tries to delete leftover .tmp files and when those files are added to dropbox. Direct cherrypick from internal master Test: atest ErrorsTest Bug: 284900963 Change-Id: I07936c51646915cb8760f45c4bb920f5fb335025 Merged-In: I07936c51646915cb8760f45c4bb920f5fb335025
-
Eric Biggers authored
This flag was defined as a regular flag and then was later changed to a fixed_read_only flag. This scenario is currently "unsupported" by the flags infrastructure; an error occurs when trying to advance the flag to staging. Work around this by renaming the flag so that the flags infrastructure sees it as an entirely new flag. (Also fix two formatting errors in LockStateTrackingRule.kt which were causing the ktlint_hook pre-upload hook to fail.) Bug: 296464083 Bug: 311648623 Test: build Change-Id: Ia8c7b3d2602bcbd4e349cc7f340ff6077412996e
-