/cts/tests/tests/content/src/android/content/pm/cts/ |
FeatureTest.java | 35 private ActivityManager mActivityManager; 41 mActivityManager = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE); 45 if (mPackageManager == null || mActivityManager == null) { 49 if (mActivityManager.isLowRamDevice()) {
|
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerTest.java | 43 private ActivityManager mActivityManager; 54 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); 79 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags); 84 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags); 97 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags); 115 mActivityManager.getRecentTasks(-1, 0); 133 runningTaskList = mActivityManager.getRunningTasks(-1); 136 runningTaskList = mActivityManager.getRunningTasks(0); 139 runningTaskList = mActivityManager.getRunningTasks(20); 153 runningTaskList = mActivityManager.getRunningTasks(20) [all...] |
SystemFeaturesTest.java | 60 private ActivityManager mActivityManager; 79 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); 447 ConfigurationInfo configInfo = mActivityManager.getDeviceConfigurationInfo();
|
/frameworks/base/core/java/android/app/ |
Service.java | 563 if (mActivityManager == null) { 567 mActivityManager.stopServiceToken( 595 if (mActivityManager == null) { 599 return mActivityManager.stopServiceToken( 651 mActivityManager.setServiceForeground( 668 mActivityManager.setServiceForeground( [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
ActivityManagerTest.java | 33 protected ActivityManager mActivityManager; 39 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); 54 errList = mActivityManager.getProcessesInErrorState(); 71 errList = mActivityManager.getProcessesInErrorState(); 87 errList = mActivityManager.getProcessesInErrorState(); 97 ConfigurationInfo config = mActivityManager.getDeviceConfigurationInfo();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/ |
ScreenPinningTestActivity.java | 38 private ActivityManager mActivityManager; 63 mActivityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE); 146 if (mActivityManager.isInLockTaskMode()) { 167 if (mActivityManager.isInLockTaskMode()) { 178 if (mActivityManager.isInLockTaskMode()) { 189 if (!mActivityManager.isInLockTaskMode()) { 200 if (!mActivityManager.isInLockTaskMode()) { 205 if (!mActivityManager.isInLockTaskMode()) {
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GlAppSwitchTest.java | 46 private ActivityManager mActivityManager; 72 mActivityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); 123 mActivityManager.getRunningTasks(MAX_RUNNING_TASKS); 138 mActivityManager.getRunningTasks(MAX_RUNNING_TASKS); 155 mActivityManager.moveTaskToFront(show ? mTaskIdReplica : mTaskIdSelf, 0);
|
/packages/apps/Camera2/src/com/android/camera/app/ |
MemoryQuery.java | 53 private ActivityManager mActivityManager; 56 mActivityManager = activityManager; 67 int memoryClass = mActivityManager.getMemoryClass(); 68 int largeMemoryClass = mActivityManager.getLargeMemoryClass(); 70 mActivityManager.getMemoryInfo(memoryInfo); 95 Debug.MemoryInfo[] memoryInfoArray = mActivityManager.getProcessMemoryInfo(pids);
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
AppCompatibility.java | 51 private ActivityManager mActivityManager; 65 mActivityManager = (ActivityManager) 67 Assert.assertNotNull("Could not get Activity Manager", mActivityManager); 188 mActivityManager.getProcessesInErrorState(); 209 List<RunningAppProcessInfo> runningApps = mActivityManager.getRunningAppProcesses();
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
ProcessErrorsTest.java | 47 protected ActivityManager mActivityManager; 72 mActivityManager = (ActivityManager) 78 assertNotNull(mActivityManager); 153 ProcessError.fromCollection(mActivityManager.getProcessesInErrorState()); 180 ProcessError.fromCollection(mActivityManager.getProcessesInErrorState()); 208 errList = mActivityManager.getProcessesInErrorState();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkPolicyManagerServiceTest.java | 114 private IActivityManager mActivityManager; 187 mActivityManager = createMock(IActivityManager.class); 196 mService = new NetworkPolicyManagerService(mServiceContext, mActivityManager, mPowerManager, 209 mActivityManager.registerProcessObserver(capture(processObserver)); 241 mActivityManager = null; [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
AppWindowAnimator.java | 317 mService.mActivityManager.notifyLaunchTaskBehindComplete(mAppToken.token); 326 mService.mActivityManager.notifyEnterAnimationComplete(mAppToken.token);
|
WindowManagerService.java | 348 final IActivityManager mActivityManager; [all...] |
/frameworks/base/services/core/java/com/android/server/trust/ |
TrustManagerService.java | 113 private final ActivityManager mActivityManager; 128 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); 228 if (!mActivityManager.isUserRunning(userInfo.id)) continue; [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/ |
BackupManagerService.java | 254 private IActivityManager mActivityManager; [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkPolicyManagerService.java | 239 private final IActivityManager mActivityManager; 316 mActivityManager = checkNotNull(activityManager, "missing activityManager"); 388 mActivityManager.registerProcessObserver(mProcessObserver); [all...] |
/packages/apps/FMRadio/src/com/android/fmradio/ |
FmService.java | 179 private ActivityManager mActivityManager = null; [all...] |