Home
last modified time | relevance | path

Searched refs:mActivityManager (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DFeatureTest.java35 private ActivityManager mActivityManager; field in FeatureTest
41 mActivityManager = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE); in setUp()
45 if (mPackageManager == null || mActivityManager == null) { in testNoManagedUsersIfLowRamDevice()
49 if (mActivityManager.isLowRamDevice()) { in testNoManagedUsersIfLowRamDevice()
/cts/tests/tests/app/src/android/app/cts/
DActivityManagerTest.java66 private ActivityManager mActivityManager; field in ActivityManagerTest
77 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in setUp()
102 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags); in testGetRecentTasks()
107 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags); in testGetRecentTasks()
120 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags); in testGetRecentTasks()
138 mActivityManager.getRecentTasks(-1, 0); in testGetRecentTasks()
151 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags);
166 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags);
229 runningTaskList = mActivityManager.getRunningTasks(-1);
232 runningTaskList = mActivityManager.getRunningTasks(0);
[all …]
DSystemFeaturesTest.java60 private ActivityManager mActivityManager; field in SystemFeaturesTest
79 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in setUp()
447 ConfigurationInfo configInfo = mActivityManager.getDeviceConfigurationInfo(); in testTouchScreenFeatures()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/
DScreenPinningTestActivity.java38 private ActivityManager mActivityManager; field in ScreenPinningTestActivity
63 mActivityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE); in onCreate()
147 if (mActivityManager.isInLockTaskMode()) {
168 if (mActivityManager.isInLockTaskMode()) {
179 if (mActivityManager.isInLockTaskMode()) {
190 if (!mActivityManager.isInLockTaskMode()) {
201 if (!mActivityManager.isInLockTaskMode()) {
206 if (!mActivityManager.isInLockTaskMode()) {
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGlAppSwitchTest.java46 private ActivityManager mActivityManager; field in GlAppSwitchTest
72 mActivityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); in setUp()
123 mActivityManager.getRunningTasks(MAX_RUNNING_TASKS); in setReplicaIslandTask()
138 mActivityManager.getRunningTasks(MAX_RUNNING_TASKS); in isReplicaIslandRunning()
155 mActivityManager.moveTaskToFront(show ? mTaskIdReplica : mTaskIdSelf, 0); in showOrHideReplicaIsland()
/cts/tests/tests/hardware/src/android/hardware/cts/
DLowRamDeviceTest.java57 private ActivityManager mActivityManager; field in LowRamDeviceTest
64 mActivityManager = in setUp()
81 Boolean lowRamDevice = mActivityManager.isLowRamDevice(); in testMinimumMemory()
139 mActivityManager.getMemoryInfo(memoryInfo); in getTotalMemory()
159 boolean lowRamDevice = mActivityManager.isLowRamDevice(); in assertMinMemoryMb()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DLockTaskTest.java118 private ActivityManager mActivityManager; field in LockTaskTest
124 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in setUp()
329 assertTrue(mActivityManager.isInLockTaskMode()); in assertLockTaskModeActive()
331 mActivityManager.getLockTaskModeState()); in assertLockTaskModeActive()
338 assertFalse(mActivityManager.isInLockTaskMode()); in assertLockTaskModeInactive()
339 assertEquals(ActivityManager.LOCK_TASK_MODE_NONE, mActivityManager.getLockTaskModeState()); in assertLockTaskModeInactive()
/cts/tests/tests/hardware/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java55 private ActivityManager mActivityManager; field in CameraEvictionTest
119 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in setUp()
143 mActivityManager = null; in tearDown()
411 mActivityManager.getRunningAppProcesses(); in startRemoteProcess()
420 list = mActivityManager.getRunningAppProcesses(); in startRemoteProcess()