HomeSort by relevance Sort by last modified time
    Searched refs:RunningAppProcessInfo (Results 1 - 14 of 14) sorted by null

  /cts/tests/app/src/android/app/cts/
ActivityManager_RunningAppProcessInfoTest.java 21 import android.app.ActivityManager.RunningAppProcessInfo;
31 new RunningAppProcessInfo();
32 new RunningAppProcessInfo("test", 100, new String[]{"com.android", "com.android.test"});
36 final List<RunningAppProcessInfo> list = am.getRunningAppProcesses();
37 final RunningAppProcessInfo rap = list.get(0);
47 final RunningAppProcessInfo r = new RunningAppProcessInfo();
ActivityManagerTest.java 21 import android.app.ActivityManager.RunningAppProcessInfo;
354 List<RunningAppProcessInfo> list = mActivityManager.getRunningAppProcesses();
361 for (RunningAppProcessInfo ra : list) {
366 assertTrue(ra.importance >= RunningAppProcessInfo.IMPORTANCE_FOREGROUND);
367 assertTrue(ra.importance < RunningAppProcessInfo.IMPORTANCE_GONE);
377 for (RunningAppProcessInfo ra : list) {
389 List<RunningAppProcessInfo> listNew = mActivityManager.getRunningAppProcesses();
392 for (RunningAppProcessInfo ra : listNew) {
401 final RunningAppProcessInfo ra = new RunningAppProcessInfo();
    [all...]
ActivityManagerProcessStateTest.java 19 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_CACHED;
20 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND;
21 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND_SERVICE;
22 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE;
23 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_VISIBLE;
246 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE, WAIT_TIME);
429 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE, WAIT_TIME);
432 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_EMPTY, WAIT_TIME);
594 appInfo.uid, ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE, WAIT_TIME);
668 ActivityManager.RunningAppProcessInfo.IMPORTANCE_PERCEPTIBLE)
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
RunningAppProcessInfoTest.java 30 * getRunningTasks()is fixed. The test tries to get current RunningAppProcessInfo and passes
37 List<ActivityManager.RunningAppProcessInfo> appList =
  /cts/tests/ProcessTest/src/com/android/cts/process/
ProcessTest.java 22 import android.app.ActivityManager.RunningAppProcessInfo;
53 List<RunningAppProcessInfo> list = am.getRunningAppProcesses();
61 List<RunningAppProcessInfo> sharelist = am.getRunningAppProcesses();
69 List<RunningAppProcessInfo> shareStublist = am.getRunningAppProcesses();
79 List<RunningAppProcessInfo> noShareStublist = am.getRunningAppProcesses();
88 private int getPid(String processName, List<RunningAppProcessInfo> list) {
89 for (RunningAppProcessInfo rai : list) {
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowActivityManagerTest.java 80 final ActivityManager.RunningAppProcessInfo process1 = buildProcessInfo(new ComponentName("org.robolectric", "Process 1"));
81 final ActivityManager.RunningAppProcessInfo process2 = buildProcessInfo(new ComponentName("org.robolectric", "Process 2"));
84 ActivityManager.RunningAppProcessInfo myInfo = activityManager.getRunningAppProcesses().get(0);
156 ActivityManager.RunningAppProcessInfo inState = new ActivityManager.RunningAppProcessInfo();
161 ActivityManager.RunningAppProcessInfo setState = new ActivityManager.RunningAppProcessInfo();
164 setState.importanceReasonCode = ActivityManager.RunningAppProcessInfo.REASON_PROVIDER_IN_USE;
166 inState = new ActivityManager.RunningAppProcessInfo();
169 .isEqualTo(ActivityManager.RunningAppProcessInfo.REASON_PROVIDER_IN_USE)
    [all...]
  /external/deqp/android/package/src/com/drawelements/deqp/testercore/
RemoteAPI.java 111 ActivityManager.RunningAppProcessInfo processInfo = findProcess(m_processName);
142 private ActivityManager.RunningAppProcessInfo findProcess (String name) {
144 List<ActivityManager.RunningAppProcessInfo> processes = activityMgr.getRunningAppProcesses();
146 for (ActivityManager.RunningAppProcessInfo info : processes) {
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowActivityManager.java 34 private static List<ActivityManager.RunningAppProcessInfo> processes =
41 ActivityManager.RunningAppProcessInfo processInfo = new ActivityManager.RunningAppProcessInfo();
81 protected List<ActivityManager.RunningAppProcessInfo> getRunningAppProcesses() {
91 protected static void getMyMemoryState(ActivityManager.RunningAppProcessInfo inState) {
93 for (ActivityManager.RunningAppProcessInfo info : processes) {
106 private static void fillInProcessInfo(ActivityManager.RunningAppProcessInfo processInfo) {
170 public void setProcesses(List<ActivityManager.RunningAppProcessInfo> processes) {
  /development/apps/Development/src/com/android/development/
RunningProcesses.java 82 List<ActivityManager.RunningAppProcessInfo> appList = am.getRunningAppProcesses();
83 for (ActivityManager.RunningAppProcessInfo app : appList) {
146 ActivityManager.RunningAppProcessInfo procInfo;
147 public ListItem(ActivityManager.RunningAppProcessInfo pInfo) {
  /cts/tests/app/src/android/app/cts/android/app/cts/tools/
ServiceProcessController.java 94 ActivityManager.RunningAppProcessInfo.IMPORTANCE_SERVICE, mDefaultWaitTime);
97 ActivityManager.RunningAppProcessInfo.IMPORTANCE_EMPTY, mDefaultWaitTime);
199 mUidGoneListener.waitForValue(ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE,
200 ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE, timeout);
202 if (importance != ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE) {
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ApplicationManagerFacade.java 20 import android.app.ActivityManager.RunningAppProcessInfo;
131 for (RunningAppProcessInfo info : mActivityManager.getRunningAppProcesses()) {
147 List<ActivityManager.RunningAppProcessInfo> appProcesses =
149 for (ActivityManager.RunningAppProcessInfo info : appProcesses) {
  /cts/tests/framework/base/windowmanager/src/android/server/wm/
AlertWindowsImportanceTests.java 19 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_PERCEPTIBLE;
20 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_PERCEPTIBLE_PRE_26;
21 import static android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_VISIBLE;
  /cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
BatteryStatsBgVsFgActions.java 383 List<ActivityManager.RunningAppProcessInfo> processes = am.getRunningAppProcesses();
387 for (ActivityManager.RunningAppProcessInfo r : processes) {
397 processState = ActivityManager.RunningAppProcessInfo.class
  /cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
CameraEvictionTest.java 487 * @param list a list of {@link ActivityManager.RunningAppProcessInfo} to check.
491 List<ActivityManager.RunningAppProcessInfo> list) {
492 for (ActivityManager.RunningAppProcessInfo rai : list) {
511 List<ActivityManager.RunningAppProcessInfo> list =

Completed in 907 milliseconds