Searched refs:mActivityManager (Results 1 – 8 of 8) sorted by relevance
35 private ActivityManager mActivityManager; field in FeatureTest41 mActivityManager = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE); in setUp()45 if (mPackageManager == null || mActivityManager == null) { in testNoManagedUsersIfLowRamDevice()49 if (mActivityManager.isLowRamDevice()) { in testNoManagedUsersIfLowRamDevice()
66 private ActivityManager mActivityManager; field in ActivityManagerTest77 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 …]
60 private ActivityManager mActivityManager; field in SystemFeaturesTest79 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in setUp()447 ConfigurationInfo configInfo = mActivityManager.getDeviceConfigurationInfo(); in testTouchScreenFeatures()
38 private ActivityManager mActivityManager; field in ScreenPinningTestActivity63 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()) {
46 private ActivityManager mActivityManager; field in GlAppSwitchTest72 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()
57 private ActivityManager mActivityManager; field in LowRamDeviceTest64 mActivityManager = in setUp()81 Boolean lowRamDevice = mActivityManager.isLowRamDevice(); in testMinimumMemory()139 mActivityManager.getMemoryInfo(memoryInfo); in getTotalMemory()159 boolean lowRamDevice = mActivityManager.isLowRamDevice(); in assertMinMemoryMb()
118 private ActivityManager mActivityManager; field in LockTaskTest124 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()
55 private ActivityManager mActivityManager; field in CameraEvictionTest119 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()