Home
last modified time | relevance | path

Searched refs:activityManager (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/app/
DMemoryManagerImpl.java72 ActivityManager activityManager = AndroidServices.instance().provideActivityManager(); in create() local
74 MemoryQuery mMemoryQuery = new MemoryQuery(activityManager); in create()
159 ActivityManager activityManager = AndroidServices.instance().provideActivityManager(); in getMaxAllowedNativeMemory() local
165 return (int) (Math.max(activityManager.getMemoryClass(), in getMaxAllowedNativeMemory()
166 activityManager.getLargeMemoryClass()) * MAX_MEM_ALLOWED); in getMaxAllowedNativeMemory()
DMemoryQuery.java55 public MemoryQuery(ActivityManager activityManager) { in MemoryQuery() argument
56 mActivityManager = activityManager; in MemoryQuery()
/packages/experimental/MultiPackageApk/src/foo/bar/multi/
DMyActivity.java36 ActivityManager activityManager = getSystemService(ActivityManager.class); in onCreate() local
37 …List<ActivityManager.RunningAppProcessInfo> runningProcesses = activityManager.getRunningAppProces… in onCreate()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestActivity.java60 public ActivityManager activityManager; field in TestActivity
204 return activityManager; in getSystemService()
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java975 final ActivityManager activityManager = in isLockTaskModePinned() local
977 return activityManager.getLockTaskModeState() == ActivityManager.LOCK_TASK_MODE_PINNED; in isLockTaskModePinned()
981 final ActivityManager activityManager = in isSettingsRunOnTop() local
983 final String taskPkgName = activityManager.getRunningTasks(1 /* maxNum */) in isSettingsRunOnTop()
/packages/apps/Settings/tests/app/src/com/android/settings/password/
DChooseLockGenericTest.java209 final ActivityManager activityManager = in finishAllAppTasks() local
211 final List<AppTask> appTasks = activityManager.getAppTasks(); in finishAllAppTasks()
/packages/apps/Launcher2/src/com/android/launcher2/
DIconCache.java80 ActivityManager activityManager = in IconCache() local
85 mIconDpi = activityManager.getLauncherLargeIconDensity(); in IconCache()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseFragment.java244 IActivityManager activityManager = ActivityManager.getService(); in checkForPendingIntent() local
247 activityManager.startActivityFromRecents(taskId, options.toBundle()); in checkForPendingIntent()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsDetail.java160 ActivityManager activityManager = (ActivityManager) in updateRunningServices() local
163 activityManager.getRunningServices(Integer.MAX_VALUE); in updateRunningServices()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DRecentsLoaderTests.java52 mActivity.activityManager = ActivityManagers.create(false); in setUp()
/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java448 ActivityManager activityManager = mContext.getSystemService(ActivityManager.class); in buildAndSendNotification()
450 activityManager.getMemoryInfo(memoryInfo); in buildAndSendNotification()