Home
last modified time | relevance | path

Searched refs:launchCount (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/people/java/com/android/server/people/data/
DAppUsageStatsData.java29 public AppUsageStatsData(int chosenCount, int launchCount) { in AppUsageStatsData() argument
31 this.mLaunchCount = launchCount; in AppUsageStatsData()
41 void incrementLaunchCountBy(int launchCount) { in incrementLaunchCountBy() argument
42 this.mLaunchCount += launchCount; in incrementLaunchCountBy()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java656 private String makeReasonForIorapTrialLaunch(int launchCount) { in makeReasonForIorapTrialLaunch() argument
658 if (launchCount == 0) { in makeReasonForIorapTrialLaunch()
661 if (launchCount == IORAP_TRIAL_LAUNCH_ITERATIONS - 1) { in makeReasonForIorapTrialLaunch()
700 … for (int launchCount = 0; launchCount < IORAP_TRIAL_LAUNCH_ITERATIONS; ++launchCount) { in setLaunchOrder()
702 String reason = makeReasonForIorapTrialLaunch(launchCount); in setLaunchOrder()
710 for (int launchCount = 0; launchCount < mLaunchIterations; launchCount++) { in setLaunchOrder()
713 String.format(LAUNCH_ITERATION, launchCount), in setLaunchOrder()
734 … for (int launchCount = 0; launchCount < IORAP_TRIAL_LAUNCH_ITERATIONS; ++launchCount) { in setLaunchOrder()
735 String reason = makeReasonForIorapTrialLaunch(launchCount); in setLaunchOrder()
742 for (int launchCount = 0; launchCount < mLaunchIterations; launchCount++) { in setLaunchOrder()
[all …]
/frameworks/base/tests/AppLaunchWear/src/com/android/tests/applaunch/
DAppLaunch.java403 for (int launchCount = 0; launchCount < mLaunchIterations; launchCount++) { in setLaunchOrder()
406 String.format(LAUNCH_ITERATION, launchCount))); in setLaunchOrder()
424 for (int launchCount = 0; launchCount < mLaunchIterations; launchCount++) { in setLaunchOrder()
426 String.format(LAUNCH_ITERATION, launchCount))); in setLaunchOrder()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DUsageStatsQueryHelperTest.java259 private static UsageStats createUsageStats(String packageName, int launchCount, in createUsageStats() argument
263 packageStats.mAppLaunchCount = launchCount; in createUsageStats()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStackTests.java1089 activity.launchCount = 1; in testHandleAppDied_RelaunchesAfterCrashDuringWindowingModeResize()
1103 activity.launchCount = 3; in testHandleAppDied_NotRelaunchAfterThreeCrashesDuringWindowingModeResize()
1117 activity.launchCount = 1; in testHandleAppDied_RelaunchesAfterCrashDuringFreeResize()
1131 activity.launchCount = 3; in testHandleAppDied_NotRelaunchAfterThreeCrashesDuringFreeResize()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStack.java463 && r.launchCount < 3 && !r.finishing) { in processActivity()
473 } else if (!r.mVisibleRequested && r.launchCount > 2 in processActivity()
DActivityRecord.java514 int launchCount; // count of launches since last state field in ActivityRecord
887 pw.print(" launchCount="); pw.print(launchCount); in dump()
5068 launchCount = 0; in activityStopped()
DActivityStackSupervisor.java782 r.launchCount++; in realStartActivityLocked()