Home
last modified time | relevance | path

Searched refs:starter (Results 1 – 8 of 8) 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 …]
DActivityStackTests.java1088 final ActivityStarter starter = new ActivityStarter(controller, in testNavigateUpTo() local
1091 spyOn(starter); in testNavigateUpTo()
1092 doReturn(ActivityManager.START_SUCCESS).when(starter).execute(); in testNavigateUpTo()
1097 doReturn(starter).when(controller).obtainStarter(eq(firstActivity.intent), anyString()); in testNavigateUpTo()
1113 assertEquals(secondActivity.getUid(), starter.getCallingUid()); in testNavigateUpTo()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java239 void recycle(ActivityStarter starter); in recycle() argument
276 ActivityStarter starter = mStarterPool.acquire(); in obtain() local
278 if (starter == null) { in obtain()
279 starter = new ActivityStarter(mController, mService, mSupervisor, mInterceptor); in obtain()
282 return starter; in obtain()
286 public void recycle(ActivityStarter starter) { in recycle() argument
287 starter.reset(true /* clearRequest*/); in recycle()
288 mStarterPool.release(starter); in recycle()
455 void set(ActivityStarter starter) { in set() argument
456 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.java2389 final ActivityStarter starter = getActivityStartController().obtainStarter( in moveTaskToFrontLocked() local
2391 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()