1{ 2 "methods": { 3 "callAttach(android.content.Intent)": { 4 "isImplementation": false, 5 "modifiers": [ 6 "public" 7 ], 8 "params": [ 9 "intent" 10 ], 11 "returnType": "void", 12 "exceptions": [], 13 "name": "callAttach(android.content.Intent)" 14 }, 15 "callOnActivityResult(int,int,android.content.Intent)": { 16 "isImplementation": false, 17 "modifiers": [ 18 "public" 19 ], 20 "params": [ 21 "requestCode", 22 "resultCode", 23 "resultData" 24 ], 25 "returnType": "void", 26 "exceptions": [], 27 "name": "callOnActivityResult(int,int,android.content.Intent)", 28 "documentation": "For internal use only. Not for public use. " 29 }, 30 "clickMenuItem(int)": { 31 "isImplementation": false, 32 "modifiers": [ 33 "public" 34 ], 35 "params": [ 36 "menuItemResId" 37 ], 38 "returnType": "boolean", 39 "exceptions": [], 40 "name": "clickMenuItem(int)", 41 "documentation": "Perform a click on a menu item.\n\n@param menuItemResId Menu item resource ID.\n@return True if the click was handled, false otherwise.\n" 42 }, 43 "dismissDialog(int)": { 44 "isImplementation": true, 45 "modifiers": [ 46 "protected", 47 "final" 48 ], 49 "params": [ 50 "id" 51 ], 52 "returnType": "void", 53 "exceptions": [], 54 "name": "dismissDialog(int)" 55 }, 56 "findViewById(int)": { 57 "isImplementation": true, 58 "modifiers": [ 59 "protected" 60 ], 61 "params": [ 62 "id" 63 ], 64 "returnType": "android.view.View", 65 "exceptions": [], 66 "name": "findViewById(int)", 67 "documentation": "Checks to ensure that the{@code contentView} has been set\n\n@param id ID of the view to find\n@return the view\n@throws RuntimeException if the {@code contentView} has not been called first\n" 68 }, 69 "finish()": { 70 "isImplementation": true, 71 "modifiers": [ 72 "protected" 73 ], 74 "params": [], 75 "returnType": "void", 76 "exceptions": [], 77 "name": "finish()" 78 }, 79 "finishAffinity()": { 80 "isImplementation": true, 81 "modifiers": [ 82 "protected" 83 ], 84 "params": [], 85 "returnType": "void", 86 "exceptions": [], 87 "minSdk": 16, 88 "name": "finishAffinity()" 89 }, 90 "finishAndRemoveTask()": { 91 "isImplementation": true, 92 "modifiers": [ 93 "protected" 94 ], 95 "params": [], 96 "returnType": "void", 97 "exceptions": [], 98 "minSdk": 21, 99 "name": "finishAndRemoveTask()" 100 }, 101 "getActivityManager()": { 102 "isImplementation": false, 103 "modifiers": [ 104 "private" 105 ], 106 "params": [], 107 "returnType": "android.app.ActivityManager", 108 "exceptions": [], 109 "name": "getActivityManager()" 110 }, 111 "getCallingActivity()": { 112 "isImplementation": true, 113 "modifiers": [ 114 "protected" 115 ], 116 "params": [], 117 "returnType": "android.content.ComponentName", 118 "exceptions": [], 119 "name": "getCallingActivity()" 120 }, 121 "getCallingPackage()": { 122 "isImplementation": true, 123 "modifiers": [ 124 "protected" 125 ], 126 "params": [], 127 "returnType": "java.lang.String", 128 "exceptions": [], 129 "name": "getCallingPackage()" 130 }, 131 "getContentView()": { 132 "isImplementation": false, 133 "modifiers": [ 134 "public" 135 ], 136 "params": [], 137 "returnType": "android.view.View", 138 "exceptions": [], 139 "name": "getContentView()", 140 "documentation": "@return the {@code contentView} set by one of the {@code setContentView()} methods\n" 141 }, 142 "getCurrentFocus()": { 143 "isImplementation": true, 144 "modifiers": [ 145 "protected" 146 ], 147 "params": [], 148 "returnType": "android.view.View", 149 "exceptions": [], 150 "name": "getCurrentFocus()" 151 }, 152 "getDefaultKeymode()": { 153 "isImplementation": false, 154 "modifiers": [ 155 "public" 156 ], 157 "params": [], 158 "returnType": "int", 159 "exceptions": [], 160 "name": "getDefaultKeymode()" 161 }, 162 "getDialogById(int)": { 163 "isImplementation": false, 164 "modifiers": [ 165 "public" 166 ], 167 "params": [ 168 "dialogId" 169 ], 170 "returnType": "android.app.Dialog", 171 "exceptions": [], 172 "name": "getDialogById(int)" 173 }, 174 "getLastNonConfigurationInstance()": { 175 "isImplementation": true, 176 "modifiers": [ 177 "protected" 178 ], 179 "params": [], 180 "returnType": "java.lang.Object", 181 "exceptions": [], 182 "name": "getLastNonConfigurationInstance()" 183 }, 184 "getLastRequestedPermission()": { 185 "isImplementation": false, 186 "modifiers": [ 187 "public" 188 ], 189 "params": [], 190 "returnType": "org.robolectric.shadows.ShadowActivity.PermissionsRequest", 191 "exceptions": [], 192 "name": "getLastRequestedPermission()", 193 "documentation": "Gets the last permission request submitted to this activity.\n\n@return The permission request details.\n" 194 }, 195 "getLastShownDialogId()": { 196 "isImplementation": false, 197 "modifiers": [ 198 "public" 199 ], 200 "params": [], 201 "returnType": "java.lang.Integer", 202 "exceptions": [], 203 "name": "getLastShownDialogId()", 204 "documentation": "@return the dialog resource id passed into\n {@code Activity.showDialog(int, Bundle)} or {@code Activity.showDialog(int)}\n" 205 }, 206 "getLayoutInflater()": { 207 "isImplementation": true, 208 "modifiers": [ 209 "protected" 210 ], 211 "params": [], 212 "returnType": "android.view.LayoutInflater", 213 "exceptions": [], 214 "name": "getLayoutInflater()" 215 }, 216 "getManagedCursors()": { 217 "isImplementation": false, 218 "modifiers": [ 219 "public" 220 ], 221 "params": [], 222 "returnType": "java.util.List\u003candroid.database.Cursor\u003e", 223 "exceptions": [], 224 "name": "getManagedCursors()" 225 }, 226 "getMenuInflater()": { 227 "isImplementation": true, 228 "modifiers": [ 229 "protected" 230 ], 231 "params": [], 232 "returnType": "android.view.MenuInflater", 233 "exceptions": [], 234 "name": "getMenuInflater()" 235 }, 236 "getNextStartedActivityForResult()": { 237 "isImplementation": false, 238 "modifiers": [ 239 "public" 240 ], 241 "params": [], 242 "returnType": "org.robolectric.shadows.ShadowActivity.IntentForResult", 243 "exceptions": [], 244 "name": "getNextStartedActivityForResult()", 245 "documentation": "Consumes and returns the next {@code Intent} on the\nstarted activities for results stack.\n\n@return the next started {@code Intent} for an activity, wrapped in\n an {@link ShadowActivity.IntentForResult} object\n" 246 }, 247 "getNonConfigurationClass()": { 248 "isImplementation": false, 249 "modifiers": [ 250 "private" 251 ], 252 "params": [], 253 "returnType": "java.lang.Class\u003c?\u003e", 254 "exceptions": [], 255 "name": "getNonConfigurationClass()" 256 }, 257 "getOptionsMenu()": { 258 "isImplementation": false, 259 "modifiers": [ 260 "public" 261 ], 262 "params": [], 263 "returnType": "android.view.Menu", 264 "exceptions": [], 265 "name": "getOptionsMenu()", 266 "documentation": "Return the options menu.\n\n@return Options menu.\n" 267 }, 268 "getParent()": { 269 "isImplementation": true, 270 "modifiers": [ 271 "protected", 272 "final" 273 ], 274 "params": [], 275 "returnType": "android.app.Activity", 276 "exceptions": [], 277 "name": "getParent()" 278 }, 279 "getPendingTransitionEnterAnimationResourceId()": { 280 "isImplementation": false, 281 "modifiers": [ 282 "public" 283 ], 284 "params": [], 285 "returnType": "int", 286 "exceptions": [], 287 "name": "getPendingTransitionEnterAnimationResourceId()" 288 }, 289 "getPendingTransitionExitAnimationResourceId()": { 290 "isImplementation": false, 291 "modifiers": [ 292 "public" 293 ], 294 "params": [], 295 "returnType": "int", 296 "exceptions": [], 297 "name": "getPendingTransitionExitAnimationResourceId()" 298 }, 299 "getRequestedOrientation()": { 300 "isImplementation": true, 301 "modifiers": [ 302 "protected" 303 ], 304 "params": [], 305 "returnType": "int", 306 "exceptions": [], 307 "name": "getRequestedOrientation()" 308 }, 309 "getResultCode()": { 310 "isImplementation": false, 311 "modifiers": [ 312 "public" 313 ], 314 "params": [], 315 "returnType": "int", 316 "exceptions": [], 317 "name": "getResultCode()", 318 "documentation": "@return the {@code resultCode} set by one of the {@code setResult()} methods\n" 319 }, 320 "getResultIntent()": { 321 "isImplementation": false, 322 "modifiers": [ 323 "public" 324 ], 325 "params": [], 326 "returnType": "android.content.Intent", 327 "exceptions": [], 328 "name": "getResultIntent()", 329 "documentation": "@return the {@code Intent} set by {@link #setResult(int, android.content.Intent)}\n" 330 }, 331 "getTaskId()": { 332 "isImplementation": true, 333 "modifiers": [ 334 "protected" 335 ], 336 "params": [], 337 "returnType": "int", 338 "exceptions": [], 339 "name": "getTaskId()" 340 }, 341 "getVolumeControlStream()": { 342 "isImplementation": true, 343 "modifiers": [ 344 "protected", 345 "final" 346 ], 347 "params": [], 348 "returnType": "int", 349 "exceptions": [], 350 "name": "getVolumeControlStream()" 351 }, 352 "getWindow()": { 353 "isImplementation": true, 354 "modifiers": [ 355 "protected" 356 ], 357 "params": [], 358 "returnType": "android.view.Window", 359 "exceptions": [], 360 "name": "getWindow()", 361 "documentation": "Constructs a new Window (a {@link com.android.internal.policy.impl.PhoneWindow}) if no window\nhas previously been set.\n\n@return the window associated with this Activity\n" 362 }, 363 "hasCancelledPendingTransitions()": { 364 "isImplementation": false, 365 "modifiers": [ 366 "public" 367 ], 368 "params": [], 369 "returnType": "boolean", 370 "exceptions": [], 371 "name": "hasCancelledPendingTransitions()" 372 }, 373 "isFinishing()": { 374 "isImplementation": false, 375 "modifiers": [ 376 "public" 377 ], 378 "params": [], 379 "returnType": "boolean", 380 "exceptions": [], 381 "name": "isFinishing()", 382 "documentation": "Returns whether {@link #finish()} was called.\n\n@deprecated Use {@link Activity#isFinishing()} instead.\n" 383 }, 384 "isLockTask()": { 385 "isImplementation": false, 386 "modifiers": [ 387 "public" 388 ], 389 "params": [], 390 "returnType": "boolean", 391 "exceptions": [], 392 "name": "isLockTask()", 393 "documentation": "Returns if the activity is in the lock task mode.\n\n@deprecated Use {@link ActivityManager#getLockTaskModeState} instead.\n" 394 }, 395 "isTaskRoot()": { 396 "isImplementation": true, 397 "modifiers": [ 398 "protected", 399 "final" 400 ], 401 "params": [], 402 "returnType": "boolean", 403 "exceptions": [], 404 "name": "isTaskRoot()" 405 }, 406 "onBackPressed()": { 407 "isImplementation": true, 408 "modifiers": [ 409 "protected" 410 ], 411 "params": [], 412 "returnType": "void", 413 "exceptions": [], 414 "name": "onBackPressed()" 415 }, 416 "onCreateOptionsMenu(android.view.Menu)": { 417 "isImplementation": true, 418 "modifiers": [ 419 "protected" 420 ], 421 "params": [ 422 "menu" 423 ], 424 "returnType": "boolean", 425 "exceptions": [], 426 "name": "onCreateOptionsMenu(android.view.Menu)" 427 }, 428 "overridePendingTransition(int,int)": { 429 "isImplementation": true, 430 "modifiers": [ 431 "protected" 432 ], 433 "params": [ 434 "enterAnim", 435 "exitAnim" 436 ], 437 "returnType": "void", 438 "exceptions": [], 439 "name": "overridePendingTransition(int,int)" 440 }, 441 "peekNextStartedActivityForResult()": { 442 "isImplementation": false, 443 "modifiers": [ 444 "public" 445 ], 446 "params": [], 447 "returnType": "org.robolectric.shadows.ShadowActivity.IntentForResult", 448 "exceptions": [], 449 "name": "peekNextStartedActivityForResult()", 450 "documentation": "Returns the most recent {@code Intent} started by\n{@link Activity#startActivityForResult(Intent, int)} without consuming it.\n\n@return the most recently started {@code Intent}, wrapped in\n an {@link ShadowActivity.IntentForResult} object\n" 451 }, 452 "receiveResult(android.content.Intent,int,android.content.Intent)": { 453 "isImplementation": false, 454 "modifiers": [ 455 "public" 456 ], 457 "params": [ 458 "requestIntent", 459 "resultCode", 460 "resultIntent" 461 ], 462 "returnType": "void", 463 "exceptions": [], 464 "name": "receiveResult(android.content.Intent,int,android.content.Intent)" 465 }, 466 "recreate()": { 467 "isImplementation": true, 468 "modifiers": [ 469 "protected" 470 ], 471 "params": [], 472 "returnType": "void", 473 "exceptions": [], 474 "name": "recreate()" 475 }, 476 "removeDialog(int)": { 477 "isImplementation": true, 478 "modifiers": [ 479 "protected", 480 "final" 481 ], 482 "params": [ 483 "id" 484 ], 485 "returnType": "void", 486 "exceptions": [], 487 "name": "removeDialog(int)" 488 }, 489 "requestPermissions(java.lang.String[],int)": { 490 "isImplementation": true, 491 "modifiers": [ 492 "protected", 493 "final" 494 ], 495 "params": [ 496 "permissions", 497 "requestCode" 498 ], 499 "returnType": "void", 500 "exceptions": [], 501 "minSdk": 23, 502 "name": "requestPermissions(java.lang.String[],int)" 503 }, 504 "resetIsFinishing()": { 505 "isImplementation": false, 506 "modifiers": [ 507 "public" 508 ], 509 "params": [], 510 "returnType": "void", 511 "exceptions": [], 512 "name": "resetIsFinishing()" 513 }, 514 "runOnUiThread(java.lang.Runnable)": { 515 "isImplementation": true, 516 "modifiers": [ 517 "protected" 518 ], 519 "params": [ 520 "action" 521 ], 522 "returnType": "void", 523 "exceptions": [], 524 "name": "runOnUiThread(java.lang.Runnable)" 525 }, 526 "setApplication(android.app.Application)": { 527 "isImplementation": false, 528 "modifiers": [ 529 "public" 530 ], 531 "params": [ 532 "application" 533 ], 534 "returnType": "void", 535 "exceptions": [], 536 "name": "setApplication(android.app.Application)" 537 }, 538 "setCallingActivity(android.content.ComponentName)": { 539 "isImplementation": false, 540 "modifiers": [ 541 "public" 542 ], 543 "params": [ 544 "activityName" 545 ], 546 "returnType": "void", 547 "exceptions": [], 548 "name": "setCallingActivity(android.content.ComponentName)" 549 }, 550 "setCallingPackage(java.lang.String)": { 551 "isImplementation": false, 552 "modifiers": [ 553 "public" 554 ], 555 "params": [ 556 "packageName" 557 ], 558 "returnType": "void", 559 "exceptions": [], 560 "name": "setCallingPackage(java.lang.String)" 561 }, 562 "setCurrentFocus(android.view.View)": { 563 "isImplementation": false, 564 "modifiers": [ 565 "public" 566 ], 567 "params": [ 568 "view" 569 ], 570 "returnType": "void", 571 "exceptions": [], 572 "name": "setCurrentFocus(android.view.View)", 573 "documentation": "@param view View to focus.\n" 574 }, 575 "setDefaultKeyMode(int)": { 576 "isImplementation": true, 577 "modifiers": [ 578 "protected" 579 ], 580 "params": [ 581 "keyMode" 582 ], 583 "returnType": "void", 584 "exceptions": [], 585 "name": "setDefaultKeyMode(int)" 586 }, 587 "setIsTaskRoot(boolean)": { 588 "isImplementation": false, 589 "modifiers": [ 590 "public" 591 ], 592 "params": [ 593 "isRoot" 594 ], 595 "returnType": "void", 596 "exceptions": [], 597 "name": "setIsTaskRoot(boolean)" 598 }, 599 "setLastNonConfigurationInstance(java.lang.Object)": { 600 "isImplementation": false, 601 "modifiers": [ 602 "public" 603 ], 604 "params": [ 605 "lastNonConfigurationInstance" 606 ], 607 "returnType": "void", 608 "exceptions": [], 609 "name": "setLastNonConfigurationInstance(java.lang.Object)" 610 }, 611 "setParent(android.app.Activity)": { 612 "isImplementation": true, 613 "modifiers": [ 614 "public" 615 ], 616 "params": [ 617 "parent" 618 ], 619 "returnType": "void", 620 "exceptions": [], 621 "name": "setParent(android.app.Activity)", 622 "documentation": "Allow setting of Parent fragmentActivity (for unit testing purposes only)\n\n@param parent Parent fragmentActivity to set on this fragmentActivity\n" 623 }, 624 "setRequestedOrientation(int)": { 625 "isImplementation": true, 626 "modifiers": [ 627 "protected" 628 ], 629 "params": [ 630 "requestedOrientation" 631 ], 632 "returnType": "void", 633 "exceptions": [], 634 "name": "setRequestedOrientation(int)" 635 }, 636 "setResult(int)": { 637 "isImplementation": true, 638 "modifiers": [ 639 "protected", 640 "final" 641 ], 642 "params": [ 643 "resultCode" 644 ], 645 "returnType": "void", 646 "exceptions": [], 647 "name": "setResult(int)" 648 }, 649 "setResult(int,android.content.Intent)": { 650 "isImplementation": true, 651 "modifiers": [ 652 "protected", 653 "final" 654 ], 655 "params": [ 656 "resultCode", 657 "data" 658 ], 659 "returnType": "void", 660 "exceptions": [], 661 "name": "setResult(int,android.content.Intent)" 662 }, 663 "setVolumeControlStream(int)": { 664 "isImplementation": true, 665 "modifiers": [ 666 "protected", 667 "final" 668 ], 669 "params": [ 670 "streamType" 671 ], 672 "returnType": "void", 673 "exceptions": [], 674 "name": "setVolumeControlStream(int)" 675 }, 676 "setWindow(android.view.Window)": { 677 "isImplementation": false, 678 "modifiers": [ 679 "public" 680 ], 681 "params": [ 682 "window" 683 ], 684 "returnType": "void", 685 "exceptions": [], 686 "name": "setWindow(android.view.Window)" 687 }, 688 "showDialog(int)": { 689 "isImplementation": true, 690 "modifiers": [ 691 "protected", 692 "final" 693 ], 694 "params": [ 695 "id" 696 ], 697 "returnType": "void", 698 "exceptions": [], 699 "name": "showDialog(int)" 700 }, 701 "showDialog(int,android.os.Bundle)": { 702 "isImplementation": true, 703 "modifiers": [ 704 "protected", 705 "final" 706 ], 707 "params": [ 708 "id", 709 "bundle" 710 ], 711 "returnType": "boolean", 712 "exceptions": [], 713 "name": "showDialog(int,android.os.Bundle)" 714 }, 715 "startLockTask()": { 716 "isImplementation": true, 717 "modifiers": [ 718 "protected" 719 ], 720 "params": [], 721 "returnType": "void", 722 "exceptions": [], 723 "minSdk": 21, 724 "name": "startLockTask()", 725 "documentation": "Starts a lock task.\n\n\u003cp\u003eThe status of the lock task can be verified using {@link #isLockTask} method. Otherwise this\nimplementation has no effect.\n" 726 }, 727 "startManagingCursor(android.database.Cursor)": { 728 "isImplementation": true, 729 "modifiers": [ 730 "protected" 731 ], 732 "params": [ 733 "c" 734 ], 735 "returnType": "void", 736 "exceptions": [], 737 "name": "startManagingCursor(android.database.Cursor)" 738 }, 739 "stopLockTask()": { 740 "isImplementation": true, 741 "modifiers": [ 742 "protected" 743 ], 744 "params": [], 745 "returnType": "void", 746 "exceptions": [], 747 "minSdk": 21, 748 "name": "stopLockTask()", 749 "documentation": "Stops a lock task.\n\n\u003cp\u003eThe status of the lock task can be verified using {@link #isLockTask} method. Otherwise this\nimplementation has no effect.\n" 750 }, 751 "stopManagingCursor(android.database.Cursor)": { 752 "isImplementation": true, 753 "modifiers": [ 754 "protected" 755 ], 756 "params": [ 757 "c" 758 ], 759 "returnType": "void", 760 "exceptions": [], 761 "name": "stopManagingCursor(android.database.Cursor)" 762 } 763 }, 764 "imports": [ 765 "android.os.Build.VERSION_CODES.JELLY_BEAN", 766 "android.os.Build.VERSION_CODES.LOLLIPOP", 767 "android.os.Build.VERSION_CODES.M", 768 "org.robolectric.shadow.api.Shadow.directlyOn", 769 "android.R", 770 "android.app.Activity", 771 "android.app.ActivityManager", 772 "android.app.ActivityThread", 773 "android.app.Application", 774 "android.app.Dialog", 775 "android.app.Instrumentation", 776 "android.content.ComponentName", 777 "android.content.Context", 778 "android.content.Intent", 779 "android.content.pm.ActivityInfo", 780 "android.content.pm.PackageManager", 781 "android.content.pm.PackageManager.NameNotFoundException", 782 "android.content.res.Configuration", 783 "android.database.Cursor", 784 "android.os.Build", 785 "android.os.Bundle", 786 "android.os.IBinder", 787 "android.text.Selection", 788 "android.text.SpannableStringBuilder", 789 "android.view.LayoutInflater", 790 "android.view.Menu", 791 "android.view.MenuInflater", 792 "android.view.View", 793 "android.view.ViewGroup", 794 "android.view.ViewRootImpl", 795 "android.view.Window", 796 "com.android.internal.app.IVoiceInteractor", 797 "java.lang.reflect.InvocationTargetException", 798 "java.lang.reflect.Method", 799 "java.util.ArrayList", 800 "java.util.HashMap", 801 "java.util.List", 802 "java.util.Map", 803 "org.robolectric.RuntimeEnvironment", 804 "org.robolectric.annotation.HiddenApi", 805 "org.robolectric.annotation.Implementation", 806 "org.robolectric.annotation.Implements", 807 "org.robolectric.annotation.RealObject", 808 "org.robolectric.fakes.RoboMenuItem", 809 "org.robolectric.shadow.api.Shadow", 810 "org.robolectric.util.ReflectionHelpers", 811 "org.robolectric.shadows.ShadowActivity.IntentForResult", 812 "org.robolectric.shadows.ShadowActivity.ActivityInvoker", 813 "org.robolectric.shadows.ShadowActivity.PermissionsRequest" 814 ], 815 "name": "org.robolectric.shadows.ShadowActivity" 816}