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

  /cts/tests/tests/content/src/android/content/pm/cts/
FeatureTest.java 43 private ActivityManager mActivityManager;
52 mActivityManager = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE);
61 if (mPackageManager == null || mActivityManager == null) {
65 if (mActivityManager.isLowRamDevice()) {
96 if (mActivityManager.isLowRamDevice()) {
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
GlAppSwitchTest.java 46 private ActivityManager mActivityManager;
72 mActivityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
123 mActivityManager.getRunningTasks(MAX_RUNNING_TASKS);
138 mActivityManager.getRunningTasks(MAX_RUNNING_TASKS);
155 mActivityManager.moveTaskToFront(show ? mTaskIdReplica : mTaskIdSelf, 0);
  /cts/tests/app/src/android/app/cts/
ActivityManagerTest.java 82 private ActivityManager mActivityManager;
93 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
119 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags);
124 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags);
137 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags);
155 mActivityManager.getRecentTasks(-1, 0);
168 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags);
183 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags);
251 runningTaskList = mActivityManager.getRunningTasks(-1);
254 runningTaskList = mActivityManager.getRunningTasks(0)
    [all...]
NotificationManagerTest.java 127 private ActivityManager mActivityManager;
143 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
611 if (mActivityManager.isLowRamDevice()) {
    [all...]
SystemFeaturesTest.java 78 private ActivityManager mActivityManager;
96 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
322 if (mActivityManager.isLowRamDevice()) {
519 ConfigurationInfo configInfo = mActivityManager.getDeviceConfigurationInfo();
  /cts/tests/tests/assist/src/android/assist/cts/
ScreenshotTest.java 38 if (mActivityManager.isLowRamDevice()) {
58 if (mActivityManager.isLowRamDevice()) {
78 if (mActivityManager.isLowRamDevice()) {
LargeViewHierarchyTest.java 37 if (mActivityManager.isLowRamDevice()) {
AssistantContentViewTest.java 54 if (mActivityManager.isLowRamDevice()) {
ExtraAssistDataTest.java 35 if (mActivityManager.isLowRamDevice()) {
FocusChangeTest.java 60 if (mActivityManager.isLowRamDevice()) {
WebViewTest.java 50 if (mActivityManager.isLowRamDevice()) {
TextViewTest.java 38 if (mActivityManager.isLowRamDevice()) {
LifecycleTest.java 104 if (mActivityManager.isLowRamDevice()) {
AssistTestBase.java 82 protected ActivityManager mActivityManager;
218 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/
ScreenPinningTestActivity.java 40 private ActivityManager mActivityManager;
65 mActivityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE);
142 if (mActivityManager.isInLockTaskMode()) {
163 if (mActivityManager.isInLockTaskMode()) {
174 if (mActivityManager.isInLockTaskMode()) {
185 if (!mActivityManager.isInLockTaskMode()) {
196 if (!mActivityManager.isInLockTaskMode()) {
207 if (!mActivityManager.isInLockTaskMode()) {
  /cts/tests/vr/src/android/vr/cts/
VrSetFIFOThreadTest.java 34 private ActivityManager mActivityManager;
90 mActivityManager =
92 mActivityManager.setVrThread(vr_thread);
113 mActivityManager =
115 mActivityManager.setVrThread(vr_thread);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ApplicationManagerFacade.java 52 private final ActivityManager mActivityManager;
59 mActivityManager = (ActivityManager) mService.getSystemService(Context.ACTIVITY_SERVICE);
131 for (RunningAppProcessInfo info : mActivityManager.getRunningAppProcesses()) {
136 mActivityManager.killBackgroundProcesses(info.processName);
148 mActivityManager.getRunningAppProcesses();
153 mActivityManager.getRunningServices(Integer.MAX_VALUE);
171 mActivityManager.forceStopPackage(packageName);
  /cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
ConditionProviderServiceTest.java 63 private ActivityManager mActivityManager;
70 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
71 assumeFalse(mActivityManager.isLowRamDevice());
108 if (mActivityManager.isLowRamDevice()) {
137 if (mActivityManager.isLowRamDevice()) {
169 if (mActivityManager.isLowRamDevice()) {
200 if (mActivityManager.isLowRamDevice()) {
231 if (mActivityManager.isLowRamDevice()) {
259 if (mActivityManager.isLowRamDevice()) {
LegacyNotificationManagerTest.java 68 private ActivityManager mActivityManager;
85 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
101 if (mActivityManager.isLowRamDevice()) {
144 if (mActivityManager.isLowRamDevice()) {
167 if (mActivityManager.isLowRamDevice()) {
190 if (mActivityManager.isLowRamDevice()) {
225 if (mActivityManager.isLowRamDevice()) {
258 if (mActivityManager.isLowRamDevice()) {
280 if (mActivityManager.isLowRamDevice()) {
310 if (mActivityManager.isLowRamDevice())
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
LockTaskHostDrivenTest.java 58 private ActivityManager mActivityManager;
87 mActivityManager = mContext.getSystemService(ActivityManager.class);
152 mActivityManager.getLockTaskModeState());
156 return mActivityManager.getAppTasks().get(0).getTaskInfo().topActivity
LockTaskTest.java 148 private ActivityManager mActivityManager;
157 mActivityManager = mContext.getSystemService(ActivityManager.class);
450 assertTrue(mActivityManager.isInLockTaskMode());
452 mActivityManager.getLockTaskModeState());
460 for (int i = 0; i < 10 && mActivityManager.isInLockTaskMode(); i++) {
463 assertFalse(mActivityManager.isInLockTaskMode());
464 assertEquals(ActivityManager.LOCK_TASK_MODE_NONE, mActivityManager.getLockTaskModeState());
  /cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
NotificationAssistantServiceTest.java 73 private ActivityManager mActivityManager;
85 mActivityManager = mContext.getSystemService(ActivityManager.class);
91 if (!mActivityManager.isLowRamDevice()) {
100 if (mActivityManager.isLowRamDevice()) {
137 if (mActivityManager.isLowRamDevice()) {
171 if (mActivityManager.isLowRamDevice()) {
204 if (mActivityManager.isLowRamDevice()) {
254 if (mActivityManager.isLowRamDevice()) {
300 if (mActivityManager.isLowRamDevice()) {
335 if (mActivityManager.isLowRamDevice())
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/
LowRamDeviceTest.java 71 private ActivityManager mActivityManager;
78 mActivityManager =
97 Boolean lowRamDevice = mActivityManager.isLowRamDevice();
181 mActivityManager.getMemoryInfo(memoryInfo);
201 boolean lowRamDevice = mActivityManager.isLowRamDevice();
  /cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
LegacyNotificationManager20Test.java 67 private ActivityManager mActivityManager;
81 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
95 if (mActivityManager.isLowRamDevice() && !mPackageManager.hasSystemFeature(FEATURE_WATCH)) {
  /cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
CameraEvictionTest.java 54 private ActivityManager mActivityManager;
127 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE);
151 mActivityManager = null;
512 mActivityManager.getRunningAppProcesses();
521 list = mActivityManager.getRunningAppProcesses();

Completed in 286 milliseconds