From b77b8b5a70b4a3d770dc2cee4ab78b49c82f5a28 Mon Sep 17 00:00:00 2001 From: Steve Kondik Date: Fri, 6 May 2016 04:30:23 -0700 Subject: 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 --- sdk/src/java/cyanogenmod/power/PerformanceManagerInternal.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sdk') 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); } -- cgit v1.1