Home
last modified time | relevance | path

Searched refs:launchCount (Results 1 – 7 of 7) 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.java268 private static UsageStats createUsageStats(String packageName, int launchCount, in createUsageStats() argument
272 packageStats.mAppLaunchCount = launchCount; in createUsageStats()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRootTaskTests.java1244 activity.launchCount = 1; in testHandleAppDied_RelaunchesAfterCrashDuringWindowingModeResize()
1258 activity.launchCount = 3; in testHandleAppDied_NotRelaunchAfterThreeCrashesDuringWindowingModeResize()
1272 activity.launchCount = 1; in testHandleAppDied_RelaunchesAfterCrashDuringFreeResize()
1286 activity.launchCount = 3; in testHandleAppDied_NotRelaunchAfterThreeCrashesDuringFreeResize()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java535 int launchCount; // count of launches since last state field in ActivityRecord
1005 pw.print(" launchCount="); pw.print(launchCount); in dump()
3497 && launchCount < 3 && !finishing) { in handleAppDied()
3505 } else if (!mVisibleRequested && launchCount > 2 in handleAppDied()
5570 launchCount = 0; in activityStopped()
DActivityTaskSupervisor.java786 r.launchCount++; in realStartActivityLocked()