/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 110 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()
|
D | RootActivityContainerTests.java | 588 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()
|
D | SizeCompatTests.java | 433 mService.mAmInternal = mock(ActivityManagerInternal.class); in testResetNonVisibleActivity() 440 verify(mService.mAmInternal).killProcess( in testResetNonVisibleActivity()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerService.java | 358 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 …]
|
D | ActivityServiceConnectionsHolder.java | 134 mService.mAmInternal.disconnectActivityFromServices(this); in disconnectActivityFromServices()
|
D | DisplayAreaOrganizerController.java | 64 mService.mAmInternal.enforceCallingPermission(MANAGE_ACTIVITY_STACKS, func); in enforceStackPermission()
|
D | InputManagerCallback.java | 115 monitors.put("ActivityManager", mService.mAmInternal::monitor); in preDumpIfLockTooSlow() 266 long timeout = mService.mAmInternal.inputDispatchingTimedOut(windowPid, aboveSystem, in notifyANRInner()
|
D | WindowOrganizerController.java | 441 mService.mAmInternal.enforceCallingPermission(READ_FRAME_BUFFER, "takeScreenshot()"); in takeScreenshot() 475 mService.mAmInternal.enforceCallingPermission(MANAGE_ACTIVITY_STACKS, func); in enforceStackPermission()
|
D | ActivityStackSupervisor.java | 656 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()
|
D | ActivityStartController.java | 278 mService.mAmInternal.ensureNotSpecialUser(targetUserId); in checkTargetUser() 421 aInfo = mService.mAmInternal.getActivityInfoForUser(aInfo, userId); in startActivities()
|
D | ActivityStartInterceptor.java | 331 if (!mService.mAmInternal.shouldConfirmCredentials(userId)) { in interceptWithConfirmCredentialsIfNeeded()
|
D | WindowProcessController.java | 1013 mAtm.mAmInternal.addPendingTopUid(mUid, mPid); in updateProcessInfo() 1074 mAtm.mAmInternal.addPendingTopUid(mUid, mPid); in onStartActivity()
|
D | TaskOrganizerController.java | 277 mService.mAmInternal.enforceCallingPermission(MANAGE_ACTIVITY_STACKS, func); in enforceStackPermission()
|
D | RecentTasks.java | 865 return mService.mAmInternal.getCurrentProfileIds(); in getCurrentProfileIds() 870 return mService.mAmInternal.isUserRunning(userId, flags); in isUserRunning()
|
D | ActivityStack.java | 565 mCurrentUser = mAtmService.mAmInternal.getCurrentUserId(); in ActivityStack() 1235 mAtmService.mAmInternal, prev.info.packageName, in completePauseLocked() 1624 if (!mAtmService.mAmInternal.hasStartedUserState(next.mUserId)) { in resumeTopActivityInnerLocked()
|
D | WindowManagerService.java | 548 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()
|
D | ActivityStarter.java | 678 mService.mAmInternal.enforceCallingPermission( in execute() 772 mRequest.activityInfo = mService.mAmInternal.getActivityInfoForUser( in resolveToHeavyWeightSwitcherIfNeeded()
|
D | ActivityRecord.java | 5568 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/ |
D | UriGrantsMockContext.java | 102 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/ |
D | UriGrantsManagerService.java | 123 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/ |
D | PendingIntentRecord.java | 373 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()
|
D | PendingIntentController.java | 80 ActivityManagerInternal mAmInternal; field in PendingIntentController 108 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in onActivityManagerInternalAdded()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 163 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/ |
D | PinnerService.java | 124 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/ |
D | VoiceInteractionManagerService.java | 111 final ActivityManagerInternal mAmInternal; field in VoiceInteractionManagerService 127 mAmInternal = Objects.requireNonNull( in VoiceInteractionManagerService()
|