Home
last modified time | relevance | path

Searched refs:mAmInternal (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java110 private ActivityManagerInternal mAmInternal; field in ActivityStartInterceptorTest
120 mService.mAmInternal = mAmInternal; in setUp()
128 LocalServices.addService(ActivityManagerInternal.class, mAmInternal); in setUp()
258 when(mAmInternal.shouldConfirmCredentials(TEST_USER_ID)).thenReturn(true); in testLockedManagedProfile()
DRootActivityContainerTests.java588 final boolean isBooting = mService.mAmInternal.isBooting(); in testNotStartHomeBeforeBoot()
589 final boolean isBooted = mService.mAmInternal.isBooted(); in testNotStartHomeBeforeBoot()
591 mService.mAmInternal.setBooting(false); in testNotStartHomeBeforeBoot()
592 mService.mAmInternal.setBooted(false); in testNotStartHomeBeforeBoot()
596 mService.mAmInternal.setBooting(isBooting); in testNotStartHomeBeforeBoot()
597 mService.mAmInternal.setBooted(isBooted); in testNotStartHomeBeforeBoot()
DSizeCompatTests.java433 mService.mAmInternal = mock(ActivityManagerInternal.class); in testResetNonVisibleActivity()
440 verify(mService.mAmInternal).killProcess( in testResetNonVisibleActivity()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java358 ActivityManagerInternal mAmInternal; field in ActivityTaskManagerService
722 mAmInternal.updateOomAdj();
862 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in onActivityManagerInternalAdded()
1416 mAmInternal.enforceCallingPermission( in startActivityAsCaller()
1518 return mAmInternal.handleIncomingUser(callingPid, callingUid, userId, false /* allowAll */, in handleIncomingUser()
1528 mAmInternal.enforceCallingPermission(BIND_VOICE_INTERACTION, "startVoiceActivity()"); in startVoiceActivity()
1554 mAmInternal.enforceCallingPermission(BIND_VOICE_INTERACTION, "startAssistantActivity()"); in startAssistantActivity()
1647 aInfo = mAmInternal.getActivityInfoForUser(aInfo, userId); in isActivityStartAllowedOnDisplay()
1890 mAmInternal.killProcess(restartingName, restartingUid, "restartActivityProcess"); in activityStopped()
1892 mAmInternal.trimApplications(); in activityStopped()
[all …]
DActivityServiceConnectionsHolder.java134 mService.mAmInternal.disconnectActivityFromServices(this); in disconnectActivityFromServices()
DDisplayAreaOrganizerController.java64 mService.mAmInternal.enforceCallingPermission(MANAGE_ACTIVITY_STACKS, func); in enforceStackPermission()
DInputManagerCallback.java115 monitors.put("ActivityManager", mService.mAmInternal::monitor); in preDumpIfLockTooSlow()
266 long timeout = mService.mAmInternal.inputDispatchingTimedOut(windowPid, aboveSystem, in notifyANRInner()
DWindowOrganizerController.java441 mService.mAmInternal.enforceCallingPermission(READ_FRAME_BUFFER, "takeScreenshot()"); in takeScreenshot()
475 mService.mAmInternal.enforceCallingPermission(MANAGE_ACTIVITY_STACKS, func); in enforceStackPermission()
DActivityStackSupervisor.java656 mService.mAmInternal, aInfo, startFlags, profilerInfo, in resolveActivity()
1324 mService.mAmInternal.finishUserSwitch(startingUsers.get(i)); in activityIdleInternal()
1329 mService.mH.post(() -> mService.mAmInternal.trimApplications()); in activityIdleInternal()
1537 mService.mAmInternal, task.mUserId, component, new Intent(task.getBaseIntent())); in cleanUpRemovedTaskLocked()
1586 ActivityManagerInternal::killProcessesForRemovedTask, mService.mAmInternal, in cleanUpRemovedTaskLocked()
1807 return mService.mAmInternal.isCurrentProfile(userId); in isCurrentProfileLocked()
2358 mService.mAmInternal.killProcess(processName, uid, in handleMessage()
2498 if (!mService.mAmInternal.shouldConfirmCredentials(task.mUserId) in startActivityFromRecents()
DActivityStartController.java278 mService.mAmInternal.ensureNotSpecialUser(targetUserId); in checkTargetUser()
421 aInfo = mService.mAmInternal.getActivityInfoForUser(aInfo, userId); in startActivities()
DActivityStartInterceptor.java331 if (!mService.mAmInternal.shouldConfirmCredentials(userId)) { in interceptWithConfirmCredentialsIfNeeded()
DWindowProcessController.java1013 mAtm.mAmInternal.addPendingTopUid(mUid, mPid); in updateProcessInfo()
1074 mAtm.mAmInternal.addPendingTopUid(mUid, mPid); in onStartActivity()
DTaskOrganizerController.java277 mService.mAmInternal.enforceCallingPermission(MANAGE_ACTIVITY_STACKS, func); in enforceStackPermission()
DRecentTasks.java865 return mService.mAmInternal.getCurrentProfileIds(); in getCurrentProfileIds()
870 return mService.mAmInternal.isUserRunning(userId, flags); in isUserRunning()
DActivityStack.java565 mCurrentUser = mAtmService.mAmInternal.getCurrentUserId(); in ActivityStack()
1235 mAtmService.mAmInternal, prev.info.packageName, in completePauseLocked()
1624 if (!mAtmService.mAmInternal.hasStartedUserState(next.mUserId)) { in resumeTopActivityInnerLocked()
DWindowManagerService.java548 final ActivityManagerInternal mAmInternal; field in WindowManagerService
1235 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in WindowManagerService()
1451 mAmInternal.handleIncomingUser(callingPid, callingUid, requestUserId, in addWindow()
2999 userId = mAmInternal.handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), in disableKeyguard()
3016 userId = mAmInternal.handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), in reenableKeyguard()
5112 mAmInternal.setHasOverlayUi(msg.arg1, msg.arg2 == 1); in handleMessage()
DActivityStarter.java678 mService.mAmInternal.enforceCallingPermission( in execute()
772 mRequest.activityInfo = mService.mAmInternal.getActivityInfoForUser( in resolveToHeavyWeightSwitcherIfNeeded()
DActivityRecord.java5568 return mAtmService.mAmInternal.inputDispatchingTimedOut(anrApp.mOwner, in keyDispatchingTimedOut()
5574 return mAtmService.mAmInternal.inputDispatchingTimedOut( in keyDispatchingTimedOut()
5610 && mAtmService.mAmInternal.isUserRunning(mUserId, 0 /* flags */)); in okToShowLocked()
7269 mAtmService.mAmInternal.killProcess(wpc.mName, wpc.mUid, "resetConfig"); in restartProcessIfVisible()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsMockContext.java102 final ActivityManagerInternal mAmInternal; field in UriGrantsMockContext
114 mAmInternal = mock(ActivityManagerInternal.class); in UriGrantsMockContext()
116 LocalServices.addService(ActivityManagerInternal.class, mAmInternal); in UriGrantsMockContext()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java123 ActivityManagerInternal mAmInternal; field in UriGrantsManagerService
164 service.mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in createForTest()
195 mService.mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in onBootPhase()
227 targetUserId = mAmInternal.handleIncomingUser(Binder.getCallingPid(), in grantUriPermissionFromOwnerUnlocked()
306 mAmInternal.enforceCallingPermission( in getGrantedUriPermissions()
338 mAmInternal.enforceCallingPermission(FORCE_PERSISTABLE_URI_PERMISSIONS, in takePersistableUriPermission()
384 mAmInternal.enforceCallingPermission( in clearGrantedUriPermissions()
403 mAmInternal.enforceCallingPermission(FORCE_PERSISTABLE_URI_PERMISSIONS, in releasePersistableUriPermission()
999 forceMet = (mAmInternal.checkContentProviderUriPermission(grantUri.uri, in checkHoldingPermissionsInternalUnlocked()
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentRecord.java373 int procState = controller.mAmInternal.getUidProcessState(callingUid); in sendInner()
386 controller.mAmInternal.tempWhitelistForPendingIntent(callingPid, callingUid, in sendInner()
442 int sent = controller.mAmInternal.broadcastIntentInPackage(key.packageName, in sendInner()
459 controller.mAmInternal.startServiceInPackage(uid, finalIntent, resolvedType, in sendInner()
DPendingIntentController.java80 ActivityManagerInternal mAmInternal; field in PendingIntentController
108 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in onActivityManagerInternalAdded()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java163 private final ActivityManagerInternal mAmInternal; field in ClipboardService
184 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in ClipboardService()
309 intendingUserId = mAmInternal.handleIncomingUser(Binder.getCallingPid(), in getIntendingUserId()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java124 private final ActivityManagerInternal mAmInternal; field in PinnerService
196 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in PinnerService()
1033 active = mAmInternal.isUidActive(uid); in PinnedApp()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java111 final ActivityManagerInternal mAmInternal; field in VoiceInteractionManagerService
127 mAmInternal = Objects.requireNonNull( in VoiceInteractionManagerService()

12