diff options
author | Steve Kondik <steve@cyngn.com> | 2016-05-06 04:30:23 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2016-05-06 22:25:21 -0700 |
commit | b77b8b5a70b4a3d770dc2cee4ab78b49c82f5a28 (patch) | |
tree | ffd9e14fe09e94bb0f4f7e694193d33c4c650608 /sdk/src/java/cyanogenmod/power | |
parent | 186ae8353d02166eb893552b029758600772e8f7 (diff) | |
download | vendor_cmsdk-b77b8b5a70b4a3d770dc2cee4ab78b49c82f5a28.zip vendor_cmsdk-b77b8b5a70b4a3d770dc2cee4ab78b49c82f5a28.tar.gz vendor_cmsdk-b77b8b5a70b4a3d770dc2cee4ab78b49c82f5a28.tar.bz2 |
cmsdk: Pass the process name and pid for launch boosts
* We need this for vendor perf tools.
* This also adds a NativeHelper class which loads the JNI
library on-demand, since we don't have an entry point.
Change-Id: If76ad8f952e86366978ae9cf9d1f107febccc28b
Diffstat (limited to 'sdk/src/java/cyanogenmod/power')
-rw-r--r-- | sdk/src/java/cyanogenmod/power/PerformanceManagerInternal.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sdk/src/java/cyanogenmod/power/PerformanceManagerInternal.java b/sdk/src/java/cyanogenmod/power/PerformanceManagerInternal.java index 67f158a..864648f 100644 --- a/sdk/src/java/cyanogenmod/power/PerformanceManagerInternal.java +++ b/sdk/src/java/cyanogenmod/power/PerformanceManagerInternal.java @@ -20,10 +20,10 @@ import android.content.Intent; /** {@hide} */ public interface PerformanceManagerInternal { - + void activityResumed(Intent intent); - + void cpuBoost(int duration); - - void launchBoost(); + + void launchBoost(int pid, String packageName); } |