Home
last modified time | relevance | path

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

/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java72 private ActivityManager mActivityManager; field in ActivityManagerTest
83 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in setUp()
109 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags); in testGetRecentTasks()
114 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags); in testGetRecentTasks()
127 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags); in testGetRecentTasks()
145 mActivityManager.getRecentTasks(-1, 0); in testGetRecentTasks()
158 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags);
173 recentTaskList = mActivityManager.getRecentTasks(maxNum, flags);
236 runningTaskList = mActivityManager.getRunningTasks(-1);
239 runningTaskList = mActivityManager.getRunningTasks(0);
[all …]
DSystemFeaturesTest.java60 private ActivityManager mActivityManager; field in SystemFeaturesTest
79 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in setUp()
448 ConfigurationInfo configInfo = mActivityManager.getDeviceConfigurationInfo(); in testTouchScreenFeatures()
/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/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/
DScreenPinningTestActivity.java40 private ActivityManager mActivityManager; field in ScreenPinningTestActivity
65 mActivityManager = (ActivityManager) getSystemService(ACTIVITY_SERVICE); in onCreate()
149 if (mActivityManager.isInLockTaskMode()) {
170 if (mActivityManager.isInLockTaskMode()) {
181 if (mActivityManager.isInLockTaskMode()) {
192 if (!mActivityManager.isInLockTaskMode()) {
203 if (!mActivityManager.isInLockTaskMode()) {
214 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()
DCreateAndManageUserTest.java50 private ActivityManager mActivityManager; field in CreateAndManageUserTest
60 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in setUp()
/cts/tests/tests/assist/src/android/assist/cts/
DScreenshotTest.java73 if (mActivityManager.isLowRamDevice()) { in testRedScreenshot()
88 if (mActivityManager.isLowRamDevice()) { in testGreenScreenshot()
103 if (mActivityManager.isLowRamDevice()) { in testBlueScreenshot()
DDisableContextTest.java66 if (mActivityManager.isLowRamDevice()) { in testContextAndScreenshotOff()
DAssistStructureTest.java83 if (mActivityManager.isLowRamDevice()) { in testAssistStructure()
DFlagSecureTest.java80 if (mActivityManager.isLowRamDevice()) { in testSecureActivity()
DLargeViewHierarchyTest.java82 if (mActivityManager.isLowRamDevice()) { in testTextView()
DExtraAssistDataTest.java69 if (mActivityManager.isLowRamDevice()) { in testAssistContentAndAssistData()
DFocusChangeTest.java89 if (mActivityManager.isLowRamDevice()) { in testLayerCausesUnderlyingActivityToLoseFocus()
DTextViewTest.java82 if (mActivityManager.isLowRamDevice()) { in testTextView()
DWebViewTest.java93 if (mActivityManager.isLowRamDevice()) { in testWebView()
DAssistantContentViewTest.java86 if (mActivityManager.isLowRamDevice()) { in testAssistantContentViewDimens()
DLifecycleTest.java101 if (mActivityManager.isLowRamDevice()) { in testLayerDoesNotTriggerLifecycleMethods()
DAssistTestBase.java61 protected ActivityManager mActivityManager; field in AssistTestBase
128 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in startTestActivity()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java54 private ActivityManager mActivityManager; field in CameraEvictionTest
118 mActivityManager = (ActivityManager) mContext.getSystemService(Context.ACTIVITY_SERVICE); in setUp()
142 mActivityManager = null; in tearDown()
432 mActivityManager.getRunningAppProcesses(); in startRemoteProcess()
441 list = mActivityManager.getRunningAppProcesses(); in startRemoteProcess()
/cts/tools/dex-tools/dex/
Dclasses.out.dex10602 private android.app.ActivityManager mActivityManager
15325 private android.app.IActivityManager mActivityManager