/frameworks/base/core/java/android/app/ |
D | Service.java | 611 if (mActivityManager == null) { in stopSelf() 615 mActivityManager.stopServiceToken( in stopSelf() 643 if (mActivityManager == null) { in stopSelfResult() 647 return mActivityManager.stopServiceToken( in stopSelfResult() 699 mActivityManager.setServiceForeground( in startForeground() 728 mActivityManager.setServiceForeground( in stopForeground() 766 mActivityManager = (IActivityManager)activityManager; in attach() 788 private IActivityManager mActivityManager = null;
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityManagerTest.java | 33 protected ActivityManager mActivityManager; field in ActivityManagerTest 39 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in setUp() 54 errList = mActivityManager.getProcessesInErrorState(); in disabledTestErrorTasksEmpty() 71 errList = mActivityManager.getProcessesInErrorState(); in testErrorTasksWithError() 87 errList = mActivityManager.getProcessesInErrorState(); in testErrorTasksWithANR() 97 ConfigurationInfo config = mActivityManager.getDeviceConfigurationInfo(); in testGetDeviceConfigurationInfo()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | SetPersistentVrThreadTest.java | 35 private ActivityManager mActivityManager; field in SetPersistentVrThreadTest 54 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in setUp() 95 mActivityManager.setPersistentVrThread(vr_thread); in testSetPersistentVrThreadAPISuccess() 110 mActivityManager.setPersistentVrThread(vr_thread); in testSetPersistentVrThreadAPISuccess() 129 mActivityManager.setPersistentVrThread(vr_thread); in testSetPersistentVrThreadAPIFailure() 145 mActivityManager.setVrThread(vr_thread); in testSetVrThreadAPIFailsInPersistentMode() 152 mActivityManager.setVrThread(vr_thread); in testSetVrThreadAPIFailsInPersistentMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipManager.java | 56 private IActivityManager mActivityManager; field in PipManager 94 mActivityManager); 176 mActivityManager = ActivityManager.getService(); in initialize() 187 mMediaController = new PipMediaController(context, mActivityManager); in initialize() 188 mMenuController = new PipMenuActivityController(context, mActivityManager, mMediaController, in initialize() 190 mTouchHandler = new PipTouchHandler(context, mActivityManager, mMenuController, in initialize() 192 mNotificationController = new PipNotificationController(context, mActivityManager, in initialize() 210 StackInfo stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in onBusEvent()
|
D | PipMotionHelper.java | 83 private IActivityManager mActivityManager; field in PipMotionHelper 101 mActivityManager = activityManager; in PipMotionHelper() 124 StackInfo stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in synchronizePinnedStackBounds() 162 mActivityManager.moveTasksToFullscreenStack(PINNED_STACK_ID, true /* onTop */); in expandPip() 164 mActivityManager.resizeStack(PINNED_STACK_ID, null /* bounds */, in expandPip() 185 mActivityManager.removeStack(PINNED_STACK_ID); in dismissPip() 518 mActivityManager.resizePinnedStack(toBounds, null /* tempPinnedTaskBounds */); in handleMessage() 531 StackInfo stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in handleMessage() 538 mActivityManager.resizeStack(PINNED_STACK_ID, toBounds, in handleMessage()
|
D | PipMediaController.java | 65 private final IActivityManager mActivityManager; field in PipMediaController 102 mActivityManager = activityManager; in PipMediaController() 209 mActivityManager); in resolveActiveMediaController()
|
D | PipMenuActivityController.java | 114 private IActivityManager mActivityManager; field in PipMenuActivityController 190 mActivityManager = activityManager; in PipMenuActivityController() 352 StackInfo pinnedStackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in startMenuActivity() 389 StackInfo pinnedStackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in updateMenuActions()
|
D | PipNotificationController.java | 57 private IActivityManager mActivityManager; field in PipNotificationController 87 mActivityManager = activityManager; in PipNotificationController()
|
D | PipTouchHandler.java | 75 private final IActivityManager mActivityManager; field in PipTouchHandler 179 mActivityManager = activityManager; in PipTouchHandler() 191 mMotionHelper = new PipMotionHelper(mContext, mActivityManager, mMenuController, in PipTouchHandler()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | LockSettingsServiceTestable.java | 40 private IActivityManager mActivityManager; field in LockSettingsServiceTestable.MockInjector 51 mActivityManager = activityManager; in MockInjector() 79 return mActivityManager; in getActivityManager() 112 IStorageManager storageManager, IActivityManager mActivityManager) { in LockSettingsServiceTestable() argument 113 super(new MockInjector(context, storage, keystore, mActivityManager, lockPatternUtils, in LockSettingsServiceTestable()
|
D | BaseLockSettingsServiceTests.java | 70 IActivityManager mActivityManager; field in BaseLockSettingsServiceTests 83 mActivityManager = mock(IActivityManager.class); in setUp() 97 mStorage, mGateKeeperService, mKeyStore, mStorageManager, mActivityManager); in setUp() 105 when(mActivityManager.unlockUser(anyInt(), any(), any(), any())).thenAnswer( in setUp()
|
D | NetworkPolicyManagerServiceTest.java | 210 private @Mock IActivityManager mActivityManager; field in NetworkPolicyManagerServiceTest 327 }).when(mActivityManager).registerUidObserver(any(), anyInt(), in callSystemReady() 331 mService = new NetworkPolicyManagerService(mServiceContext, mActivityManager, mStatsService, in callSystemReady()
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 54 private ActivityManager mActivityManager; field in AppCompatibility 68 mActivityManager = (ActivityManager) in setUp() 70 Assert.assertNotNull("Could not get Activity Manager", mActivityManager); in setUp() 207 mActivityManager.getProcessesInErrorState(); in launchActivity() 228 List<RunningTaskInfo> infos = mActivityManager.getRunningTasks(100); in processStillUp()
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
D | ProcessErrorsTest.java | 47 protected ActivityManager mActivityManager; field in ProcessErrorsTest 72 mActivityManager = (ActivityManager) in setUp() 78 assertNotNull(mActivityManager); in testSetUpConditions() 153 ProcessError.fromCollection(mActivityManager.getProcessesInErrorState()); in runOneActivity() 180 ProcessError.fromCollection(mActivityManager.getProcessesInErrorState()); in runOneActivity() 208 errList = mActivityManager.getProcessesInErrorState(); in checkForProcessErrors()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/ |
D | PipManager.java | 108 private IActivityManager mActivityManager; field in PipManager 214 mActivityManager = ActivityManager.getService(); in initialize() 320 mActivityManager.removeStack(PINNED_STACK_ID); in closePipInternal() 408 mActivityManager.resizeStack(PINNED_STACK_ID, mCurrentPipBounds, in resizePinnedStack() 486 stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID); in getPinnedStackInfo() 578 runningTasks = mActivityManager.getTasks(1, 0); in isSettingsShown()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowManager.java | 53 private final IActivityManager mActivityManager; field in StatusBarWindowManager 68 mActivityManager = ActivityManager.getService(); in StatusBarWindowManager() 223 mActivityManager.setHasTopUi(mHasTopUiChanged); in apply()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/ |
D | ShortcutKeyDispatcher.java | 61 private IActivityManager mActivityManager = ActivityManager.getService(); field in ShortcutKeyDispatcher
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioner.java | 175 mService.mActivityManager.resizeTask( in onInputEvent() 208 mService.mActivityManager.resizeTask( in onInputEvent() 216 mService.mActivityManager.moveTaskToDockedStack( in onInputEvent()
|
D | TaskStack.java | 1485 mService.mActivityManager.resizePinnedStack(stackBounds, tempTaskBounds); in setPinnedStackSize() 1518 mService.mActivityManager.notifyPinnedStackAnimationStarted(); in onAnimationStart() 1564 mService.mActivityManager.notifyPinnedStackAnimationEnded(); in onAnimationEnd() 1566 mService.mActivityManager.moveTasksToFullscreenStack(mStackId, in onAnimationEnd()
|
D | WindowManagerService.java | 405 final IActivityManager mActivityManager; field in WindowManagerService 949 mActivityManager.notifyLaunchTaskBehindComplete(atoken.token); 958 mActivityManager.notifyEnterAnimationComplete(atoken.token); 1083 mActivityManager = ActivityManager.getService(); in WindowManagerService() 3481 mActivityManager.bootAnimationComplete(); in performEnableScreen() 4395 final boolean configUpdated = mActivityManager.updateDisplayOverrideConfiguration( in sendNewConfiguration() 4458 mActivityManager.setFocusedTask(win.getTask().mTaskId); in startMovingTask() 4479 mActivityManager.setFocusedTask(taskId); in handleTapOutsideTask() 4712 mActivityManager.updateConfiguration(null); in displayReady() 4723 mActivityManager.updateConfiguration(null); in displayReady() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 160 @Mock ActivityManager mActivityManager; field in WifiServiceImplTest 241 when(mContext.getSystemService(Context.ACTIVITY_SERVICE)).thenReturn(mActivityManager); in setUp() 694 when(mActivityManager.getPackageImportance(SCAN_PACKAGE_NAME)).thenReturn( in testWifiScanStartedForeground() 706 when(mActivityManager.getPackageImportance(SCAN_PACKAGE_NAME)).thenReturn( in testWifiScanBackgroundThrottled() 726 when(mActivityManager.getPackageImportance(SCAN_PACKAGE_NAME)).thenReturn( in testWifiScanBackgroundNotThrottled() 746 when(mActivityManager.getPackageImportance(WHITE_LIST_SCAN_PACKAGE_NAME)).thenReturn( in testWifiScanBackgroundWhiteListed()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 118 private final ActivityManager mActivityManager; field in TrustManagerService 138 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in TrustManagerService() 278 if (!mActivityManager.isUserRunning(userInfo.id)) { in refreshAgentList()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationManagerService.java | 174 private ActivityManager mActivityManager; field in LocationManagerService 285 mActivityManager in systemRunning() 380 mActivityManager.addOnUidImportanceListener(uidImportanceListener, in systemRunning() 1852 mActivityManager.getPackageImportance(mReceiver.mIdentity.mPackageName)); in UpdateRecord() 2299 mActivityManager.getPackageImportance(packageName))) { in addGnssMeasurementsListener() 2336 mActivityManager.getPackageImportance(packageName))) { in addGnssNavigationMessageListener()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 305 private IActivityManager mActivityManager; field in BackupManagerService 1197 mActivityManager = ActivityManager.getService(); in BackupManagerService() 2306 if (mActivityManager.bindBackupAgent(app.packageName, mode, in bindToAgentSynchronous() 2339 mActivityManager.clearPendingBackup(); in bindToAgentSynchronous() 2367 mActivityManager.clearApplicationUserData(packageName, observer, 0); in clearApplicationDataSynchronous() 3633 mActivityManager.unbindBackupAgent(mCurrentPackage.applicationInfo); in clearAgentState() 3784 mActivityManager.unbindBackupAgent(app); in tearDownAgentAndKill() 3792 mActivityManager.killApplicationProcess(app.processName, app.uid); in tearDownAgentAndKill() 5082 mActivityManager.unbindBackupAgent(currentPackage.applicationInfo); in run() 5601 && mActivityManager.isAppForeground(appInfo.applicationInfo.uid); in beginFullBackup() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 164 private final ActivityManager mActivityManager; field in WifiServiceImpl 395 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in WifiServiceImpl() 632 return mActivityManager.getPackageImportance(packageName) in isRequestFromBackground()
|