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.java302 getActivityToken());
1164 getActivityToken());
1184 .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.java7063 return ActivityTaskManager.getService().isTopOfTask(getActivityToken()); in isTopOfTask()
7687 if (dragAndDropPermissions != null && dragAndDropPermissions.take(getActivityToken())) { in requestDragAndDropPermissions()
7775 public final IBinder getActivityToken() { in getActivityToken() method in Activity
7776 return mParent != null ? mParent.getActivityToken() : mToken; in getActivityToken()
8123 getActivityToken()); in dispatchActivityResult()
8349 WindowManagerGlobal.getInstance().getRootViews(getActivityToken()); in autofillClientFindViewsByAutofillIdTraversal()
8373 WindowManagerGlobal.getInstance().getRootViews(getActivityToken()); in autofillClientFindViewByAutofillIdTraversal()
8415 .getRootViews(getActivityToken()); in autofillClientFindViewByAccessibilityIdTraversal()
8431 return getActivityToken(); in autofillClientGetActivityToken()
DContextImpl.java1728 IBinder token = getActivityToken(); in bindServiceCommon()
1736 mMainThread.getApplicationThread(), getActivityToken(), service, in bindServiceCommon()
2615 public IBinder getActivityToken() { in getActivityToken() method in ContextImpl
DActivityManager.java1771 return getTaskService().addAppTask(activity.getActivityToken(), in addAppTask()
DActivityThread.java4267 a.getActivityToken()); in handleResumeActivity()
5457 final IBinder activityToken = activity.getActivityToken(); in performActivityConfigurationChanged()
5634 performConfigurationChangedForActivity(mActivities.get(a.getActivityToken()), in handleConfigurationChanged()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java357 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.java985 public IBinder getActivityToken() { in getActivityToken() method in ContextWrapper
986 return mBase.getActivityToken(); in getActivityToken()
DContext.java5398 public IBinder getActivityToken() { in getActivityToken() method in Context
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java860 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.java9978 mContext.getIApplicationThread(), mContext.getActivityToken(), serviceIntent, in bindDeviceAdminServiceAsUser()

12