/frameworks/base/services/core/java/com/android/server/wm/ |
D | AnrController.java | 195 mService.mAmInternal.inputDispatchingTimedOut(pid, aboveSystem, timeoutRecord); in notifyWindowUnresponsive() 209 mService.mAmInternal.inputDispatchingTimedOut(pid, true /*aboveSystem*/, timeoutRecord); in notifyWindowUnresponsive() 246 mService.mAmInternal.inputDispatchingResumed(pid); in notifyWindowResponsive() 254 mService.mAmInternal.inputDispatchingResumed(pid); in notifyWindowResponsive() 271 mService.mAmInternal.inputDispatchingResumed(unresponsiveApp.getPid()); in onFocusChanged() 295 monitors.put("ActivityManager", mService.mAmInternal::monitor); in preDumpIfLockTooSlow()
|
D | ActivityTaskManagerService.java | 376 ActivityManagerInternal mAmInternal; field in ActivityTaskManagerService 860 mAmInternal.updateOomAdj(ActivityManagerInternal.OOM_ADJ_REASON_ACTIVITY); 1033 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in onActivityManagerInternalAdded() 1718 return mAmInternal.handleIncomingUser(callingPid, callingUid, userId, false /* allowAll */, in handleIncomingUser() 1728 mAmInternal.enforceCallingPermission(BIND_VOICE_INTERACTION, "startVoiceActivity()"); in startVoiceActivity() 1760 mAmInternal.enforceCallingPermission(BIND_VOICE_INTERACTION, "startAssistantActivity()"); in startAssistantActivity() 1817 mAmInternal.enforceCallingPermission(START_TASKS_FROM_RECENTS, in startActivityFromRecents() 1872 mAmInternal.enforceCallingPermission(START_TASKS_FROM_RECENTS, in startBackNavigation() 1921 return mAmInternal.getActivityInfoForUser(aInfo, userId); in resolveActivityInfoForIntent() 1977 mAmInternal.enforceCallingPermission(android.Manifest.permission.SET_SCREEN_COMPATIBILITY, in setFrontActivityScreenCompatMode() [all …]
|
D | ActivityServiceConnectionsHolder.java | 133 mActivity.mAtmService.mAmInternal.disconnectActivityFromServices(this); in disconnectActivityFromServices()
|
D | VisibleActivityProcessTracker.java | 140 mAtms.mAmInternal.updateForegroundTimeIfOnBattery( in run()
|
D | ActivityClientController.java | 280 mService.mAmInternal.killProcess(restartingName, restartingUid, in activityStopped() 283 mService.mAmInternal.trimApplications(); in activityStopped() 591 mService.mAmInternal.enforceCallingPermission( in setForceSendResultForMediaProjection() 1635 mService.mAmInternal.enforceCallingPermission( in dismissKeyguard() 1650 mService.mAmInternal.enforceCallingPermission(CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS, in registerRemoteAnimations() 1668 mService.mAmInternal.enforceCallingPermission(CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS, in unregisterRemoteAnimations() 1801 mService.mAmInternal.enforceCallingPermission( in setActivityRecordInputSinkEnabled()
|
D | ActivityStartController.java | 267 mService.mAmInternal.ensureNotSpecialUser(targetUserId); in checkTargetUser() 444 aInfo = mService.mAmInternal.getActivityInfoForUser(aInfo, userId); in startActivities()
|
D | ActivityTaskSupervisor.java | 720 mService.mAmInternal.setDebugFlagsForStartingActivity(aInfo, in resolveActivity() 1504 mService.mAmInternal.finishUserSwitch(userState); in activityIdleInternal() 1508 mService.mH.post(() -> mService.mAmInternal.trimApplications()); in activityIdleInternal() 1783 mService.mAmInternal, task.mUserId, component, new Intent(baseIntent)); in cleanUpRemovedTask() 1876 ActivityManagerInternal::killProcessesForRemovedTask, mService.mAmInternal, in killTaskProcessesIfPossible() 2636 mService.mAmInternal.killProcess(processName, uid, in handleMessage() 2799 if (!mService.mAmInternal.shouldConfirmCredentials(task.mUserId) in startActivityFromRecents()
|
D | WindowProcessController.java | 650 mAtm.mAmInternal.killProcess(mName, mUid, "rapidActivityLaunch"); in updateRapidActivityLaunch() 1384 mAtm.mAmInternal.addPendingTopUid(mUid, mPid, mThread); in addToPendingTop() 1437 mAtm.mAmInternal.addPendingTopUid(mUid, mPid, mThread); in onStartActivity()
|
D | ActivityStartInterceptor.java | 426 if (!mService.mAmInternal.shouldConfirmCredentials(userId)) { in interceptWithConfirmCredentialsIfNeeded()
|
D | WindowOrganizerController.java | 1110 mService.mAmInternal.enforceCallingPermission(START_TASKS_FROM_RECENTS, in applyHierarchyOp() 1197 int res = waitAsyncStart(() -> mService.mAmInternal.sendIntentSender( in applyHierarchyOp()
|
D | Session.java | 461 final Intent launchIntent = mService.mAmInternal.getIntentForIntentSender( in validateAndResolveDragMimeTypeExtras()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 124 private ActivityManagerInternal mAmInternal; field in ActivityStartInterceptorTest 139 mService.mAmInternal = mAmInternal; in setUp() 147 LocalServices.addService(ActivityManagerInternal.class, mAmInternal); in setUp() 281 when(mAmInternal.shouldConfirmCredentials(TEST_USER_ID)).thenReturn(true); in testLockedManagedProfile() 295 when(mAmInternal.shouldConfirmCredentials(TEST_USER_ID)).thenReturn(true); in testLockedManagedProfileShowWhenLocked() 310 when(mAmInternal.shouldConfirmCredentials(TEST_USER_ID)).thenReturn(true); in testLockedManagedProfileShowWhenLockedEncryptedStorage() 327 when(mAmInternal.shouldConfirmCredentials(TEST_USER_ID)).thenReturn(true); in testLockedManagedProfileShowWhenLockedEncryptedStorageDirectBootAware()
|
D | ActivityTaskSupervisorTests.java | 338 }).when(mAtm.mAmInternal).addPendingTopUid(anyInt(), anyInt(), any()); in testUpdatePendingTopForTopResumed()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/ |
D | UriGrantsMockContext.java | 99 final ActivityManagerInternal mAmInternal; field in UriGrantsMockContext 107 mAmInternal = mock(ActivityManagerInternal.class); in UriGrantsMockContext() 109 LocalServices.addService(ActivityManagerInternal.class, mAmInternal); in UriGrantsMockContext()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PendingIntentRecord.java | 469 && controller.mAmInternal.getUidProcessState(callingUid) in sendInner() 566 controller.mAmInternal.enforceBroadcastOptionsPermissions(options, callingUid); in sendInner() 587 controller.mAmInternal.tempAllowlistForPendingIntent(callingPid, callingUid, in sendInner() 595 controller.mAmInternal.tempAllowlistForPendingIntent(callingPid, callingUid, in sendInner() 657 int sent = controller.mAmInternal.broadcastIntentInPackage(key.packageName, in sendInner() 677 controller.mAmInternal.startServiceInPackage(uid, finalIntent, resolvedType, in sendInner()
|
D | PendingIntentController.java | 88 ActivityManagerInternal mAmInternal; field in PendingIntentController 116 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in onActivityManagerInternalAdded()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BroadcastHelper.java | 90 private final ActivityManagerInternal mAmInternal; field in BroadcastHelper 98 mAmInternal = injector.getActivityManagerInternal(); in BroadcastHelper() 210 mAmInternal.broadcastIntentWithCallback( in broadcastIntent() 287 if (mAmInternal != null) { in getTemporaryAppAllowlistBroadcastOptions() 288 duration = mAmInternal.getBootTimeTempAllowListDuration(); in getTemporaryAppAllowlistBroadcastOptions() 896 if (mAmInternal != null) { in getTemporaryBroadcastOptionsForSystemPackageUpdate() 897 duration = mAmInternal.getBootTimeTempAllowListDuration(); in getTemporaryBroadcastOptionsForSystemPackageUpdate()
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerService.java | 127 ActivityManagerInternal mAmInternal; field in UriGrantsManagerService 182 service.mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in createForTest() 216 mService.mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in onBootPhase() 266 targetUserId = mAmInternal.handleIncomingUser(Binder.getCallingPid(), in grantUriPermissionFromOwnerUnlocked() 345 mAmInternal.enforceCallingPermission( in getGrantedUriPermissions() 377 mAmInternal.enforceCallingPermission(FORCE_PERSISTABLE_URI_PERMISSIONS, in takePersistableUriPermission() 423 mAmInternal.enforceCallingPermission( in clearGrantedUriPermissions() 442 mAmInternal.enforceCallingPermission(FORCE_PERSISTABLE_URI_PERMISSIONS, in releasePersistableUriPermission() 1120 forceMet = (mAmInternal.checkContentProviderUriPermission(grantUri.uri, in checkHoldingPermissionsInternalUnlocked()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 138 private final ActivityManagerInternal mAmInternal; field in CompanionDeviceManagerService 163 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in CompanionDeviceManagerService() 825 if (mAmInternal != null) { in updateAtm() 827 mAmInternal.setCompanionAppUids(userId, new ArraySet<>(companionAppUids)); in updateAtm()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | CarLaunchParamsModifier.java | 234 return mAtm.mAmInternal.getCurrentAndTargetUserIds();
|
/frameworks/base/services/core/java/com/android/server/power/hint/ |
D | HintManagerService.java | 128 private final ActivityManagerInternal mAmInternal; field in HintManagerService 169 mAmInternal = Objects.requireNonNull( in HintManagerService() 784 isolatedPids = mAmInternal.getIsolatedProcesses(uid); in checkTidValid()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PinnerService.java | 137 private final ActivityManagerInternal mAmInternal; field in PinnerService 251 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in PinnerService() 1546 active = mAmInternal.isUidActive(uid); in PinnedApp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/media/projection/ |
D | MediaProjectionManagerServiceTest.java | 155 private ActivityManagerInternal mAmInternal; field in MediaProjectionManagerServiceTest 173 LocalServices.addService(ActivityManagerInternal.class, mAmInternal); in setup()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 138 private final ActivityManagerInternal mAmInternal; field in ClipboardService 177 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in ClipboardService() 393 intendingUserId = mAmInternal.handleIncomingUser(Binder.getCallingPid(), in getIntendingUserId()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 158 final ActivityManagerInternal mAmInternal; field in VoiceInteractionManagerService 180 mAmInternal = Objects.requireNonNull( in VoiceInteractionManagerService() 207 mAmInternal.setVoiceInteractionManagerProvider( in onStart()
|