Home
last modified time | relevance | path

Searched refs:activityManager (Results 1 – 20 of 20) 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/apps/Settings/src/com/android/settings/core/
DSettingsBaseActivity.java165 final ActivityManager activityManager = in isLockTaskModePinned() local
167 return activityManager.getLockTaskModeState() == ActivityManager.LOCK_TASK_MODE_PINNED; in isLockTaskModePinned()
171 final ActivityManager activityManager = in isSettingsRunOnTop() local
173 final String taskPkgName = activityManager.getRunningTasks(1 /* maxNum */) in isSettingsRunOnTop()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmDeviceCredentialUtils.java38 IActivityManager activityManager = ActivityManager.getService(); in checkForPendingIntent() local
40 activityManager.startActivityFromRecents(taskId, options.toBundle()); in checkForPendingIntent()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialUtils.java38 IActivityManager activityManager = ActivityManager.getService(); in checkForPendingIntent() local
40 activityManager.startActivityFromRecents(taskId, options.toBundle()); in checkForPendingIntent()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DSpecialAppAccess.java57 ActivityManager activityManager = (ActivityManager) getContext() in updatePreferenceStates() local
59 if (activityManager.isLowRamDevice()) { in updatePreferenceStates()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/zenaccess/
DZenAccessController.java57 public static boolean isSupported(ActivityManager activityManager) { in isSupported() argument
58 return !activityManager.isLowRamDevice(); in isSupported()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/zenaccess/
DZenAccessController.java57 public static boolean isSupported(ActivityManager activityManager) { in isSupported() argument
58 return !activityManager.isLowRamDevice(); in isSupported()
/packages/apps/Dialer/java/com/android/dialer/simulator/service/
DSimulatorService.java189 ActivityManager activityManager = in getPackageNameForPid() local
191 for (RunningAppProcessInfo processInfo : activityManager.getRunningAppProcesses()) { in getPackageNameForPid()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestActivity.java63 public ActivityManager activityManager; field in TestActivity
213 return activityManager; in getSystemService()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskThumbnailCache.java57 ActivityManager activityManager = in HighResLoadingState() local
59 mIsLowRamDevice = activityManager.isLowRamDevice(); in HighResLoadingState()
/packages/apps/Settings/tests/unit/src/com/android/settings/password/
DChooseLockGenericTest.java220 final ActivityManager activityManager = in finishAllAppTasks() local
222 final List<AppTask> appTasks = activityManager.getAppTasks(); in finishAllAppTasks()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAvatarViewMixinTest.java109 final ShadowActivityManager activityManager = in onStart_lowRamDevice_doNothing() local
111 activityManager.setIsLowRamDevice(true); in onStart_lowRamDevice_doNothing()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DAssistantRoleBehavior.java134 ActivityManager activityManager = context.getSystemService(ActivityManager.class); in isPackageQualified() local
138 if (!activityManager.isLowRamDevice()) { in isPackageQualified()
DRole.java643 ActivityManager activityManager = context.getSystemService(ActivityManager.class); in killApp() local
644 activityManager.killUid(applicationInfo.uid, "Permission or app op changed"); in killApp()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivity.java327 final ActivityManager activityManager = getSystemService(ActivityManager.class); in maybeShowAdminGetProvisioningModeScreen() local
328 if (!activityManager.isLowRamDevice() in maybeShowAdminGetProvisioningModeScreen()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcessStatsDetail.java161 ActivityManager activityManager = (ActivityManager) in updateRunningServices() local
164 activityManager.getRunningServices(Integer.MAX_VALUE); in updateRunningServices()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsDetail.java161 ActivityManager activityManager = (ActivityManager) in updateRunningServices() local
164 activityManager.getRunningServices(Integer.MAX_VALUE); in updateRunningServices()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DRecentsLoaderTests.java53 mActivity.activityManager = ActivityManagers.create(false); in setUp()
DGlobalSearchLoaderTest.java61 mActivity.activityManager = ActivityManagers.create(false); in setUp()