Home
last modified time | relevance | path

Searched refs:isCallerRecents (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DSafeActivityOptions.java276 && !supervisor.mRecentTasks.isCallerRecents(callingUid)) { in checkPermissions()
288 if (options.getTransientLaunch() && !supervisor.mRecentTasks.isCallerRecents(callingUid) in checkPermissions()
DActivityTaskSupervisor.java1131 final boolean isCallerRecents = mService.getRecentTasks() != null in checkStartAnyActivityPermission()
1132 && mService.getRecentTasks().isCallerRecents(callingUid); in checkStartAnyActivityPermission()
1135 if (startAnyPerm == PERMISSION_GRANTED || (isCallerRecents && launchingInTask)) { in checkStartAnyActivityPermission()
2757 final boolean isCallerRecents = mRecentTasks.isCallerRecents(callingUid); in startActivityFromRecents()
2761 if (activityOptions.freezeRecentTasksReordering() && (isCallerRecents in startActivityFromRecents()
2808 null /* caller */, isCallerRecents ? INVALID_UID : callingUid); in startActivityFromRecents()
DActivityTaskManagerInternal.java310 public abstract boolean isCallerRecents(int callingUid); in isCallerRecents() method in ActivityTaskManagerInternal
DActivityStartController.java610 || !mService.isCallerRecents(r.getUid()) in startExistingRecents()
DSession.java155 mCanForceShowingInsets = service.mAtmService.isCallerRecents(mUid) in Session()
DActivityTaskManagerService.java3366 boolean isCallerRecents(int callingUid) { in isCallerRecents() method in ActivityTaskManagerService
3367 return mRecentTasks.isCallerRecents(callingUid); in isCallerRecents()
3371 if (isCallerRecents(callingUid)) { in isGetTasksAllowed()
6113 public boolean isCallerRecents(int callingUid) { in isCallerRecents() method in ActivityTaskManagerService.LocalService
6114 return ActivityTaskManagerService.this.isCallerRecents(callingUid); in isCallerRecents()
DBackgroundActivityStartController.java855 if (mSupervisor.mRecentTasks.isCallerRecents(state.mCallingUid)) { in checkBackgroundActivityStartAllowedByCaller()
DWindowProcessController.java349 && (isSysUiPackage || mAtm.isCallerRecents(uid)); in WindowProcessController()
DRecentTasks.java435 boolean isCallerRecents(int callingUid) { in isCallerRecents() method in RecentTasks
DWindowOrganizerController.java1174 && mService.isCallerRecents(hop.getPendingIntent().getCreatorUid())) { in applyHierarchyOp()
DDisplayPolicy.java1105 if (!mService.mAtmService.isCallerRecents(callingUid)) { in validateAddingWindowLw()
DWindowManagerService.java6723 if (!mAtmService.isCallerRecents(Binder.getCallingUid()) in createInputConsumer()
6739 if (!mAtmService.isCallerRecents(Binder.getCallingUid()) in destroyInputConsumer()
9622 if (!mAtmService.isCallerRecents(callingUid) in getPossibleDisplayInfo()
/frameworks/base/services/searchui/java/com/android/server/searchui/
DSearchUiManagerService.java168 || mActivityTaskManagerInternal.isCallerRecents(Binder.getCallingUid()))) { in runForUserLocked()
/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/
DWallpaperEffectsGenerationManagerService.java171 || mActivityTaskManagerInternal.isCallerRecents(Binder.getCallingUid()))) { in runForUser()
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DSmartspaceManagerService.java172 || mActivityTaskManagerInternal.isCallerRecents(Binder.getCallingUid()))) { in runForUserLocked()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionManagerService.java191 || mActivityTaskManagerInternal.isCallerRecents(Binder.getCallingUid()) in runForUserLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSafeActivityOptionsTest.java131 doReturn(false).when(taskSupervisor.mRecentTasks).isCallerRecents(anyInt()); in test_getOptions()
DActivityStarterTests.java748 doReturn(false).when(recentTasks).isCallerRecents(UNIMPORTANT_UID); in testPinnedSingleInstanceAborted()
1031 doReturn(true).when(recentTasks).isCallerRecents(anyInt()); in testFreezeTaskListActivityOption()
1053 doReturn(true).when(recentTasks).isCallerRecents(anyInt()); in testFreezeTaskListActivityOptionFailedStart_expectResetFreezeTaskList()
1227 doReturn(true).when(recentTasks).isCallerRecents(anyInt()); in testActivityStart_expectAddedToRecentTask()
DBackgroundActivityStartControllerExemptionTests.java580 when(recentTasks.isCallerRecents(eq(callingUid))).thenReturn(true); in testCaller_isRecents()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerService.java110 || mActivityTaskManagerInternal.isCallerRecents(Binder.getCallingUid())) { in enforceCaller()
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt371 whenever(this.isCallerRecents(anyInt())) { false } in <lambda>()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java2735 if (mInjector.isCallerRecents(callingUid) && isSameProfileGroup) {
3995 boolean isCallerRecents(int callingUid) {
3996 return mService.mAtmInternal.isCallerRecents(callingUid);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java1709 boolean isCallerRecents(int uid) { in isCallerRecents() method in UserControllerTest.TestInjector
/frameworks/base/services/
Dart-profile-boot380 Lcom/android/server/wm/ActivityTaskManagerService$LocalService;->isCallerRecents(I)Z
381 Lcom/android/server/wm/RecentTasks;->isCallerRecents(I)Z
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java1178 if (!mActivityTaskManagerInternal.isCallerRecents(Binder.getCallingUid())) { in getAppUsageLimit()

12