- Oct 24, 2023
-
-
Roshan Pius authored
This reverts commit 8140652e. Reason for revert: Added a fix for the failing code. Change-Id: I729672340d52a745dd43121e1dbedf9d6d5ec34a
-
- Oct 23, 2023
-
-
Roshan Pius authored
This reverts commit 12058cb9. Reason for revert: Fails telephony tests Bug: 303286040 Test: N/A Change-Id: I07c79f6d07ac8f7394698b8144e9310be2f3f1fe
-
Roshan Pius authored
Follow up CL for aosp/2798514 to add owners file. Bug: 303286040 Test: Compiles Change-Id: I18d8f617beb385c684c635ec2ec57d296be5e6f3
-
- Oct 20, 2023
-
-
Roshan Pius authored
Bug: 303286040 Test: adb shell svc nfc enable Change-Id: I678d01c7c86defb7eb071d66cb2aede4983ab506
-
- Oct 16, 2023
-
-
niuwenchao authored
jagged animation after resolution change, change Texture Filtering from GL_NEAREST to GL_LINEAR. Change-Id: I0788db4f4edb109eff3b86ce43be79eb206fe00b Signed-off-by:
niuwenchao <niuwenchao@xiaomi.com>
-
- Sep 22, 2023
-
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
Pawan Wagh authored
readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e (cherry picked from commit ba78ef27)
-
- Sep 21, 2023
-
-
beatricemarch authored
In particular add events to cover -If this is KV or Full restore -For each package, when the restore started and when it ended -When a restore operation starts, if it is system restore or restore at install -Any errors Test: manual testing. Run `adb shell bmgr restore 1` and verify that the new restore events are added to the dumpsys atest CtsBackupHostTestCases, GtsBackupHostTestCases atest BackupManagerMonitorDumpsysUtilsTest, BackupManagerMonitorEventSenderTest, UserBackupManagerServiceTest, PerformUnifiedRestoreTaskTest, BmgrTest Bug: 290747920 Change-Id: I0d221f10932fea3e8fb90a1827c7f1b5bf21d25d
-
- Sep 12, 2023
-
-
Tomasz Wasilczyk authored
Bug: 295394788 Test: m checkbuild Change-Id: I6aa039b6b2a4944e3537ef133f8785890d957edd
-
- Sep 07, 2023
-
-
Ryan Prichard authored
Bug: b/175635923 Test: treehugger Change-Id: I241c8b2b48bb4c616fbc5b4ae1285e274182144b Merged-In: I241c8b2b48bb4c616fbc5b4ae1285e274182144b
-
- Sep 06, 2023
-
-
Tomasz Wasilczyk authored
Bug: 295394788 Test: make checkbuild Change-Id: I95264e8bfc96a5adb7f7cc55a24dc0e8c126371d (cherry picked from commit a550a478)
-
- Sep 05, 2023
-
-
Tomasz Wasilczyk authored
Bug: 295394788 Test: make checkbuild Change-Id: I370f66c469de73064dec2e42c539dc236dd69d1e
-
- Sep 01, 2023
-
-
Tomasz Wasilczyk authored
Bug: 295394788 Test: make checkbuild Change-Id: I95264e8bfc96a5adb7f7cc55a24dc0e8c126371d
-
- Aug 28, 2023
-
-
Tomasz Wasilczyk authored
Bug: 295394788 Test: make checkbuild Change-Id: I538720d4de2dcc038b417048209782ff605b7e30
-
- Aug 24, 2023
-
-
Tomasz Wasilczyk authored
This empty method is different from the old one - it aligns with std::string definition. Bug: 295394788 Test: make checkbuild Change-Id: I1900997f36327af8c3d12b4f77971fdd96080616
-
Tomasz Wasilczyk authored
This empty method is different from the old one - it aligns with std::string definition. Bug: 295394788 Test: make checkbuild Change-Id: Ib80c839df7ff7e3fb0ed2df7a00393d843d44d9d
-
- Aug 23, 2023
-
-
Tomasz Wasilczyk authored
Bug: 295394788 Test: TH Change-Id: I8e87ed078797cc941a16d1b2a3f96e0d668bf4ec
-
Tomasz Wasilczyk authored
Bug: 295394788 Test: m checkbuild Change-Id: I2e3167aaf464132127d5838075c7f9a5257ed275
-
- Aug 22, 2023
-
-
Chan Kim authored
See https://source.android.com/setup/contribute/respectful-code for reference For this round, the fixes are only applied to the following to minimize breaking dependencies: * comments (excluding javaDoc annotations) * private constants * private functions * parameters within functions BYPASS_INCLUSIVE_LANGUAGE_REASON=Just updating a few select inclusive language violations. No-Typo-Check: Changes focused on inclusive language violations. BUG: 295342157 Change-Id: Iacc0ea9fc848b15048978637bdc25136582433ef
-
- Aug 18, 2023
-
-
Tomasz Wasilczyk authored
Bug: 295394788 Test: make checkbuild Change-Id: I82d6899d8c15a10b15399c39177290012bb5f13b Merged-In: I82d6899d8c15a10b15399c39177290012bb5f13b
-
Tomasz Wasilczyk authored
Bug: 295394788 Test: make checkbuild Change-Id: I82d6899d8c15a10b15399c39177290012bb5f13b
-
- Aug 15, 2023
-
-
Prabir Pradhan authored
Bug: 291881033 Bug: 294275314 Test: manual Change-Id: Ie522ff44aa1cb7ceb7f21a23d6dd68efd1845f7c Merged-In: Ie522ff44aa1cb7ceb7f21a23d6dd68efd1845f7c
-
Prabir Pradhan authored
Bug: 291881033 Bug: 294275314 Test: manual, presubmit Change-Id: I928da2ad53afa91bc9fe7b0dc9cddeb3c918c6a2 Merged-In: I928da2ad53afa91bc9fe7b0dc9cddeb3c918c6a2
-
- Aug 09, 2023
-
-
Eric Biggers authored
This greatly improves the performance of locksettings commands, and it eliminates the need for LockSettingsCmd.java. Bug: 177985929 Test: locksettings command still works Change-Id: I5881fa074681f6bf1ad2f5969a282d928121ddb2 Merged-In: I5881fa074681f6bf1ad2f5969a282d928121ddb2 (cherry picked from commit 4d38b0cd)
-
- Jul 27, 2023
-
-
Vova Sharaienko authored
pushedEventThread references class members after detaching. Making pushedEventThread as class member and joining in statsService destructor. Adding a method to stop readLogs thread. Ignore-AOSP-First: Bug is in still security triage and fuzzer is crashing on startup. Test: atest statsd_test Test: m statsd_service_fuzzer && adb sync data && adb shell /data/fuzz/arm64/statsd_service_fuzzer/statsd_service_fuzzer -runs=10000 Bug: 285645039 Change-Id: I1e886f9ccb7203714216da061c35e793b2a63d8a Merged-In: I1e886f9ccb7203714216da061c35e793b2a63d8a
-
Vova Sharaienko authored
pushedEventThread references class members after detaching. Making pushedEventThread as class member and joining in statsService destructor. Adding a method to stop readLogs thread. Ignore-AOSP-First: Bug is in still security triage and fuzzer is crashing on startup. Test: atest statsd_test Test: m statsd_service_fuzzer && adb sync data && adb shell /data/fuzz/arm64/statsd_service_fuzzer/statsd_service_fuzzer -runs=10000 Bug: 285645039 Change-Id: I1e886f9ccb7203714216da061c35e793b2a63d8a
-
- Jul 11, 2023
-
-
Yurii Zubrytskyi authored
This reverts commit cf6e79f8 Updates: Prepare the shared pointers for the whole operation at once instead of re-locking them on each iteration. Still a regression of about 5% for changing theme's AssetManager object, vs the original 40% + change the log message to a warning as it doesn't break the app Original comment: Use reference counted pointers for ApkAssets The primary reason for memory corruption is freed ApkAssets Java expected them to only be freed in the finalizers, but there are explicit close() calls now, destroying objects that are still in use in some AssetManager2 objects This CL makes sure those AssetManagers don't assume ApkAssets always exist, but instead tries to lock them in memory for any access It also adds logging in case of deleting an assets object with any weak pointers still existing. Those will get into the bugreports attached to related bugs to help with investigation. Benchmarks don't regress, and the device appears to be working. Given that the crashes used to be pretty rare, let's wait for any new reports or lack of those. + add a missing .clang-format file to the jni directory + enabled C++23 in the project that uses AssetManager headers Bug: 197260547 Bug: 276922628 Test: unit tests + boot + benchmarks Old change id: I495fd9e012fe370a1f725dbb0265b4ee1be8d805 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b3455190124b41e2deb1774d9c05b396b73b41a2) Merged-In: Id668fbcf07db17b09691a344c04e98df83006f97 Change-Id: Id668fbcf07db17b09691a344c04e98df83006f97
-
- Jul 05, 2023
-
-
viktor authored
The variable "mapbase" is not really used and we should remove it from screencap Test: make screencap Change-Id: Id17b6f440d3ab42f1c54fe90065eac50e0190f01 Signed-off-by:
viktor <tomjhin1@gmail.com>
-
- Jul 01, 2023
-
-
Oleg Lyovin authored
When bootanimation contains part that is played only once, there is no need to create a separate texture for its frames. Such an approach allows to reduce memory consumption for typical use case of such an animations, when a part consists of a lot of frames played only once. Actually, it was already implemented earlier, but part of it was lost in 'd711ac48'. Moreover, the remained part leads to memory leak in current implementation on BootAnimation.cpp:1712. Test: play bootanimation with part.count=1 and a lot of frames, and check memory consumption. Change-Id: If3a0fa890f6f9e7abc0db2fe96b5635a1663fb8a Signed-off-by:
Oleg Lyovin <ovlevin@sberdevices.ru>
-
- May 26, 2023
-
-
Dominik Laskowski authored
Ibe3679d810602456205e157fe2cb8cc510062215 restricted the argument to PhysicalDisplayId, which prevents capture of virtual displays. Fixes: 280785757 Test: screencap -d <id> Change-Id: I41a8d1adaa51c6804c03f1b3084ac04ff6b4f1fa
-
- May 19, 2023
-
-
Pawan Wagh authored
fout is double checked for nullptr instead of ferr which forces to call fclose on null ferr. Test: atest incidentd_test Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer with clusterfuzz testcase Bug: 283453191 Change-Id: I3a4912cf70f4f32cb66fb870febbbfff1a7c6adc
-
- May 16, 2023
-
-
Pawan Wagh authored
When random parcel is sent to incidentd, AIDL service crashes with null pointer dereference. Test: atest incidentd_test Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Bug: 282963041 Change-Id: I0e0ebc479acbfd3f5e9f56b629380b5d90021f45
-
Shen Lin authored
- thrid -> third - Reorganize command flags to match docs below. Test: Manual Bug: 282802119 Change-Id: I87b7f42312c35d2770775869cc0be4c83f09e719
-