Home
last modified time | relevance | path

Searched refs:mActivityManager (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/app/
DService.java615 if (mActivityManager == null) { in stopSelf()
619 mActivityManager.stopServiceToken( in stopSelf()
647 if (mActivityManager == null) { in stopSelfResult()
651 return mActivityManager.stopServiceToken( in stopSelfResult()
703 mActivityManager.setServiceForeground( in startForeground()
730 mActivityManager.setServiceForeground( in stopForeground()
768 mActivityManager = (IActivityManager)activityManager; in attach()
782 private IActivityManager mActivityManager = null;
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityManagerTest.java33 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/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java54 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/
DProcessErrorsTest.java47 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/tv/pip/
DPipManager.java130 private IActivityManager mActivityManager; field in PipManager
214 mActivityManager = ActivityManagerNative.getDefault(); in initialize()
257 mActivityManager.removeStack(PINNED_STACK_ID); in closePipInternal()
359 mActivityManager.resizeStack(PINNED_STACK_ID, mCurrentPipBounds, in resizePinnedStack()
549 stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID);
574 List<RunningTaskInfo> runningTasks = mActivityManager.getTasks(1, 0);
596 stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID);
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java114 private IActivityManager mActivityManager; field in NetworkPolicyManagerServiceTest
187 mActivityManager = createMock(IActivityManager.class); in setUp()
196 mService = new NetworkPolicyManagerService(mServiceContext, mActivityManager, mPowerManager, in setUp()
209 mActivityManager.registerProcessObserver(capture(processObserver)); in setUp()
241 mActivityManager = null; in tearDown()
1032 EasyMock.replay(mActivityManager, mPowerManager, mStatsService, mPolicyListener, in replay()
1037 EasyMock.verify(mActivityManager, mPowerManager, mStatsService, mPolicyListener, in verifyAndReset()
1039 EasyMock.reset(mActivityManager, mPowerManager, mStatsService, mPolicyListener, in verifyAndReset()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java165 mService.mActivityManager.resizeTask( in onInputEvent()
197 mService.mActivityManager.resizeTask( in onInputEvent()
205 mService.mActivityManager.moveTaskToDockedStack( in onInputEvent()
DTaskStack.java1291 mService.mActivityManager.resizeStack(mStackId, bounds, false, true, false, -1); in setSize()
1309 mService.mActivityManager.resizePinnedStack(bounds, tempTaskBounds); in setPinnedStackSize()
1350 mService.mActivityManager.notifyPinnedStackAnimationEnded(); in onAnimationEnd()
1360 mService.mActivityManager.moveTasksToFullscreenStack(mStackId, true); in moveToFullscreen()
DWindowManagerService.java388 final IActivityManager mActivityManager; field in WindowManagerService
893 mActivityManager.notifyLaunchTaskBehindComplete(atoken.token);
902 mActivityManager.notifyEnterAnimationComplete(atoken.token);
999 mActivityManager = ActivityManagerNative.getDefault(); in WindowManagerService()
5900 mActivityManager.bootAnimationComplete(); in performEnableScreen()
7201 mActivityManager.updateConfiguration(null); in sendNewConfiguration()
7507 mActivityManager.setFocusedTask(win.getTask().mTaskId); in startMovingTask()
7528 mActivityManager.setFocusedTask(task.mTaskId); in startScrollingTask()
7548 mActivityManager.setFocusedTask(taskId); in handleTapOutsideTask()
7896 mActivityManager.updateConfiguration(null); in displayReady()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/
DShortcutKeyDispatcher.java59 private IActivityManager mActivityManager = ActivityManagerNative.getDefault(); field in ShortcutKeyDispatcher
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java119 private final ActivityManager mActivityManager; field in TrustManagerService
139 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in TrustManagerService()
259 if (!mActivityManager.isUserRunning(userInfo.id)) continue; in refreshAgentList()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java267 private IActivityManager mActivityManager; field in BackupManagerService
1067 mActivityManager = ActivityManagerNative.getDefault(); in BackupManagerService()
2372 if (mActivityManager.bindBackupAgent(app.packageName, mode, in bindToAgentSynchronous()
2386 mActivityManager.clearPendingBackup(); in bindToAgentSynchronous()
2394 mActivityManager.clearPendingBackup(); in bindToAgentSynchronous()
2427 mActivityManager.clearApplicationUserData(packageName, observer, 0); in clearApplicationDataSynchronous()
3432 mActivityManager.unbindBackupAgent(mCurrentPackage.applicationInfo); in clearAgentState()
3570 mActivityManager.unbindBackupAgent(app); in tearDownAgentAndKill()
3578 mActivityManager.killApplicationProcess(app.processName, app.uid); in tearDownAgentAndKill()
5101 && mActivityManager.isAppForeground(appInfo.applicationInfo.uid); in beginFullBackup()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java272 private final IActivityManager mActivityManager; field in NetworkPolicyManagerService
394 mActivityManager = checkNotNull(activityManager, "missing activityManager"); in NetworkPolicyManagerService()
580 mActivityManager.registerUidObserver(mUidObserver, in systemReady()