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
109 if (appThread != null) { in moveToFront()
110 callerApp = mService.getProcessController(appThread); in moveToFront()
136 IApplicationThread appThread; in startActivity() local
143 appThread = IApplicationThread.Stub.asInterface(whoThread); in startActivity()
144 if (appThread == null) { in startActivity()
145 throw new IllegalArgumentException("Bad app thread " + appThread); in startActivity()
150 .setCaller(appThread) in startActivity()
DActivityTaskManagerInternal.java337 @NonNull IBinder assistToken, @NonNull IApplicationThread appThread) { in ActivityTokens() argument
340 mAppThread = appThread; in ActivityTokens()
DActivityTaskManagerService.java2502 public void moveTaskToFront(IApplicationThread appThread, String callingPackage, int taskId, in moveTaskToFront() argument
2508 moveTaskToFrontLocked(appThread, callingPackage, taskId, flags, in moveTaskToFront()
2513 void moveTaskToFrontLocked(@Nullable IApplicationThread appThread, in moveTaskToFrontLocked() argument
2524 if (appThread != null) { in moveTaskToFrontLocked()
2525 callerApp = getProcessController(appThread); in moveTaskToFrontLocked()
5055 IApplicationThread appThread = null; in dumpActivity() local
5062 appThread = r.app.getThread(); in dumpActivity()
5070 if (appThread != null) { in dumpActivity()
5075 appThread.dumpActivity(tp.getWriteFd(), r.appToken, innerPrefix, args); in dumpActivity()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java93 final IApplicationThread appThread = activity.getActivityThread().getApplicationThread(); in testDoubleRelaunch() local
95 appThread.scheduleTransaction(newRelaunchResumeTransaction(activity)); in testDoubleRelaunch()
96 appThread.scheduleTransaction(newRelaunchResumeTransaction(activity)); in testDoubleRelaunch()
103 final IApplicationThread appThread = activity.getActivityThread().getApplicationThread(); in testResumeAfterRelaunch() local
105 appThread.scheduleTransaction(newRelaunchResumeTransaction(activity)); in testResumeAfterRelaunch()
106 appThread.scheduleTransaction(newResumeTransaction(activity)); in testResumeAfterRelaunch()
281 final IApplicationThread appThread = activityThread.getApplicationThread(); in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder() local
305 appThread.scheduleTransaction(transaction); in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
311 appThread.scheduleTransaction(transaction); in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder()
343 final IApplicationThread appThread = activityThread.getApplicationThread(); in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration() local
[all …]
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionParcelTests.java289 IApplicationThread appThread = new StubAppThread(); in testClientTransaction() local
292 ClientTransaction transaction = ClientTransaction.obtain(appThread, activityToken); in testClientTransaction()
313 IApplicationThread appThread = new StubAppThread(); in testClientTransactionCallbacksOnly() local
316 ClientTransaction transaction = ClientTransaction.obtain(appThread, activityToken); in testClientTransactionCallbacksOnly()
334 IApplicationThread appThread = new StubAppThread(); in testClientTransactionLifecycleOnly() local
337 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.java2463 IApplicationThread appThread = thread.getApplicationThread();
2465 getTaskService().moveTaskToFront(appThread, packageName, taskId, flags, options);
4826 IApplicationThread appThread = thread.getApplicationThread();
4828 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.java6628 public void moveTaskToFront(IApplicationThread appThread, String callingPackage, int taskId, in moveTaskToFront() argument
6630 mActivityTaskManager.moveTaskToFront(appThread, callingPackage, taskId, flags, bOptions); in moveTaskToFront()