Home
last modified time | relevance | path

Searched refs:appThread (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DAppTaskImpl.java95 public void moveToFront(IApplicationThread appThread, String callingPackage) { in moveToFront() argument
114 if (appThread != null) { in moveToFront()
115 callerApp = mService.getProcessController(appThread); in moveToFront()
140 IApplicationThread appThread; in startActivity() local
147 appThread = IApplicationThread.Stub.asInterface(whoThread); in startActivity()
148 if (appThread == null) { in startActivity()
149 throw new IllegalArgumentException("Bad app thread " + appThread); in startActivity()
154 .setCaller(appThread) in startActivity()
DActivityTaskManagerInternal.java348 @NonNull IBinder assistToken, @NonNull IApplicationThread appThread) { in ActivityTokens() argument
351 mAppThread = appThread; in ActivityTokens()
DActivityTaskManagerService.java2342 public void moveTaskToFront(IApplicationThread appThread, String callingPackage, int taskId, in moveTaskToFront() argument
2348 moveTaskToFrontLocked(appThread, callingPackage, taskId, flags, in moveTaskToFront()
2353 void moveTaskToFrontLocked(@Nullable IApplicationThread appThread, in moveTaskToFrontLocked() argument
2371 if (appThread != null) { in moveTaskToFrontLocked()
2372 callerApp = getProcessController(appThread); in moveTaskToFrontLocked()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java80 final IApplicationThread appThread = activity.getActivityThread().getApplicationThread(); in testDoubleRelaunch() local
82 appThread.scheduleTransaction(newRelaunchResumeTransaction(activity)); in testDoubleRelaunch()
83 appThread.scheduleTransaction(newRelaunchResumeTransaction(activity)); in testDoubleRelaunch()
90 final IApplicationThread appThread = activity.getActivityThread().getApplicationThread(); in testResumeAfterRelaunch() local
92 appThread.scheduleTransaction(newRelaunchResumeTransaction(activity)); in testResumeAfterRelaunch()
93 appThread.scheduleTransaction(newResumeTransaction(activity)); in testResumeAfterRelaunch()
100 final IApplicationThread appThread = activity.getActivityThread().getApplicationThread(); in testSleepAndStop() local
102 appThread.scheduleSleeping(activity.getActivityToken(), true /* sleeping */); in testSleepAndStop()
103 appThread.scheduleTransaction(newStopTransaction(activity)); in testSleepAndStop()
275 final IApplicationThread appThread = activityThread.getApplicationThread(); in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration() local
[all …]
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionParcelTests.java323 IApplicationThread appThread = new StubAppThread(); in testClientTransaction() local
326 ClientTransaction transaction = ClientTransaction.obtain(appThread, activityToken); in testClientTransaction()
347 IApplicationThread appThread = new StubAppThread(); in testClientTransactionCallbacksOnly() local
350 ClientTransaction transaction = ClientTransaction.obtain(appThread, activityToken); in testClientTransactionCallbacksOnly()
369 IApplicationThread appThread = new StubAppThread(); in testClientTransactionLifecycleOnly() local
372 ClientTransaction transaction = ClientTransaction.obtain(appThread, activityToken); in testClientTransactionLifecycleOnly()
/frameworks/base/core/java/android/app/
DIAppTask.aidl29 void moveToFront(in IApplicationThread appThread, in String callingPackage); in moveToFront() argument
DActivityManager.java2062 IApplicationThread appThread = thread.getApplicationThread();
2064 getTaskService().moveTaskToFront(appThread, packageName, taskId, flags, options);
4276 IApplicationThread appThread = thread.getApplicationThread();
4278 mAppTaskImpl.moveToFront(appThread, packageName);
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java132 IApplicationThread appThread = thread.getApplicationThread();
133 ActivityTaskManager.getService().moveTaskToFront(appThread, getPackageName(),
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6290 public void moveTaskToFront(IApplicationThread appThread, String callingPackage, int taskId, in moveTaskToFront() argument
6292 mActivityTaskManager.moveTaskToFront(appThread, callingPackage, taskId, flags, bOptions); in moveTaskToFront()