Home
last modified time | relevance | path

Searched refs:mActivityToken (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/app/servertransaction/
DActivityTransactionItem.java52 private IBinder mActivityToken; field in ActivityTransactionItem
94 return mActivityToken; in getActivityToken()
98 mActivityToken = requireNonNull(activityToken); in setActivityToken()
104 mActivityToken = in.readStrongBinder(); in ActivityTransactionItem()
110 dest.writeStrongBinder(mActivityToken); in writeToParcel()
116 mActivityToken = null; in recycle()
124 .println(getActivityName(mActivityToken, transactionHandler)); in dump()
139 return Objects.equals(mActivityToken, other.mActivityToken); in equals()
145 return Objects.hashCode(mActivityToken); in hashCode()
151 return "mActivityToken=" + mActivityToken; in toString()
DClientTransaction.java77 private IBinder mActivityToken; field in ClientTransaction
158 return mActivityToken; in getActivityToken()
189 if (mActivityToken == null && item != null) { in setActivityTokenIfNotSet()
190 mActivityToken = item.getActivityToken(); in setActivityTokenIfNotSet()
279 mActivityToken = null; in recycle()
339 for (int i = 0; mActivityToken == null && i < size; i++) { in ClientTransaction()
375 && Objects.equals(mActivityToken, other.mActivityToken); in equals()
385 result = 31 * result + Objects.hashCode(mActivityToken); in hashCode()
DLaunchActivityItem.java59 private IBinder mActivityToken; field in LaunchActivityItem
107 final ActivityClientRecord r = new ActivityClientRecord(mActivityToken, mIntent, mIdent, in execute()
164 return mActivityToken; in getActivityToken()
179 dest.writeStrongBinder(mActivityToken); in writeToParcel()
249 && Objects.equals(mActivityToken, other.mActivityToken) && mIdent == other.mIdent in equals()
272 result = 31 * result + Objects.hashCode(mActivityToken); in hashCode()
322 return "LaunchActivityItem{activityToken=" + mActivityToken in toString()
358 instance.mActivityToken = activityToken; in setValues()
/frameworks/base/core/java/android/app/
DComponentCaller.java41 private final IBinder mActivityToken; field in ComponentCaller
48 mActivityToken = activityToken; in ComponentCaller()
85 return ActivityClient.getInstance().getActivityCallerUid(mActivityToken, mCallerToken); in getUid()
123 return ActivityClient.getInstance().getActivityCallerPackage(mActivityToken, mCallerToken); in getPackage()
158 return ActivityClient.getInstance().checkActivityCallerContentUriPermission(mActivityToken, in checkContentUriPermission()
167 return this.mActivityToken == other.mActivityToken in equals()
174 result = 31 * result + Objects.hashCode(mActivityToken); in hashCode()
DScreenCaptureCallbackHandler.java32 private final IBinder mActivityToken; field in ScreenCaptureCallbackHandler
38 mActivityToken = activityToken; in ScreenCaptureCallbackHandler()
92 .registerScreenCaptureObserver(mActivityToken, mObserver); in registerScreenCaptureCallback()
110 ActivityTaskManager.getService().unregisterScreenCaptureObserver(mActivityToken, in unregisterScreenCaptureCallback()
/frameworks/base/services/core/java/com/android/server/wm/
DDragAndDropPermissionsHandler.java49 private IBinder mActivityToken = null; field in DragAndDropPermissionsHandler
66 if (mActivityToken != null || mPermissionOwnerToken != null) { in take()
73 mActivityToken = activityToken; in take()
76 IBinder permissionOwner = getUriPermissionOwnerForActivity(mActivityToken); in take()
96 if (mActivityToken != null || mPermissionOwnerToken != null) { in takeTransient()
110 if (mActivityToken == null && mPermissionOwnerToken == null) { in release()
115 if (mActivityToken != null) { in release()
117 permissionOwner = getUriPermissionOwnerForActivity(mActivityToken); in release()
122 mActivityToken = null; in release()
162 if (mActivityToken != null || mPermissionOwnerToken == null) { in finalize()
DActivityAssistInfo.java29 private final IBinder mActivityToken; field in ActivityAssistInfo
36 this.mActivityToken = activityRecord.token; in ActivityAssistInfo()
45 return mActivityToken; in getActivityToken()
DActivityTaskManagerInternal.java393 private final @NonNull IBinder mActivityToken; field in ActivityTaskManagerInternal.ActivityTokens
402 mActivityToken = activityToken; in ActivityTokens()
413 return mActivityToken; in getActivityToken()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionParcelTests.java74 private IBinder mActivityToken; field in TransactionParcelTests
79 mActivityToken = new Binder(); in setUp()
102 mActivityToken, config(), activityWindowInfo); in testActivityConfigChange()
119 MoveToDisplayItem item = MoveToDisplayItem.obtain(mActivityToken, 4 /* targetDisplayId */, in testMoveToDisplay()
133 NewIntentItem item = NewIntentItem.obtain(mActivityToken, referrerIntentList(), false); in testNewIntent()
146 ActivityResultItem item = ActivityResultItem.obtain(mActivityToken, resultInfoList()); in testActivityResult()
158 DestroyActivityItem item = DestroyActivityItem.obtain(mActivityToken, true /* finished */); in testDestroy()
231 ActivityRelaunchItem item = ActivityRelaunchItem.obtain(mActivityToken, resultInfoList(), in testRelaunch()
245 PauseActivityItem item = PauseActivityItem.obtain(mActivityToken, true /* finished */, in testPause()
259 ResumeActivityItem item = ResumeActivityItem.obtain(mActivityToken, 27 /* procState */, in testResume()
[all …]
DObjectPoolTests.java90 private IBinder mActivityToken; field in ObjectPoolTests
107 testRecycle(() -> ActivityConfigurationChangeItem.obtain(mActivityToken, config(), in testRecycleActivityConfigurationChangeItem()
113 testRecycle(() -> ActivityResultItem.obtain(mActivityToken, resultInfoList())); in testRecycleActivityResultItem()
123 testRecycle(() -> DestroyActivityItem.obtain(mActivityToken, true)); in testRecycleDestroyActivityItem()
176 testRecycle(() -> ActivityRelaunchItem.obtain(mActivityToken, in testRecycleActivityRelaunchItem()
183 testRecycle(() -> MoveToDisplayItem.obtain(mActivityToken, 4, config(), in testRecycleMoveToDisplayItem()
189 testRecycle(() -> NewIntentItem.obtain(mActivityToken, referrerIntentList(), false)); in testRecycleNewIntentItem()
194 testRecycle(() -> PauseActivityItem.obtain(mActivityToken, true, true, true, true)); in testRecyclePauseActivityItemItem()
199 testRecycle(() -> ResumeActivityItem.obtain(mActivityToken, 3, true, false)); in testRecycleResumeActivityItem()
204 testRecycle(() -> StartActivityItem.obtain(mActivityToken, in testRecycleStartActivityItem()
[all …]
DClientTransactionItemTest.java69 private IBinder mActivityToken; field in ClientTransactionItemTest
103 doReturn(mActivity).when(mHandler).getActivity(mActivityToken); in setup()
110 .obtain(mActivityToken, false /* finished */); in testDestroyActivityItem_preExecute()
114 assertEquals(item, mActivitiesToBeDestroyed.get(mActivityToken)); in testDestroyActivityItem_preExecute()
120 .obtain(mActivityToken, false /* finished */); in testDestroyActivityItem_postExecute()
130 .obtain(mActivityToken, false /* finished */); in testDestroyActivityItem_execute()
DClientTransactionListenerControllerTest.java93 private IBinder mActivityToken; field in ClientTransactionListenerControllerTest
181 mController.onActivityWindowInfoChanged(mActivityToken, activityWindowInfo); in testActivityWindowInfoChangedListener()
183 verify(mActivityWindowInfoListener).accept(mActivityToken, activityWindowInfo); in testActivityWindowInfoChangedListener()
188 mController.onActivityWindowInfoChanged(mActivityToken, activityWindowInfo); in testActivityWindowInfoChangedListener()
DTestUtils.java99 private final IBinder mActivityToken; field in TestUtils.LaunchActivityItemBuilder
143 mActivityToken = requireNonNull(activityToken); in LaunchActivityItemBuilder()
274 return LaunchActivityItem.obtain(mActivityToken, mIntent, mIdent, mInfo, in build()
DTransactionExecutorTests.java99 private IBinder mActivityToken; field in TransactionExecutorTests
118 doReturn(mActivityToken).when(mActivityLifecycleItem).getActivityToken(); in setUp()
119 doReturn(mActivity).when(mTransactionHandler).getActivity(mActivityToken); in setUp()
539 when(activityItem.getActivityToken()).thenReturn(mActivityToken); in testActivityItemExecuteInner()
/frameworks/base/core/java/android/window/
DTaskFragmentOperation.java197 private final IBinder mActivityToken; field in TaskFragmentOperation
224 mActivityToken = activityToken; in TaskFragmentOperation()
236 mActivityToken = in.readStrongBinder(); in TaskFragmentOperation()
249 dest.writeStrongBinder(mActivityToken); in writeToParcel()
293 return mActivityToken; in getActivityToken()
351 if (mActivityToken != null) { in toString()
352 sb.append(", activityToken=").append(mActivityToken); in toString()
377 return Objects.hash(mOpType, mTaskFragmentCreationParams, mActivityToken, mActivityIntent, in hashCode()
390 && Objects.equals(mActivityToken, other.mActivityToken) in equals()
414 private IBinder mActivityToken; field in TaskFragmentOperation.Builder
[all …]
DSplashScreen.java142 private final IBinder mActivityToken; field in SplashScreen.SplashScreenImpl
146 mActivityToken = context.getActivityToken(); in SplashScreenImpl()
153 if (mActivityToken == null) { in setOnExitAnimationListener()
167 if (mActivityToken == null) { in clearOnExitAnimationListener()
178 if (mActivityToken == null) { in setSplashScreenTheme()
184 mActivityToken); in setSplashScreenTheme()
242 if (impl.mActivityToken == token) { in findImpl()
DTaskFragmentTransaction.java190 private IBinder mActivityToken; field in TaskFragmentTransaction.Change
214 mActivityToken = in.readStrongBinder(); in Change()
229 dest.writeStrongBinder(mActivityToken); in writeToParcel()
296 mActivityToken = requireNonNull(activityToken); in setActivityToken()
371 return mActivityToken; in getActivityToken()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureServerSession.java51 final IBinder mActivityToken; field in ContentCaptureServerSession
84 mActivityToken = activityToken; in ContentCaptureServerSession()
103 return mActivityToken.equals(activityToken); in isActivitySession()
199 Slog.v(TAG, "resurrecting " + mActivityToken + " on " + remoteService); in resurrectLocked()
211 if (mService.isVerbose()) Slog.v(TAG, "pausing " + mActivityToken); in pauseLocked()
222 Slog.v(TAG, "onClientDeath(" + mActivityToken + "): removing session " + mId); in onClientDeath()
234 pw.print(prefix); pw.print("activity token: "); pw.println(mActivityToken); in dumpLocked()
240 return mId + ":" + mActivityToken; in toShortString()
245 return "ContentCaptureSession[id=" + mId + ", act=" + mActivityToken + "]"; in toString()
DContentCapturePerUserService.java326 + ": ignoring because it already exists for " + existingSession.mActivityToken); in startSessionLocked()
494 if (session.mActivityToken.equals(activityToken)) { in getSession()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java320 @NonNull private IBinder mActivityToken; field in Session
895 if (mActivityToken != null) { in onHandleAssistData()
896 mService.sendActivityAssistDataToContentCapture(mActivityToken, resultData); in onHandleAssistData()
1447 receiverExtras, mActivityToken, flags)) { in requestAssistStructureForPccLocked()
1448 Slog.w(TAG, "failed to request autofill data for " + mActivityToken); in requestAssistStructureForPccLocked()
1465 receiverExtras, mActivityToken, flags)) { in requestAssistStructureLocked()
1466 Slog.w(TAG, "failed to request autofill data for " + mActivityToken); in requestAssistStructureLocked()
1524 mActivityToken = activityToken; in Session()
1596 return mActivityToken; in getActivityTokenLocked()
1612 mActivityToken = newActivity; in switchActivity()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt4673 Landroid/app/ContextImpl;->mActivityToken:Landroid/os/IBinder;
8590 Landroid/app/servertransaction/ClientTransaction;->mActivityToken:Landroid/os/IBinder;