Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DSystemActivityMonitoringService.java102 private final IActivityManager mAm; field in SystemActivityMonitoringService
123 mAm = ActivityManager.getService(); in SystemActivityMonitoringService()
127 mAm.registerProcessObserver(mProcessObserver); in SystemActivityMonitoringService()
128 mAm.registerTaskStackListener(mTaskListener); in SystemActivityMonitoringService()
220 for (StackInfo info : mAm.getAllStackInfos()) { in restartTask()
266 infos = mAm.getAllStackInfos(); in updateTasks()
275 final StackInfo focusedStackInfo = mAm.getFocusedStackInfo(); in updateTasks()
330 focusedStack = mAm.getFocusedStackInfo(); in getFocusedStackForTopActivity()
399 infos = mAm.getAllStackInfos(); in findTaskAndGrantFocus()
412 mAm.setFocusedStack(info.stackId); in findTaskAndGrantFocus()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java55 private final IActivityManager mAm; field in CarUserService
97 mAm = am; in CarUserService()
246 if (mAm.startUserInBackground(user)) { in startAllBackgroundUsers()
250 } else if (mAm.unlockUser(user, null, null, null)) { in startAllBackgroundUsers()
290 int r = mAm.stopUser(userId, true, null); in stopBackgroundUser()
/packages/modules/ExtServices/src/android/ext/services/notification/
DAgingHelper.java48 private AlarmManager mAm; field in AgingHelper
57 mAm = mContext.getSystemService(AlarmManager.class); in AgingHelper()
114 mAm.setExactAndAllowWhileIdle(AlarmManager.RTC_WAKEUP, time, pi); in scheduleAging()
119 mAm.cancel(pi); in cancelAging()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningServiceDetails.java60 ActivityManager mAm; field in RunningServiceDetails
187 mAm.killBackgroundProcesses(mActiveItem.mItem.mPackageInfo.packageName); in onClick()
191 mAm.forceStopPackage(mActiveItem.mItem.mPackageInfo.packageName); in onClick()
275 detail.mManageIntent = mAm.getRunningServiceControlPanel( in addServiceDetailsView()
504 mAm = (ActivityManager) getActivity().getSystemService(Context.ACTIVITY_SERVICE);
DRunningProcessesView.java65 ActivityManager mAm; field in RunningProcessesView
435 mAm = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE); in doCreate()
468 mAm.getMemoryInfo(memInfo); in doCreate()
DRunningState.java79 final ActivityManager mAm; field in RunningState
242 cmd.arg1 = update(mApplicationContext, mAm) ? 1 : 0; in handleMessage()
779 mAm = (ActivityManager)mApplicationContext.getSystemService(Context.ACTIVITY_SERVICE); in RunningState()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServiceDetails.java60 ActivityManager mAm; field in RunningServiceDetails
187 mAm.killBackgroundProcesses(mActiveItem.mItem.mPackageInfo.packageName); in onClick()
191 mAm.forceStopPackage(mActiveItem.mItem.mPackageInfo.packageName); in onClick()
275 detail.mManageIntent = mAm.getRunningServiceControlPanel( in addServiceDetailsView()
504 mAm = (ActivityManager) getActivity().getSystemService(Context.ACTIVITY_SERVICE);
DRunningProcessesView.java65 ActivityManager mAm; field in RunningProcessesView
435 mAm = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE); in doCreate()
468 mAm.getMemoryInfo(memInfo); in doCreate()
DRunningState.java79 final ActivityManager mAm; field in RunningState
242 cmd.arg1 = update(mApplicationContext, mAm) ? 1 : 0; in handleMessage()
779 mAm = (ActivityManager)mApplicationContext.getSystemService(Context.ACTIVITY_SERVICE); in RunningState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java111 private ActivityManager mAm; field in AppButtonsPreferenceControllerTest
131 doReturn(mAm).when(mSettingsActivity).getSystemService(Context.ACTIVITY_SERVICE); in setUp()
367 verify(mAm).forceStopPackage(PACKAGE_NAME); in forceStopPackage_methodInvokedAndUpdated()