Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DService.java563 if (mActivityManager == null) { in stopSelf()
567 mActivityManager.stopServiceToken( in stopSelf()
595 if (mActivityManager == null) { in stopSelfResult()
599 return mActivityManager.stopServiceToken( in stopSelfResult()
651 mActivityManager.setServiceForeground( in startForeground()
668 mActivityManager.setServiceForeground( in stopForeground()
707 mActivityManager = (IActivityManager)activityManager; in attach()
721 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.java51 private ActivityManager mActivityManager; field in AppCompatibility
65 mActivityManager = (ActivityManager) in setUp()
67 Assert.assertNotNull("Could not get Activity Manager", mActivityManager); in setUp()
188 mActivityManager.getProcessesInErrorState(); in launchActivity()
209 List<RunningAppProcessInfo> runningApps = mActivityManager.getRunningAppProcesses(); 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/testing/app-tests/AppLaunchTest/src/com/android/applaunchtest/
DAppLaunchTest.java48 private ActivityManager mActivityManager; field in AppLaunchTest
63 mActivityManager = (ActivityManager) in setUp()
66 assertNotNull("failed to get activity manager", mActivityManager); in setUp()
114 ProcessError.fromCollection(mActivityManager.getProcessesInErrorState()); in runOneActivity()
131 ProcessError.fromCollection(mActivityManager.getProcessesInErrorState()); in runOneActivity()
/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()
1034 EasyMock.replay(mActivityManager, mPowerManager, mStatsService, mPolicyListener, in replay()
1039 EasyMock.verify(mActivityManager, mPowerManager, mStatsService, mPolicyListener, in verifyAndReset()
1041 EasyMock.reset(mActivityManager, mPowerManager, mStatsService, mPolicyListener, in verifyAndReset()
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowAnimator.java321 mService.mActivityManager.notifyLaunchTaskBehindComplete(mAppToken.token); in stepAnimationLocked()
330 mService.mActivityManager.notifyEnterAnimationComplete(mAppToken.token); in stepAnimationLocked()
DWindowManagerService.java344 final IActivityManager mActivityManager; field in WindowManagerService
850 mActivityManager = ActivityManagerNative.getDefault(); in WindowManagerService()
5736 mActivityManager.bootAnimationComplete(); in performEnableScreen()
6947 mActivityManager.updateConfiguration(null); in sendNewConfiguration()
7423 mActivityManager.updateConfiguration(null); in displayReady()
7434 mActivityManager.updateConfiguration(null); in displayReady()
7950 mActivityManager.setFocusedStack(stackId); in handleMessage()
7958 mActivityManager.notifyActivityDrawn((IBinder) msg.obj); in handleMessage()
10233 if (mActivityManager.killPids(pids, "Free memory", secure)) { in reclaimSomeSurfaceMemoryLocked()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java253 private IActivityManager mActivityManager; field in BackupManagerService
941 mActivityManager = ActivityManagerNative.getDefault(); in BackupManagerService()
2111 if (mActivityManager.bindBackupAgent(app, mode)) { in bindToAgentSynchronous()
2124 mActivityManager.clearPendingBackup(); in bindToAgentSynchronous()
2132 mActivityManager.clearPendingBackup(); in bindToAgentSynchronous()
2165 mActivityManager.clearApplicationUserData(packageName, observer, 0); in clearApplicationDataSynchronous()
2870 mActivityManager.unbindBackupAgent(mCurrentPackage.applicationInfo); in clearAgentState()
3285 mActivityManager.unbindBackupAgent(app); in tearDown()
3291 mActivityManager.killApplicationProcess(app.processName, app.uid); in tearDown()
4637 mActivityManager.unbindBackupAgent(app); in tearDownAgent()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java237 private final IActivityManager mActivityManager; field in NetworkPolicyManagerService
314 mActivityManager = checkNotNull(activityManager, "missing activityManager"); in NetworkPolicyManagerService()
386 mActivityManager.registerProcessObserver(mProcessObserver); in systemReady()