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
This commit is contained in:
Steve Kondik
2016-05-06 04:30:23 -07:00
committed by Steve Kondik
parent 186ae8353d
commit b77b8b5a70
7 changed files with 162 additions and 49 deletions

View File

@@ -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);
}