summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2012-09-23 05:18:41 -0700
committerSteve Kondik <shade@chemlab.org>2012-12-27 00:06:40 -0800
commit14aadb0c181f8a4264c7736d0da2f88dfb453030 (patch)
tree4c5e121e5b0c58b78d206bd86e9d5fa66927903e /tools
parenta17c796cad4ba27682dcda377c2d775471ee4627 (diff)
downloadframeworks_base-14aadb0c181f8a4264c7736d0da2f88dfb453030.zip
frameworks_base-14aadb0c181f8a4264c7736d0da2f88dfb453030.tar.gz
frameworks_base-14aadb0c181f8a4264c7736d0da2f88dfb453030.tar.bz2
power: Add CPU boosting interface
* Boosts CPU using Power HAL for the given duration. * Duration is given in microseconds. * Power HAL must implement POWER_HINT_CPU_BOOST. Change-Id: Ic79baf7e3d0f75483c2fe8a242b4c3d93368b68b
Diffstat (limited to 'tools')
-rw-r--r--tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
index 1ccbc40..c0151cf 100644
--- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
+++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java
@@ -119,4 +119,9 @@ public class BridgePowerManager implements IPowerManager {
public void wakeUp(long time) throws RemoteException {
// pass for now.
}
+
+ @Override
+ public void cpuBoost(int duration) throws RemoteException {
+ // pass for now
+ }
}