OSDN Git Service

power: Add new power hints
authorSteve Kondik <steve@cyngn.com>
Fri, 1 Nov 2013 20:28:10 +0000 (20:28 +0000)
committerMichael Bestas <mikeioannina@gmail.com>
Sun, 1 Jan 2017 21:50:55 +0000 (23:50 +0200)
commit64b9827b7bce4445f2e668b34ba67a4138f405ad
tree9181f7e3038905d3e74c16846db83c6444be0a5e
parentd4400e424740e0b6f008c04ebaa0f7996956e897
power: Add new power hints

 * New hint to support CPU boosting with a duration.

libhardware: Add audio power hint

libhardware: Add power hint to set profile

 * A PowerHAL can implement support for this hint to receive
   power profile changes from the framework.

libhardware: Add POWER_HINT_LAUNCH_BOOST for PowerHAL

hardware: Add new getFeature() function to Power HAL

 * The current use case for this is to query the power HAL for
   the number of supported profiles.

hardware: Add definition for launch boost info
include/hardware/power.h