- Apr 03, 2024
-
-
Dan Albert authored
Bug: None Test: treehugger Change-Id: I33991523e53e6e3e70da2e7fb3c1bb56470b5b2b
-
- Feb 21, 2024
-
-
Arpit Singh authored
This CL updates some jni functions that manipulate Key and Motion events to use ScopedLocalRef instead of plain jobject for better life-cycle tracking. Test: presubmit Bug: 324375527 Change-Id: I154b0606d3c0912f0df7a890faf7246b575863f5
-
Arpit Singh authored
Rename obtain Java InputEvent copy from native methods for Key and Motion events for consistency. This CL renames 1. android_view_MotionEvent_obtainAsCopy -> android_view_MotionEvent_obtainAsCopy 2. android_view_KeyEvent_fromNative -> android_view_KeyEvent_obtainAsCopy 3. android_view_KeyEvent_toNative -> android_view_KeyEvent_obtainAsCopy Bug: 324375527 Test: atest MotionEventTest KeyEventTest Change-Id: I2a2fee29fd8ffcce04a939d19d3f7a0ce0c5dcf1
-
- Feb 15, 2024
-
-
Alec Mouri authored
Applictions presenting HDR video in their UI may want to limit the level of "HDRness" of the video content, so that SDR quality is not compromised. Bug: 323964760 Test: Manual poking at a test app Test: SurfaceViewTests Test: SurfaceControlTest Test: ASurfaceControlTest Change-Id: I6dd56b3cb93b3e405acf4f80503a0c2f5b79c205
-
- Feb 14, 2024
-
-
Arpit Singh authored
This CL adds an NDK API to obtain a copy of native AInputEvent as Java InputEvent. Test: atest MotionEventTest KeyEventTest Bug: 298948992 Change-Id: Ia8ce8ab2bdfc54289eb2402a1beaee68dd1030b0
-
- Feb 01, 2024
-
-
Matt Buckley authored
This patch updates the checks, tests, and documentation to ensure ADPF CPU == 0 is allowed, and instead checks to make sure that both CPU and GPU cannot be 0 at the same time. Bug: 323226967 Test: atest PerformanceHintManagerTest Test: atest WorkDurationTest Test: atest HintManagerServiceTest Change-Id: I6aea1d6e5d445ba21af72ac8187cc1ce15ce8b05
-
- Jan 24, 2024
-
-
Jooyung Han authored
Bug: n/a Test: nothing Change-Id: Ia8b0005335c5533b1c7980a20e950c6a95750d7e
-
Jooyung Han authored
This is okay because libjnigraphics is an NDK library. When used by an APEX, it needs to be loaded from the system, not bundlend in APEX. Bug: n/a Test: TH Change-Id: I98851ea9fbc9f1779d628cc98875ee5310a1a478
-
- Jan 23, 2024
-
-
Matt Buckley authored
Currently there is very little error handling for null pointers in the NDK, so this CL aims to remedy that by changing the WorkDuration API to pass status messages, updating the relevant documentation, and making sure that all existing methods check all pointers that are passed. Bug: 321065424 Test: atest PerformanceHintNativeTestCases Test: atest PerformanceHintManagerTest Test: atest HintManagerServiceTest Change-Id: I8be8bb7a24e861855176c52231c48479e603aa42
-
- Dec 22, 2023
-
-
Steven Moreland authored
Bug: 317293882 Test: build with validation Change-Id: Ib08a68f11a64efc03ba7709a0e8428a316572076
-
- Dec 21, 2023
-
-
Steven Moreland authored
shouldn't have spaces around '=' w/ introduced Bug: 317293882 Test: N/A Change-Id: I78b9949535d11224d3c87fa8718d9eb3a32e8937
-
Steven Moreland authored
These are ignored, so this change is a no-op. Bug: 317415381 Test: N/A Change-Id: I83b11a0b5ecea98f105e3bd9aa5a6f0287e497fd
-
- Dec 20, 2023
-
-
Matt Buckley authored
Bug: 293324684 Test: manual Change-Id: I417f18da69f27cc77da33fc40663b55e80822ee7
-
- Nov 30, 2023
-
-
Peiyong Lin authored
Previously we introduced the reportActualWorkDuration API without specifying the work duration for each components, this patch introduces a separate API that allows clients to send work duration with each component to allow fine grained scheduling strategy. Bug: b/284324521 Test: atest PerformanceHintNativeTestCases Test: atest PerformanceHintManagerTest Test: atest HintManagerServiceTest Change-Id: I7c6712267dc90ca2ce9b2cc54c640820343f6931
-
- Nov 20, 2023
-
-
Jorim Jaggi authored
Revert submission 24997733-adpf-gpu-plumbing Reason for revert: b/311102554 Reverted changes: /q/submissionid:24997733-adpf-gpu-plumbing Change-Id: I792003c026409d63f190024d0acf412ddc37236b
-
- Nov 15, 2023
-
-
Xiang Wang authored
Bug: b/288119641 Test: atest NativeThermalUnitTestCases Change-Id: I2ba820da74b290a25ff1edf8d278b9200dfaf950
-
- Nov 11, 2023
-
-
Peiyong Lin authored
Previously we introduced the reportActualWorkDuration API without specifying the work duration for each components, this patch introduces a separate API that allows clients to send work duration with each component to allow fine grained scheduling strategy. Bug: b/284324521 Test: atest PerformanceHintNativeTestCases Test: atest PerformanceHintManagerTest Test: atest HintManagerServiceTest Change-Id: Id7261b9b5779cf618d1a611e66240602c36e06d0
-
- Oct 30, 2023
-
-
Sadaf Ebrahimi authored
Bug: http://b/307806447 Test: TreeHugger Change-Id: Ib07514426643d8682c768b87e32fff2abddcda13
-
- Sep 28, 2023
-
-
Dan Shi authored
Bug: 300519349 Test: presubmit Change-Id: I720285ddafc5493a172a0125bdbf31adadda2eba
-
- Sep 12, 2023
-
-
Tomasz Wasilczyk authored
Bug: 295394788 Test: m checkbuild Change-Id: I6aa039b6b2a4944e3537ef133f8785890d957edd
-
- Aug 28, 2023
-
-
Tomasz Wasilczyk authored
Bug: 295394788 Test: make checkbuild Change-Id: I538720d4de2dcc038b417048209782ff605b7e30
-
- Aug 23, 2023
-
-
Xiang Wang authored
This reverts commit 883ee642. Reason for revert: b/296971803 Change-Id: Ia35e165d2aabba382b9a4e1757d8fc3c02d842e6
-
- Aug 18, 2023
-
-
Xiang Wang authored
Bug: b/296160319 Test: atest HintManagerServiceTest Change-Id: I1cdf6dc7f1b4047d141a686e01130a1876484587
-
- Aug 17, 2023
-
-
Jeremy Meyer authored
This reverts commit c5704113. Reason for revert: roll forward with fix Test: manual Change-Id: Ic4d1aa892efd9058d21ac88709fc565fd5f61909
-
- Aug 09, 2023
-
-
Jeremy Meyer authored
This reverts commit 04cf00dc. Reason for revert: causes b/292445325 and b/292321908 Fixes: 292445325 Fixes: 292321908 Change-Id: Idb44723ad7e8b14b737305d194f79dd70630621d
-
- Aug 08, 2023
-
-
Matt Buckley authored
These patches introduce a new power efficiency mode for hint sessions to the public API, and internally expose a new setMode API for hint sessions that resembles the setMode API for iPower, to control different session operating modes. This set of patches: - Updates the PowerHAL AIDL to version 5, and updates relevant bp files - Exposes new setPreferPowerEfficiency(bool enabled) method from the SDK and NDK - Exposes new setMode(int mode, bool enabled) method from PowerHAL AIDL and HintManagerService - Adds support for new setMode call in PowerHAL Bug: b/288117936 Test: atest cts/tests/tests/os/src/android/os/cts/PerformanceHintManagerTest.java Test: atest HintManagerServiceTest Change-Id: Ia1349e1bd8c4c85276788892b69897b5ef267c03
-
- Jul 31, 2023
-
-
Xiang Wang authored
Bug: 293661201 Test: manual Change-Id: I7b1e19bb4daa0cf23d8a09432fc2236d05e98b1c
-
- Jul 26, 2023
-
-
Xiang Wang authored
Bug: 291830812 Test: n/a Change-Id: Ib37b3aa4f846caf965eab5a977520a5c041d740c
-
Xiang Wang authored
Bug: 291830812 Test: atest FrameworksCoreTests:PerformanceHintManagerTest PerformanceHintTest Change-Id: I35b28772c1ad2cf26e9f9f7f019406ef7c15303e
-
- Jul 20, 2023
-
-
Jeremy Meyer authored
This reverts commit cc6ff387. Reason for revert: Fixed the tests in a separate change Test: ran the previously failing tests in ab Change-Id: I588d563375388ab1030c9de2072efe865286425c
-
- Jul 10, 2023
-
-
Jeremy Meyer authored
This reverts commit 09158c69. Reason for revert: causes test failures Fixes: 290377322 Fixes: 290377794 Fixes: 290377713 Change-Id: I69b6fe1e1ce597656ff80ccd4446f12c76ffc19b
-
- Jul 05, 2023
-
-
Jeremy Meyer authored
Test: manual Bug: 117306409 Change-Id: I46fcf04e1137cfa4cc6d238f88ad6c683fa87376
-
- Jun 01, 2023
-
-
Nate Fischer authored
No change to logic. This updates the WebView team's OWNERS files. This also adds our buganizer component (this was already visible in cts/tests/tests/webkit/OWNERS). Test: N/A Change-Id: I65dca15fd5f312cb401e0ab556d146f73b14cdf7
-
- May 26, 2023
-
-
Seigo Nonaka authored
Bug: 281769620 Test: N/A Change-Id: I43ddeaf29c1f0d933e544a8bae470a6a8cc27a9e
-
- May 02, 2023
-
-
Prabir Pradhan authored
Directly return a KeyEvent from KeyEvent_toNative, and change the KeyEvent parameter from a pointer to a reference in KeyEvent_fromNative. Bug: 279927189 Bug: 245989146 Test: Presubmit Change-Id: I9c98700ea4645c6c4cb975fabfa25d1ff959bfc3
-
- Apr 29, 2023
-
-
Austin Borger authored
Previously, onUidProcAdjChanged merely signaled that the OOM adj of a uid changed, but did not provide the actual OOM adj score. Having this information allows the camera service to cut out redundant calls to onCameraAccessPrioritiesChanged and avoid overwhelming apps. The number of calls to onCameraAccessPrioritiesChanged is reduced by only signaling when it's likely the uid owning a camera would lose access to it if another uid tried to open that camera. This is opposed to the status quo, which signals every time a watched uid changes its OOM adj, which is highly inefficient. Bug: 274486653 Test: -- on physical device: -- testCamera2AccessCallbackInSplitMode x10 -- ActivityManagerServiceTest -- ActivityManagerProcessStateTest -- ActivityManagerFgsBgStartTest -- UidObserverControllerTest -- Alternate focus in split screen between Camera2 + GCA x20 Change-Id: I994bf56d8e1687460149626a3a658851ca9513c4
-
- Apr 12, 2023
-
-
Siarhei Vishniakou authored
The native definitions for event type were changed to enum class. Update the usages here. Bug: 274073185 Test: m checkinput Change-Id: If80dc6fc568da2d195606b5fbece7b7b5975e061
-
- Mar 30, 2023
-
-
jahinimtiaz authored
Bug: 269138674 Test: Presubmit Change-Id: Ibd1a18f6369396c4ae7b0263baab84f25c88ce06
-
- Mar 28, 2023
-
-
Siarhei Vishniakou authored
Update jni code to use enum class Bug: 198472780 Test: compile (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d873b263ee5937ba93a2252424148c0552312332) Merged-In: Ia129a28593c4f7a5ae0326a1aabdd5e6d0b67b82 Change-Id: Ia129a28593c4f7a5ae0326a1aabdd5e6d0b67b82
-
- Mar 24, 2023
-
-
Siarhei Vishniakou authored
Update jni code to use enum class Bug: 198472780 Test: compile Change-Id: Ia129a28593c4f7a5ae0326a1aabdd5e6d0b67b82
-