Home
last modified time | relevance | path

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

123

/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentContainer.java251 final IBinder activityToken = pendingAppearedActivity.getActivityToken(); in addPendingAppearedActivity() local
252 if (hasActivity(activityToken)) { in addPendingAppearedActivity()
257 mTaskContainer.cleanupPendingAppearedActivity(activityToken); in addPendingAppearedActivity()
258 mPendingAppearedActivities.add(activityToken); in addPendingAppearedActivity()
259 updateActivityClientRecordTaskFragmentToken(activityToken); in addPendingAppearedActivity()
266 private void updateActivityClientRecordTaskFragmentToken(@NonNull IBinder activityToken) { in updateActivityClientRecordTaskFragmentToken() argument
268 .currentActivityThread().getActivityClient(activityToken); in updateActivityClientRecordTaskFragmentToken()
274 void removePendingAppearedActivity(@NonNull IBinder activityToken) { in removePendingAppearedActivity() argument
275 mPendingAppearedActivities.remove(activityToken); in removePendingAppearedActivity()
287 for (IBinder activityToken : cleanupActivities) { in clearPendingAppearedActivities()
[all …]
DTaskContainer.java169 void onActivityDestroyed(@NonNull IBinder activityToken) { in onActivityDestroyed() argument
171 container.onActivityDestroyed(activityToken); in onActivityDestroyed()
176 void cleanupPendingAppearedActivity(@NonNull IBinder activityToken) { in cleanupPendingAppearedActivity() argument
178 container.removePendingAppearedActivity(activityToken); in cleanupPendingAppearedActivity()
/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()
DDragAndDropPermissionsHandler.java65 public void take(IBinder activityToken) throws RemoteException { in take() argument
71 + toHexString(activityToken.hashCode())); in take()
73 mActivityToken = activityToken; in take()
141 private IBinder getUriPermissionOwnerForActivity(IBinder activityToken) { in getUriPermissionOwnerForActivity() argument
144 ActivityRecord r = ActivityRecord.isInRootTaskLocked(activityToken); in getUriPermissionOwnerForActivity()
147 + activityToken); in getUriPermissionOwnerForActivity()
DActivityTaskManagerInternal.java345 public ActivityTokens(@NonNull IBinder activityToken, in ActivityTokens() argument
348 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
398 public abstract ComponentName getActivityName(IBinder activityToken); in getActivityName() argument
555 public abstract IBinder getUriPermissionOwnerForActivity(@NonNull IBinder activityToken); in getUriPermissionOwnerForActivity() argument
DTaskFragmentOrganizerController.java331 final IBinder activityToken; in prepareActivityReparentedToTask() local
334 activityToken = activity.token; in prepareActivityReparentedToTask()
339 activityToken = new Binder("TemporaryActivityToken"); in prepareActivityReparentedToTask()
340 mTemporaryActivityTokens.put(activityToken, activity); in prepareActivityReparentedToTask()
343 mTemporaryActivityTokens.remove(activityToken); in prepareActivityReparentedToTask()
354 .setActivityToken(activityToken); in prepareActivityReparentedToTask()
409 @Nullable ITaskFragmentOrganizer organizer, @Nullable IBinder activityToken) { in getReparentActivityFromTemporaryToken() argument
410 if (organizer == null || activityToken == null) { in getReparentActivityFromTemporaryToken()
416 ? state.mTemporaryActivityTokens.remove(activityToken) in getReparentActivityFromTemporaryToken()
1107 public boolean isActivityEmbedded(IBinder activityToken) { in isActivityEmbedded() argument
[all …]
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureServerSession.java78 ContentCaptureServerSession(@NonNull Object lock, @NonNull IBinder activityToken, in ContentCaptureServerSession() argument
84 mActivityToken = activityToken; in ContentCaptureServerSession()
90 activityId, appComponentName, displayId, activityToken, flags); in ContentCaptureServerSession()
95 Slog.w(TAG, "could not register DeathRecipient for " + activityToken); in ContentCaptureServerSession()
102 boolean isActivitySession(@NonNull IBinder activityToken) { in isActivitySession() argument
103 return mActivityToken.equals(activityToken); in isActivitySession()
DContentCapturePerUserService.java257 public void startSessionLocked(@NonNull IBinder activityToken, in startSessionLocked() argument
303 Slog.d(TAG, "startSession(" + activityToken + "): hold your horses"); in startSessionLocked()
325 Slog.w(TAG, "startSession(id=" + existingSession + ", token=" + activityToken in startSessionLocked()
342 Slog.w(TAG, "startSession(id=" + existingSession + ", token=" + activityToken in startSessionLocked()
358 activityToken, new ActivityId(taskId, shareableActivityToken), this, componentName, in startSessionLocked()
454 public boolean sendActivityAssistDataLocked(@NonNull IBinder activityToken, in sendActivityAssistDataLocked() argument
456 final int id = getSessionId(activityToken); in sendActivityAssistDataLocked()
473 + activityToken + " without a session Id"); in sendActivityAssistDataLocked()
491 private ContentCaptureServerSession getSession(@NonNull IBinder activityToken) { in getSession() argument
494 if (session.mActivityToken.equals(activityToken)) { in getSession()
[all …]
/frameworks/base/core/java/android/view/
DDragAndDropPermissions.java97 public boolean take(IBinder activityToken) { in take() argument
101 + toHexString(activityToken.hashCode())); in take()
103 mDragAndDropPermissions.take(activityToken); in take()
DWindowInfo.java47 public IBinder activityToken; field in WindowInfo
83 window.activityToken = other.activityToken; in obtain()
123 parcel.writeStrongBinder(activityToken); in writeToParcel()
174 activityToken = parcel.readStrongBinder(); in initFromParcel()
199 activityToken = null; in clear()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java645 void notifyActivityEventChangedLocked(@NonNull IBinder activityToken, int type) { in notifyActivityEventChangedLocked() argument
647 Slog.d(TAG, "notifyActivityEventChangedLocked activityToken=" + activityToken in notifyActivityEventChangedLocked()
658 handleVisibleActivitiesLocked(activityToken, type); in notifyActivityEventChangedLocked()
695 private void handleVisibleActivitiesLocked(@NonNull IBinder activityToken, int type) { in handleVisibleActivitiesLocked() argument
697 Slog.d(TAG, "handleVisibleActivitiesLocked activityToken=" + activityToken in handleVisibleActivitiesLocked()
725 if (mVisibleActivityInfoForToken.containsKey(activityToken)) { in handleVisibleActivitiesLocked()
732 activityToken); in handleVisibleActivitiesLocked()
743 activityToken); in handleVisibleActivitiesLocked()
749 notifyVisibleActivityInfo = mVisibleActivityInfoForToken.get(activityToken); in handleVisibleActivitiesLocked()
762 notifyVisibleActivityInfo = mVisibleActivityInfoForToken.get(activityToken); in handleVisibleActivitiesLocked()
[all …]
DVoiceInteractionManagerServiceImpl.java248 IVoiceInteractionSessionShowCallback showCallback, IBinder activityToken) { in showSessionLocked() argument
259 if (activityToken != null) { in showSessionLocked()
264 if (info.getActivityToken() == activityToken) { in showSessionLocked()
523 public void notifyActivityDestroyedLocked(@NonNull IBinder activityToken) { in notifyActivityDestroyedLocked() argument
525 Slog.d(TAG, "notifyActivityDestroyedLocked activityToken=" + activityToken); in notifyActivityDestroyedLocked()
534 mActiveSession.notifyActivityDestroyedLocked(activityToken); in notifyActivityDestroyedLocked()
537 public void notifyActivityEventChangedLocked(@NonNull IBinder activityToken, int type) { in notifyActivityEventChangedLocked() argument
548 mActiveSession.notifyActivityEventChangedLocked(activityToken, type); in notifyActivityEventChangedLocked()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowInfoTest.java94 assertNull(w.activityToken); in testDefaultValues()
122 equality &= w1.activityToken == w2.activityToken; in areWindowsEqual()
140 windowInfo.activityToken = mock(IBinder.class); in initTestWindowInfo()
/frameworks/base/core/java/android/app/
DResourcesManager.java713 public boolean isSameResourcesOverrideConfig(@Nullable IBinder activityToken, in isSameResourcesOverrideConfig() argument
717 = activityToken != null ? mActivityResourceReferences.get(activityToken) : null; in isSameResourcesOverrideConfig()
732 @NonNull IBinder activityToken) { in getOrCreateActivityResourcesStructLocked()
733 ActivityResources activityResources = mActivityResourceReferences.get(activityToken); in getOrCreateActivityResourcesStructLocked()
736 mActivityResourceReferences.put(activityToken, activityResources); in getOrCreateActivityResourcesStructLocked()
765 private Resources createResourcesForActivityLocked(@NonNull IBinder activityToken, in createResourcesForActivityLocked() argument
770 activityToken); in createResourcesForActivityLocked()
893 private void rebaseKeyForActivity(IBinder activityToken, ResourcesKey key, in rebaseKeyForActivity() argument
897 getOrCreateActivityResourcesStructLocked(activityToken); in rebaseKeyForActivity()
1038 private Resources createResourcesForActivity(@NonNull IBinder activityToken, in createResourcesForActivity() argument
[all …]
DIApplicationThread.aidl136 void requestAssistContextExtras(IBinder activityToken, IBinder requestToken, in requestAssistContextExtras() argument
154 void requestDirectActions(IBinder activityToken, IVoiceInteractor intractor, in requestDirectActions() argument
156 void performDirectAction(IBinder activityToken, String actionId, in performDirectAction() argument
166 void updateUiTranslationState(IBinder activityToken, int state, in TranslationSpec sourceSpec, in updateUiTranslationState() argument
DIActivityClientController.aidl80 int getDisplayId(in IBinder activityToken); in getDisplayId() argument
86 Configuration getTaskConfiguration(in IBinder activityToken); in getTaskConfiguration() argument
155 oneway void onBackPressed(in IBinder activityToken, in onBackPressed() argument
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionParcelTests.java299 Binder activityToken = new Binder(); in testClientTransaction() local
301 ClientTransaction transaction = ClientTransaction.obtain(appThread, activityToken); in testClientTransaction()
323 Binder activityToken = new Binder(); in testClientTransactionCallbacksOnly() local
325 ClientTransaction transaction = ClientTransaction.obtain(appThread, activityToken); in testClientTransactionCallbacksOnly()
344 Binder activityToken = new Binder(); in testClientTransactionLifecycleOnly() local
346 ClientTransaction transaction = ClientTransaction.obtain(appThread, activityToken); in testClientTransactionLifecycleOnly()
660 public void requestDirectActions(IBinder activityToken, IVoiceInteractor interactor, in requestDirectActions() argument
665 public void performDirectAction(IBinder activityToken, String actionId, Bundle arguments, in performDirectAction() argument
681 public void updateUiTranslationState(IBinder activityToken, int state, in updateUiTranslationState() argument
/frameworks/base/core/java/com/android/internal/view/
DIDragAndDropPermissions.aidl26 void take(IBinder activityToken); in take() 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/libs/WindowManager/Jetpack/src/androidx/window/extensions/layout/
DWindowLayoutComponentImpl.java371 IBinder activityToken = context.getActivityToken(); in shouldReportDisplayFeatures() local
372 if (activityToken != null) { in shouldReportDisplayFeatures()
374 activityToken); in shouldReportDisplayFeatures()
401 || mTaskFragmentOrganizer.isActivityEmbedded(activityToken)); in shouldReportDisplayFeatures()
/frameworks/base/core/java/android/window/
DITaskFragmentOrganizerController.aidl54 boolean isActivityEmbedded(in IBinder activityToken); in isActivityEmbedded() argument
DTaskFragmentCreationParams.java290 public Builder setPairedActivityToken(@Nullable IBinder activityToken) { in setPairedActivityToken() argument
291 mPairedActivityToken = activityToken; in setPairedActivityToken()
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractionManagerService.aidl134 IVoiceInteractionSessionShowCallback showCallback, IBinder activityToken); in showSessionForActiveService() argument
301 in IBinder activityToken, in notifyActivityEventChanged() argument
DAssistUtils.java71 IVoiceInteractionSessionShowCallback showCallback, IBinder activityToken) { in showSessionForActiveService() argument
75 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

123