- May 21, 2024
-
-
Matt Buckley authored
Test: manual Bug: 315894228 Change-Id: I1f85147b185db0694c9510b1be72aa7e94cd462e
-
- May 07, 2024
-
-
Matt Buckley authored
This patch adds plumbing for ADPF to work with FMQ, including new getSessionChannel and closeSessionChannel methods in HintManagerService. It also introduces a system to cache FMQ descriptors per app and track binder tokens provided by getSessionChannel, to close the FMQ channels when the clients die. Bug: 315894228 Test: atest HintManagerServiceTest Change-Id: I74a8f9d679eae4c04894cdde3f2538825ec8675b
-
- Apr 20, 2024
-
-
Matt Buckley authored
Adds a hidden method for the creation of special "internal" hint sessions with extra metadata, and plumbs hwui to use it Bug: 330553312 Test: atest PerformanceHintNativeTestCases Test: hwui unit tests Change-Id: I35e7f81623b8f81a9a12e485f221952a13035b02
-
- Apr 17, 2024
-
-
Matt Buckley authored
This patch adds support for the new "createHintSessionWithConfig" call which supports session tagging and session IDs, and updates the performance_hint NDK implementation to use it. Bug: 330553312 Bug: 315894228 Test: atest PerformanceHintNativeTestCases Test: atest HintManagerServiceTest Change-Id: Idc1c16be6bb53983cc3ec102596b9613935f7301
-
- Apr 05, 2024
-
-
Matt Buckley authored
Bug: 333024679 Test: n/a Change-Id: Ie1eb33b40058a8cf2c770d2094b00b9e9da47ef4
-
- Apr 03, 2024
-
-
Dan Albert authored
Bug: None Test: treehugger Change-Id: I33991523e53e6e3e70da2e7fb3c1bb56470b5b2b
-
- Mar 19, 2024
-
-
Chavi Weingarten authored
Test: Builds Bug: 330375394 Change-Id: I9d3746821a792ef163b4225a5477c974ef9e698d
-
- Mar 18, 2024
-
-
Chavi Weingarten authored
Test: ASurfaceControlInputReceiverTest Bug: 329903619 Change-Id: I9051c506ce217bdc6ea941794de06f9e3e026a66
-
- Mar 15, 2024
-
-
Chavi Weingarten authored
Bug: 324271765 Test: ASurfaceControlInputReceiverTest Change-Id: Ia85a07af09878846c681e552c1f8471652f932fc
-
- Mar 14, 2024
-
-
Matt Buckley authored
- Update HintManager and its aidl types to use NDK backend - Switch HintManager to using PowerHAL's WorkDuration - Update SDK WorkDuration.java to no longer be parcelable, since it isn't being sent over binders anymore. - Remove duplicate WorkDuration in powermanager in favor of PowerHAL's Bug: 315894228 Test: atest HintManagerServiceTest Test: atest PerformanceHintNativeTestCases Test: atest PerformanceHintManagerTest Change-Id: Ibc5a3aa96e73a225fce980811694ee02bdabb963
-
- Mar 13, 2024
-
-
Igor Kraskevich authored
Test: this CL adds new API stubs, no logic to test yet. Bug: 329219352 Change-Id: I84add4ac39119a255cbcc6fc56d6c6e62b5d4a02
-
Chavi Weingarten authored
Added a native class that corresponds to the Java InputTransferToken. Test: SurfaceControlInputReceiverTests Test: AInputTransferTokenTest Bug: 324271765 Change-Id: Ic5549227ad8c8ab311f8953eaf370e1a2896d8f3
-
- Mar 05, 2024
-
-
Prabir Pradhan authored
Use the offsets in raw coordinates instead of the previously used offsets in untransformed coordinates, which does not have any meaning in Java. Bug: 249340921 Test: atest libinput_tests Test: atest inputflinger_tests Change-Id: Ia21d63be5a2c45a2339227061de89ab772a8e7f7
-
- Mar 04, 2024
-
-
Matt Buckley authored
Bug: 315894228 Test: manual Change-Id: Ie23154e5af53b581fa84062110fd3d8ccdb17c11
-
- 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
-