Lines Matching refs:mAm
118 ActivityManager mAm;
206 mAm = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
285 if (mAm == null) return null;
332 tasks = mAm.getRecentTasksForUser(numTasksToQuery, flags, userId);
376 List<ActivityManager.RunningTaskInfo> tasks = mAm.getRunningTasks(1);
571 if (mAm == null) return null;
603 if (mAm == null) {
607 ActivityManager.TaskThumbnail taskThumbnail = mAm.getTaskThumbnail(taskId);
643 if (mAm == null) return;
650 mAm.removeTask(taskId);
882 if (mAm == null) return 0;
884 return mAm.getCurrentUser();