Home
last modified time | relevance | path

Searched refs:getActivityManager (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowActivityManagerTest.java31 final ActivityManager activityManager = getActivityManager(); in getMemoryInfo_canGetMemoryInfoForOurProcess()
48 final ActivityManager activityManager = getActivityManager(); in getMemoryInfo_canGetMemoryInfoEvenWhenWeDidNotSetIt()
56 final ActivityManager activityManager = getActivityManager(); in getRunningTasks_shouldReturnTaskList()
68 final ActivityManager activityManager = getActivityManager(); in getAppTasks_shouldReturnAppTaskList()
79 final ActivityManager activityManager = getActivityManager(); in getRunningAppProcesses_shouldReturnProcessList()
98 final ActivityManager activityManager = getActivityManager(); in getRunningServices_shouldReturnServiceList()
109 final ActivityManager activityManager = getActivityManager(); in getMemoryClass_shouldWork()
118 final ActivityManager activityManager = getActivityManager(); in killBackgroundProcesses_shouldWork()
127 final ActivityManager activityManager = getActivityManager(); in getLauncherLargeIconDensity_shouldWork()
138 final ActivityManager activityManager = getActivityManager(); in setIsLowRamDevice()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivity.java702 Shadow.<ShadowActivityManager>extract(getActivityManager()) in startLockTask()
714 Shadow.<ShadowActivityManager>extract(getActivityManager()) in stopLockTask()
725 return getActivityManager().isInLockTaskMode(); in isLockTask()
728 private ActivityManager getActivityManager() { in getActivityManager() method in ShadowActivity