Home
last modified time | relevance | path

Searched refs:starter (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java206 final ActivityStarter starter = new ActivityStarter(controller, service, in verifyStartActivityPreconditions() local
281 final int result = starter.setCaller(caller) in verifyStartActivityPreconditions()
419 final ActivityStarter starter = prepareStarter(FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); in testSplitScreenDeliverToTop() local
441 final int result = starter.setReason("testSplitScreenDeliverToTop").execute(); in testSplitScreenDeliverToTop()
453 final ActivityStarter starter = prepareStarter(FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); in testSplitScreenTaskToFront() local
473 final int result = starter.setReason("testSplitScreenMoveToFront").execute(); in testSplitScreenTaskToFront()
488 final ActivityStarter starter = prepareStarter(0); in testTaskModeViolation() local
493 final int result = starter.setReason("testTaskModeViolation").execute(); in testTaskModeViolation()
514 ActivityStarter starter = prepareStarter(FLAG_ACTIVITY_NEW_TASK); in testActivityStartsLogging_noLoggingWhenDisabled() local
515 starter.setReason("testActivityStartsLogging_noLoggingWhenDisabled").execute(); in testActivityStartsLogging_noLoggingWhenDisabled()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java238 void recycle(ActivityStarter starter); in recycle() argument
275 ActivityStarter starter = mStarterPool.acquire(); in obtain() local
277 if (starter == null) { in obtain()
278 starter = new ActivityStarter(mController, mService, mSupervisor, mInterceptor); in obtain()
281 return starter; in obtain()
285 public void recycle(ActivityStarter starter) { in recycle() argument
286 starter.reset(true /* clearRequest*/); in recycle()
287 mStarterPool.release(starter); in recycle()
454 void set(ActivityStarter starter) { in set() argument
455 mStartActivity = starter.mStartActivity; in set()
[all …]
DActivityStartController.java149 void onExecutionComplete(ActivityStarter starter) { in onExecutionComplete() argument
154 mLastStarter.set(starter); in onExecutionComplete()
155 mFactory.recycle(starter); in onExecutionComplete()
461 final ActivityStarter starter = obtainStarter(null /* intent */, in doPendingActivityLaunches() local
464 starter.startResolvedActivity(pal.r, pal.sourceRecord, null, null, pal.startFlags, in doPendingActivityLaunches()
DAppTaskImpl.java117 final ActivityStarter starter = mService.getActivityStartController().obtainStarter( in moveToFront() local
119 if (starter.shouldAbortBackgroundActivityStart(callingUid, callingPid, in moveToFront()
DActivityTaskManagerService.java2374 final ActivityStarter starter = getActivityStartController().obtainStarter( in moveTaskToFrontLocked() local
2376 if (starter.shouldAbortBackgroundActivityStart(callingUid, callingPid, callingPackage, -1, in moveTaskToFrontLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DActivityStarterDelegate.java132 public void setActivityStarterImpl(ActivityStarter starter) { in setActivityStarterImpl() argument
133 mActualStarter = starter; in setActivityStarterImpl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerNotificationWarningsTest.java61 ActivityStarter starter = mDependency.injectMockDependency(ActivityStarter.class); in setUp() local
62 mPowerNotificationWarnings = new PowerNotificationWarnings(mContext, starter); in setUp()