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.java354 @NonNull IBinder assistToken, @NonNull IApplicationThread appThread) { in ActivityTokens() argument
357 mAppThread = appThread; in ActivityTokens()
DActivityTaskManagerService.java2357 public void moveTaskToFront(IApplicationThread appThread, String callingPackage, int taskId, in moveTaskToFront() argument
2363 moveTaskToFrontLocked(appThread, callingPackage, taskId, flags, in moveTaskToFront()
2368 void moveTaskToFrontLocked(@Nullable IApplicationThread appThread, in moveTaskToFrontLocked() argument
2386 if (appThread != null) { in moveTaskToFrontLocked()
2387 callerApp = getProcessController(appThread); in moveTaskToFrontLocked()
5073 IApplicationThread appThread = null; in dumpActivity() local
5080 appThread = r.app.getThread(); in dumpActivity()
5088 if (appThread != null) { in dumpActivity()
5093 appThread.dumpActivity(tp.getWriteFd(), r.appToken, innerPrefix, args); in dumpActivity()
/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/com/android/internal/app/
DHeavyWeightSwitcherActivity.java132 IApplicationThread appThread = thread.getApplicationThread();
133 ActivityTaskManager.getService().moveTaskToFront(appThread, getPackageName(),
/frameworks/base/core/java/android/app/
DIAppTask.aidl29 void moveToFront(in IApplicationThread appThread, in String callingPackage); in moveToFront() argument
DActivityManager.java2069 IApplicationThread appThread = thread.getApplicationThread();
2071 getTaskService().moveTaskToFront(appThread, packageName, taskId, flags, options);
4305 IApplicationThread appThread = thread.getApplicationThread();
4307 mAppTaskImpl.moveToFront(appThread, packageName);
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6319 public void moveTaskToFront(IApplicationThread appThread, String callingPackage, int taskId, in moveTaskToFront() argument
6321 mActivityTaskManager.moveTaskToFront(appThread, callingPackage, taskId, flags, bOptions); in moveTaskToFront()