angrydino/android_frameworks_base — pull request #4 by franco-c (2013-08-05 15:09:13+00:00)
Title: Frameworks: CPU boosting Hooks && Interface

Requires: https://github.com/franco-c/platform_hardware_libhardware/commit/d07c0c80ad094dd831e7962f00cbd4ed38a70e99

Credits to CM
* Boosts CPU using Power HAL for the given duration.
* Duration is given in microseconds.
* Power HAL must implement POWER_HINT_CPU_BOOST.
* Boost CPU to max during scrolling
* Boost CPU to max on activity start/resume
* Inspired by a patch from CodeAuora.

Change-Id: Id50847d9814e9ffc33c09c136406d0a8318bf3db