Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DAnrController.java195 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()
DActivityTaskManagerService.java376 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 …]
DActivityServiceConnectionsHolder.java133 mActivity.mAtmService.mAmInternal.disconnectActivityFromServices(this); in disconnectActivityFromServices()
DVisibleActivityProcessTracker.java140 mAtms.mAmInternal.updateForegroundTimeIfOnBattery( in run()
DActivityClientController.java280 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()
DActivityStartController.java267 mService.mAmInternal.ensureNotSpecialUser(targetUserId); in checkTargetUser()
444 aInfo = mService.mAmInternal.getActivityInfoForUser(aInfo, userId); in startActivities()
DActivityTaskSupervisor.java720 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()
DWindowProcessController.java650 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()
DActivityStartInterceptor.java426 if (!mService.mAmInternal.shouldConfirmCredentials(userId)) { in interceptWithConfirmCredentialsIfNeeded()
DWindowOrganizerController.java1110 mService.mAmInternal.enforceCallingPermission(START_TASKS_FROM_RECENTS, in applyHierarchyOp()
1197 int res = waitAsyncStart(() -> mService.mAmInternal.sendIntentSender( in applyHierarchyOp()
DSession.java461 final Intent launchIntent = mService.mAmInternal.getIntentForIntentSender( in validateAndResolveDragMimeTypeExtras()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java124 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()
DActivityTaskSupervisorTests.java338 }).when(mAtm.mAmInternal).addPendingTopUid(anyInt(), anyInt(), any()); in testUpdatePendingTopForTopResumed()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsMockContext.java99 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/
DPendingIntentRecord.java469 && 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()
DPendingIntentController.java88 ActivityManagerInternal mAmInternal; field in PendingIntentController
116 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in onActivityManagerInternalAdded()
/frameworks/base/services/core/java/com/android/server/pm/
DBroadcastHelper.java90 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/
DUriGrantsManagerService.java127 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/
DCompanionDeviceManagerService.java138 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/
DCarLaunchParamsModifier.java234 return mAtm.mAmInternal.getCurrentAndTargetUserIds();
/frameworks/base/services/core/java/com/android/server/power/hint/
DHintManagerService.java128 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/
DPinnerService.java137 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/
DMediaProjectionManagerServiceTest.java155 private ActivityManagerInternal mAmInternal; field in MediaProjectionManagerServiceTest
173 LocalServices.addService(ActivityManagerInternal.class, mAmInternal); in setup()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java138 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/
DVoiceInteractionManagerService.java158 final ActivityManagerInternal mAmInternal; field in VoiceInteractionManagerService
180 mAmInternal = Objects.requireNonNull( in VoiceInteractionManagerService()
207 mAmInternal.setVoiceInteractionManagerProvider( in onStart()

12