Searched refs:mAm (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | ActivityManagerPermissionTests.java | 31 IActivityManager mAm; field in ActivityManagerPermissionTests 36 mAm = ActivityManagerNative.getDefault(); in setUp() 42 mAm.moveTaskToFront(0, 0); in testREORDER_TASKS() 52 mAm.moveTaskToBack(-1); in testREORDER_TASKS() 62 mAm.moveTaskBackwards(-1); in testREORDER_TASKS() 75 mAm.updateConfiguration(new Configuration()); in testCHANGE_CONFIGURATION() 88 mAm.setDebugApp(null, false, false); in testSET_DEBUG_APP() 101 mAm.setProcessLimit(10); in testSET_PROCESS_LIMIT() 114 mAm.setAlwaysFinish(false); in testALWAYS_FINISH() 127 mAm.signalPersistentProcesses(-1); in testSIGNAL_PERSISTENT_PROCESSES() [all …]
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 47 ActivityManager mAm; field in ActivityTestMain 66 mAm.removeSubTask(task.id, subIndex+1); in addThumbnail() 68 mAm.moveTaskToFront(task.id, ActivityManager.MOVE_TASK_WITH_HOME); in addThumbnail() 84 mAm.removeTask(task.id, ActivityManager.REMOVE_TASK_KILL_PROCESS); in addThumbnail() 86 mAm.removeSubTask(task.id, subIndex); in addThumbnail() 100 mAm = (ActivityManager)getSystemService(ACTIVITY_SERVICE); in onCreate() 120 List<ActivityManager.RecentTaskInfo> recents = mAm.getRecentTasks(10, in buildUi() 125 ActivityManager.TaskThumbnails tt = mAm.getTaskThumbnails(r.persistentId); in buildUi()
|
/frameworks/base/services/java/com/android/server/ |
D | ClipboardService.java | 47 private final IActivityManager mAm; field in ClipboardService 64 mAm = ActivityManagerNative.getDefault(); in ClipboardService() 68 permOwner = mAm.newUriPermissionOwner("clipboard"); in ClipboardService() 158 mAm.checkGrantUriPermission(uid, null, uri, Intent.FLAG_GRANT_READ_URI_PERMISSION); in checkUriOwnerLocked() 185 mAm.grantUriPermissionFromOwner(mPermissionOwner, Process.myUid(), pkg, uri, in grantUriLocked() 226 mAm.revokeUriPermissionFromOwner(mPermissionOwner, uri, in revokeUriLocked()
|
D | NotificationManagerService.java | 83 final IActivityManager mAm; field in NotificationManagerService 397 mAm = ActivityManagerNative.getDefault(); in NotificationManagerService() 627 mAm.setProcessForeground(mForegroundToken, pid, toastCount > 0); in keepProcessAliveLocked()
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Am.java | 54 private IActivityManager mAm; field in Am 94 mAm = ActivityManagerNative.getDefault(); in run() 95 if (mAm == null) { in run() 323 ComponentName cn = mAm.startService(null, intent, intent.getType()); in runStartService() 335 mimeType = mAm.getProviderMimeType(intent.getData()); in runStart() 362 mAm.forceStopPackage(packageName); in runStart() 387 result = mAm.startActivityAndWait(null, intent, mimeType, in runStart() 392 res = mAm.startActivity(null, intent, mimeType, in runStart() 473 mAm.forceStopPackage(nextArgRequired()); in runForceStop() 480 mAm.broadcastIntent(null, intent, null, receiver, 0, null, null, null, true, false); in sendBroadcast() [all …]
|