/packages/apps/Camera2/src/com/android/camera/app/ |
D | MemoryManagerImpl.java | 72 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()
|
D | MemoryQuery.java | 55 public MemoryQuery(ActivityManager activityManager) { in MemoryQuery() argument 56 mActivityManager = activityManager; in MemoryQuery()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | SettingsBaseActivity.java | 165 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/ |
D | ConfirmDeviceCredentialUtils.java | 38 IActivityManager activityManager = ActivityManager.getService(); in checkForPendingIntent() local 40 activityManager.startActivityFromRecents(taskId, options.toBundle()); in checkForPendingIntent()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialUtils.java | 38 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/ |
D | SpecialAppAccess.java | 57 ActivityManager activityManager = (ActivityManager) getContext() in updatePreferenceStates() local 59 if (activityManager.isLowRamDevice()) { in updatePreferenceStates()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/zenaccess/ |
D | ZenAccessController.java | 57 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/ |
D | ZenAccessController.java | 57 public static boolean isSupported(ActivityManager activityManager) { in isSupported() argument 58 return !activityManager.isLowRamDevice(); in isSupported()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/service/ |
D | SimulatorService.java | 189 ActivityManager activityManager = in getPackageNameForPid() local 191 for (RunningAppProcessInfo processInfo : activityManager.getRunningAppProcesses()) { in getPackageNameForPid()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | TestActivity.java | 63 public ActivityManager activityManager; field in TestActivity 213 return activityManager; in getSystemService()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskThumbnailCache.java | 59 ActivityManager activityManager = in HighResLoadingState() local 61 mIsLowRamDevice = activityManager.isLowRamDevice(); in HighResLoadingState()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/password/ |
D | ChooseLockGenericTest.java | 220 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/ |
D | AvatarViewMixinTest.java | 109 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/ |
D | AssistantRoleBehavior.java | 150 ActivityManager activityManager = context.getSystemService(ActivityManager.class); in isPackageQualified() local 154 if (!activityManager.isLowRamDevice()) { in isPackageQualified()
|
D | Role.java | 671 ActivityManager activityManager = context.getSystemService(ActivityManager.class); in killApp() local 672 activityManager.killUid(applicationInfo.uid, "Permission or app op changed"); in killApp()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivity.java | 327 final ActivityManager activityManager = getSystemService(ActivityManager.class); in maybeShowAdminGetProvisioningModeScreen() local 328 if (!activityManager.isLowRamDevice() in maybeShowAdminGetProvisioningModeScreen()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsDetail.java | 161 ActivityManager activityManager = (ActivityManager) in updateRunningServices() local 164 activityManager.getRunningServices(Integer.MAX_VALUE); in updateRunningServices()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcessStatsDetail.java | 161 ActivityManager activityManager = (ActivityManager) in updateRunningServices() local 164 activityManager.getRunningServices(Integer.MAX_VALUE); in updateRunningServices()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | RecentsLoaderTests.java | 58 mActivity.activityManager = ActivityManagers.create(false); in setUp()
|
D | GlobalSearchLoaderTest.java | 61 mActivity.activityManager = ActivityManagers.create(false); in setUp()
|