Home
last modified time | relevance | path

Searched refs:IApplicationThread (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DClientLifecycleManager.java20 import android.app.IApplicationThread;
46 final IApplicationThread client = transaction.getClient(); in scheduleTransaction()
65 void scheduleTransaction(@NonNull IApplicationThread client, @NonNull IBinder activityToken, in scheduleTransaction()
81 void scheduleTransaction(@NonNull IApplicationThread client, @NonNull IBinder activityToken, in scheduleTransaction()
96 void scheduleTransaction(@NonNull IApplicationThread client, in scheduleTransaction()
109 private static ClientTransaction transactionWithState(@NonNull IApplicationThread client, in transactionWithState()
122 private static ClientTransaction transactionWithCallback(@NonNull IApplicationThread client, in transactionWithCallback()
DAppTaskImpl.java24 import android.app.IApplicationThread;
95 public void moveToFront(IApplicationThread appThread, String callingPackage) { in moveToFront()
140 IApplicationThread appThread; in startActivity()
147 appThread = IApplicationThread.Stub.asInterface(whoThread); in startActivity()
DActivityTaskManagerInternal.java25 import android.app.IApplicationThread;
243 public abstract int startActivityAsUser(IApplicationThread caller, String callingPackage, in startActivityAsUser()
351 private final @NonNull IApplicationThread mAppThread;
354 @NonNull IBinder assistToken, @NonNull IApplicationThread appThread) { in ActivityTokens()
377 public @NonNull IApplicationThread getApplicationThread() { in getApplicationThread()
DWindowProcessController.java44 import android.app.IApplicationThread;
104 private IApplicationThread mThread;
210 public void setThread(IApplicationThread thread) { in setThread()
216 IApplicationThread getThread() { in getThread()
DActivityStartController.java29 import android.app.IApplicationThread;
344 int startActivities(IApplicationThread caller, int callingUid, int incomingRealCallingPid, in startActivities()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java18 import android.app.IApplicationThread;
83 private IApplicationThread mIApplicationThread;
220 nullable(IApplicationThread.class), in startActivityAsUser_currentUser()
241 nullable(IApplicationThread.class), in startAnyActivityAsUser_currentUser()
264 nullable(IApplicationThread.class), in startActivityAsUser_profile_notInstalled()
287 nullable(IApplicationThread.class), in startAnyActivityAsUser_profile_notInstalled()
308 nullable(IApplicationThread.class), in startActivityAsUser_profile_fakeCaller()
329 nullable(IApplicationThread.class), in startAnyActivityAsUser_profile_fakeCaller()
352 nullable(IApplicationThread.class), in startActivityAsUser_profile_notExported()
375 nullable(IApplicationThread.class), in startAnyActivityAsUser_profile_notExported()
[all …]
/frameworks/base/core/java/android/app/
DIActivityManager.aidl23 import android.app.IApplicationThread;
106 int startActivity(in IApplicationThread caller, in String callingPackage, in Intent intent, in startActivity()
114 Intent registerReceiver(in IApplicationThread caller, in String callerPackage, in registerReceiver()
120 int broadcastIntent(in IApplicationThread caller, in Intent intent, in broadcastIntent()
124 void unbroadcastIntent(in IApplicationThread caller, in Intent intent, int userId); in unbroadcastIntent()
128 void attachApplication(in IApplicationThread app, long startSeq); in attachApplication()
134 void moveTaskToFront(in IApplicationThread caller, in String callingPackage, int task, in moveTaskToFront()
138 ContentProviderHolder getContentProvider(in IApplicationThread caller, in String callingPackage, in getContentProvider()
141 void publishContentProviders(in IApplicationThread caller, in publishContentProviders()
145 ComponentName startService(in IApplicationThread caller, in Intent service, in startService()
[all …]
DIAppTask.aidl20 import android.app.IApplicationThread;
29 void moveToFront(in IApplicationThread appThread, in String callingPackage); in moveToFront()
DIActivityTaskManager.aidl23 import android.app.IApplicationThread;
86 int startActivity(in IApplicationThread caller, in String callingPackage, in Intent intent, in startActivity()
89 int startActivities(in IApplicationThread caller, in String callingPackage, in startActivities()
92 int startActivityAsUser(in IApplicationThread caller, in String callingPackage, in startActivityAsUser()
98 int startActivityIntentSender(in IApplicationThread caller, in startActivityIntentSender()
102 WaitResult startActivityAndWait(in IApplicationThread caller, in String callingPackage, in startActivityAndWait()
106 int startActivityWithConfig(in IApplicationThread caller, in String callingPackage, in startActivityWithConfig()
119 int startActivityAsCaller(in IApplicationThread caller, in String callingPackage, in startActivityAsCaller()
153 void moveTaskToFront(in IApplicationThread app, in String callingPackage, int task, in moveTaskToFront()
215 void releaseSomeActivities(in IApplicationThread app); in releaseSomeActivities()
DInstrumentation.java1681 IApplicationThread whoThread = (IApplicationThread) contextThread; in execStartActivity()
1754 IApplicationThread whoThread = (IApplicationThread) contextThread; in execStartActivitiesAsUser()
1826 IApplicationThread whoThread = (IApplicationThread) contextThread; in execStartActivity()
1894 IApplicationThread whoThread = (IApplicationThread) contextThread; in execStartActivity()
1941 IApplicationThread whoThread = (IApplicationThread) contextThread; in execStartActivityAsCaller()
1988 IApplicationThread whoThread = (IApplicationThread) contextThread; in execStartActivityFromAppTask()
DIApplicationThread.aidl58 oneway interface IApplicationThread { interface
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DClientLifecycleManagerTests.java24 import android.app.IApplicationThread;
43 ClientTransaction item = spy(ClientTransaction.obtain(mock(IApplicationThread.class), in testScheduleAndRecycleBinderClientTransaction()
54 ClientTransaction item = spy(ClientTransaction.obtain(mock(IApplicationThread.Stub.class), in testScheduleNoRecycleNonBinderClientTransaction()
DActivityStartControllerTests.java29 import android.app.IApplicationThread;
82 wpc.setThread(mock(IApplicationThread.class)); in testPendingActivityLaunches()
DActivityStarterTests.java63 import android.app.IApplicationThread;
209 final IApplicationThread caller = mock(IApplicationThread.class); in verifyStartActivityPreconditions()
659 final IApplicationThread caller = mock(IApplicationThread.class); in runAndVerifyBackgroundActivityStartsSubtest()
DRecentsAnimationTest.java45 import android.app.IApplicationThread;
133 wpc.setThread(mock(IApplicationThread.class)); in testPreloadRecentsActivity()
/frameworks/base/core/java/android/app/servertransaction/
DClientTransaction.java21 import android.app.IApplicationThread;
57 private IApplicationThread mClient;
63 public IApplicationThread getClient() { in getClient()
144 public static ClientTransaction obtain(IApplicationThread client, IBinder activityToken) { in obtain()
194 mClient = (IApplicationThread) in.readStrongBinder(); in ClientTransaction()
/frameworks/base/core/java/android/content/pm/
DILauncherApps.aidl19 import android.app.IApplicationThread;
49 void startSessionDetailsActivityAsUser(in IApplicationThread caller, String callingPackage, in startSessionDetailsActivityAsUser()
52 void startActivityAsUser(in IApplicationThread caller, String callingPackage, in startActivityAsUser()
55 void showAppDetailsAsUser(in IApplicationThread caller, in showAppDetailsAsUser()
DICrossProfileApps.aidl19 import android.app.IApplicationThread;
30 void startActivityAsUser(in IApplicationThread caller, in String callingPackage, in startActivityAsUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityControllerTest.java31 import android.app.IApplicationThread;
120 eq((IApplicationThread) null), in setActivityStartCode()
135 eq((IApplicationThread) null), in verifyStartActivity()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java31 import android.app.IApplicationThread;
80 final IApplicationThread appThread = activity.getActivityThread().getApplicationThread(); in testDoubleRelaunch()
90 final IApplicationThread appThread = activity.getActivityThread().getApplicationThread(); in testResumeAfterRelaunch()
100 final IApplicationThread appThread = activity.getActivityThread().getApplicationThread(); in testSleepAndStop()
275 final IApplicationThread appThread = activityThread.getApplicationThread(); in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
425 final IApplicationThread appThread = activity.getActivityThread().getApplicationThread(); in newTransaction()
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetService.aidl29 import android.app.IApplicationThread;
72 IApplicationThread caller, IBinder token, IServiceConnection connection, int flags); in bindRemoteViewsService()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java23 import android.app.IApplicationThread;
132 IApplicationThread appThread = thread.getApplicationThread();
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionParcelTests.java27 import android.app.IApplicationThread;
323 IApplicationThread appThread = new StubAppThread(); in testClientTransaction()
347 IApplicationThread appThread = new StubAppThread(); in testClientTransactionCallbacksOnly()
369 IApplicationThread appThread = new StubAppThread(); in testClientTransactionLifecycleOnly()
391 class StubAppThread extends android.app.IApplicationThread.Stub {
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java26 import android.app.IApplicationThread;
85 IApplicationThread caller, in startActivityAsUser()
DLauncherAppsService.java24 import android.app.IApplicationThread;
796 public void startSessionDetailsActivityAsUser(IApplicationThread caller, in startSessionDetailsActivityAsUser()
819 public void startActivityAsUser(IApplicationThread caller, String callingPackage, in startActivityAsUser()
877 public void showAppDetailsAsUser(IApplicationThread caller, in showAppDetailsAsUser()

12