Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DAppTaskImpl.java116 public void moveToFront(IApplicationThread appThread, String callingPackage) { in moveToFront() argument
126 if (appThread != null) { in moveToFront()
127 callerApp = mService.getProcessController(appThread); in moveToFront()
166 IApplicationThread appThread; in startActivity() local
173 appThread = IApplicationThread.Stub.asInterface(whoThread); in startActivity()
174 if (appThread == null) { in startActivity()
175 throw new IllegalArgumentException("Bad app thread " + appThread); in startActivity()
180 .setCaller(appThread) in startActivity()
DActivityTaskManagerInternal.java400 @NonNull IBinder assistToken, @NonNull IApplicationThread appThread, in ActivityTokens() argument
404 mAppThread = appThread; in ActivityTokens()
DTaskFragmentOrganizerController.java1265 final IApplicationThread appThread = wpc != null && wpc.mUid == uid in getAppThread() local
1268 if (appThread == null) { in getAppThread()
1272 return appThread; in getAppThread()
DTaskFragment.java1605 final IApplicationThread appThread = next.app.getThread(); in resumeTopActivity() local
1608 : ClientTransaction.obtain(appThread); in resumeTopActivity()
1621 appThread, activityResultItem); in resumeTopActivity()
1633 appThread, newIntentItem); in resumeTopActivity()
1655 appThread, resumeActivityItem); in resumeTopActivity()
DTransitionController.java1609 boolean reportRunning(@NonNull IApplicationThread appThread) { in reportRunning() argument
1612 delegate = mDelegateProcesses.get(appThread.asBinder()); in reportRunning()
DActivityTaskManagerService.java2220 public void moveTaskToFront(IApplicationThread appThread, String callingPackage, int taskId, in moveTaskToFront() argument
2227 moveTaskToFrontLocked(appThread, callingPackage, taskId, flags, in moveTaskToFront()
2232 void moveTaskToFrontLocked(@Nullable IApplicationThread appThread, in moveTaskToFrontLocked() argument
2240 if (appThread != null) { in moveTaskToFrontLocked()
2241 callerApp = getProcessController(appThread); in moveTaskToFrontLocked()
4451 IApplicationThread appThread = null; in dumpActivity() local
4461 appThread = r.app.getThread(); in dumpActivity()
4474 if (appThread != null) { in dumpActivity()
4479 appThread.dumpActivity(tp.getWriteFd(), r.token, innerPrefix, args); in dumpActivity()
DWindowManagerService.java2929 public WindowContextInfo attachWindowContextToDisplayArea(@NonNull IApplicationThread appThread, in attachWindowContextToDisplayArea() argument
2932 Objects.requireNonNull(appThread); in attachWindowContextToDisplayArea()
2941 final WindowProcessController wpc = mAtmService.getProcessController(appThread); in attachWindowContextToDisplayArea()
2969 @NonNull IApplicationThread appThread, @NonNull IBinder clientToken, int displayId) { in attachWindowContextToDisplayContent()
2970 Objects.requireNonNull(appThread); in attachWindowContextToDisplayContent()
2977 final WindowProcessController wpc = mAtmService.getProcessController(appThread); in attachWindowContextToDisplayContent()
3011 public WindowContextInfo attachWindowContextToWindowToken(@NonNull IApplicationThread appThread, in attachWindowContextToWindowToken() argument
3013 Objects.requireNonNull(appThread); in attachWindowContextToWindowToken()
3023 final WindowProcessController wpc = mAtmService.getProcessController(appThread); in attachWindowContextToWindowToken()
/frameworks/base/core/java/android/window/
DRemoteTransition.java76 @Nullable IApplicationThread appThread, in RemoteTransition() argument
81 this.mAppThread = appThread; in RemoteTransition()
175 …IApplicationThread appThread = (flg & 0x2) == 0 ? null : IApplicationThread.Stub.asInterface(in.re… in RemoteTransition() local
181 this.mAppThread = appThread; in RemoteTransition()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java169 final IApplicationThread appThread = activity.getActivityThread().getApplicationThread(); in testDoubleRelaunch() local
171 appThread.scheduleTransaction(newRelaunchResumeTransaction(activity)); in testDoubleRelaunch()
172 appThread.scheduleTransaction(newRelaunchResumeTransaction(activity)); in testDoubleRelaunch()
179 final IApplicationThread appThread = activity.getActivityThread().getApplicationThread(); in testResumeAfterRelaunch() local
181 appThread.scheduleTransaction(newRelaunchResumeTransaction(activity)); in testResumeAfterRelaunch()
182 appThread.scheduleTransaction(newResumeTransaction(activity)); in testResumeAfterRelaunch()
237 final IApplicationThread appThread = activityThread.getApplicationThread(); in testOverrideScale() local
259 appThread.scheduleTransaction(transaction); in testOverrideScale()
276 appThread.scheduleTransaction(transaction); in testOverrideScale()
450 final IApplicationThread appThread = activityThread.getApplicationThread(); in testHandleActivityConfigurationChanged_EnsureUpdatesProcessedInOrder() local
[all …]
/frameworks/base/core/java/android/app/
DIAppTask.aidl29 void moveToFront(in IApplicationThread appThread, in String callingPackage); in moveToFront() argument
DActivityManager.java3136 IApplicationThread appThread = thread.getApplicationThread(); in moveTaskToFront() local
3138 getTaskService().moveTaskToFront(appThread, packageName, taskId, flags, options); in moveTaskToFront()
6043 IApplicationThread appThread = thread.getApplicationThread(); in moveToFront() local
6045 mAppTaskImpl.moveToFront(appThread, packageName); in moveToFront()
DLoadedApk.java1836 ReceiverDispatcher(IApplicationThread appThread, BroadcastReceiver receiver, in ReceiverDispatcher() argument
1843 mAppThread = appThread; in ReceiverDispatcher()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java133 IApplicationThread appThread = thread.getApplicationThread();
134 ActivityTaskManager.getService().moveTaskToFront(appThread, getPackageName(),
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DIRecentTasks.aidl58 IApplicationThread appThread, IRecentsAnimationRunner listener) = 5; in startRecentsTransition() argument
DRecentTasksController.java649 IApplicationThread appThread, IRecentsAnimationRunner listener) { in startRecentsTransition() argument
657 intent, fillIn, options, appThread, listener)); in startRecentsTransition()
DRecentsTransitionHandler.java143 IApplicationThread appThread, IRecentsAnimationRunner listener) { in startRecentsTransition() argument
148 mAnimApp = appThread; in startRecentsTransition()
/frameworks/base/core/java/android/view/
DIWindowManager.aidl877 @nullable WindowContextInfo attachWindowContextToDisplayArea(in IApplicationThread appThread, in attachWindowContextToDisplayArea() argument
902 @nullable WindowContextInfo attachWindowContextToWindowToken(in IApplicationThread appThread, in attachWindowContextToWindowToken() argument
921 @nullable WindowContextInfo attachWindowContextToDisplayContent(in IApplicationThread appThread, in attachWindowContextToDisplayContent() argument
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInputMethodDialogWindowContextTest.java105 IApplicationThread appThread = (IApplicationThread) args[0]; in setUp()
109 final WindowProcessController wpc = mAtm.getProcessController(appThread); in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DServiceBindingOomAdjPolicyTest.java532 final IApplicationThread appThread = mock(IApplicationThread.class); in addProcessRecord() local
537 app.makeActive(appThread, mAms.mProcessStats); in addProcessRecord()
538 doReturn(threadBinder).when(appThread).asBinder(); in addProcessRecord()
DActivityManagerServiceTest.java530 final IApplicationThread appThread = mock(IApplicationThread.class); in addUidRecord() local
531 doReturn(mock(IBinder.class)).when(appThread).asBinder(); in addUidRecord()
532 appRec.makeActive(appThread, tracker); in addUidRecord()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DTransitions.java484 public static void setRunningRemoteTransitionDelegate(IApplicationThread appThread) { in setRunningRemoteTransitionDelegate() argument
485 if (appThread == null) return; in setRunningRemoteTransitionDelegate()
487 ActivityTaskManager.getService().setRunningRemoteTransitionDelegate(appThread); in setRunningRemoteTransitionDelegate()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3522 IApplicationThread appThread; in appDiedLocked() local
3525 if (app.getPid() == pid && (appThread = app.getThread()) != null in appDiedLocked()
3526 && appThread.asBinder() == thread.asBinder()) { in appDiedLocked()
6920 public void moveTaskToFront(IApplicationThread appThread, String callingPackage, int taskId, in moveTaskToFront() argument
6922 mActivityTaskManager.moveTaskToFront(appThread, callingPackage, taskId, flags, bOptions); in moveTaskToFront()