summaryrefslogtreecommitdiff
path: root/power-libperfmgr
AgeCommit message (Collapse)Author
2020-06-30display: cache display lpm state to avoid set it againandroid11-devMidas Chien
If current foss state same as desired state, doesn't set it again. Bug: 148656663 Test: stress on/off battery saver and check foss state Test: enable battery saver, stress on/off screen Change-Id: I6298361fd6a5d6a86c94eabb71ab254507136fd3
2020-04-17libperfmgr: add atrace when update nodesWei Wang
Bug: 147833210 Test: build Signed-off-by: Wei Wang <wvw@google.com> Change-Id: I88cbf2bf6977e4bd65fbdccd3a1252ea467ec196
2020-03-31Merge "Power: rename namespace for Pixel power HAL" into rvc-devTreeHugger Robot
2020-03-30Power: rename namespace for Pixel power HALWei Wang
Bug: 152811907 Test: Build Change-Id: I6848e929d8a26b540fcee9145376b896c3cd9799
2020-03-27Add device.mk for power HAL common sepolicyRick Yiu
Use aidl for android.hardware.power-service.pixel-libperfmgr, and use hidl for android.hardware.power@1.3-service.pixel-libperfmgr. Bug: 151873153 Test: selinux_policy build pass Change-Id: I0cefab08a334fd26de6c75665df66931e39c32cd
2020-03-26OWNERS file maintenanceWei Wang
Bug: 111098032 Test: build Change-Id: Ib809ce7378a986ca3cac331296f5a5fe4cfde6e6
2020-03-26Add TEST_MAPPING for libperfmgrWei Wang
Bug: 137581945 Test: Build Change-Id: Ib30703876fb4cfe7c3b70cb0cefe9b55fb751178
2020-03-26Move libperfmgr into hardware/google/pixelWei Wang
Bug: 137581945 Test: Build Change-Id: Idc03c7b9819f4aaed65233795107cd8c5c20aacb
2020-03-20Power: allow powerhint calls as soon as service startsWei Wang
Bug: 147840817 Test: boot Change-Id: Ic1d6e04109683b999bb99484930e95dc9813fc59
2020-03-20Power: add aidl extension serverWei Wang
Bug: 151896829 Test: boot flame Change-Id: Ie951008cabe2a5680fbc546a21bdc9a428864ef9
2020-03-15Power: support LOW_POWER unconditionallyWei Wang
Bug: 147840817 Test: boot and check power hint Change-Id: I276e0008f18b0067a10a3c2cf239e3bf4c6f609b
2020-03-14Add OWNERS files for power and thermal HALWei Wang
Bug: 111098032 Test: build Change-Id: I8765d04f850336fe62159f51b3802df8f3eaf5bf
2020-03-13power: Hook with display handlerWei Wang
Bug: 147840817 Test: boot and check power hint Change-Id: I9c0c98e76ef4b5f4756f63ed5122efc366737869
2020-03-12Add power hal aidl implementationWei Wang
Bug: 147840817 Test: boot and check power hint Change-Id: I2a78f0428acd1110f2004db94f3feb6eaf2090b7
2020-02-22Split PowerHAL into HIDL impl and libraryWei Wang
Bug: 147840817 Test: boot Change-Id: Ieb394e0433c4775e84e11e881898933ef93fd08d (cherry picked from commit 2bcf2514fd608493f4d7c6306bb933f7fec6ee24)
2019-10-02Remove libhwbinder/libhidltransport depsSteven Moreland
Since these were combined into libhidlbase. Bug: 135686713 Test: build only (libhwbinder/libhidltransport are empty) Change-Id: Ife609bf7eddeae2fba81625d92de7d8ecddf60e6
2019-07-23PowerHAL: add 60fps streaming hintKourosh Derakshan
Test: Pixel test suite Bug: 136608042 Change-Id: I8b3b1149dc12ce84b03622a0ec3db601f89ffb75
2019-06-17Power: set PowerHAL hwbinder thread to high CFS priorityWei Wang
NodeLooperThread is running as -20, and this CL brings the binder thread running as the same priority. Bug: 134843942 Test: Build and jank test no regression on hwui test Change-Id: I16dfc185e16ffe5c937eabd6f17e371bc9511622
2019-05-29PowerHAL: add CAMERA_STREAMING_SECURE modeJia-yi Chen
Extend CAMERA_STREMING hint to add CAMERA_STREAMING_SECURE mode for secure use case. Bug: 131263055 Test: Boot and test on both typical & secure streaming modes Change-Id: Ifde1414e3535c8744990fe5b3b3e944ecff88ae7
2019-05-23Remove CPU0 governor checkWei Wang
This leads to additional latency in processing hints. Also some tests have small cores shut off. Now for testing need to skipping powerhint: setprop vendor.powerhal.init 0 setprop ctl.restart vendor.power-hal-1-3 Test: Build Bug: 129495482 Fixes: 133425880 Change-Id: I8ede2f2ee70a3df4f1b353ee9c07ab10752973e2
2019-05-22Remove additional 2.5s boost for camera launchWei Wang
We can remove this additional boost as b/65034076 resolved. Test: Build Bug: 129495482 Change-Id: Ice34de0b3900b190c937b321f59c4ce4c97d9a64
2019-05-20power: fix camera launch hint to use correct timeWei Wang
Test: Build Bug: 129495482 Change-Id: I928d4493cda3993be17a56d3d5375f6427a7dc83
2019-04-17Expose pixel_power_headers to vendorWei Wang
Fixes: 130757163 Test: Build Change-Id: I09a8712fb902d4847359dfbb1891e1895703e2b8
2019-04-03PowerHal: Support legacy fb pathMartin Liu
This patch is to support legacy fb path Bug: 129495482 Test: boot and check Interaction hint Change-Id: Ib0dc55a802c30fbf7ed41ecc73bcb08a0c65a432
2019-04-03PowerHAL: support more camera streaming modesMartin Liu
This patch extend camera streaming to normal preview, 1080p and 4K recording cases. Bug: 116854288 Bug: 129495482 Test: boot and function test Change-Id: Ieea9976a1a48fb4580008a7bbd624b1e5167bad1
2019-04-02Expose TPU hints through AudioStreaming.hWei Wang
Also add vintf_fragments Bug: 127982667 Test: boot Change-Id: Ic8d03d10c1747d5b72bf874bba002c6f2e95b490
2019-03-28Move PowerHAL into Pixel commonWei Wang
Bug: 129495482 Bug: 111098032 Test: Boot and check PowerHAL Change-Id: I79b7276ff0c28885877af8b0533fe1f9d81b3b0c