Home
last modified time | relevance | path

Searched refs:AppActivity (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tools/powermodel/src/com/android/powermodel/
DActivityReport.java32 private AppList<AppActivity> mApps;
34 public ImmutableList<AppActivity> getAllApps() { in getAllApps()
38 public ImmutableList<AppActivity> getRegularApps() { in getRegularApps()
42 public List<AppActivity> findApp(String pkg) { in findApp()
46 public AppActivity findApp(SpecialApp specialApp) { in findApp()
57 final AppActivity global = mApps.findApp(SpecialApp.GLOBAL); in findGlobalComponent()
65 private AppList.Builder<AppActivity,AppActivity.Builder> mApps = new AppList.Builder();
83 AppActivity.Builder app = mApps.get(activity.attribution); in addActivity()
85 app = new AppActivity.Builder(); in addActivity()
DAppActivity.java25 public class AppActivity extends AppInfo { class
31 private AppActivity() { in AppActivity() method in AppActivity
62 public static class Builder extends AppInfo.Builder<AppActivity> {
69 public AppActivity build() { in build()
70 final AppActivity result = new AppActivity(); in build()
DPowerReport.java61 for (final AppActivity appActivity: activityReport.getAllApps()) { in createReport()
/frameworks/base/tools/powermodel/test/com/android/powermodel/
DBatteryStatsReaderTest.java41 final AppActivity global = report.findApp(SpecialApp.GLOBAL); in testModemGlobal()
55 final List<AppActivity> gmailList = report.findApp("com.google.android.gm"); in testModemApp()
57 final AppActivity gmail = gmailList.get(0); in testModemApp()
69 final AppActivity remainder = report.findApp(SpecialApp.REMAINDER); in testModemRemainder()