Home
last modified time | relevance | path

Searched refs:getActivityToken (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java102 appThread.scheduleSleeping(activity.getActivityToken(), true /* sleeping */); in testSleepAndStop()
114 assertNull(activityThread.performResumeActivity(activity.getActivityToken(), in testRepeatedResume()
117 assertNull(activityThread.performResumeActivity(activity.getActivityToken(), in testRepeatedResume()
128 IBinder token = activity.getActivityToken(); in testCustomIntentPreservedOnRelaunch()
173 token[0] = activity.getActivityToken(); in testHandleActivity_assetsChanged()
245 activityThread.updatePendingActivityConfiguration(activity.getActivityToken(), in testHandleActivityConfigurationChanged_PickNewerPendingConfiguration()
252 activityThread.handleActivityConfigurationChanged(activity.getActivityToken(), in testHandleActivityConfigurationChanged_PickNewerPendingConfiguration()
270 activityThread.handleActivityConfigurationChanged(activity.getActivityToken(), in testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration()
355 activityThread.handleActivityConfigurationChanged(activity.getActivityToken(), config, in applyConfigurationChange()
365 activityThread.handleActivityConfigurationChanged(activity.getActivityToken(), config, in applyConfigurationChange()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutor.java72 final IBinder token = transaction.getActivityToken(); in execute()
112 final IBinder token = transaction.getActivityToken(); in executeCallbacks()
159 final IBinder token = transaction.getActivityToken(); in executeLifecycleState()
DClientTransaction.java88 public IBinder getActivityToken() { in getActivityToken() method in ClientTransaction
DTransactionExecutorHelper.java260 .println(getActivityName(transaction.getActivityToken(), transactionHandler)); in transactionToString()
/frameworks/base/tests/WindowManagerStressTest/src/test/windowmanagerstresstest/
DMainActivity.java63 mLayoutParams.token = getActivityToken(); in onCreate()
131 layoutParams.token = getActivityToken(); in addWindows()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java847 mService.reportUsageStart(activity.getActivityToken(), token, in reportUsageStart()
873 mService.reportPastUsageStart(activity.getActivityToken(), token, timeAgoMs, in reportUsageStart()
890 mService.reportUsageStop(activity.getActivityToken(), token, in reportUsageStop()
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java132 getActivityToken()); in onCreate()
134 getActivityToken()); in onCreate()
DResolverActivity.java306 getActivityToken());
1179 getActivityToken());
1199 .requestStartActivityPermissionToken(getActivityToken());
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java192 .getLaunchedFromUid(getActivityToken()); in getOriginatingUid()
DUninstallerActivity.java95 int callingUid = ActivityManager.getService().getLaunchedFromUid(getActivityToken()); in onCreate()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceImpl.java278 tokens.getApplicationThread().requestDirectActions(tokens.getActivityToken(), in requestDirectActionsLocked()
303 tokens.getApplicationThread().performDirectAction(tokens.getActivityToken(), in performDirectActionLocked()
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java75 IBinder activityToken = getActivityToken(); in onCreate()
DChooseTypeAndAccountActivity.java150 IBinder activityToken = getActivityToken(); in onCreate()
/frameworks/base/core/java/android/app/
DKeyguardManager.java578 activity.getActivityToken(), new IKeyguardDismissCallback.Stub() { in requestDismissKeyguard()
DActivity.java7085 return ActivityTaskManager.getService().isTopOfTask(getActivityToken()); in isTopOfTask()
7709 if (dragAndDropPermissions != null && dragAndDropPermissions.take(getActivityToken())) { in requestDragAndDropPermissions()
7797 public final IBinder getActivityToken() { in getActivityToken() method in Activity
7798 return mParent != null ? mParent.getActivityToken() : mToken; in getActivityToken()
8144 getActivityToken()); in dispatchActivityResult()
8370 WindowManagerGlobal.getInstance().getRootViews(getActivityToken()); in autofillClientFindViewsByAutofillIdTraversal()
8394 WindowManagerGlobal.getInstance().getRootViews(getActivityToken()); in autofillClientFindViewByAutofillIdTraversal()
8436 .getRootViews(getActivityToken()); in autofillClientFindViewByAccessibilityIdTraversal()
8452 return getActivityToken(); in autofillClientGetActivityToken()
DContextImpl.java1777 IBinder token = getActivityToken(); in bindServiceCommon()
1785 mMainThread.getApplicationThread(), getActivityToken(), service, in bindServiceCommon()
2674 public IBinder getActivityToken() { in getActivityToken() method in ContextImpl
DActivityManager.java1778 return getTaskService().addAppTask(activity.getActivityToken(), in addAppTask()
DActivityThread.java4307 a.getActivityToken()); in handleResumeActivity()
5497 final IBinder activityToken = activity.getActivityToken(); in performActivityConfigurationChanged()
5674 performConfigurationChangedForActivity(mActivities.get(a.getActivityToken()), in handleConfigurationChanged()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java363 public @NonNull IBinder getActivityToken() { in getActivityToken() method in ActivityTaskManagerInternal.ActivityTokens
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java1111 context.getIApplicationThread(), context.getActivityToken(), connection, flags); in bindRemoteViewsService()
/frameworks/base/core/java/android/content/
DContextWrapper.java1031 public IBinder getActivityToken() { in getActivityToken() method in ContextWrapper
1032 return mBase.getActivityToken(); in getActivityToken()
DContext.java5651 public IBinder getActivityToken() { in getActivityToken() method in Context
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java889 public IBinder getActivityToken() { in getActivityToken() method in MockContext
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java2147 activity.getActivityToken()); in AssistStructure()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java10002 mContext.getIApplicationThread(), mContext.getActivityToken(), serviceIntent, in bindDeviceAdminServiceAsUser()

12