1{ 2 "methods": { 3 "fillInProcessInfo(android.app.ActivityManager.RunningAppProcessInfo)": { 4 "isImplementation": false, 5 "modifiers": [ 6 "private", 7 "static" 8 ], 9 "params": [ 10 "processInfo" 11 ], 12 "returnType": "void", 13 "exceptions": [], 14 "name": "fillInProcessInfo(android.app.ActivityManager.RunningAppProcessInfo)" 15 }, 16 "getAppTasks()": { 17 "isImplementation": true, 18 "modifiers": [ 19 "protected" 20 ], 21 "params": [], 22 "returnType": "java.util.List\u003candroid.app.ActivityManager.AppTask\u003e", 23 "exceptions": [], 24 "minSdk": 21, 25 "name": "getAppTasks()", 26 "documentation": "For tests, returns the list of {@link android.app.ActivityManager.AppTask} set using {@link\n#setAppTasks(List)}. Returns empty list if nothing is set.\n\n@see #setAppTasks(List)\n@return List of current AppTask.\n" 27 }, 28 "getBackgroundPackage()": { 29 "isImplementation": false, 30 "modifiers": [ 31 "public" 32 ], 33 "params": [], 34 "returnType": "java.lang.String", 35 "exceptions": [], 36 "name": "getBackgroundPackage()", 37 "documentation": "@return Get the package name of the last background processes killed.\n" 38 }, 39 "getDeviceConfigurationInfo()": { 40 "isImplementation": true, 41 "modifiers": [ 42 "protected" 43 ], 44 "params": [], 45 "returnType": "android.content.pm.ConfigurationInfo", 46 "exceptions": [], 47 "name": "getDeviceConfigurationInfo()" 48 }, 49 "getLockTaskModeState()": { 50 "isImplementation": true, 51 "modifiers": [ 52 "protected" 53 ], 54 "params": [], 55 "returnType": "int", 56 "exceptions": [], 57 "minSdk": 23, 58 "name": "getLockTaskModeState()" 59 }, 60 "getMemoryClass()": { 61 "isImplementation": true, 62 "modifiers": [ 63 "protected" 64 ], 65 "params": [], 66 "returnType": "int", 67 "exceptions": [], 68 "name": "getMemoryClass()" 69 }, 70 "getMemoryInfo(android.app.ActivityManager.MemoryInfo)": { 71 "isImplementation": true, 72 "modifiers": [ 73 "protected" 74 ], 75 "params": [ 76 "outInfo" 77 ], 78 "returnType": "void", 79 "exceptions": [], 80 "name": "getMemoryInfo(android.app.ActivityManager.MemoryInfo)" 81 }, 82 "getMyMemoryState(android.app.ActivityManager.RunningAppProcessInfo)": { 83 "isImplementation": true, 84 "modifiers": [ 85 "protected", 86 "static" 87 ], 88 "params": [ 89 "inState" 90 ], 91 "returnType": "void", 92 "exceptions": [], 93 "name": "getMyMemoryState(android.app.ActivityManager.RunningAppProcessInfo)", 94 "documentation": "Returns information seeded by {@link #setProcesses}. " 95 }, 96 "getRunningAppProcesses()": { 97 "isImplementation": true, 98 "modifiers": [ 99 "protected" 100 ], 101 "params": [], 102 "returnType": "java.util.List\u003candroid.app.ActivityManager.RunningAppProcessInfo\u003e", 103 "exceptions": [], 104 "name": "getRunningAppProcesses()" 105 }, 106 "getRunningServices(int)": { 107 "isImplementation": true, 108 "modifiers": [ 109 "protected" 110 ], 111 "params": [ 112 "maxNum" 113 ], 114 "returnType": "java.util.List\u003candroid.app.ActivityManager.RunningServiceInfo\u003e", 115 "exceptions": [], 116 "name": "getRunningServices(int)" 117 }, 118 "getRunningTasks(int)": { 119 "isImplementation": true, 120 "modifiers": [ 121 "protected" 122 ], 123 "params": [ 124 "maxNum" 125 ], 126 "returnType": "java.util.List\u003candroid.app.ActivityManager.RunningTaskInfo\u003e", 127 "exceptions": [], 128 "name": "getRunningTasks(int)" 129 }, 130 "getService()": { 131 "isImplementation": true, 132 "modifiers": [ 133 "protected", 134 "static" 135 ], 136 "params": [], 137 "returnType": "android.app.IActivityManager", 138 "exceptions": [], 139 "minSdk": 26, 140 "name": "getService()" 141 }, 142 "isInLockTaskMode()": { 143 "isImplementation": true, 144 "modifiers": [ 145 "protected" 146 ], 147 "params": [], 148 "returnType": "boolean", 149 "exceptions": [], 150 "minSdk": 21, 151 "name": "isInLockTaskMode()" 152 }, 153 "isLowRamDevice()": { 154 "isImplementation": true, 155 "modifiers": [ 156 "protected" 157 ], 158 "params": [], 159 "returnType": "boolean", 160 "exceptions": [], 161 "minSdk": 19, 162 "name": "isLowRamDevice()" 163 }, 164 "isUserAMonkey()": { 165 "isImplementation": true, 166 "modifiers": [ 167 "protected", 168 "static" 169 ], 170 "params": [], 171 "returnType": "boolean", 172 "exceptions": [], 173 "name": "isUserAMonkey()" 174 }, 175 "killBackgroundProcesses(java.lang.String)": { 176 "isImplementation": true, 177 "modifiers": [ 178 "protected" 179 ], 180 "params": [ 181 "packageName" 182 ], 183 "returnType": "void", 184 "exceptions": [], 185 "name": "killBackgroundProcesses(java.lang.String)" 186 }, 187 "reset()": { 188 "isImplementation": false, 189 "modifiers": [ 190 "public", 191 "static" 192 ], 193 "params": [], 194 "returnType": "void", 195 "exceptions": [], 196 "name": "reset()" 197 }, 198 "setAppTasks(java.util.List\u003candroid.app.ActivityManager.AppTask\u003e)": { 199 "isImplementation": false, 200 "modifiers": [ 201 "public" 202 ], 203 "params": [ 204 "appTasks" 205 ], 206 "returnType": "void", 207 "exceptions": [], 208 "name": "setAppTasks(java.util.List\u003candroid.app.ActivityManager.AppTask\u003e)", 209 "documentation": "Sets the values to be returned by {@link #getAppTasks()}.\n\n@see #getAppTasks()\n@param tasks List of app tasks.\n" 210 }, 211 "setIsLowRamDevice(boolean)": { 212 "isImplementation": false, 213 "modifiers": [ 214 "public" 215 ], 216 "params": [ 217 "isLowRamDevice" 218 ], 219 "returnType": "void", 220 "exceptions": [], 221 "name": "setIsLowRamDevice(boolean)", 222 "documentation": "Override the return value of isLowRamDevice().\n" 223 }, 224 "setLockTaskModeState(int)": { 225 "isImplementation": false, 226 "modifiers": [ 227 "public" 228 ], 229 "params": [ 230 "lockTaskModeState" 231 ], 232 "returnType": "void", 233 "exceptions": [], 234 "name": "setLockTaskModeState(int)", 235 "documentation": "Sets lock task mode state to be reported by {@link ActivityManager#getLockTaskModeState}, but\nhas no effect otherwise.\n" 236 }, 237 "setMemoryClass(int)": { 238 "isImplementation": false, 239 "modifiers": [ 240 "public" 241 ], 242 "params": [ 243 "memoryClass" 244 ], 245 "returnType": "void", 246 "exceptions": [], 247 "name": "setMemoryClass(int)", 248 "documentation": "@param memoryClass Set the application\u0027s memory class.\n" 249 }, 250 "setMemoryInfo(android.app.ActivityManager.MemoryInfo)": { 251 "isImplementation": false, 252 "modifiers": [ 253 "public" 254 ], 255 "params": [ 256 "memoryInfo" 257 ], 258 "returnType": "void", 259 "exceptions": [], 260 "name": "setMemoryInfo(android.app.ActivityManager.MemoryInfo)", 261 "documentation": "@param memoryInfo Set the application\u0027s memory info.\n" 262 }, 263 "setProcesses(java.util.List\u003candroid.app.ActivityManager.RunningAppProcessInfo\u003e)": { 264 "isImplementation": false, 265 "modifiers": [ 266 "public" 267 ], 268 "params": [ 269 "processes" 270 ], 271 "returnType": "void", 272 "exceptions": [], 273 "name": "setProcesses(java.util.List\u003candroid.app.ActivityManager.RunningAppProcessInfo\u003e)", 274 "documentation": "@param processes List of running processes.\n" 275 }, 276 "setServices(java.util.List\u003candroid.app.ActivityManager.RunningServiceInfo\u003e)": { 277 "isImplementation": false, 278 "modifiers": [ 279 "public" 280 ], 281 "params": [ 282 "services" 283 ], 284 "returnType": "void", 285 "exceptions": [], 286 "name": "setServices(java.util.List\u003candroid.app.ActivityManager.RunningServiceInfo\u003e)", 287 "documentation": "@param services List of running services.\n" 288 }, 289 "setTasks(java.util.List\u003candroid.app.ActivityManager.RunningTaskInfo\u003e)": { 290 "isImplementation": false, 291 "modifiers": [ 292 "public" 293 ], 294 "params": [ 295 "tasks" 296 ], 297 "returnType": "void", 298 "exceptions": [], 299 "name": "setTasks(java.util.List\u003candroid.app.ActivityManager.RunningTaskInfo\u003e)", 300 "documentation": "@param tasks List of running tasks.\n" 301 }, 302 "switchUser(int)": { 303 "isImplementation": true, 304 "modifiers": [ 305 "protected" 306 ], 307 "params": [ 308 "userid" 309 ], 310 "returnType": "boolean", 311 "exceptions": [], 312 "minSdk": 17, 313 "name": "switchUser(int)" 314 } 315 }, 316 "imports": [ 317 "android.os.Build.VERSION_CODES.JELLY_BEAN_MR1", 318 "android.os.Build.VERSION_CODES.KITKAT", 319 "android.os.Build.VERSION_CODES.LOLLIPOP", 320 "android.os.Build.VERSION_CODES.O", 321 "org.robolectric.shadow.api.Shadow.directlyOn", 322 "android.app.ActivityManager", 323 "android.app.IActivityManager", 324 "android.content.Context", 325 "android.content.pm.ConfigurationInfo", 326 "android.os.Build.VERSION_CODES", 327 "android.os.Process", 328 "java.util.List", 329 "java.util.concurrent.CopyOnWriteArrayList", 330 "org.robolectric.RuntimeEnvironment", 331 "org.robolectric.annotation.HiddenApi", 332 "org.robolectric.annotation.Implementation", 333 "org.robolectric.annotation.Implements", 334 "org.robolectric.annotation.RealObject", 335 "org.robolectric.annotation.Resetter", 336 "org.robolectric.shadow.api.Shadow", 337 "org.robolectric.util.ReflectionHelpers" 338 ], 339 "name": "org.robolectric.shadows.ShadowActivityManager" 340}