1{ 2 "methods": { 3 "\u003cT\u003egetSingleton(java.lang.Class\u003cT\u003e,org.robolectric.shadows.Provider\u003cT\u003e)": { 4 "isImplementation": false, 5 "modifiers": [ 6 "public" 7 ], 8 "params": [ 9 "clazz", 10 "provider" 11 ], 12 "returnType": "T", 13 "exceptions": [], 14 "name": "\u003cT\u003egetSingleton(java.lang.Class\u003cT\u003e,org.robolectric.shadows.Provider\u003cT\u003e)" 15 }, 16 "addWakeLock(android.os.PowerManager.WakeLock)": { 17 "isImplementation": false, 18 "modifiers": [ 19 "public" 20 ], 21 "params": [ 22 "wl" 23 ], 24 "returnType": "void", 25 "exceptions": [], 26 "name": "addWakeLock(android.os.PowerManager.WakeLock)" 27 }, 28 "assertNoBroadcastListenersOfActionRegistered(android.content.ContextWrapper,java.lang.String)": { 29 "isImplementation": false, 30 "modifiers": [ 31 "public" 32 ], 33 "params": [ 34 "context", 35 "action" 36 ], 37 "returnType": "void", 38 "exceptions": [], 39 "name": "assertNoBroadcastListenersOfActionRegistered(android.content.ContextWrapper,java.lang.String)" 40 }, 41 "callAttach(android.content.Context)": { 42 "isImplementation": false, 43 "modifiers": [ 44 "public" 45 ], 46 "params": [ 47 "context" 48 ], 49 "returnType": "void", 50 "exceptions": [], 51 "name": "callAttach(android.content.Context)", 52 "documentation": "Attaches an application to a base context.\n\n@param context The context with which to initialize the application, whose base context will\n be attached to the application\n" 53 }, 54 "checkActivities(boolean)": { 55 "isImplementation": false, 56 "modifiers": [ 57 "public" 58 ], 59 "params": [ 60 "checkActivities" 61 ], 62 "returnType": "void", 63 "exceptions": [], 64 "name": "checkActivities(boolean)", 65 "documentation": "Set to true if you\u0027d like Robolectric to strictly simulate the real Android behavior when\ncalling {@link Context#startActivity(android.content.Intent)}. Real Android throws a\n{@link android.content.ActivityNotFoundException} if given\nan {@link Intent} that is not known to the {@link android.content.pm.PackageManager}\n\nBy default, this behavior is off (false).\n\n@param checkActivities True to validate activities.\n" 66 }, 67 "clearWakeLocks()": { 68 "isImplementation": false, 69 "modifiers": [ 70 "public" 71 ], 72 "params": [], 73 "returnType": "void", 74 "exceptions": [], 75 "name": "clearWakeLocks()" 76 }, 77 "declareActionUnbindable(java.lang.String)": { 78 "isImplementation": false, 79 "modifiers": [ 80 "public" 81 ], 82 "params": [ 83 "action" 84 ], 85 "returnType": "void", 86 "exceptions": [], 87 "name": "declareActionUnbindable(java.lang.String)" 88 }, 89 "getAppWidgetManager()": { 90 "isImplementation": false, 91 "modifiers": [ 92 "public" 93 ], 94 "params": [], 95 "returnType": "android.appwidget.AppWidgetManager", 96 "exceptions": [], 97 "name": "getAppWidgetManager()", 98 "documentation": "@deprecated Please use {@link Context#getSystemService(Context.APPWIDGET_SERVICE)} intstead.\n" 99 }, 100 "getBackgroundThreadScheduler()": { 101 "isImplementation": false, 102 "modifiers": [ 103 "public" 104 ], 105 "params": [], 106 "returnType": "org.robolectric.util.Scheduler", 107 "exceptions": [], 108 "name": "getBackgroundThreadScheduler()", 109 "documentation": "Return the background scheduler.\n\n@return Background scheduler.\n" 110 }, 111 "getBluetoothAdapter()": { 112 "isImplementation": false, 113 "modifiers": [ 114 "public" 115 ], 116 "params": [], 117 "returnType": "java.lang.Object", 118 "exceptions": [], 119 "name": "getBluetoothAdapter()" 120 }, 121 "getBoundServiceConnections()": { 122 "isImplementation": false, 123 "modifiers": [ 124 "public" 125 ], 126 "params": [], 127 "returnType": "java.util.List\u003candroid.content.ServiceConnection\u003e", 128 "exceptions": [], 129 "name": "getBoundServiceConnections()" 130 }, 131 "getForegroundThreadScheduler()": { 132 "isImplementation": false, 133 "modifiers": [ 134 "public" 135 ], 136 "params": [], 137 "returnType": "org.robolectric.util.Scheduler", 138 "exceptions": [], 139 "name": "getForegroundThreadScheduler()", 140 "documentation": "Return the foreground scheduler.\n\n@return Foreground scheduler.\n" 141 }, 142 "getInstance()": { 143 "isImplementation": false, 144 "modifiers": [ 145 "public", 146 "static" 147 ], 148 "params": [], 149 "returnType": "org.robolectric.shadows.ShadowApplication", 150 "exceptions": [], 151 "name": "getInstance()", 152 "documentation": "@deprecated Use\n `shadowOf({@link androidx.test.core.app.ApplicationProvider#getApplicationContext})`\n instead.\n" 153 }, 154 "getLatestAlertDialog()": { 155 "isImplementation": false, 156 "modifiers": [ 157 "public" 158 ], 159 "params": [], 160 "returnType": "org.robolectric.shadows.ShadowAlertDialog", 161 "exceptions": [], 162 "name": "getLatestAlertDialog()", 163 "documentation": "@deprecated Use {@link ShadowAlertDialog#getLatestAlertDialog()} instead.\n" 164 }, 165 "getLatestDialog()": { 166 "isImplementation": false, 167 "modifiers": [ 168 "public" 169 ], 170 "params": [], 171 "returnType": "org.robolectric.shadows.ShadowDialog", 172 "exceptions": [], 173 "name": "getLatestDialog()", 174 "documentation": "@deprecated Use {@link ShadowDialog#getLatestDialog()} instead.\n" 175 }, 176 "getLatestListPopupWindow()": { 177 "isImplementation": false, 178 "modifiers": [ 179 "public" 180 ], 181 "params": [], 182 "returnType": "android.widget.ListPopupWindow", 183 "exceptions": [], 184 "name": "getLatestListPopupWindow()" 185 }, 186 "getLatestPopupMenu()": { 187 "isImplementation": false, 188 "modifiers": [ 189 "public" 190 ], 191 "params": [], 192 "returnType": "org.robolectric.shadows.ShadowPopupMenu", 193 "exceptions": [], 194 "name": "getLatestPopupMenu()", 195 "documentation": "@deprecated Use {@link ShadowPopupMenu#getLatestPopupMenu()} instead.\n" 196 }, 197 "getLatestPopupWindow()": { 198 "isImplementation": false, 199 "modifiers": [ 200 "public" 201 ], 202 "params": [], 203 "returnType": "android.widget.PopupWindow", 204 "exceptions": [], 205 "name": "getLatestPopupWindow()" 206 }, 207 "getLatestWakeLock()": { 208 "isImplementation": false, 209 "modifiers": [ 210 "public" 211 ], 212 "params": [], 213 "returnType": "android.os.PowerManager.WakeLock", 214 "exceptions": [], 215 "name": "getLatestWakeLock()" 216 }, 217 "getReceiversForIntent(android.content.Intent)": { 218 "isImplementation": false, 219 "modifiers": [ 220 "public" 221 ], 222 "params": [ 223 "intent" 224 ], 225 "returnType": "java.util.List\u003candroid.content.BroadcastReceiver\u003e", 226 "exceptions": [], 227 "name": "getReceiversForIntent(android.content.Intent)", 228 "documentation": "@deprecated use PackageManager.queryBroadcastReceivers instead " 229 }, 230 "getRegisteredReceivers()": { 231 "isImplementation": false, 232 "modifiers": [ 233 "public" 234 ], 235 "params": [], 236 "returnType": "java.util.List\u003corg.robolectric.shadows.ShadowApplication.Wrapper\u003e", 237 "exceptions": [], 238 "name": "getRegisteredReceivers()", 239 "documentation": "@return list of {@link Wrapper}s for registered receivers\n" 240 }, 241 "getShownToasts()": { 242 "isImplementation": false, 243 "modifiers": [ 244 "public" 245 ], 246 "params": [], 247 "returnType": "java.util.List\u003candroid.widget.Toast\u003e", 248 "exceptions": [], 249 "name": "getShownToasts()" 250 }, 251 "getUnboundServiceConnections()": { 252 "isImplementation": false, 253 "modifiers": [ 254 "public" 255 ], 256 "params": [], 257 "returnType": "java.util.List\u003candroid.content.ServiceConnection\u003e", 258 "exceptions": [], 259 "name": "getUnboundServiceConnections()" 260 }, 261 "hasReceiverForIntent(android.content.Intent)": { 262 "isImplementation": false, 263 "modifiers": [ 264 "public" 265 ], 266 "params": [ 267 "intent" 268 ], 269 "returnType": "boolean", 270 "exceptions": [], 271 "name": "hasReceiverForIntent(android.content.Intent)", 272 "documentation": "@deprecated use PackageManager.queryBroadcastReceivers instead " 273 }, 274 "runBackgroundTasks()": { 275 "isImplementation": false, 276 "modifiers": [ 277 "public", 278 "static" 279 ], 280 "params": [], 281 "returnType": "void", 282 "exceptions": [], 283 "name": "runBackgroundTasks()", 284 "documentation": "Runs any background tasks previously queued by {@link android.os.AsyncTask#execute(Object[])}.\n\nNote: calling this method does not pause or un-pause the scheduler.\n" 285 }, 286 "setComponentNameAndServiceForBindService(android.content.ComponentName,android.os.IBinder)": { 287 "isImplementation": false, 288 "modifiers": [ 289 "public" 290 ], 291 "params": [ 292 "name", 293 "service" 294 ], 295 "returnType": "void", 296 "exceptions": [], 297 "name": "setComponentNameAndServiceForBindService(android.content.ComponentName,android.os.IBinder)" 298 }, 299 "setComponentNameAndServiceForBindServiceForIntent(android.content.Intent,android.content.ComponentName,android.os.IBinder)": { 300 "isImplementation": false, 301 "modifiers": [ 302 "public" 303 ], 304 "params": [ 305 "intent", 306 "name", 307 "service" 308 ], 309 "returnType": "void", 310 "exceptions": [], 311 "name": "setComponentNameAndServiceForBindServiceForIntent(android.content.Intent,android.content.ComponentName,android.os.IBinder)" 312 }, 313 "setLatestAlertDialog(org.robolectric.shadows.ShadowAlertDialog)": { 314 "isImplementation": false, 315 "modifiers": [ 316 "protected" 317 ], 318 "params": [ 319 "latestAlertDialog" 320 ], 321 "returnType": "void", 322 "exceptions": [], 323 "name": "setLatestAlertDialog(org.robolectric.shadows.ShadowAlertDialog)" 324 }, 325 "setLatestDialog(org.robolectric.shadows.ShadowDialog)": { 326 "isImplementation": false, 327 "modifiers": [ 328 "protected" 329 ], 330 "params": [ 331 "latestDialog" 332 ], 333 "returnType": "void", 334 "exceptions": [], 335 "name": "setLatestDialog(org.robolectric.shadows.ShadowDialog)" 336 }, 337 "setLatestListPopupWindow(android.widget.ListPopupWindow)": { 338 "isImplementation": false, 339 "modifiers": [ 340 "protected" 341 ], 342 "params": [ 343 "latestListPopupWindow" 344 ], 345 "returnType": "void", 346 "exceptions": [], 347 "name": "setLatestListPopupWindow(android.widget.ListPopupWindow)" 348 }, 349 "setLatestPopupMenu(org.robolectric.shadows.ShadowPopupMenu)": { 350 "isImplementation": false, 351 "modifiers": [ 352 "protected" 353 ], 354 "params": [ 355 "latestPopupMenu" 356 ], 357 "returnType": "void", 358 "exceptions": [], 359 "name": "setLatestPopupMenu(org.robolectric.shadows.ShadowPopupMenu)" 360 }, 361 "setLatestPopupWindow(android.widget.PopupWindow)": { 362 "isImplementation": false, 363 "modifiers": [ 364 "protected" 365 ], 366 "params": [ 367 "latestPopupWindow" 368 ], 369 "returnType": "void", 370 "exceptions": [], 371 "name": "setLatestPopupWindow(android.widget.PopupWindow)" 372 }, 373 "setSystemService(java.lang.String,java.lang.Object)": { 374 "isImplementation": false, 375 "modifiers": [ 376 "public" 377 ], 378 "params": [ 379 "key", 380 "service" 381 ], 382 "returnType": "void", 383 "exceptions": [], 384 "name": "setSystemService(java.lang.String,java.lang.Object)", 385 "documentation": "@deprecated Do not depend on this method to override services as it will be removed in a future\nupdate. The preferered method is use the shadow of the corresponding service.\n" 386 }, 387 "setUnbindServiceShouldThrowIllegalArgument(boolean)": { 388 "isImplementation": false, 389 "modifiers": [ 390 "public" 391 ], 392 "params": [ 393 "flag" 394 ], 395 "returnType": "void", 396 "exceptions": [], 397 "name": "setUnbindServiceShouldThrowIllegalArgument(boolean)" 398 } 399 }, 400 "imports": [ 401 "org.robolectric.shadow.api.Shadow.newInstanceOf", 402 "android.app.ActivityThread", 403 "android.app.Application", 404 "android.appwidget.AppWidgetManager", 405 "android.content.BroadcastReceiver", 406 "android.content.ComponentName", 407 "android.content.Context", 408 "android.content.ContextWrapper", 409 "android.content.Intent", 410 "android.content.IntentFilter", 411 "android.content.ServiceConnection", 412 "android.os.Handler", 413 "android.os.IBinder", 414 "android.os.PowerManager", 415 "android.widget.ListPopupWindow", 416 "android.widget.PopupWindow", 417 "android.widget.Toast", 418 "java.util.ArrayList", 419 "java.util.HashMap", 420 "java.util.List", 421 "java.util.Map", 422 "org.robolectric.RoboSettings", 423 "org.robolectric.RuntimeEnvironment", 424 "org.robolectric.annotation.Implements", 425 "org.robolectric.annotation.RealObject", 426 "org.robolectric.shadow.api.Shadow", 427 "org.robolectric.util.ReflectionHelpers", 428 "org.robolectric.util.Scheduler", 429 "org.robolectric.shadows.ShadowApplication.Wrapper" 430 ], 431 "name": "org.robolectric.shadows.ShadowApplication" 432}