/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
ActivityManagerPermissionTests.java | 31 IActivityManager mAm; 36 mAm = ActivityManagerNative.getDefault(); 42 mAm.moveTaskToFront(0, 0, null); 52 mAm.moveTaskToBack(-1); 62 mAm.moveTaskBackwards(-1); 75 mAm.updateConfiguration(new Configuration()); 88 mAm.setDebugApp(null, false, false); 101 mAm.setProcessLimit(10); 114 mAm.setAlwaysFinish(false); 127 mAm.signalPersistentProcesses(-1) [all...] |
/frameworks/base/services/java/com/android/server/am/ |
NativeCrashListener.java | 55 final ActivityManagerService mAm; 86 mAm.handleApplicationCrashInner("native_crash", mApp, mApp.processName, ci); 99 mAm = ActivityManagerService.self(); 218 synchronized (mAm.mPidsSelfLocked) { 219 pr = mAm.mPidsSelfLocked.get(pid); 256 synchronized (mAm) {
|
ActiveServices.java | 92 final ActivityManagerService mAm; 208 mAm = service; 218 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); 238 NeededUriGrants neededGrants = mAm.checkGrantUriPermissionFromIntentLocked( 272 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); 394 mAm.updateLruProcessLocked(r.app, false); 421 mAm.updateOomAdjLocked(); 432 final ProcessRecord callerApp = mAm.getRecordForAppLocked(caller); 442 activity = mAm.mMainStack.isInStackLocked(token); 529 mAm.updateOomAdjLocked(s.app) [all...] |
ProviderMap.java | 44 private final ActivityManagerService mAm; 57 mAm = am; 292 synchronized (mAm) { 353 synchronized (mAm) {
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
Am.java | 57 private IActivityManager mAm; 223 mAm = ActivityManagerNative.getDefault(); 224 if (mAm == null) { 538 ComponentName cn = mAm.startService(null, intent, intent.getType(), mUserId); 559 mimeType = mAm.getProviderMimeType(intent.getData(), mUserId); 588 mAm.forceStopPackage(packageName, mUserId); 613 result = mAm.startActivityAndWait(null, null, intent, mimeType, 617 res = mAm.startActivityAsUser(null, null, intent, mimeType, [all...] |
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
AppLaunch.java | 70 private IActivityManager mAm; 79 mAm = ActivityManagerNative.getDefault(); 266 mAm.forceStopPackage(packageName, UserHandle.USER_CURRENT); 321 mAm.forceStopPackage(packageName, UserHandle.USER_CURRENT); 326 mimeType = mAm.getProviderMimeType(mLaunchIntent.getData(), 330 mResult = mAm.startActivityAndWait(null, null, mLaunchIntent, mimeType,
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
ActivityTestMain.java | 55 ActivityManager mAm; 90 mAm.removeSubTask(task.id, subIndex+1); 92 mAm.moveTaskToFront(task.id, ActivityManager.MOVE_TASK_WITH_HOME); 108 mAm.removeTask(task.id, ActivityManager.REMOVE_TASK_KILL_PROCESS); 110 mAm.removeSubTask(task.id, subIndex); 124 mAm = (ActivityManager)getSystemService(ACTIVITY_SERVICE); 325 List<ActivityManager.RecentTaskInfo> recents = mAm.getRecentTasks(10, 330 ActivityManager.TaskThumbnails tt = mAm.getTaskThumbnails(r.persistentId);
|
/frameworks/base/services/java/com/android/server/ |
ClipboardService.java | 57 private final IActivityManager mAm; 94 mAm = ActivityManagerNative.getDefault(); 99 permOwner = mAm.newUriPermissionOwner("clipboard"); 258 mAm.checkGrantUriPermission(uid, null, uri, Intent.FLAG_GRANT_READ_URI_PERMISSION); 285 mAm.grantUriPermissionFromOwner(mPermissionOwner, Process.myUid(), pkg, uri, 334 mAm.revokeUriPermissionFromOwner(mPermissionOwner, uri,
|
NotificationManagerService.java | 135 final IActivityManager mAm; [all...] |
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
MemoryUsageTest.java | 65 private IActivityManager mAm; 71 mAm = ActivityManagerNative.getDefault(); 274 mimeType = mAm.getProviderMimeType(mLaunchIntent.getData(), 278 mAm.startActivityAndWait(null, null, mLaunchIntent, mimeType,
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
Monkey.java | 71 private IActivityManager mAm; 661 mWm, mAm, mVerbose); 706 mAm.setActivityController(null); 707 mNetworkMonitor.unregister(mAm); [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningServiceDetails.java | 57 ActivityManager mAm; 184 mAm.killBackgroundProcesses(mActiveItem.mItem.mPackageInfo.packageName); 188 mAm.forceStopPackage(mActiveItem.mItem.mPackageInfo.packageName); 272 detail.mManageIntent = mAm.getRunningServiceControlPanel( 504 mAm = (ActivityManager)getActivity().getSystemService(Context.ACTIVITY_SERVICE);
|
RunningProcessesView.java | 60 ActivityManager mAm; 413 mAm = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE); 444 mAm.getMemoryInfo(memInfo);
|
RunningState.java | 75 final ActivityManager mAm; 240 cmd.arg1 = update(mApplicationContext, mAm) ? 1 : 0; 734 mAm = (ActivityManager)mApplicationContext.getSystemService(Context.ACTIVITY_SERVICE); [all...] |