Home
last modified time | relevance | path

Searched refs:getRunningAppProcesses (Results 1 – 17 of 17) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/
DHealthConnectThreadSchedulerTest.java104 when(mActivityManager.getRunningAppProcesses()).thenReturn(List.of(runningAppProcessInfo)); in testHealthConnectSchedulerScheduleInternal()
119 when(mActivityManager.getRunningAppProcesses()).thenReturn(null); in testHealthConnectScheduler_runningAppProcessNull()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/app/
DActivityManagerHelper.java225 public static List<ActivityManager.RunningAppProcessInfo> getRunningAppProcesses() { in getRunningAppProcesses() method in ActivityManagerHelper
227 return getActivityManager().getRunningAppProcesses(); in getRunningAppProcesses()
/packages/apps/Nfc/src/com/android/nfc/
DNfcApplication.java57 List processes = am.getRunningAppProcesses(); in onCreate()
/packages/apps/Traceur/src_common/com/android/traceur/
DTraceUtils.java293 static Set<String> getRunningAppProcesses(Context context) { in getRunningAppProcesses() method in TraceUtils
296 am.getRunningAppProcesses(); in getRunningAppProcesses()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectThreadScheduler.java195 activityManager.getRunningAppProcesses(); in isUidInForeground()
/packages/apps/Dialer/java/com/android/dialer/simulator/service/
DSimulatorService.java191 for (RunningAppProcessInfo processInfo : activityManager.getRunningAppProcesses()) { in getPackageNameForPid()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/
DMemoryPublisherTest.java143 when(mMockActivityManager.getRunningAppProcesses()).thenReturn(List.of( in setUp()
241 when(mMockActivityManager.getRunningAppProcesses()).thenReturn(List.of(process1, process2)); in testAddDataSubscriber_multipleMatchingPackageName_pullsDeviceAndProcessMeminfo()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DProviderUtil.java288 List<ActivityManager.RunningAppProcessInfo> processInfos = am.getRunningAppProcesses(); in logRunningTelephonyProviderProcesses()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DMemoryPublisher.java279 mActivityManager.getRunningAppProcesses();
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java371 () -> ActivityManagerHelper.getRunningAppProcesses()); in testHibernateFreeMemory()
388 () -> ActivityManagerHelper.getRunningAppProcesses()); in testHibernateFreeMemory_multipleProcesses()
413 () -> ActivityManagerHelper.getRunningAppProcesses()); in testHibernateFreeMemory_multipleProcessesWithOneProcessTooLow()
440 () -> ActivityManagerHelper.getRunningAppProcesses()); in testHibernateFreeMemory_multipleProcessesWithOneProcessNotInAllowList()
469 () -> ActivityManagerHelper.getRunningAppProcesses()); in testHibernateFreeMemory_multipleProcessesSameUid()
496 () -> ActivityManagerHelper.getRunningAppProcesses()); in testHibernateFreeMemory_multipleProcessesPersistentProcess()
/packages/apps/Traceur/src/com/android/traceur/
DMainFragment.java367 Set<String> runningProcesses = TraceUtils.getRunningAppProcesses(context); in refreshUi()
/packages/services/Car/service/src/com/android/car/occupantconnection/
DCarRemoteDeviceService.java1013 List<RunningAppProcessInfo> infos = mActivityManager.getRunningAppProcesses(); in getRunningAppProcessInfoAsUserLocked()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DCarRemoteDeviceServiceTest.java909 when(mActivityManager.getRunningAppProcesses()).thenReturn(processList); in mockAppRunningAsUser()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java939 = am.getRunningAppProcesses(); in update()
/packages/services/Car/car-builtin-lib/api/
Dmodule-lib-current.txt35 … static java.util.List<android.app.ActivityManager.RunningAppProcessInfo> getRunningAppProcesses();
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java3933 ActivityManagerHelper.getRunningAppProcesses(); in freeMemory()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java12495 List<ActivityManager.RunningAppProcessInfo> processes = am.getRunningAppProcesses(); in purchasePremiumCapability()