1{ 2 "methods": { 3 "checkReadPhoneStatePermission()": { 4 "isImplementation": false, 5 "modifiers": [ 6 "private" 7 ], 8 "params": [], 9 "returnType": "void", 10 "exceptions": [], 11 "name": "checkReadPhoneStatePermission()" 12 }, 13 "clearPhoneTypes()": { 14 "isImplementation": false, 15 "modifiers": [ 16 "public" 17 ], 18 "params": [], 19 "returnType": "void", 20 "exceptions": [], 21 "name": "clearPhoneTypes()", 22 "documentation": "Removes all {@code subId} to {@code phoneType} mappings. " 23 }, 24 "createForPhoneAccountHandle(android.telecom.PhoneAccountHandle)": { 25 "isImplementation": true, 26 "modifiers": [ 27 "protected" 28 ], 29 "params": [ 30 "handle" 31 ], 32 "returnType": "android.telephony.TelephonyManager", 33 "exceptions": [], 34 "minSdk": 26, 35 "name": "createForPhoneAccountHandle(android.telecom.PhoneAccountHandle)", 36 "documentation": "Returns {@code null} by default or the value specified via {@link\n#setTelephonyManagerForHandle(PhoneAccountHandle, TelephonyManager)}.\n" 37 }, 38 "createForSubscriptionId(int)": { 39 "isImplementation": true, 40 "modifiers": [ 41 "protected" 42 ], 43 "params": [ 44 "subId" 45 ], 46 "returnType": "android.telephony.TelephonyManager", 47 "exceptions": [], 48 "minSdk": 24, 49 "name": "createForSubscriptionId(int)", 50 "documentation": "Returns {@code null} by default or the value specified via {@link\n#setTelephonyManagerForSubscriptionId(int, TelephonyManager)}\n" 51 }, 52 "getAllCellInfo()": { 53 "isImplementation": true, 54 "modifiers": [ 55 "protected" 56 ], 57 "params": [], 58 "returnType": "java.util.List\u003candroid.telephony.CellInfo\u003e", 59 "exceptions": [], 60 "minSdk": 17, 61 "name": "getAllCellInfo()" 62 }, 63 "getCallState()": { 64 "isImplementation": true, 65 "modifiers": [ 66 "protected" 67 ], 68 "params": [], 69 "returnType": "int", 70 "exceptions": [], 71 "name": "getCallState()", 72 "documentation": "Call state may be specified via {@link #setCallState(int)}. " 73 }, 74 "getCarrierConfig()": { 75 "isImplementation": true, 76 "modifiers": [ 77 "protected" 78 ], 79 "params": [], 80 "returnType": "android.os.PersistableBundle", 81 "exceptions": [], 82 "minSdk": 26, 83 "name": "getCarrierConfig()", 84 "documentation": "Returns a new empty {@link PersistableBundle} by default, or the value specified via {@link\n#setCarrierConfig(PersistableBundle)}.\n" 85 }, 86 "getCarrierPackageNamesForIntent(android.content.Intent)": { 87 "isImplementation": true, 88 "modifiers": [ 89 "protected" 90 ], 91 "params": [ 92 "intent" 93 ], 94 "returnType": "java.util.List\u003cjava.lang.String\u003e", 95 "exceptions": [], 96 "minSdk": 21, 97 "name": "getCarrierPackageNamesForIntent(android.content.Intent)" 98 }, 99 "getCarrierPackageNamesForIntentAndPhone(android.content.Intent,int)": { 100 "isImplementation": true, 101 "modifiers": [ 102 "protected" 103 ], 104 "params": [ 105 "intent", 106 "phoneId" 107 ], 108 "returnType": "java.util.List\u003cjava.lang.String\u003e", 109 "exceptions": [], 110 "minSdk": 23, 111 "name": "getCarrierPackageNamesForIntentAndPhone(android.content.Intent,int)" 112 }, 113 "getCellLocation()": { 114 "isImplementation": true, 115 "modifiers": [ 116 "protected" 117 ], 118 "params": [], 119 "returnType": "android.telephony.CellLocation", 120 "exceptions": [], 121 "name": "getCellLocation()" 122 }, 123 "getCurrentPhoneType(int)": { 124 "isImplementation": true, 125 "modifiers": [ 126 "protected" 127 ], 128 "params": [ 129 "subId" 130 ], 131 "returnType": "int", 132 "exceptions": [], 133 "minSdk": 23, 134 "name": "getCurrentPhoneType(int)" 135 }, 136 "getDeviceId()": { 137 "isImplementation": true, 138 "modifiers": [ 139 "protected" 140 ], 141 "params": [], 142 "returnType": "java.lang.String", 143 "exceptions": [], 144 "name": "getDeviceId()" 145 }, 146 "getDeviceId(int)": { 147 "isImplementation": true, 148 "modifiers": [ 149 "protected" 150 ], 151 "params": [ 152 "slot" 153 ], 154 "returnType": "java.lang.String", 155 "exceptions": [], 156 "minSdk": 23, 157 "name": "getDeviceId(int)", 158 "documentation": "Returns {@code null} by default or the value specified via {@link #setDeviceId(int, String)}.\n" 159 }, 160 "getEventFlags()": { 161 "isImplementation": false, 162 "modifiers": [ 163 "public" 164 ], 165 "params": [], 166 "returnType": "int", 167 "exceptions": [], 168 "name": "getEventFlags()", 169 "documentation": "Returns the most recent flags passed to #listen().\n\n@return Event flags.\n@deprecated Avoid using.\n" 170 }, 171 "getGroupIdLevel1()": { 172 "isImplementation": true, 173 "modifiers": [ 174 "protected" 175 ], 176 "params": [], 177 "returnType": "java.lang.String", 178 "exceptions": [], 179 "minSdk": 18, 180 "name": "getGroupIdLevel1()" 181 }, 182 "getImei()": { 183 "isImplementation": true, 184 "modifiers": [ 185 "protected" 186 ], 187 "params": [], 188 "returnType": "java.lang.String", 189 "exceptions": [], 190 "minSdk": 21, 191 "name": "getImei()" 192 }, 193 "getLine1Number()": { 194 "isImplementation": true, 195 "modifiers": [ 196 "protected" 197 ], 198 "params": [], 199 "returnType": "java.lang.String", 200 "exceptions": [], 201 "name": "getLine1Number()" 202 }, 203 "getListener()": { 204 "isImplementation": false, 205 "modifiers": [ 206 "public" 207 ], 208 "params": [], 209 "returnType": "android.telephony.PhoneStateListener", 210 "exceptions": [], 211 "name": "getListener()", 212 "documentation": "Returns the most recent listener passed to #listen().\n\n@return Phone state listener.\n@deprecated Avoid using.\n" 213 }, 214 "getListenersForFlags(int)": { 215 "isImplementation": false, 216 "modifiers": [ 217 "private" 218 ], 219 "params": [ 220 "flags" 221 ], 222 "returnType": "java.lang.Iterable\u003candroid.telephony.PhoneStateListener\u003e", 223 "exceptions": [], 224 "name": "getListenersForFlags(int)" 225 }, 226 "getMeid()": { 227 "isImplementation": true, 228 "modifiers": [ 229 "protected" 230 ], 231 "params": [], 232 "returnType": "java.lang.String", 233 "exceptions": [], 234 "minSdk": 26, 235 "name": "getMeid()" 236 }, 237 "getNetworkCountryIso()": { 238 "isImplementation": true, 239 "modifiers": [ 240 "protected" 241 ], 242 "params": [], 243 "returnType": "java.lang.String", 244 "exceptions": [], 245 "name": "getNetworkCountryIso()" 246 }, 247 "getNetworkOperator()": { 248 "isImplementation": true, 249 "modifiers": [ 250 "protected" 251 ], 252 "params": [], 253 "returnType": "java.lang.String", 254 "exceptions": [], 255 "name": "getNetworkOperator()" 256 }, 257 "getNetworkOperatorName()": { 258 "isImplementation": true, 259 "modifiers": [ 260 "protected" 261 ], 262 "params": [], 263 "returnType": "java.lang.String", 264 "exceptions": [], 265 "name": "getNetworkOperatorName()" 266 }, 267 "getNetworkType()": { 268 "isImplementation": true, 269 "modifiers": [ 270 "protected" 271 ], 272 "params": [], 273 "returnType": "int", 274 "exceptions": [], 275 "name": "getNetworkType()" 276 }, 277 "getPhoneCount()": { 278 "isImplementation": true, 279 "modifiers": [ 280 "protected" 281 ], 282 "params": [], 283 "returnType": "int", 284 "exceptions": [], 285 "minSdk": 23, 286 "name": "getPhoneCount()", 287 "documentation": "Returns 1 by default or the value specified via {@link #setPhoneCount(int)}. " 288 }, 289 "getPhoneType()": { 290 "isImplementation": true, 291 "modifiers": [ 292 "protected" 293 ], 294 "params": [], 295 "returnType": "int", 296 "exceptions": [], 297 "name": "getPhoneType()" 298 }, 299 "getServiceState()": { 300 "isImplementation": true, 301 "modifiers": [ 302 "protected" 303 ], 304 "params": [], 305 "returnType": "android.telephony.ServiceState", 306 "exceptions": [], 307 "minSdk": 26, 308 "name": "getServiceState()", 309 "documentation": "Returns {@code null} by default or the value specified via {@link\n#setServiceState(ServiceState)}\n" 310 }, 311 "getSimCarrierId()": { 312 "isImplementation": true, 313 "modifiers": [ 314 "protected" 315 ], 316 "params": [], 317 "returnType": "int", 318 "exceptions": [], 319 "minSdk": 28, 320 "name": "getSimCarrierId()" 321 }, 322 "getSimCountryIso()": { 323 "isImplementation": true, 324 "modifiers": [ 325 "protected" 326 ], 327 "params": [], 328 "returnType": "java.lang.String", 329 "exceptions": [], 330 "name": "getSimCountryIso()" 331 }, 332 "getSimCountryIso(int)": { 333 "isImplementation": true, 334 "modifiers": [ 335 "protected" 336 ], 337 "params": [ 338 "subId" 339 ], 340 "returnType": "java.lang.String", 341 "exceptions": [], 342 "minSdk": 24, 343 "name": "getSimCountryIso(int)" 344 }, 345 "getSimOperator()": { 346 "isImplementation": true, 347 "modifiers": [ 348 "protected" 349 ], 350 "params": [], 351 "returnType": "java.lang.String", 352 "exceptions": [], 353 "name": "getSimOperator()" 354 }, 355 "getSimOperatorName()": { 356 "isImplementation": true, 357 "modifiers": [ 358 "protected" 359 ], 360 "params": [], 361 "returnType": "java.lang.String", 362 "exceptions": [], 363 "name": "getSimOperatorName()" 364 }, 365 "getSimSerialNumber()": { 366 "isImplementation": true, 367 "modifiers": [ 368 "protected" 369 ], 370 "params": [], 371 "returnType": "java.lang.String", 372 "exceptions": [], 373 "name": "getSimSerialNumber()" 374 }, 375 "getSimState()": { 376 "isImplementation": true, 377 "modifiers": [ 378 "protected" 379 ], 380 "params": [], 381 "returnType": "int", 382 "exceptions": [], 383 "name": "getSimState()" 384 }, 385 "getSimState(int)": { 386 "isImplementation": true, 387 "modifiers": [ 388 "protected" 389 ], 390 "params": [ 391 "slotIndex" 392 ], 393 "returnType": "int", 394 "exceptions": [], 395 "minSdk": 26, 396 "name": "getSimState(int)" 397 }, 398 "getSubscriberId()": { 399 "isImplementation": true, 400 "modifiers": [ 401 "protected" 402 ], 403 "params": [], 404 "returnType": "java.lang.String", 405 "exceptions": [], 406 "name": "getSubscriberId()" 407 }, 408 "getVoiceMailAlphaTag()": { 409 "isImplementation": true, 410 "modifiers": [ 411 "protected" 412 ], 413 "params": [], 414 "returnType": "java.lang.String", 415 "exceptions": [], 416 "name": "getVoiceMailAlphaTag()", 417 "documentation": "Returns {@code null} by default or the value specified via {@link\n#setVoiceMailAlphaTag(String)}.\n" 418 }, 419 "getVoiceMailNumber()": { 420 "isImplementation": true, 421 "modifiers": [ 422 "protected" 423 ], 424 "params": [], 425 "returnType": "java.lang.String", 426 "exceptions": [], 427 "name": "getVoiceMailNumber()", 428 "documentation": "Returns {@code null} by default, or the value specified via {@link\n#setVoiceMailNumber(String)}.\n" 429 }, 430 "getVoiceNetworkType()": { 431 "isImplementation": true, 432 "modifiers": [ 433 "protected" 434 ], 435 "params": [], 436 "returnType": "int", 437 "exceptions": [], 438 "minSdk": 24, 439 "name": "getVoiceNetworkType()", 440 "documentation": "Returns whatever value was set by the last call to {@link #setVoiceNetworkType}, defaulting to\n{@link TelephonyManager#NETWORK_TYPE_UNKNOWN} if it was never called.\n" 441 }, 442 "getVoicemailRingtoneUri(android.telecom.PhoneAccountHandle)": { 443 "isImplementation": true, 444 "modifiers": [ 445 "protected" 446 ], 447 "params": [ 448 "handle" 449 ], 450 "returnType": "android.net.Uri", 451 "exceptions": [], 452 "minSdk": 24, 453 "name": "getVoicemailRingtoneUri(android.telecom.PhoneAccountHandle)", 454 "documentation": "Returns {@code null} by default or the value specified via {@link\n#setVoicemailRingtoneUri(PhoneAccountHandle, Uri)}.\n" 455 }, 456 "initListener(android.telephony.PhoneStateListener,int)": { 457 "isImplementation": false, 458 "modifiers": [ 459 "private" 460 ], 461 "params": [ 462 "listener", 463 "flags" 464 ], 465 "returnType": "void", 466 "exceptions": [], 467 "name": "initListener(android.telephony.PhoneStateListener,int)" 468 }, 469 "isAlternativeNetworkEnabled()": { 470 "isImplementation": true, 471 "modifiers": [ 472 "protected" 473 ], 474 "params": [], 475 "returnType": "boolean", 476 "exceptions": [], 477 "minSdk": 29, 478 "name": "isAlternativeNetworkEnabled()" 479 }, 480 "isNetworkRoaming()": { 481 "isImplementation": true, 482 "modifiers": [ 483 "protected" 484 ], 485 "params": [], 486 "returnType": "boolean", 487 "exceptions": [], 488 "name": "isNetworkRoaming()", 489 "documentation": "Returns {@code false} by default or the value specified via {@link\n#setIsNetworkRoaming(boolean)}\n" 490 }, 491 "isSmsCapable()": { 492 "isImplementation": true, 493 "modifiers": [ 494 "protected" 495 ], 496 "params": [], 497 "returnType": "boolean", 498 "exceptions": [], 499 "name": "isSmsCapable()", 500 "documentation": "@return `true` by default, or the value specified via {@link #setIsSmsCapable(boolean)} " 501 }, 502 "isVoicemailVibrationEnabled(android.telecom.PhoneAccountHandle)": { 503 "isImplementation": true, 504 "modifiers": [ 505 "protected" 506 ], 507 "params": [ 508 "handle" 509 ], 510 "returnType": "boolean", 511 "exceptions": [], 512 "minSdk": 24, 513 "name": "isVoicemailVibrationEnabled(android.telecom.PhoneAccountHandle)", 514 "documentation": "Returns {@code null} by default or the value specified via {@link\n#setVoicemailVibrationEnabled(PhoneAccountHandle, boolean)}.\n" 515 }, 516 "listen(android.telephony.PhoneStateListener,int)": { 517 "isImplementation": true, 518 "modifiers": [ 519 "protected" 520 ], 521 "params": [ 522 "listener", 523 "flags" 524 ], 525 "returnType": "void", 526 "exceptions": [], 527 "name": "listen(android.telephony.PhoneStateListener,int)" 528 }, 529 "resetSimCountryIsos()": { 530 "isImplementation": false, 531 "modifiers": [ 532 "public" 533 ], 534 "params": [], 535 "returnType": "void", 536 "exceptions": [], 537 "name": "resetSimCountryIsos()", 538 "documentation": "Clears {@code subId} to simCountryIso mapping and resets to default state. " 539 }, 540 "resetSimStates()": { 541 "isImplementation": false, 542 "modifiers": [ 543 "public" 544 ], 545 "params": [], 546 "returnType": "void", 547 "exceptions": [], 548 "name": "resetSimStates()", 549 "documentation": "Clears {@code slotIndex} to state mapping and resets to default state. " 550 }, 551 "setAllCellInfo(java.util.List\u003candroid.telephony.CellInfo\u003e)": { 552 "isImplementation": false, 553 "modifiers": [ 554 "public" 555 ], 556 "params": [ 557 "allCellInfo" 558 ], 559 "returnType": "void", 560 "exceptions": [], 561 "name": "setAllCellInfo(java.util.List\u003candroid.telephony.CellInfo\u003e)" 562 }, 563 "setAlternativeNetworkState(boolean)": { 564 "isImplementation": true, 565 "modifiers": [ 566 "protected" 567 ], 568 "params": [ 569 "enable" 570 ], 571 "returnType": "boolean", 572 "exceptions": [], 573 "minSdk": 29, 574 "name": "setAlternativeNetworkState(boolean)" 575 }, 576 "setCallState(int)": { 577 "isImplementation": false, 578 "modifiers": [ 579 "public" 580 ], 581 "params": [ 582 "callState" 583 ], 584 "returnType": "void", 585 "exceptions": [], 586 "name": "setCallState(int)", 587 "documentation": "Sets the current call state to the desired state and updates any listeners. " 588 }, 589 "setCallState(int,java.lang.String)": { 590 "isImplementation": false, 591 "modifiers": [ 592 "public" 593 ], 594 "params": [ 595 "callState", 596 "incomingPhoneNumber" 597 ], 598 "returnType": "void", 599 "exceptions": [], 600 "name": "setCallState(int,java.lang.String)", 601 "documentation": "Sets the current call state with the option to specify an incoming phone number for the\nCALL_STATE_RINGING state. The incoming phone number will be ignored for all other cases.\n" 602 }, 603 "setCarrierConfig(android.os.PersistableBundle)": { 604 "isImplementation": false, 605 "modifiers": [ 606 "public" 607 ], 608 "params": [ 609 "carrierConfig" 610 ], 611 "returnType": "void", 612 "exceptions": [], 613 "name": "setCarrierConfig(android.os.PersistableBundle)", 614 "documentation": "Sets the value returned by {@link TelephonyManager#getCarrierConfig()}.\n\n@param carrierConfig\n" 615 }, 616 "setCarrierPackageNamesForPhone(int,java.util.List\u003cjava.lang.String\u003e)": { 617 "isImplementation": false, 618 "modifiers": [ 619 "public" 620 ], 621 "params": [ 622 "phoneId", 623 "packages" 624 ], 625 "returnType": "void", 626 "exceptions": [], 627 "name": "setCarrierPackageNamesForPhone(int,java.util.List\u003cjava.lang.String\u003e)", 628 "documentation": "Sets the {@code packages} for the given {@code phoneId}. " 629 }, 630 "setCellLocation(android.telephony.CellLocation)": { 631 "isImplementation": false, 632 "modifiers": [ 633 "public" 634 ], 635 "params": [ 636 "cellLocation" 637 ], 638 "returnType": "void", 639 "exceptions": [], 640 "name": "setCellLocation(android.telephony.CellLocation)" 641 }, 642 "setCurrentPhoneType(int,int)": { 643 "isImplementation": false, 644 "modifiers": [ 645 "public" 646 ], 647 "params": [ 648 "subId", 649 "phoneType" 650 ], 651 "returnType": "void", 652 "exceptions": [], 653 "name": "setCurrentPhoneType(int,int)", 654 "documentation": "Sets the phone type for the given {@code subId}. " 655 }, 656 "setDeviceId(int,java.lang.String)": { 657 "isImplementation": false, 658 "modifiers": [ 659 "public" 660 ], 661 "params": [ 662 "slot", 663 "deviceId" 664 ], 665 "returnType": "void", 666 "exceptions": [], 667 "name": "setDeviceId(int,java.lang.String)", 668 "documentation": "Sets the value returned by {@link TelephonyManager#getDeviceId(int)}. " 669 }, 670 "setDeviceId(java.lang.String)": { 671 "isImplementation": false, 672 "modifiers": [ 673 "public" 674 ], 675 "params": [ 676 "newDeviceId" 677 ], 678 "returnType": "void", 679 "exceptions": [], 680 "name": "setDeviceId(java.lang.String)" 681 }, 682 "setGroupIdLevel1(java.lang.String)": { 683 "isImplementation": false, 684 "modifiers": [ 685 "public" 686 ], 687 "params": [ 688 "groupIdLevel1" 689 ], 690 "returnType": "void", 691 "exceptions": [], 692 "name": "setGroupIdLevel1(java.lang.String)" 693 }, 694 "setImei(java.lang.String)": { 695 "isImplementation": false, 696 "modifiers": [ 697 "public" 698 ], 699 "params": [ 700 "imei" 701 ], 702 "returnType": "void", 703 "exceptions": [], 704 "name": "setImei(java.lang.String)", 705 "documentation": "Set the IMEI returned by getImei(). " 706 }, 707 "setIsNetworkRoaming(boolean)": { 708 "isImplementation": false, 709 "modifiers": [ 710 "public" 711 ], 712 "params": [ 713 "isNetworkRoaming" 714 ], 715 "returnType": "void", 716 "exceptions": [], 717 "name": "setIsNetworkRoaming(boolean)", 718 "documentation": "Sets the value returned by {@link TelephonyManager#isNetworkRoaming()}. " 719 }, 720 "setIsSmsCapable(boolean)": { 721 "isImplementation": false, 722 "modifiers": [ 723 "public" 724 ], 725 "params": [ 726 "isSmsCapable" 727 ], 728 "returnType": "void", 729 "exceptions": [], 730 "name": "setIsSmsCapable(boolean)", 731 "documentation": "Sets the value returned by {@link TelephonyManager#isSmsCapable()}. " 732 }, 733 "setLine1Number(java.lang.String)": { 734 "isImplementation": false, 735 "modifiers": [ 736 "public" 737 ], 738 "params": [ 739 "line1Number" 740 ], 741 "returnType": "void", 742 "exceptions": [], 743 "name": "setLine1Number(java.lang.String)" 744 }, 745 "setMeid(java.lang.String)": { 746 "isImplementation": false, 747 "modifiers": [ 748 "public" 749 ], 750 "params": [ 751 "meid" 752 ], 753 "returnType": "void", 754 "exceptions": [], 755 "name": "setMeid(java.lang.String)", 756 "documentation": "Set the MEID returned by getMeid(). " 757 }, 758 "setNetworkCountryIso(java.lang.String)": { 759 "isImplementation": false, 760 "modifiers": [ 761 "public" 762 ], 763 "params": [ 764 "networkCountryIso" 765 ], 766 "returnType": "void", 767 "exceptions": [], 768 "name": "setNetworkCountryIso(java.lang.String)" 769 }, 770 "setNetworkOperator(java.lang.String)": { 771 "isImplementation": false, 772 "modifiers": [ 773 "public" 774 ], 775 "params": [ 776 "networkOperator" 777 ], 778 "returnType": "void", 779 "exceptions": [], 780 "name": "setNetworkOperator(java.lang.String)" 781 }, 782 "setNetworkOperatorName(java.lang.String)": { 783 "isImplementation": false, 784 "modifiers": [ 785 "public" 786 ], 787 "params": [ 788 "networkOperatorName" 789 ], 790 "returnType": "void", 791 "exceptions": [], 792 "name": "setNetworkOperatorName(java.lang.String)" 793 }, 794 "setNetworkType(int)": { 795 "isImplementation": false, 796 "modifiers": [ 797 "public" 798 ], 799 "params": [ 800 "networkType" 801 ], 802 "returnType": "void", 803 "exceptions": [], 804 "name": "setNetworkType(int)" 805 }, 806 "setPhoneCount(int)": { 807 "isImplementation": false, 808 "modifiers": [ 809 "public" 810 ], 811 "params": [ 812 "phoneCount" 813 ], 814 "returnType": "void", 815 "exceptions": [], 816 "name": "setPhoneCount(int)", 817 "documentation": "Sets the value returned by {@link TelephonyManager#getPhoneCount()}. " 818 }, 819 "setPhoneType(int)": { 820 "isImplementation": false, 821 "modifiers": [ 822 "public" 823 ], 824 "params": [ 825 "phoneType" 826 ], 827 "returnType": "void", 828 "exceptions": [], 829 "name": "setPhoneType(int)" 830 }, 831 "setReadPhoneStatePermission(boolean)": { 832 "isImplementation": false, 833 "modifiers": [ 834 "public" 835 ], 836 "params": [ 837 "readPhoneStatePermission" 838 ], 839 "returnType": "void", 840 "exceptions": [], 841 "name": "setReadPhoneStatePermission(boolean)" 842 }, 843 "setServiceState(android.telephony.ServiceState)": { 844 "isImplementation": false, 845 "modifiers": [ 846 "public" 847 ], 848 "params": [ 849 "serviceState" 850 ], 851 "returnType": "void", 852 "exceptions": [], 853 "name": "setServiceState(android.telephony.ServiceState)", 854 "documentation": "Sets the value returned by {@link TelephonyManager#getServiceState()}. " 855 }, 856 "setSimCarrierId(int)": { 857 "isImplementation": false, 858 "modifiers": [ 859 "public" 860 ], 861 "params": [ 862 "simCarrierId" 863 ], 864 "returnType": "void", 865 "exceptions": [], 866 "name": "setSimCarrierId(int)", 867 "documentation": "Sets the value to be returned by {@link #getSimCarrierId()}. " 868 }, 869 "setSimCountryIso(int,java.lang.String)": { 870 "isImplementation": false, 871 "modifiers": [ 872 "public" 873 ], 874 "params": [ 875 "subId", 876 "simCountryIso" 877 ], 878 "returnType": "void", 879 "exceptions": [], 880 "name": "setSimCountryIso(int,java.lang.String)", 881 "documentation": "Sets the {@code simCountryIso} for the given {@code subId}. " 882 }, 883 "setSimCountryIso(java.lang.String)": { 884 "isImplementation": false, 885 "modifiers": [ 886 "public" 887 ], 888 "params": [ 889 "simCountryIso" 890 ], 891 "returnType": "void", 892 "exceptions": [], 893 "name": "setSimCountryIso(java.lang.String)" 894 }, 895 "setSimOperator(java.lang.String)": { 896 "isImplementation": false, 897 "modifiers": [ 898 "public" 899 ], 900 "params": [ 901 "simOperator" 902 ], 903 "returnType": "void", 904 "exceptions": [], 905 "name": "setSimOperator(java.lang.String)" 906 }, 907 "setSimOperatorName(java.lang.String)": { 908 "isImplementation": false, 909 "modifiers": [ 910 "public" 911 ], 912 "params": [ 913 "simOperatorName" 914 ], 915 "returnType": "void", 916 "exceptions": [], 917 "name": "setSimOperatorName(java.lang.String)" 918 }, 919 "setSimSerialNumber(java.lang.String)": { 920 "isImplementation": false, 921 "modifiers": [ 922 "public" 923 ], 924 "params": [ 925 "simSerialNumber" 926 ], 927 "returnType": "void", 928 "exceptions": [], 929 "name": "setSimSerialNumber(java.lang.String)", 930 "documentation": "sets the serial number that will be returned by {@link #getSimSerialNumber}. " 931 }, 932 "setSimState(int)": { 933 "isImplementation": false, 934 "modifiers": [ 935 "public" 936 ], 937 "params": [ 938 "simState" 939 ], 940 "returnType": "void", 941 "exceptions": [], 942 "name": "setSimState(int)", 943 "documentation": "Sets the sim state of slot 0. " 944 }, 945 "setSimState(int,int)": { 946 "isImplementation": false, 947 "modifiers": [ 948 "public" 949 ], 950 "params": [ 951 "slotIndex", 952 "state" 953 ], 954 "returnType": "void", 955 "exceptions": [], 956 "name": "setSimState(int,int)", 957 "documentation": "Set the sim state for the given {@code slotIndex}. " 958 }, 959 "setSubscriberId(java.lang.String)": { 960 "isImplementation": false, 961 "modifiers": [ 962 "public" 963 ], 964 "params": [ 965 "subscriberId" 966 ], 967 "returnType": "void", 968 "exceptions": [], 969 "name": "setSubscriberId(java.lang.String)", 970 "documentation": "Sets the value to be returned by {@link #getSubscriberId()}. " 971 }, 972 "setTelephonyManagerForHandle(android.telecom.PhoneAccountHandle,android.telephony.TelephonyManager)": { 973 "isImplementation": false, 974 "modifiers": [ 975 "public" 976 ], 977 "params": [ 978 "handle", 979 "telephonyManager" 980 ], 981 "returnType": "void", 982 "exceptions": [], 983 "name": "setTelephonyManagerForHandle(android.telecom.PhoneAccountHandle,android.telephony.TelephonyManager)", 984 "documentation": "Sets the value returned by {@link\nTelephonyManager#createForPhoneAccountHandle(PhoneAccountHandle)}.\n" 985 }, 986 "setTelephonyManagerForSubscriptionId(int,android.telephony.TelephonyManager)": { 987 "isImplementation": false, 988 "modifiers": [ 989 "public" 990 ], 991 "params": [ 992 "subscriptionId", 993 "telephonyManager" 994 ], 995 "returnType": "void", 996 "exceptions": [], 997 "name": "setTelephonyManagerForSubscriptionId(int,android.telephony.TelephonyManager)", 998 "documentation": "Sets the value returned by {@link TelephonyManager#createForSubscriptionId(int)}. " 999 }, 1000 "setVoiceMailAlphaTag(java.lang.String)": { 1001 "isImplementation": false, 1002 "modifiers": [ 1003 "public" 1004 ], 1005 "params": [ 1006 "voiceMailAlphaTag" 1007 ], 1008 "returnType": "void", 1009 "exceptions": [], 1010 "name": "setVoiceMailAlphaTag(java.lang.String)", 1011 "documentation": "Sets the value returned by {@link TelephonyManager#getVoiceMailAlphaTag()}. " 1012 }, 1013 "setVoiceMailNumber(java.lang.String)": { 1014 "isImplementation": false, 1015 "modifiers": [ 1016 "public" 1017 ], 1018 "params": [ 1019 "voiceMailNumber" 1020 ], 1021 "returnType": "void", 1022 "exceptions": [], 1023 "name": "setVoiceMailNumber(java.lang.String)", 1024 "documentation": "Sets the value returned by {@link TelephonyManager#getVoiceMailNumber()}. " 1025 }, 1026 "setVoiceNetworkType(int)": { 1027 "isImplementation": false, 1028 "modifiers": [ 1029 "public" 1030 ], 1031 "params": [ 1032 "voiceNetworkType" 1033 ], 1034 "returnType": "void", 1035 "exceptions": [], 1036 "name": "setVoiceNetworkType(int)", 1037 "documentation": "Sets the value to be returned by calls to {@link getVoiceNetworkType}. This \u003cb\u003eshould\u003c/b\u003e\ncorrespond to one of the {@code NETWORK_TYPE_*} constants defined on {@link TelephonyManager},\nbut this is not enforced.\n" 1038 }, 1039 "setVoicemailRingtoneUri(android.telecom.PhoneAccountHandle,android.net.Uri)": { 1040 "isImplementation": true, 1041 "modifiers": [ 1042 "protected" 1043 ], 1044 "params": [ 1045 "handle", 1046 "uri" 1047 ], 1048 "returnType": "void", 1049 "exceptions": [], 1050 "minSdk": 26, 1051 "name": "setVoicemailRingtoneUri(android.telecom.PhoneAccountHandle,android.net.Uri)", 1052 "documentation": "Sets the value returned by {@link\nTelephonyManager#getVoicemailRingtoneUri(PhoneAccountHandle)}.\n" 1053 }, 1054 "setVoicemailVibrationEnabled(android.telecom.PhoneAccountHandle,boolean)": { 1055 "isImplementation": true, 1056 "modifiers": [ 1057 "protected" 1058 ], 1059 "params": [ 1060 "handle", 1061 "isEnabled" 1062 ], 1063 "returnType": "void", 1064 "exceptions": [], 1065 "minSdk": 26, 1066 "name": "setVoicemailVibrationEnabled(android.telecom.PhoneAccountHandle,boolean)", 1067 "documentation": "Sets the value returned by {@link\nTelephonyManager#isVoicemailVibrationEnabled(PhoneAccountHandle)}.\n" 1068 } 1069 }, 1070 "imports": [ 1071 "android.os.Build.VERSION_CODES.JELLY_BEAN_MR1", 1072 "android.os.Build.VERSION_CODES.JELLY_BEAN_MR2", 1073 "android.os.Build.VERSION_CODES.LOLLIPOP", 1074 "android.os.Build.VERSION_CODES.M", 1075 "android.os.Build.VERSION_CODES.N", 1076 "android.os.Build.VERSION_CODES.O", 1077 "android.os.Build.VERSION_CODES.P", 1078 "android.telephony.PhoneStateListener.LISTEN_CALL_STATE", 1079 "android.telephony.PhoneStateListener.LISTEN_CELL_INFO", 1080 "android.telephony.PhoneStateListener.LISTEN_CELL_LOCATION", 1081 "android.telephony.PhoneStateListener.LISTEN_NONE", 1082 "android.telephony.TelephonyManager.CALL_STATE_IDLE", 1083 "android.telephony.TelephonyManager.CALL_STATE_RINGING", 1084 "android.content.Intent", 1085 "android.net.Uri", 1086 "android.os.Build", 1087 "android.os.Build.VERSION", 1088 "android.os.PersistableBundle", 1089 "android.telecom.PhoneAccountHandle", 1090 "android.telephony.CellInfo", 1091 "android.telephony.CellLocation", 1092 "android.telephony.PhoneStateListener", 1093 "android.telephony.ServiceState", 1094 "android.telephony.SubscriptionManager", 1095 "android.telephony.TelephonyManager", 1096 "android.util.SparseArray", 1097 "android.util.SparseIntArray", 1098 "com.google.common.base.Predicate", 1099 "com.google.common.collect.Iterables", 1100 "java.util.Collections", 1101 "java.util.HashMap", 1102 "java.util.List", 1103 "java.util.Map", 1104 "org.robolectric.annotation.HiddenApi", 1105 "org.robolectric.annotation.Implementation", 1106 "org.robolectric.annotation.Implements" 1107 ], 1108 "name": "org.robolectric.shadows.ShadowTelephonyManager" 1109}