Home
last modified time | relevance | path

Searched refs:activityToken (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DClientLifecycleManager.java65 void scheduleTransaction(@NonNull IApplicationThread client, @NonNull IBinder activityToken, in scheduleTransaction() argument
67 final ClientTransaction clientTransaction = transactionWithState(client, activityToken, in scheduleTransaction()
81 void scheduleTransaction(@NonNull IApplicationThread client, @NonNull IBinder activityToken, in scheduleTransaction() argument
83 final ClientTransaction clientTransaction = transactionWithCallback(client, activityToken, in scheduleTransaction()
110 @NonNull IBinder activityToken, @NonNull ActivityLifecycleItem stateRequest) { in transactionWithState() argument
111 final ClientTransaction clientTransaction = ClientTransaction.obtain(client, activityToken); in transactionWithState()
123 IBinder activityToken, @NonNull ClientTransactionItem callback) { in transactionWithCallback() argument
124 final ClientTransaction clientTransaction = ClientTransaction.obtain(client, activityToken); in transactionWithCallback()
DActivityTaskManagerInternal.java353 public ActivityTokens(@NonNull IBinder activityToken, in ActivityTokens() argument
355 mActivityToken = activityToken; in ActivityTokens()
391 public abstract void sendActivityResult(int callingUid, IBinder activityToken, in sendActivityResult() argument
394 IBinder activityToken, WeakReference<PendingIntentRecord> pir); in clearPendingResultForActivity() argument
DDragAndDropPermissionsHandler.java61 public void take(IBinder activityToken) throws RemoteException { in take() argument
65 mActivityToken = activityToken; in take()
/frameworks/base/core/java/android/app/
DResourcesManager.java595 boolean isSameResourcesOverrideConfig(@Nullable IBinder activityToken, in isSameResourcesOverrideConfig() argument
599 = activityToken != null ? mActivityResourceReferences.get(activityToken) : null; in isSameResourcesOverrideConfig()
614 @NonNull IBinder activityToken) { in getOrCreateActivityResourcesStructLocked()
615 ActivityResources activityResources = mActivityResourceReferences.get(activityToken); in getOrCreateActivityResourcesStructLocked()
618 mActivityResourceReferences.put(activityToken, activityResources); in getOrCreateActivityResourcesStructLocked()
627 private @NonNull Resources getOrCreateResourcesForActivityLocked(@NonNull IBinder activityToken, in getOrCreateResourcesForActivityLocked() argument
631 activityToken); in getOrCreateResourcesForActivityLocked()
712 public @Nullable Resources createBaseActivityResources(@NonNull IBinder activityToken, in createBaseActivityResources() argument
735 Slog.d(TAG, "createBaseActivityResources activity=" + activityToken in createBaseActivityResources()
741 getOrCreateActivityResourcesStructLocked(activityToken); in createBaseActivityResources()
[all …]
DIActivityTaskManager.aidl165 int getActivityDisplayId(in IBinder activityToken); in getActivityDisplayId() argument
173 int getLaunchedFromUid(in IBinder activityToken); in getLaunchedFromUid() argument
174 String getLaunchedFromPackage(in IBinder activityToken); in getLaunchedFromPackage() argument
197 int addAppTask(in IBinder activityToken, in Intent intent, in addAppTask() argument
289 in Bundle receiverExtras, in IBinder activityToken, in requestAssistContextExtras() argument
292 in IBinder activityToken, int flags); in requestAutofillData() argument
338 IBinder getUriPermissionOwnerForActivity(in IBinder activityToken); in getUriPermissionOwnerForActivity() argument
487 void restartActivityProcessIfVisible(in IBinder activityToken); in restartActivityProcessIfVisible() argument
495 void onBackPressedOnTaskRoot(in IBinder activityToken, in IRequestFinishCallback callback); in onBackPressedOnTaskRoot() argument
DIApplicationThread.aidl126 void requestAssistContextExtras(IBinder activityToken, IBinder requestToken, in requestAssistContextExtras() argument
144 void requestDirectActions(IBinder activityToken, IVoiceInteractor intractor, in requestDirectActions() argument
146 void performDirectAction(IBinder activityToken, String actionId, in performDirectAction() argument
DClientTransactionHandler.java140 public abstract void updatePendingActivityConfiguration(IBinder activityToken, in updatePendingActivityConfiguration() argument
144 public abstract void handleActivityConfigurationChanged(IBinder activityToken, in handleActivityConfigurationChanged() argument
DITaskStackListener.aidl163 void onSizeCompatModeActivityChanged(int displayId, in IBinder activityToken); in onSizeCompatModeActivityChanged() argument
/frameworks/base/core/java/android/view/
DWindowInfo.java45 public IBinder activityToken; field in WindowInfo
72 window.activityToken = other.activityToken; in obtain()
107 parcel.writeStrongBinder(activityToken); in writeToParcel()
147 activityToken = parcel.readStrongBinder(); in initFromParcel()
169 activityToken = null; in clear()
DDragAndDropPermissions.java89 public boolean take(IBinder activityToken) { in take() argument
91 mDragAndDropPermissions.take(activityToken); in take()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSizeCompatModeActivityController.java70 public void onSizeCompatModeActivityChanged(int displayId, IBinder activityToken) { in SizeCompatModeActivityController()
72 updateRestartButton(displayId, activityToken); in SizeCompatModeActivityController()
111 private void updateRestartButton(int displayId, IBinder activityToken) { in updateRestartButton() argument
112 if (activityToken == null) { in updateRestartButton()
120 restartButton.updateLastTargetActivity(activityToken); in updateRestartButton()
131 restartButton.updateLastTargetActivity(activityToken); in updateRestartButton()
210 void updateLastTargetActivity(IBinder activityToken) { in updateLastTargetActivity() argument
211 mLastActivityToken = activityToken; in updateLastTargetActivity()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCapturePerUserService.java241 public void startSessionLocked(@NonNull IBinder activityToken, in startSessionLocked() argument
286 Slog.d(TAG, "startSession(" + activityToken + "): hold your horses"); in startSessionLocked()
308 Slog.w(TAG, "startSession(id=" + existingSession + ", token=" + activityToken in startSessionLocked()
325 Slog.w(TAG, "startSession(id=" + existingSession + ", token=" + activityToken in startSessionLocked()
341 activityToken, this, componentName, clientReceiver, taskId, displayId, sessionId, in startSessionLocked()
414 public boolean sendActivityAssistDataLocked(@NonNull IBinder activityToken, in sendActivityAssistDataLocked() argument
416 final int id = getSessionId(activityToken); in sendActivityAssistDataLocked()
427 Slog.e(TAG, "Failed to notify activity assist data for activity: " + activityToken); in sendActivityAssistDataLocked()
443 private ContentCaptureServerSession getSession(@NonNull IBinder activityToken) { in getSession() argument
446 if (session.mActivityToken.equals(activityToken)) { in getSession()
[all …]
DContentCaptureServerSession.java77 ContentCaptureServerSession(@NonNull Object lock, @NonNull IBinder activityToken, in ContentCaptureServerSession() argument
83 mActivityToken = activityToken; in ContentCaptureServerSession()
94 Slog.w(TAG, "could not register DeathRecipient for " + activityToken); in ContentCaptureServerSession()
101 boolean isActivitySession(@NonNull IBinder activityToken) { in isActivitySession() argument
102 return mActivityToken.equals(activityToken); in isActivitySession()
DContentCaptureManagerService.java545 public void startSession(@NonNull IBinder activityToken, in startSession() argument
548 Preconditions.checkNotNull(activityToken); in startSession()
553 .getActivityPresentationInfo(activityToken); in startSession()
557 service.startSessionLocked(activityToken, activityPresentationInfo, sessionId, in startSession()
718 public boolean sendActivityAssistData(@UserIdInt int userId, @NonNull IBinder activityToken, in sendActivityAssistData() argument
723 return service.sendActivityAssistDataLocked(activityToken, data); in sendActivityAssistData()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionParcelTests.java324 Binder activityToken = new Binder(); in testClientTransaction() local
326 ClientTransaction transaction = ClientTransaction.obtain(appThread, activityToken); in testClientTransaction()
348 Binder activityToken = new Binder(); in testClientTransactionCallbacksOnly() local
350 ClientTransaction transaction = ClientTransaction.obtain(appThread, activityToken); in testClientTransactionCallbacksOnly()
370 Binder activityToken = new Binder(); in testClientTransactionLifecycleOnly() local
372 ClientTransaction transaction = ClientTransaction.obtain(appThread, activityToken); in testClientTransactionLifecycleOnly()
636 public void requestDirectActions(IBinder activityToken, IVoiceInteractor interactor, in requestDirectActions() argument
641 public void performDirectAction(IBinder activityToken, String actionId, Bundle arguments, in performDirectAction() argument
/frameworks/base/core/java/android/view/autofill/
DIAutoFillManager.aidl43 void startSession(IBinder activityToken, in IBinder appCallback, in AutofillId autoFillId, in startSession() argument
47 void restoreSession(int sessionId, in IBinder activityToken, in IBinder appCallback, in restoreSession() argument
/frameworks/base/core/java/android/accounts/
DChooseAccountActivity.java75 IBinder activityToken = getActivityToken(); in onCreate() local
76 mCallingUid = ActivityTaskManager.getService().getLaunchedFromUid(activityToken); in onCreate()
78 activityToken); in onCreate()
/frameworks/base/core/java/com/android/internal/view/
DIDragAndDropPermissions.aidl26 void take(IBinder activityToken); in take() argument
/frameworks/base/core/java/com/android/internal/app/
DAssistUtils.java54 IVoiceInteractionSessionShowCallback showCallback, IBinder activityToken) { in showSessionForActiveService() argument
58 sourceFlags, showCallback, activityToken); in showSessionForActiveService()
/frameworks/base/services/core/java/com/android/server/contentcapture/
DContentCaptureManagerInternal.java47 @NonNull IBinder activityToken, @NonNull Bundle data); in sendActivityAssistData() argument
/frameworks/base/core/java/android/view/contentcapture/
DIContentCaptureManager.aidl44 void startSession(IBinder activityToken, in ComponentName componentName, in startSession() argument
/frameworks/base/core/java/android/app/servertransaction/
DClientTransaction.java144 public static ClientTransaction obtain(IApplicationThread client, IBinder activityToken) { in obtain() argument
150 instance.mActivityToken = activityToken; in obtain()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskStackChangeListener.java92 public void onSizeCompatModeActivityChanged(int displayId, IBinder activityToken) { } in onSizeCompatModeActivityChanged() argument
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerService.java1098 public void startSession(IBinder activityToken, IBinder appCallback, AutofillId autofillId, in startSession() argument
1102 activityToken = Preconditions.checkNotNull(activityToken, "activityToken"); in startSession()
1118 final int taskId = mAm.getTaskIdForActivity(activityToken, false); in startSession()
1122 result = service.startSessionLocked(activityToken, taskId, getCallingUid(), in startSession()
1294 public void restoreSession(int sessionId, @NonNull IBinder activityToken, in restoreSession() argument
1298 activityToken = Preconditions.checkNotNull(activityToken, "activityToken"); in restoreSession()
1305 restored = service.restoreSession(sessionId, getCallingUid(), activityToken, in restoreSession()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceImpl.java166 IVoiceInteractionSessionShowCallback showCallback, IBinder activityToken) { in showSessionLocked() argument
173 if (activityToken != null) { in showSessionLocked()
175 activityTokens.add(activityToken); in showSessionLocked()

12