1{ 2 "methods": { 3 "bindService(android.content.Intent,android.content.ServiceConnection,int)": { 4 "isImplementation": true, 5 "modifiers": [ 6 "protected" 7 ], 8 "params": [ 9 "intent", 10 "serviceConnection", 11 "i" 12 ], 13 "returnType": "boolean", 14 "exceptions": [], 15 "name": "bindService(android.content.Intent,android.content.ServiceConnection,int)" 16 }, 17 "bindServiceAsUser(android.content.Intent,android.content.ServiceConnection,int,android.os.UserHandle)": { 18 "isImplementation": true, 19 "modifiers": [ 20 "protected" 21 ], 22 "params": [ 23 "intent", 24 "serviceConnection", 25 "i", 26 "userHandle" 27 ], 28 "returnType": "boolean", 29 "exceptions": [], 30 "minSdk": 21, 31 "name": "bindServiceAsUser(android.content.Intent,android.content.ServiceConnection,int,android.os.UserHandle)", 32 "documentation": "Binds to a service but ignores the given UserHandle. " 33 }, 34 "checkCallingOrSelfPermission(java.lang.String)": { 35 "isImplementation": true, 36 "modifiers": [ 37 "protected" 38 ], 39 "params": [ 40 "permission" 41 ], 42 "returnType": "int", 43 "exceptions": [], 44 "name": "checkCallingOrSelfPermission(java.lang.String)" 45 }, 46 "checkCallingPermission(java.lang.String)": { 47 "isImplementation": true, 48 "modifiers": [ 49 "protected" 50 ], 51 "params": [ 52 "permission" 53 ], 54 "returnType": "int", 55 "exceptions": [], 56 "name": "checkCallingPermission(java.lang.String)" 57 }, 58 "checkPermission(java.lang.String,int,int)": { 59 "isImplementation": true, 60 "modifiers": [ 61 "protected" 62 ], 63 "params": [ 64 "permission", 65 "pid", 66 "uid" 67 ], 68 "returnType": "int", 69 "exceptions": [], 70 "name": "checkPermission(java.lang.String,int,int)" 71 }, 72 "getClassLoader()": { 73 "isImplementation": true, 74 "modifiers": [ 75 "protected" 76 ], 77 "params": [], 78 "returnType": "java.lang.ClassLoader", 79 "exceptions": [], 80 "name": "getClassLoader()" 81 }, 82 "getContentResolver()": { 83 "isImplementation": true, 84 "modifiers": [ 85 "protected" 86 ], 87 "params": [], 88 "returnType": "android.content.ContentResolver", 89 "exceptions": [], 90 "name": "getContentResolver()" 91 }, 92 "getExternalCacheDir()": { 93 "isImplementation": true, 94 "modifiers": [ 95 "protected" 96 ], 97 "params": [], 98 "returnType": "java.io.File", 99 "exceptions": [], 100 "name": "getExternalCacheDir()" 101 }, 102 "getExternalFilesDir(java.lang.String)": { 103 "isImplementation": true, 104 "modifiers": [ 105 "protected" 106 ], 107 "params": [ 108 "type" 109 ], 110 "returnType": "java.io.File", 111 "exceptions": [], 112 "maxSdk": 18, 113 "name": "getExternalFilesDir(java.lang.String)" 114 }, 115 "getExternalFilesDirs(java.lang.String)": { 116 "isImplementation": true, 117 "modifiers": [ 118 "protected" 119 ], 120 "params": [ 121 "type" 122 ], 123 "returnType": "java.io.File[]", 124 "exceptions": [], 125 "minSdk": 19, 126 "name": "getExternalFilesDirs(java.lang.String)" 127 }, 128 "getShadowInstrumentation()": { 129 "isImplementation": false, 130 "modifiers": [ 131 "private" 132 ], 133 "params": [], 134 "returnType": "org.robolectric.shadows.ShadowInstrumentation", 135 "exceptions": [], 136 "name": "getShadowInstrumentation()" 137 }, 138 "getSystemService(java.lang.String)": { 139 "isImplementation": true, 140 "modifiers": [ 141 "protected" 142 ], 143 "params": [ 144 "name" 145 ], 146 "returnType": "java.lang.Object", 147 "exceptions": [], 148 "name": "getSystemService(java.lang.String)", 149 "documentation": "Returns the handle to a system-level service by name. If the service is not available in\nRoboletric, or it is set to unavailable in {@link ShadowServiceManager#setServiceAvailability},\n{@code null} will be returned.\n" 150 }, 151 "getUserId()": { 152 "isImplementation": true, 153 "modifiers": [ 154 "protected" 155 ], 156 "params": [], 157 "returnType": "int", 158 "exceptions": [], 159 "minSdk": 17, 160 "name": "getUserId()" 161 }, 162 "registerReceiver(android.content.BroadcastReceiver,android.content.IntentFilter)": { 163 "isImplementation": true, 164 "modifiers": [ 165 "protected" 166 ], 167 "params": [ 168 "receiver", 169 "filter" 170 ], 171 "returnType": "android.content.Intent", 172 "exceptions": [], 173 "name": "registerReceiver(android.content.BroadcastReceiver,android.content.IntentFilter)" 174 }, 175 "registerReceiver(android.content.BroadcastReceiver,android.content.IntentFilter,java.lang.String,android.os.Handler)": { 176 "isImplementation": true, 177 "modifiers": [ 178 "protected" 179 ], 180 "params": [ 181 "receiver", 182 "filter", 183 "broadcastPermission", 184 "scheduler" 185 ], 186 "returnType": "android.content.Intent", 187 "exceptions": [], 188 "name": "registerReceiver(android.content.BroadcastReceiver,android.content.IntentFilter,java.lang.String,android.os.Handler)" 189 }, 190 "registerReceiver(android.content.BroadcastReceiver,android.content.IntentFilter,java.lang.String,android.os.Handler,int)": { 191 "isImplementation": true, 192 "modifiers": [ 193 "protected" 194 ], 195 "params": [ 196 "receiver", 197 "filter", 198 "broadcastPermission", 199 "scheduler", 200 "flags" 201 ], 202 "returnType": "android.content.Intent", 203 "exceptions": [], 204 "name": "registerReceiver(android.content.BroadcastReceiver,android.content.IntentFilter,java.lang.String,android.os.Handler,int)" 205 }, 206 "registerReceiverAsUser(android.content.BroadcastReceiver,android.os.UserHandle,android.content.IntentFilter,java.lang.String,android.os.Handler)": { 207 "isImplementation": true, 208 "modifiers": [ 209 "protected" 210 ], 211 "params": [ 212 "receiver", 213 "user", 214 "filter", 215 "broadcastPermission", 216 "scheduler" 217 ], 218 "returnType": "android.content.Intent", 219 "exceptions": [], 220 "minSdk": 17, 221 "name": "registerReceiverAsUser(android.content.BroadcastReceiver,android.os.UserHandle,android.content.IntentFilter,java.lang.String,android.os.Handler)" 222 }, 223 "removeSystemService(java.lang.String)": { 224 "isImplementation": false, 225 "modifiers": [ 226 "public" 227 ], 228 "params": [ 229 "name" 230 ], 231 "returnType": "void", 232 "exceptions": [], 233 "name": "removeSystemService(java.lang.String)", 234 "documentation": "Makes {@link #getSystemService(String)} return {@code null} for the given system service name,\nmimicking a device that doesn\u0027t have that system service.\n" 235 }, 236 "reset()": { 237 "isImplementation": false, 238 "modifiers": [ 239 "public", 240 "static" 241 ], 242 "params": [], 243 "returnType": "void", 244 "exceptions": [], 245 "name": "reset()" 246 }, 247 "sendBroadcast(android.content.Intent)": { 248 "isImplementation": true, 249 "modifiers": [ 250 "protected" 251 ], 252 "params": [ 253 "intent" 254 ], 255 "returnType": "void", 256 "exceptions": [], 257 "name": "sendBroadcast(android.content.Intent)" 258 }, 259 "sendBroadcast(android.content.Intent,java.lang.String)": { 260 "isImplementation": true, 261 "modifiers": [ 262 "protected" 263 ], 264 "params": [ 265 "intent", 266 "receiverPermission" 267 ], 268 "returnType": "void", 269 "exceptions": [], 270 "name": "sendBroadcast(android.content.Intent,java.lang.String)" 271 }, 272 "sendOrderedBroadcast(android.content.Intent,java.lang.String)": { 273 "isImplementation": true, 274 "modifiers": [ 275 "protected" 276 ], 277 "params": [ 278 "intent", 279 "receiverPermission" 280 ], 281 "returnType": "void", 282 "exceptions": [], 283 "name": "sendOrderedBroadcast(android.content.Intent,java.lang.String)" 284 }, 285 "sendOrderedBroadcast(android.content.Intent,java.lang.String,android.content.BroadcastReceiver,android.os.Handler,int,java.lang.String,android.os.Bundle)": { 286 "isImplementation": true, 287 "modifiers": [ 288 "protected" 289 ], 290 "params": [ 291 "intent", 292 "receiverPermission", 293 "resultReceiver", 294 "scheduler", 295 "initialCode", 296 "initialData", 297 "initialExtras" 298 ], 299 "returnType": "void", 300 "exceptions": [], 301 "name": "sendOrderedBroadcast(android.content.Intent,java.lang.String,android.content.BroadcastReceiver,android.os.Handler,int,java.lang.String,android.os.Bundle)" 302 }, 303 "sendOrderedBroadcastAsUser(android.content.Intent,android.os.UserHandle,java.lang.String,android.content.BroadcastReceiver,android.os.Handler,int,java.lang.String,android.os.Bundle)": { 304 "isImplementation": true, 305 "modifiers": [ 306 "protected" 307 ], 308 "params": [ 309 "intent", 310 "userHandle", 311 "receiverPermission", 312 "resultReceiver", 313 "scheduler", 314 "initialCode", 315 "initialData", 316 "initialExtras" 317 ], 318 "returnType": "void", 319 "exceptions": [], 320 "minSdk": 19, 321 "name": "sendOrderedBroadcastAsUser(android.content.Intent,android.os.UserHandle,java.lang.String,android.content.BroadcastReceiver,android.os.Handler,int,java.lang.String,android.os.Bundle)", 322 "documentation": "Behaves as {@link #sendOrderedBroadcast} and currently ignores userHandle. " 323 }, 324 "sendOrderedBroadcastAsUser(android.content.Intent,android.os.UserHandle,java.lang.String,int,android.os.Bundle,android.content.BroadcastReceiver,android.os.Handler,int,java.lang.String,android.os.Bundle)": { 325 "isImplementation": true, 326 "modifiers": [ 327 "protected" 328 ], 329 "params": [ 330 "intent", 331 "userHandle", 332 "receiverPermission", 333 "appOp", 334 "options", 335 "resultReceiver", 336 "scheduler", 337 "initialCode", 338 "initialData", 339 "initialExtras" 340 ], 341 "returnType": "void", 342 "exceptions": [], 343 "minSdk": 23, 344 "name": "sendOrderedBroadcastAsUser(android.content.Intent,android.os.UserHandle,java.lang.String,int,android.os.Bundle,android.content.BroadcastReceiver,android.os.Handler,int,java.lang.String,android.os.Bundle)", 345 "documentation": "Behaves as {@link #sendOrderedBroadcast}. Currently ignores userHandle, appOp, and options. " 346 }, 347 "sendStickyBroadcast(android.content.Intent)": { 348 "isImplementation": true, 349 "modifiers": [ 350 "protected" 351 ], 352 "params": [ 353 "intent" 354 ], 355 "returnType": "void", 356 "exceptions": [], 357 "name": "sendStickyBroadcast(android.content.Intent)" 358 }, 359 "setSystemService(java.lang.String,java.lang.Object)": { 360 "isImplementation": false, 361 "modifiers": [ 362 "public" 363 ], 364 "params": [ 365 "key", 366 "service" 367 ], 368 "returnType": "void", 369 "exceptions": [], 370 "name": "setSystemService(java.lang.String,java.lang.Object)" 371 }, 372 "startActivityAsUser(android.content.Intent,android.os.Bundle,android.os.UserHandle)": { 373 "isImplementation": true, 374 "modifiers": [ 375 "protected" 376 ], 377 "params": [ 378 "intent", 379 "options", 380 "user" 381 ], 382 "returnType": "void", 383 "exceptions": [], 384 "minSdk": 21, 385 "name": "startActivityAsUser(android.content.Intent,android.os.Bundle,android.os.UserHandle)", 386 "documentation": "Behaves as {@link #startActivity}. The user parameter is ignored.\n" 387 }, 388 "startForegroundService(android.content.Intent)": { 389 "isImplementation": true, 390 "modifiers": [ 391 "protected" 392 ], 393 "params": [ 394 "service" 395 ], 396 "returnType": "android.content.ComponentName", 397 "exceptions": [], 398 "minSdk": 26, 399 "name": "startForegroundService(android.content.Intent)" 400 }, 401 "startIntentSender(android.content.IntentSender,android.content.Intent,int,int,int,android.os.Bundle)": { 402 "isImplementation": true, 403 "modifiers": [ 404 "protected" 405 ], 406 "params": [ 407 "intent", 408 "fillInIntent", 409 "flagsMask", 410 "flagsValues", 411 "extraFlags", 412 "options" 413 ], 414 "returnType": "void", 415 "exceptions": [ 416 "android.content.IntentSender.SendIntentException" 417 ], 418 "name": "startIntentSender(android.content.IntentSender,android.content.Intent,int,int,int,android.os.Bundle)" 419 }, 420 "startService(android.content.Intent)": { 421 "isImplementation": true, 422 "modifiers": [ 423 "protected" 424 ], 425 "params": [ 426 "service" 427 ], 428 "returnType": "android.content.ComponentName", 429 "exceptions": [], 430 "name": "startService(android.content.Intent)" 431 }, 432 "stopService(android.content.Intent)": { 433 "isImplementation": true, 434 "modifiers": [ 435 "protected" 436 ], 437 "params": [ 438 "name" 439 ], 440 "returnType": "boolean", 441 "exceptions": [], 442 "name": "stopService(android.content.Intent)" 443 }, 444 "unbindService(android.content.ServiceConnection)": { 445 "isImplementation": true, 446 "modifiers": [ 447 "protected" 448 ], 449 "params": [ 450 "serviceConnection" 451 ], 452 "returnType": "void", 453 "exceptions": [], 454 "name": "unbindService(android.content.ServiceConnection)" 455 }, 456 "unregisterReceiver(android.content.BroadcastReceiver)": { 457 "isImplementation": true, 458 "modifiers": [ 459 "protected" 460 ], 461 "params": [ 462 "broadcastReceiver" 463 ], 464 "returnType": "void", 465 "exceptions": [], 466 "name": "unregisterReceiver(android.content.BroadcastReceiver)" 467 } 468 }, 469 "imports": [ 470 "android.os.Build.VERSION_CODES.JELLY_BEAN_MR1", 471 "android.os.Build.VERSION_CODES.JELLY_BEAN_MR2", 472 "android.os.Build.VERSION_CODES.KITKAT", 473 "android.os.Build.VERSION_CODES.LOLLIPOP", 474 "android.os.Build.VERSION_CODES.M", 475 "android.os.Build.VERSION_CODES.N", 476 "android.os.Build.VERSION_CODES.O", 477 "org.robolectric.shadow.api.Shadow.directlyOn", 478 "android.annotation.Nullable", 479 "android.app.ActivityThread", 480 "android.content.BroadcastReceiver", 481 "android.content.ComponentName", 482 "android.content.ContentResolver", 483 "android.content.Context", 484 "android.content.IContentProvider", 485 "android.content.Intent", 486 "android.content.IntentFilter", 487 "android.content.IntentSender", 488 "android.content.ServiceConnection", 489 "android.os.Build.VERSION_CODES", 490 "android.os.Bundle", 491 "android.os.Environment", 492 "android.os.Handler", 493 "android.os.UserHandle", 494 "java.io.File", 495 "java.util.HashMap", 496 "java.util.HashSet", 497 "java.util.Map", 498 "java.util.Set", 499 "org.robolectric.RuntimeEnvironment", 500 "org.robolectric.annotation.Implementation", 501 "org.robolectric.annotation.Implements", 502 "org.robolectric.annotation.RealObject", 503 "org.robolectric.annotation.Resetter", 504 "org.robolectric.shadow.api.Shadow", 505 "org.robolectric.util.ReflectionHelpers", 506 "org.robolectric.util.ReflectionHelpers.ClassParameter" 507 ], 508 "name": "org.robolectric.shadows.ShadowContextImpl" 509}