- Jan 30, 2024
-
-
Patrick Baumann authored
Change-Id: I87e21b50a247f82d65a3cd46cd1612676d9dcbe0
-
- Jan 24, 2024
-
-
Andy Hung authored
-
Mikhail Naganov authored
-
Bart Van Assche authored
-
Suprabh Shukla authored
-
Suprabh Shukla authored
Outside of power saving modes like battery saver and doze, network is freely available to any app that is in memory and can run code on the processor. However, networking is a power expensive resource and needs to be used judiciously. The platform policy will now restrict any apps that are in cached or nearby process-states that are not important to the user. Any user critical networking task must be done while being in active and valid lifecycle states only. The system will allow a grace period of few seconds to reduce any churn from quick proc-state transitions but apps should ideally not rely on this implementation detail. Apps that are in any of the power allowlists will be exempt from this restriction. Refactored some code to use more inclusive language. Test: atest FrameworksServicesTests:com.android.server.net Test: atest CtsHostsideNetworkTests BYPASS_INCLUSIVE_LANGUAGE_REASON=Existing code Bug: 304347838 Change-Id: I02d82dc88c46ee7eec7e428fd46d0a538481494d Merged-In: I02d82dc88c46ee7eec7e428fd46d0a538481494d
-
Treehugger Robot authored
-
- Jan 23, 2024
-
-
Mikhail Naganov authored
When native audio server dies, the audio service needs to re-send the current state of BT profiles. This is needed for the AIDL HAL which tracks the state of profiles at the module context and makes decisions based on it. Previously, the state was only affecting the state of HAL streams. Bug: 320838889 Test: kill audio_server, check `System setParameters` in AF dump Change-Id: I8ea732ee6dfcfce1123fb744bb69d0c4201d2285
-
Jihoon Kang authored
-
Haining Chen authored
* changes: Report primary auth attempts from LockSettingsService Add flag for reporting primary auth attempts from LockSettingsService
-
Mark Punzalan authored
-
Haining Chen authored
Report authentication attempts with PIN/pattern/password from LockSettingsService as the source of truth. Also add a new listener to allow other system components to response to primary auth results Bug: 285053096 Test: m -j Test: atest LockSettingsServiceTests Change-Id: I9115b70742cb724b373c028d8e00d178aa1a8096
-
Mark Punzalan authored
-
Treehugger Robot authored
-
Nelson Li authored
Because `system.img` is a dependency of `fontchain_lint`, and `system.img` is currently not generated inside `Soong`, it is not possible to directly convert `fontchain_lint` to `Android.bp`. Move it to build/core/task first. Bug: 319050958 Test: m fontchain_lint Change-Id: Iad483117a609786ecfb885b13015f18dda113155
-
Haining Chen authored
Bug: 285053096 Test: builds Change-Id: I1912b8ada49aa22f1bcad4dd252368a3f95bbed1
-
Bart Van Assche authored
SetProcessProfilesCached() can only set cgroup attributes in the v2 cgroup hierarchy if it is passed the correct user ID. Hence this CL. This CL makes SetProcessProfilesCached() apply IO controller cgroup attributes for processes with a user ID that is not zero. Bug: 320456702 Bug: 213617178 Change-Id: I84d072c14ff01422560c241a69cb9f4e02c47e74 Signed-off-by:
Bart Van Assche <bvanassche@google.com>
-
- Jan 22, 2024
-
-
Kevin Lubick authored
-
Kevin Lubick authored
Change-Id: Iacacba4e4cf03b1c9fd02ffef39ca99e4c597160
-
qiubowen authored
1. mDamageGenerationId is a random value when initialized. When this random value happens to be equal to info.damageGenerationId, the dirty range will reach the maximum DIRTY_MAX. 2. When info.damageGenerationId is equal to 0, which is when the first frame of the APP is drawn, there is no need to reach the maximum DIRTY_MAX in the dirty range. Bug: 321612817 Test: build Change-Id: Iab6a04170926d10cdf2a62ae0fbf9cbe5eeb8bbf Signed-off-by:
qiubowen <qiubowen@xiaomi.com>
-
Ian Baker authored
-
Treehugger Robot authored
-
Kangping Dong authored
Add this permission for Thread user restrictions control. See go/ae-v-thread-admin-control Bug: 319198393 Merged-In: Ie8393cf876435a3ffb77a4b27bcf419b529fd785 Change-Id: Ie8393cf876435a3ffb77a4b27bcf419b529fd785
-
- Jan 21, 2024
-
-
Treehugger Robot authored
-
- Jan 20, 2024
-
-
Arun Johnson authored
-
Paul Duffin authored
-
- Jan 19, 2024
-
-
Suprabh Shukla authored
-
Treehugger Robot authored
Merge "Fix crash issue when gallery app with Ultra HDR photo is moved to the virtual display." into main
-
Steven Moreland authored
-
Arun Johnson authored
Bug: 298052174 Change-Id: I369affbb103cbf860a2fabfc1b85f0c44750ed82
-
Harshit Mahajan authored
-
Paul Duffin authored
Previously, the `core/api/current.txt` erroneously and unnecessarily listed `drawMesh(...)` as the only method in the `android.graphics.RecordingCanvas` class. That was because there was an bug in Metalava that meant it ignored a super method if that method came from a hidden/inaccessible class. The accompanying change in this topic fixes the bug and so it can be removed. Listing `drawMesh(...)` method in `RecordingCanvas` was unnecessary because `RecordingCanvas` extends `Canvas` which defines and provides a concrete implement of `drawMesh(...)`. The `RecordingCanvas` does not add any new methods, it simply overrides the methods from `Canvas` and records their parameters. Bug: 319826204 Test: m checkapi (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cf7ff527cf5fa7deb086cb61c5ec3400d45838db) Merged-In: I7e23b93659a87f13606ca2d6c4c3ceebee23901f Change-Id: I7e23b93659a87f13606ca2d6c4c3ceebee23901f
-
Ian Baker authored
This gives more context when a subsequent fallback call to setDataSource(String, Map<String, String>, List<HttpCookie>) fails (which is often expected, especially for content:// URIs). These logs should help to see more detail of the unexpected failure from ContentResolver in this case. Bug: 313263440 Test: Presubmit Change-Id: I77df208d796c92596a5c28d845aaaf71546173b5
-
Treehugger Robot authored
-
Suprabh Shukla authored
This needs to be used in a cts test and so it is good to have it annotated as such. Test: Manually verify that its stubs are generated in the correct txt. Bug: 304347838 Merged-In: I5a6f30cdb76a37f5ff412339a0d78e98991fe86e Change-Id: I5a6f30cdb76a37f5ff412339a0d78e98991fe86e
-
- Jan 18, 2024
-
-
Treehugger Robot authored
-
Eric Biggers authored
-
John Reck authored
-
Jooyung Han authored
We'd like to limit the usage of libvintf because of its performance/memory impact. By removing VintfObject and VintfRuntimeInfo classes from preloaded-classes list, we can avoid loading libvintf from libandroid_runtime. A new JNI library (libvintf_jni) is loaded only when it's actually used. Bug: 270169217 Test: atest VintfObjectTest Change-Id: I469f368ee04863374988359c28bcd1a5fb4ead9e
-
Jiang Tian authored
Making the scope more accurate that only acquire the lock when trying to access frame info in FrameInfoVisualizer, then make it irrelevant to the real draw operation. Bug: 317995179 Test: 1.going to developer options 2. swapping the "profile hwui" option from "none" to "bars" and back a couple times, no crash Change-Id: I069a28a7e847c0c3fca94fd9c43e95382f501b80 Merged-In: I069a28a7e847c0c3fca94fd9c43e95382f501b80
-