1/* 2 * Copyright (c) 2022 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16/** 17 * @addtogroup Ril 18 * @{ 19 * 20 * @brief Defines Ril-related APIs. 21 * 22 * The radio interface layer (RIL) module provides APIs and callbacks for upper-layer telephony services, 23 * including call, SMS, MMS, network search, and SIM card services. 24 * 25 * @since 3.2 26 * @version 1.0 27 */ 28 29/** 30 * @file IRilCallback.idl 31 * 32 * @brief Declares callback APIs of the RIL module. 33 * 34 * @since 3.2 35 * @version 1.0 36 */ 37 38/** 39 * @brief Defines the path for the package of the RIL module APIs. 40 * 41 * @since 3.2 42 * @version 1.0 43 */ 44package ohos.hdi.ril.v1_0; 45 46import ohos.hdi.ril.v1_0.Types; 47 48/** 49 * @brief Declares callback APIs of the RIL module. 50 * 51 * These APIs provide the callback functions for making calls, sending SMS and MMS messages, 52 * activating SIM cards, and accessing the Internet. The caller needs to implement these callbacks. 53 * 54 * @since 3.2 55 * @version 1.0 56 */ 57[callback] interface IRilCallback { 58 /** 59 * @brief Callback used to report the emergency call number. 60 * 61 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 62 * For details, see {@link RilRadioResponseInfo}. 63 * @param emergencyInfoList Emergency call number list. For details, see {@link EmergencyInfoList}. 64 * 65 * @since 3.2 66 * @version 1.1 67 */ 68 [oneway] CallEmergencyNotice([in] struct RilRadioResponseInfo responseInfo, 69 [in] struct EmergencyInfoList emergencyInfoList); 70 71 /** 72 * @brief Callback for reporting call status updates. 73 * 74 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 75 * For details, see {@link RilRadioResponseInfo}. 76 * 77 * @since 3.2 78 * @version 1.1 79 */ 80 [oneway] CallStateUpdated([in] struct RilRadioResponseInfo responseInfo); 81 82 /** 83 * @brief Callback for reporting the call ringback tone. 84 * 85 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 86 * For details, see {@link RilRadioResponseInfo}. 87 * @param ringbackVoice Ringback tone information. For details, see {@link RingbackVoice}. 88 * 89 * @since 3.2 90 * @version 1.1 91 */ 92 [oneway] CallRingbackVoiceNotice([in] struct RilRadioResponseInfo responseInfo, 93 [in] struct RingbackVoice ringbackVoice); 94 95 /** 96 * @brief Callback for reporting the Single Radio Voice Call Continuity (SRVCC) status. 97 * 98 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 99 * For details, see {@link RilRadioResponseInfo}. 100 * @param srvccStatus SRVCC status. For details, see {@link SrvccStatus}. 101 * 102 * @since 3.2 103 * @version 1.1 104 */ 105 [oneway] CallSrvccStatusNotice([in] struct RilRadioResponseInfo responseInfo, 106 [in] struct SrvccStatus srvccStatus); 107 108 /** 109 * @brief Callback for reporting USSD service information. 110 * 111 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 112 * For details, see {@link RilRadioResponseInfo}. 113 * @param ussdNoticeInfo USSD service information. For details, see {@link UssdNoticeInfo}. 114 * 115 * @since 3.2 116 * @version 1.1 117 */ 118 [oneway] CallUssdNotice([in] struct RilRadioResponseInfo responseInfo, 119 [in] struct UssdNoticeInfo ussdNoticeInfo); 120 121 /** 122 * @brief Callback for reporting supplementary service information. 123 * 124 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 125 * For details, see {@link RilRadioResponseInfo}. 126 * @param ssNoticeInfo Supplementary service information. For details, see {@link SsNoticeInfo}. 127 * 128 * @since 3.2 129 * @version 1.1 130 */ 131 [oneway] CallSsNotice([in] struct RilRadioResponseInfo responseInfo, 132 [in] struct SsNoticeInfo ssNoticeInfo); 133 134 /** 135 * @brief Callback for reporting the Reverse Single Radio Voice Call Continuity (RSRVCC) status. 136 * 137 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 138 * For details, see {@link RilRadioResponseInfo}. 139 * 140 * @since 3.2 141 * @version 1.1 142 */ 143 [oneway] CallRsrvccStatusNotify([in] struct RilRadioResponseInfo responseInfo); 144 145 /** 146 * @brief Callback for the response of setting the emergency call number list. 147 * 148 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 149 * For details, see {@link RilRadioResponseInfo}. 150 * 151 * @since 3.2 152 * @version 1.1 153 */ 154 [oneway] SetEmergencyCallListResponse([in] struct RilRadioResponseInfo responseInfo); 155 156 /** 157 * @brief Callback for the response of querying the emergency call number list. 158 * 159 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 160 * For details, see {@link RilRadioResponseInfo}. 161 * @param emergencyInfoList Emergency call number list. For details, see {@link EmergencyInfoList}. 162 * 163 * @since 3.2 164 * @version 1.1 165 */ 166 [oneway] GetEmergencyCallListResponse([in] struct RilRadioResponseInfo responseInfo, 167 [in] struct EmergencyInfoList emergencyInfoList); 168 169 /** 170 * @brief Callback for the response of querying the call status information list. 171 * 172 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 173 * For details, see {@link RilRadioResponseInfo}. 174 * @param callList Call status information list. For details, see {@link CallInfoList}. 175 * 176 * @since 3.2 177 * @version 1.1 178 */ 179 [oneway] GetCallListResponse([in] struct RilRadioResponseInfo responseInfo, 180 [in] struct CallInfoList callList); 181 182 /** 183 * @brief Callback for the response of making a call. 184 * 185 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 186 * For details, see {@link RilRadioResponseInfo}. 187 * 188 * @since 3.2 189 * @version 1.1 190 */ 191 [oneway] DialResponse([in] struct RilRadioResponseInfo responseInfo); 192 193 /** 194 * @brief Callback for ending a call. 195 * 196 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 197 * For details, see {@link RilRadioResponseInfo}. 198 * 199 * @since 3.2 200 * @version 1.1 201 */ 202 [oneway] HangupResponse([in] struct RilRadioResponseInfo responseInfo); 203 204 /** 205 * @brief Callback for rejecting a call. 206 * 207 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 208 * For details, see {@link RilRadioResponseInfo}. 209 * 210 * @since 3.2 211 * @version 1.1 212 */ 213 [oneway] RejectResponse([in] struct RilRadioResponseInfo responseInfo); 214 215 /** 216 * @brief Callback for answering a call. 217 * 218 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 219 * For details, see {@link RilRadioResponseInfo}. 220 * 221 * @since 3.2 222 * @version 1.1 223 */ 224 [oneway] AnswerResponse([in] struct RilRadioResponseInfo responseInfo); 225 226 /** 227 * @brief Callback for holding a call. 228 * 229 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 230 * For details, see {@link RilRadioResponseInfo}. 231 * 232 * @since 3.2 233 * @version 1.1 234 */ 235 [oneway] HoldCallResponse([in] struct RilRadioResponseInfo responseInfo); 236 237 /** 238 * @brief Callback for unholding a call. 239 * 240 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 241 * For details, see {@link RilRadioResponseInfo}. 242 * 243 * @since 3.2 244 * @version 1.1 245 */ 246 [oneway] UnHoldCallResponse([in] struct RilRadioResponseInfo responseInfo); 247 248 /** 249 * @brief Callback for switching a call. 250 * 251 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 252 * For details, see {@link RilRadioResponseInfo}. 253 * 254 * @since 3.2 255 * @version 1.1 256 */ 257 [oneway] SwitchCallResponse([in] struct RilRadioResponseInfo responseInfo); 258 259 /** 260 * @brief Callback for querying the CLIP service. 261 * 262 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 263 * For details, see {@link RilRadioResponseInfo}. 264 * @param getClipResult CLIP result. For details, see {@link GetClipResult}. 265 * 266 * @since 3.2 267 * @version 1.1 268 */ 269 [oneway] GetClipResponse([in] struct RilRadioResponseInfo responseInfo, 270 [in] struct GetClipResult getClipResult); 271 272 /** 273 * @brief Callback for setting the CLIP service. 274 * 275 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 276 * For details, see {@link RilRadioResponseInfo}. 277 * 278 * @since 3.2 279 * @version 1.1 280 */ 281 [oneway] SetClipResponse([in] struct RilRadioResponseInfo responseInfo); 282 283 /** 284 * @brief Callback for combining calls into a conference call. 285 * 286 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 287 * For details, see {@link RilRadioResponseInfo}. 288 * 289 * @since 3.2 290 * @version 1.1 291 */ 292 [oneway] CombineConferenceResponse([in] struct RilRadioResponseInfo responseInfo); 293 294 /** 295 * @brief Callback for separating calls from a conference call. 296 * 297 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 298 * For details, see {@link RilRadioResponseInfo}. 299 * 300 * @since 3.2 301 * @version 1.1 302 */ 303 [oneway] SeparateConferenceResponse([in] struct RilRadioResponseInfo responseInfo); 304 305 /** 306 * @brief Callback for ending the call is in the foreground and resuming the call in the background. 307 * 308 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 309 * For details, see {@link RilRadioResponseInfo}. 310 * 311 * @since 3.2 312 * @version 1.1 313 */ 314 [oneway] CallSupplementResponse([in] struct RilRadioResponseInfo responseInfo); 315 316 /** 317 * @brief Callback for querying the call waiting information. 318 * 319 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 320 * For details, see {@link RilRadioResponseInfo}. 321 * @param callWaitResult Call waiting result. For details, see {@link CallWaitResult}. 322 * 323 * @since 3.2 324 * @version 1.1 325 */ 326 [oneway] GetCallWaitingResponse([in] struct RilRadioResponseInfo responseInfo, 327 [in] struct CallWaitResult callWaitResult); 328 329 /** 330 * @brief Callback for setting the call waiting information. 331 * 332 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 333 * For details, see {@link RilRadioResponseInfo}. 334 * 335 * @since 3.2 336 * @version 1.1 337 */ 338 [oneway] SetCallWaitingResponse([in] struct RilRadioResponseInfo responseInfo); 339 340 /** 341 * @brief Callback for querying call forwarding information. 342 * 343 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 344 * For details, see {@link RilRadioResponseInfo}. 345 * @param cFQueryList Call forwarding query information list. 346 * For details, see {@link CallForwardQueryInfoList}. 347 * 348 * @since 3.2 349 * @version 1.1 350 */ 351 [oneway] GetCallTransferInfoResponse([in] struct RilRadioResponseInfo responseInfo, 352 [in] struct CallForwardQueryInfoList cFQueryList); 353 354 /** 355 * @brief Callback for the response of setting call forwarding information. 356 * 357 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 358 * For details, see {@link RilRadioResponseInfo}. 359 * 360 * @since 3.2 361 * @version 1.1 362 */ 363 [oneway] SetCallTransferInfoResponse([in] struct RilRadioResponseInfo responseInfo); 364 365 /** 366 * @brief Callback for the response of querying call restriction information. 367 * 368 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 369 * For details, see {@link RilRadioResponseInfo}. 370 * @param result Call restriction result. For details, see {@link CallRestrictionResult}. 371 * 372 * @since 3.2 373 * @version 1.1 374 */ 375 [oneway] GetCallRestrictionResponse([in] struct RilRadioResponseInfo responseInfo, 376 [in] struct CallRestrictionResult result); 377 378 /** 379 * @brief Callback for the response of setting call restriction information. 380 * 381 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 382 * For details, see {@link RilRadioResponseInfo}. 383 * 384 * @since 3.2 385 * @version 1.1 386 */ 387 [oneway] SetCallRestrictionResponse([in] struct RilRadioResponseInfo responseInfo); 388 389 /** 390 * @brief Callback for the response of querying CLIR service information. 391 * 392 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 393 * For details, see {@link RilRadioResponseInfo}. 394 * @param getClirResult CLIR result. For details, see {@link GetClirResult}. 395 * 396 * @since 3.2 397 * @version 1.1 398 */ 399 [oneway] GetClirResponse([in] struct RilRadioResponseInfo responseInfo, 400 [in] struct GetClirResult getClirResult); 401 402 /** 403 * @brief Callback for the response of setting CLIR service information. 404 * 405 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 406 * For details, see {@link RilRadioResponseInfo}. 407 * 408 * @since 3.2 409 * @version 1.1 410 */ 411 [oneway] SetClirResponse([in] struct RilRadioResponseInfo responseInfo); 412 413 /** 414 * @brief Callback for the response of enabling DTMF. 415 * 416 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 417 * For details, see {@link RilRadioResponseInfo}. 418 * 419 * @since 3.2 420 * @version 1.1 421 */ 422 [oneway] StartDtmfResponse([in] struct RilRadioResponseInfo responseInfo); 423 424 /** 425 * @brief Callback for the response of sending DTMF. 426 * 427 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 428 * For details, see {@link RilRadioResponseInfo}. 429 * 430 * @since 3.2 431 * @version 1.1 432 */ 433 [oneway] SendDtmfResponse([in] struct RilRadioResponseInfo responseInfo); 434 435 /** 436 * @brief Callback for the response of stopping DTMF sending. 437 * 438 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 439 * For details, see {@link RilRadioResponseInfo}. 440 * 441 * @since 3.2 442 * @version 1.1 443 */ 444 [oneway] StopDtmfResponse([in] struct RilRadioResponseInfo responseInfo); 445 446 /** 447 * @brief Callback for the response of querying the call preference mode. 448 * 449 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 450 * For details, see {@link RilRadioResponseInfo}. 451 * @param mode CallPreference mode. 452 * 453 * @since 3.2 454 * @version 1.1 455 */ 456 [oneway] GetCallPreferenceModeResponse([in] struct RilRadioResponseInfo responseInfo, [in] int mode); 457 458 /** 459 * @brief Callback for the response of setting the call preference mode. 460 * 461 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 462 * For details, see {@link RilRadioResponseInfo}. 463 * 464 * @since 3.2 465 * @version 1.1 466 */ 467 [oneway] SetCallPreferenceModeResponse([in] struct RilRadioResponseInfo responseInfo); 468 469 /** 470 * @brief Callback for the response of setting the USSD service. 471 * 472 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 473 * For details, see {@link RilRadioResponseInfo}. 474 * 475 * @since 3.2 476 * @version 1.1 477 */ 478 [oneway] SetUssdResponse([in] struct RilRadioResponseInfo responseInfo); 479 480 /** 481 * @brief Callback for the response of querying the USSD service. 482 * 483 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 484 * For details, see {@link RilRadioResponseInfo}. 485 * @param cusd USSD service information. 486 * 487 * @since 3.2 488 * @version 1.1 489 */ 490 [oneway] GetUssdResponse([in] struct RilRadioResponseInfo responseInfo, [in] int cusd); 491 492 /** 493 * @brief Callback for the response of setting the mute mode. 494 * 495 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 496 * For details, see {@link RilRadioResponseInfo}. 497 * 498 * @since 3.2 499 * @version 1.1 500 */ 501 [oneway] SetMuteResponse([in] struct RilRadioResponseInfo responseInfo); 502 503 /** 504 * @brief Callback for the response of querying the mute status. 505 * 506 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 507 * For details, see {@link RilRadioResponseInfo}. 508 * @param mute Mute status. The value <b>0</b> indicates the unmuted state, and the value <b>1</b> 509 * indicates the muted state. 510 * 511 * @since 3.2 512 * @version 1.1 513 */ 514 [oneway] GetMuteResponse([in] struct RilRadioResponseInfo responseInfo, [in] int mute); 515 516 /** 517 * @brief Callback for the response of querying the call failure cause. 518 * 519 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 520 * For details, see {@link RilRadioResponseInfo}. 521 * @param callFail Call failure cause. 522 * 523 * @since 3.2 524 * @version 1.1 525 */ 526 [oneway] GetCallFailReasonResponse([in] struct RilRadioResponseInfo responseInfo, [in] int callFail); 527 528 /** 529 * @brief Callback for the response of setting the call restriction password. 530 * 531 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 532 * For details, see {@link RilRadioResponseInfo}. 533 * 534 * @since 3.2 535 * @version 1.1 536 */ 537 [oneway] SetBarringPasswordResponse([in] struct RilRadioResponseInfo responseInfo); 538 539 /** 540 * @brief Callback for reporting status updates such as data service connection or disconnection. 541 * 542 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 543 * For details, see {@link RilRadioResponseInfo}. 544 * @param dataCallResultList List of data service activation results. For details, see {@link DataCallResultList}. 545 * 546 * @since 3.2 547 * @version 1.1 548 */ 549 [oneway] PdpContextListUpdated([in] struct RilRadioResponseInfo responseInfo, [in] struct DataCallResultList dataCallResultList); 550 551 /** 552 * @brief Callback for the response of activating the data service. 553 * 554 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 555 * For details, see {@link RilRadioResponseInfo}. 556 * @param setupDataCallResultInfo Data service activation result. For details, see {@link SetupDataCallResultInfo}. 557 * 558 * @since 3.2 559 * @version 1.1 560 */ 561 [oneway] ActivatePdpContextResponse([in] struct RilRadioResponseInfo responseInfo, 562 [in] struct SetupDataCallResultInfo setupDataCallResultInfo); 563 564 /** 565 * @brief Callback for the response of disconnecting the data service. 566 * 567 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 568 * For details, see {@link RilRadioResponseInfo}. 569 * 570 * @since 3.2 571 * @version 1.1 572 */ 573 [oneway] DeactivatePdpContextResponse([in] struct RilRadioResponseInfo responseInfo); 574 575 /** 576 * @brief Callback for the response of querying the PDP context list. 577 * 578 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 579 * For details, see {@link RilRadioResponseInfo}. 580 * @param dataCallResultList List of data service activation results. For details, see {@link DataCallResultList}. 581 * 582 * @since 3.2 583 * @version 1.1 584 */ 585 [oneway] GetPdpContextListResponse([in] struct RilRadioResponseInfo responseInfo, 586 [in] struct DataCallResultList dataCallResultList); 587 588 /** 589 * @brief Callback for the response of setting the initial default access point name (APN). 590 * 591 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 592 * For details, see {@link RilRadioResponseInfo}. 593 * 594 * @since 3.2 595 * @version 1.1 596 */ 597 [oneway] SetInitApnInfoResponse([in] struct RilRadioResponseInfo responseInfo); 598 599 /** 600 * @brief Callback for the response of querying the current data link bandwidth information. 601 * 602 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 603 * For details, see {@link RilRadioResponseInfo}. 604 * @param dataLinkBandwidthInfo Data link bandwidth information. For details, see {@link DataLinkBandwidthInfo}. 605 * 606 * @since 3.2 607 * @version 1.1 608 */ 609 [oneway] GetLinkBandwidthInfoResponse([in] struct RilRadioResponseInfo responseInfo, 610 [in] struct DataLinkBandwidthInfo dataLinkBandwidthInfo); 611 612 /** 613 * @brief Callback for the response of setting the rule for reporting the data link bandwidth information. 614 * 615 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 616 * For details, see {@link RilRadioResponseInfo}. 617 * 618 * @since 3.2 619 * @version 1.1 620 */ 621 [oneway] SetLinkBandwidthReportingRuleResponse([in] struct RilRadioResponseInfo responseInfo); 622 623 /** 624 * @brief Callback for the response of enabling the data service for a SIM card slot. 625 * 626 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 627 * For details, see {@link RilRadioResponseInfo}. 628 * 629 * @since 3.2 630 * @version 1.1 631 */ 632 [oneway] SetDataPermittedResponse([in] struct RilRadioResponseInfo responseInfo); 633 634 /** 635 * @brief Callback for reporting the radio status. 636 * 637 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 638 * For details, see {@link RilRadioResponseInfo}. 639 * @param state Radio status. The value <b>0</b> indicates OFF, and the value <b>1</b> indicates ON. 640 * 641 * @since 3.2 642 * @version 1.1 643 */ 644 [oneway] RadioStateUpdated([in] struct RilRadioResponseInfo responseInfo, [in] int state); 645 646 /** 647 * @brief Callback for reporting the change of the radio access technology. 648 * 649 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 650 * For details, see {@link RilRadioResponseInfo}. 651 * @param voiceRadioTechnology New radio access technology of the CS domain. 652 * For details, see {@link VoiceRadioTechnology}. 653 * 654 * @since 3.2 655 * @version 1.1 656 */ 657 [oneway] VoiceRadioTechUpdated([in] struct RilRadioResponseInfo responseInfo, 658 [in] struct VoiceRadioTechnology voiceRadioTechnology); 659 660 /** 661 * @brief Callback for the response indicating that the mobile phone is powering off. 662 * 663 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 664 * For details, see {@link RilRadioResponseInfo}. 665 * 666 * @since 3.2 667 * @version 1.1 668 */ 669 [oneway] ShutDownResponse([in] struct RilRadioResponseInfo responseInfo); 670 671 /** 672 * @brief Callback for the response of setting the modem status. 673 * 674 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 675 * For details, see {@link RilRadioResponseInfo}. 676 * 677 * @since 3.2 678 * @version 1.1 679 */ 680 [oneway] SetRadioStateResponse([in] struct RilRadioResponseInfo responseInfo); 681 682 /** 683 * @brief Callback for the response of querying the modem status. 684 * 685 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 686 * For details, see {@link RilRadioResponseInfo}. 687 * 688 * @since 3.2 689 * @version 1.1 690 */ 691 [oneway] GetRadioStateResponse([in] struct RilRadioResponseInfo responseInfo,[in] int state); 692 693 /** 694 * @brief Callback for the response of querying the international mobile equipment identity (IMEI). 695 * 696 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 697 * For details, see {@link RilRadioResponseInfo}. 698 * @param imei IMEI of the device. 699 * 700 * @since 3.2 701 * @version 1.1 702 */ 703 [oneway] GetImeiResponse([in] struct RilRadioResponseInfo responseInfo, [in] String imei); 704 705 /** 706 * @brief Callback for the response of querying the mobile equipment identifier (MEID). 707 * 708 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 709 * For details, see {@link RilRadioResponseInfo}. 710 * @param meid MEID of the device. 711 * 712 * @since 3.2 713 * @version 1.1 714 */ 715 [oneway] GetMeidResponse([in] struct RilRadioResponseInfo responseInfo, [in] String meid); 716 717 /** 718 * @brief Callback for the response of querying the radio access technology of the CS domain. 719 * 720 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 721 * For details, see {@link RilRadioResponseInfo}. 722 * @param VoiceRadioTechnology Voice radio access technology. For details, see {@link VoiceRadioTechnology}. 723 * 724 * @since 3.2 725 * @version 1.1 726 */ 727 [oneway] GetVoiceRadioTechnologyResponse([in] struct RilRadioResponseInfo responseInfo, 728 [in] struct VoiceRadioTechnology voiceRadioTechnology); 729 730 /** 731 * @brief Callback for the response of querying the baseband version. 732 * 733 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 734 * For details, see {@link RilRadioResponseInfo}. 735 * @param basebandVersion Baseband version. 736 * 737 * @since 3.2 738 * @version 1.1 739 */ 740 [oneway] GetBasebandVersionResponse([in] struct RilRadioResponseInfo responseInfo, [in] String basebandVersion); 741 742 /** 743 * @brief Callback for reporting SIM card status updates. 744 * 745 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 746 * For details, see {@link RilRadioResponseInfo}. 747 * 748 * @since 3.2 749 * @version 1.1 750 */ 751 [oneway] SimStateUpdated([in] struct RilRadioResponseInfo responseInfo); 752 753 /** 754 * @brief Callback for reporting the STK <b>SessionEnd</b> instruction. 755 * 756 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 757 * For details, see {@link RilRadioResponseInfo}. 758 * 759 * @since 3.2 760 * @version 1.1 761 */ 762 [oneway] SimStkSessionEndNotify([in] struct RilRadioResponseInfo responseInfo); 763 764 /** 765 * @brief Callback for reporting STK <b>Proactive</b> instructions. 766 * 767 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 768 * For details, see {@link RilRadioResponseInfo}. 769 * 770 * @since 3.2 771 * @version 1.1 772 */ 773 [oneway] SimStkProactiveNotify([in] struct RilRadioResponseInfo responseInfo, [in] String response); 774 775 /** 776 * @brief Callback for reporting STK <b>Alpha</b> instructions. 777 * 778 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 779 * For details, see {@link RilRadioResponseInfo}. 780 * 781 * @since 3.2 782 * @version 1.1 783 */ 784 [oneway] SimStkAlphaNotify([in] struct RilRadioResponseInfo responseInfo, [in] String response); 785 786 /** 787 * @brief Callback for reporting STK events. 788 * 789 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 790 * For details, see {@link RilRadioResponseInfo}. 791 * 792 * @since 3.2 793 * @version 1.1 794 */ 795 [oneway] SimStkEventNotify([in] struct RilRadioResponseInfo responseInfo, [in] String response); 796 797 /** 798 * @brief Callback for reporting STK <b>CallSetup</b> instructions. 799 * 800 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 801 * For details, see {@link RilRadioResponseInfo}. 802 * 803 * @since 3.2 804 * @version 1.1 805 */ 806 [oneway] SimStkCallSetupNotify([in] struct RilRadioResponseInfo responseInfo); 807 808 /** 809 * @brief Callback for reporting the SIM card status. 810 * 811 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 812 * For details, see {@link RilRadioResponseInfo}. 813 * 814 * @since 3.2 815 * @version 1.1 816 */ 817 [oneway] SimRefreshNotify([in] struct RilRadioResponseInfo responseInfo); 818 819 /** 820 * @brief Callback for reporting STK Radio protocol updates. 821 * 822 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 823 * For details, see {@link RilRadioResponseInfo}. 824 * 825 * @since 3.2 826 * @version 1.1 827 */ 828 [oneway] SimRadioProtocolUpdated([in] struct RilRadioResponseInfo responseInfo, [in] struct RadioProtocol radioProtocol); 829 830 /** 831 * @brief Callback for the response of querying SIM card data. 832 * 833 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 834 * For details, see {@link RilRadioResponseInfo}. 835 * @param result I/O response result of the SIM card. For details, see {@link IccIoResultInfo}. 836 * 837 * @since 3.2 838 * @version 1.1 839 */ 840 [oneway] GetSimIOResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct IccIoResultInfo result); 841 842 /** 843 * @brief Callback for the response of obtaining the SIM card status. 844 * 845 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 846 * For details, see {@link RilRadioResponseInfo}. 847 * @param CardStatusInfo SIM card status. For details, see {@link CardStatusInfo}. 848 * 849 * @since 3.2 850 * @version 1.1 851 */ 852 [oneway] GetSimStatusResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct CardStatusInfo result); 853 854 /** 855 * @brief Callback for the response of obtaining the IMSI of a SIM card. 856 * 857 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 858 * For details, see {@link RilRadioResponseInfo}. 859 * @param response IMSI of the SIM card. 860 * 861 * @since 3.2 862 * @version 1.1 863 */ 864 [oneway] GetImsiResponse([in] struct RilRadioResponseInfo responseInfo, [in] String response); 865 866 /** 867 * @brief Callback for the response of obtaining the SIM card lock status. 868 * 869 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 870 * For details, see {@link RilRadioResponseInfo}. 871 * @param simLockStatus SIM card lock status. For details, see {@link simLockStatus}. 872 * 873 * @since 3.2 874 * @version 1.1 875 */ 876 [oneway] GetSimLockStatusResponse([in] struct RilRadioResponseInfo responseInfo, [in] int simLockStatus); 877 878 /** 879 * @brief Callback for the response of setting the SIM card lock status. 880 * 881 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 882 * For details, see {@link RilRadioResponseInfo}. 883 * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}. 884 * 885 * @since 3.2 886 * @version 1.1 887 */ 888 [oneway] SetSimLockResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus); 889 890 /** 891 * @brief Callback for the response of changing the SIM card password. 892 * 893 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 894 * For details, see {@link RilRadioResponseInfo}. 895 * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}. 896 * 897 * @since 3.2 898 * @version 1.1 899 */ 900 [oneway] ChangeSimPasswordResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus); 901 902 /** 903 * @brief Callback for the response of unlocking with the PIN. 904 * 905 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 906 * For details, see {@link RilRadioResponseInfo}. 907 * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}. 908 * 909 * @since 3.2 910 * @version 1.1 911 */ 912 [oneway] UnlockPinResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus); 913 914 /** 915 * @brief Callback for the response of unlocking with the PUK. 916 * 917 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 918 * For details, see {@link RilRadioResponseInfo}. 919 * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}. 920 * 921 * @since 3.2 922 * @version 1.1 923 */ 924 [oneway] UnlockPukResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus); 925 926 /** 927 * @brief Callback for the response of unlocking with PIN2. 928 * 929 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 930 * For details, see {@link RilRadioResponseInfo}. 931 * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}. 932 * 933 * @since 3.2 934 * @version 1.1 935 */ 936 [oneway] UnlockPin2Response([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus); 937 938 /** 939 * @brief Callback for the response of unlocking with PUK2. 940 * 941 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 942 * For details, see {@link RilRadioResponseInfo}. 943 * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}. 944 * 945 * @since 3.2 946 * @version 1.1 947 */ 948 [oneway] UnlockPuk2Response([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus); 949 950 /** 951 * @brief Callback for the response of activating or deactivating the SIM card. 952 * 953 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 954 * For details, see {@link RilRadioResponseInfo}. 955 * 956 * @since 3.2 957 * @version 1.1 958 */ 959 [oneway] SetActiveSimResponse([in] struct RilRadioResponseInfo responseInfo); 960 961 /** 962 * @brief Callback for the response of sending the STK <b>TerminalResponse</b> instruction. 963 * 964 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 965 * For details, see {@link RilRadioResponseInfo}. 966 * 967 * @since 3.2 968 * @version 1.1 969 */ 970 [oneway] SimStkSendTerminalResponseResponse([in] struct RilRadioResponseInfo responseInfo); 971 972 /** 973 * @brief Callback for the response of sending the STK <b>Envelope</b> instruction. 974 * 975 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 976 * For details, see {@link RilRadioResponseInfo}. 977 * 978 * @since 3.2 979 * @version 1.1 980 */ 981 [oneway] SimStkSendEnvelopeResponse([in] struct RilRadioResponseInfo responseInfo); 982 983 /** 984 * @brief Callback for the response of sending the STK <b>CallSetup</b> instruction. 985 * 986 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 987 * For details, see {@link RilRadioResponseInfo}. 988 * 989 * @since 3.2 990 * @version 1.1 991 */ 992 [oneway] SimStkSendCallSetupRequestResultResponse([in] struct RilRadioResponseInfo responseInfo); 993 994 /** 995 * @brief Callback for the response of querying whether the STK is ready. 996 * 997 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 998 * For details, see {@link RilRadioResponseInfo}. 999 * 1000 * @since 3.2 1001 * @version 1.1 1002 */ 1003 [oneway] SimStkIsReadyResponse([in] struct RilRadioResponseInfo responseInfo); 1004 1005 /** 1006 * @brief Callback for the response of querying the protocol stack of the primary and secondary SIM cards. 1007 * 1008 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1009 * For details, see {@link RilRadioResponseInfo}. 1010 * @param RadioProtocol Radio protocol. For details, see {@link RadioProtocol}. 1011 * 1012 * @since 3.2 1013 * @version 1.1 1014 */ 1015 [oneway] GetRadioProtocolResponse([in] struct RilRadioResponseInfo responseInfo,[in] struct RadioProtocol radioProtocol); 1016 1017 /** 1018 * @brief Callback for the response of setting the protocol stack of the primary and secondary SIM cards. 1019 * 1020 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1021 * For details, see {@link RilRadioResponseInfo}. 1022 * @param RadioProtocol Radio protocol. For details, see {@link RadioProtocol}. 1023 * 1024 * @since 3.2 1025 * @version 1.1 1026 */ 1027 [oneway] SetRadioProtocolResponse([in] struct RilRadioResponseInfo responseInfo,[in] struct RadioProtocol radioProtocol); 1028 1029 /** 1030 * @brief Callback for the response of opening the logical channel for APDU transmission. 1031 * 1032 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1033 * For details, see {@link RilRadioResponseInfo}. 1034 * @param OpenLogicalChannelResponse Response of opening the logical channel. 1035 * For details, see {@link OpenLogicalChannelResponse}. 1036 * 1037 * @since 3.2 1038 * @version 1.1 1039 */ 1040 [oneway] SimOpenLogicalChannelResponse([in] struct RilRadioResponseInfo responseInfo, 1041 [in] struct OpenLogicalChannelResponse pOpenLogicalChannelResponse); 1042 1043 /** 1044 * @brief Callback for the response of closing the logical channel for APDU transmission. 1045 * 1046 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1047 * For details, see {@link RilRadioResponseInfo}. 1048 * 1049 * @since 3.2 1050 * @version 1.1 1051 */ 1052 [oneway] SimCloseLogicalChannelResponse([in] struct RilRadioResponseInfo responseInfo); 1053 1054 /** 1055 * @brief Callback for the response of transmitting APDU over a logical channel. 1056 * 1057 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1058 * For details, see {@link RilRadioResponseInfo}. 1059 * @param result Data transmission result. For details, see {@link IccIoResultInfo}. 1060 * 1061 * @since 3.2 1062 * @version 1.1 1063 */ 1064 [oneway] SimTransmitApduLogicalChannelResponse([in] struct RilRadioResponseInfo responseInfo, 1065 [in] struct IccIoResultInfo result); 1066 1067 /** 1068 * @brief Callback for the response of transmitting APDU over a basic channel. 1069 * 1070 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1071 * For details, see {@link RilRadioResponseInfo}. 1072 * @param result Indicates the data transmission result. For details, see {@link IccIoResultInfo}. 1073 * 1074 * @since 3.2 1075 * @version 1.1 1076 */ 1077 [oneway] SimTransmitApduBasicChannelResponse([in] struct RilRadioResponseInfo responseInfo, 1078 [in] struct IccIoResultInfo result); 1079 1080 /** 1081 * @brief Callback for the response of SIM card authentication. 1082 * 1083 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1084 * For details, see {@link RilRadioResponseInfo}. 1085 * @param result SIM card authentication result. For details, see {@link IccIoResultInfo}. 1086 * 1087 * @since 3.2 1088 * @version 1.1 1089 */ 1090 [oneway] SimAuthenticationResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct IccIoResultInfo result); 1091 1092 /** 1093 * @brief Callback for the response of SIM card unlocking. 1094 * 1095 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1096 * For details, see {@link RilRadioResponseInfo}. 1097 * @param LockStatusResp SIM card lock status response. For details, see {@link LockStatusResp}. 1098 * 1099 * @since 3.2 1100 * @version 1.1 1101 */ 1102 [oneway] UnlockSimLockResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct LockStatusResp lockStatus); 1103 1104 /** 1105 * @brief Callback for reporting network registration status updates of the CS domain. 1106 * 1107 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1108 * For details, see {@link RilRadioResponseInfo}. 1109 * @param csRegStatusInfo Network registration status of the CS domain. For details, see {@link CsRegStatusInfo}. 1110 * 1111 * @since 3.2 1112 * @version 1.1 1113 */ 1114 [oneway] NetworkCsRegStatusUpdated([in] struct RilRadioResponseInfo responseInfo, 1115 [in] struct CsRegStatusInfo csRegStatusInfo); 1116 1117 /** 1118 * @brief Callback for reporting network registration status updates of the PS domain. 1119 * 1120 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1121 * For details, see {@link RilRadioResponseInfo}. 1122 * @param psRegStatusInfo Network registration status of the PS domain. For details, see {@link PsRegStatusInfo}. 1123 * 1124 * @since 3.2 1125 * @version 1.1 1126 */ 1127 [oneway] NetworkPsRegStatusUpdated([in] struct RilRadioResponseInfo responseInfo, 1128 [in] struct PsRegStatusInfo psRegStatusInfo); 1129 1130 /** 1131 * @brief Callback for reporting signal strength updates. 1132 * 1133 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1134 * For details, see {@link RilRadioResponseInfo}. 1135 * @param rssi Signal strength. For details, see {@link Rssi}. 1136 * 1137 * @since 3.2 1138 * @version 1.1 1139 */ 1140 [oneway] SignalStrengthUpdated([in] struct RilRadioResponseInfo responseInfo, [in] struct Rssi rssi); 1141 1142 /** 1143 * @brief Callback for reporting NITZ time zone updates. 1144 * 1145 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1146 * For details, see {@link RilRadioResponseInfo}. 1147 * @param timeZoneStr NITZ time zone. 1148 * 1149 * @since 3.2 1150 * @version 1.1 1151 */ 1152 [oneway] NetworkTimeZoneUpdated([in] struct RilRadioResponseInfo responseInfo, [in] String timeZoneStr); 1153 1154 /** 1155 * @brief Callback for reporting NITZ time updates. 1156 * 1157 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1158 * For details, see {@link RilRadioResponseInfo}. 1159 * @param timeStr NITZ time. 1160 * 1161 * @since 3.2 1162 * @version 1.1 1163 */ 1164 [oneway] NetworkTimeUpdated([in] struct RilRadioResponseInfo responseInfo, [in] String timeStr); 1165 1166 /** 1167 * @brief Callback for reporting physical channel configuration updates. 1168 * 1169 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1170 * For details, see {@link RilRadioResponseInfo}. 1171 * @param channelConfigInfoList Channel configuration information list. For details, see {@link ChannelConfigInfoList}. 1172 * 1173 * @since 3.2 1174 * @version 1.1 1175 */ 1176 [oneway] NetworkPhyChnlCfgUpdated([in] struct RilRadioResponseInfo responseInfo, 1177 [in] struct ChannelConfigInfoList channelConfigInfoList); 1178 1179 /** 1180 * @brief Callback for reporting cell information. 1181 * 1182 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1183 * For details, see {@link RilRadioResponseInfo}. 1184 * @param cellListCurrentInfo Cell information list. For details, see {@link CellListCurrentInfo}. 1185 * 1186 * @since 3.2 1187 * @version 1.1 1188 */ 1189 [oneway] NetworkCurrentCellUpdated([in] struct RilRadioResponseInfo responseInfo, 1190 [in] struct CellListCurrentInfo cellListCurrentInfo); 1191 1192 /** 1193 * @brief Callback for querying the signal strength. 1194 * 1195 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1196 * For details, see {@link RilRadioResponseInfo}. 1197 * @param rssi Signal strength. For details, see {@link Rssi}. 1198 * 1199 * @since 3.2 1200 * @version 1.1 1201 */ 1202 [oneway] GetSignalStrengthResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct Rssi rssi); 1203 1204 /** 1205 * @brief Callback for the response of obtaining the network registration status of the CS domain. 1206 * 1207 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1208 * For details, see {@link RilRadioResponseInfo}. 1209 * @param csRegStatusInfo Network registration status of the CS domain. For details, see {@link CsRegStatusInfo}. 1210 * 1211 * @since 3.2 1212 * @version 1.1 1213 */ 1214 [oneway] GetCsRegStatusResponse([in] struct RilRadioResponseInfo responseInfo, 1215 [in] struct CsRegStatusInfo csRegStatusInfo); 1216 1217 /** 1218 * @brief Callback for the response of obtaining the network registration status of the PS domain. 1219 * 1220 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1221 * For details, see {@link RilRadioResponseInfo}. 1222 * @param psRegStatusInfo Network registration status of the PS domain. For details, see {@link PsRegStatusInfo}. 1223 * 1224 * @since 3.2 1225 * @version 1.1 1226 */ 1227 [oneway] GetPsRegStatusResponse([in] struct RilRadioResponseInfo responseInfo, 1228 [in] struct PsRegStatusInfo psRegStatusInfo); 1229 1230 /** 1231 * @brief Callback for the response of querying the carrier name. 1232 * 1233 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1234 * For details, see {@link RilRadioResponseInfo}. 1235 * @param psRegStatusInfo Carrier information. For details, see {@link OperatorInfo}. 1236 * 1237 * @since 3.2 1238 * @version 1.1 1239 */ 1240 [oneway] GetOperatorInfoResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct OperatorInfo psRegStatusInfo); 1241 1242 /** 1243 * @brief Callback for the response of querying available network information. 1244 * 1245 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1246 * For details, see {@link RilRadioResponseInfo}. 1247 * @param availableNetworkList Available network list. For details, see {@link AvailableNetworkList}. 1248 * 1249 * @since 3.2 1250 * @version 1.1 1251 */ 1252 [oneway] GetNetworkSearchInformationResponse([in] struct RilRadioResponseInfo responseInfo, 1253 [in] struct AvailableNetworkList availableNetworkList); 1254 1255 /** 1256 * @brief Callback for the response of querying the network selection mode. 1257 * 1258 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1259 * For details, see {@link RilRadioResponseInfo}. 1260 * @param setNetworkModeInfo Network modes available for selection. For details, see {@link SetNetworkModeInfo}. 1261 * 1262 * @since 3.2 1263 * @version 1.1 1264 */ 1265 [oneway] GetNetworkSelectionModeResponse([in] struct RilRadioResponseInfo responseInfo, 1266 [in] struct SetNetworkModeInfo setNetworkModeInfo); 1267 1268 /** 1269 * @brief Callback for the response of setting the network selection mode. 1270 * 1271 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1272 * For details, see {@link RilRadioResponseInfo}. 1273 * 1274 * @since 3.2 1275 * @version 1.1 1276 */ 1277 [oneway] SetNetworkSelectionModeResponse([in] struct RilRadioResponseInfo responseInfo); 1278 1279 /** 1280 * @brief Callback for the response of querying neighboring cell information. 1281 * 1282 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1283 * For details, see {@link RilRadioResponseInfo}. 1284 * @param cellListNearbyInfo Neighboring cell information list. For details, see {@link CellListNearbyInfo}. 1285 * 1286 * @since 3.2 1287 * @version 1.1 1288 */ 1289 [oneway] GetNeighboringCellInfoListResponse([in] struct RilRadioResponseInfo responseInfo, 1290 [in] struct CellListNearbyInfo cellListNearbyInfo); 1291 1292 /** 1293 * @brief Callback for the response of querying cell information. 1294 * 1295 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1296 * For details, see {@link RilRadioResponseInfo}. 1297 * @param cellListCurrentInfo Cell information list. For details, see {@link CellListNearbyInfo}. 1298 * 1299 * @since 3.2 1300 * @version 1.1 1301 */ 1302 [oneway] GetCurrentCellInfoResponse([in] struct RilRadioResponseInfo responseInfo, 1303 [in] struct CellListCurrentInfo cellListCurrentInfo); 1304 1305 /** 1306 * @brief Callback for the response of setting the preferred network type. 1307 * 1308 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1309 * For details, see {@link RilRadioResponseInfo}. 1310 * 1311 * @since 3.2 1312 * @version 1.1 1313 */ 1314 [oneway] SetPreferredNetworkResponse([in] struct RilRadioResponseInfo responseInfo); 1315 1316 /** 1317 * @brief Callback for the response of querying the preferred network type. 1318 * 1319 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1320 * For details, see {@link RilRadioResponseInfo}. 1321 * @param preferredNetworkTypeInfo Preferred network type information. For details, see {@link PreferredNetworkTypeInfo}. 1322 * 1323 * @since 3.2 1324 * @version 1.1 1325 */ 1326 [oneway] GetPreferredNetworkResponse([in] struct RilRadioResponseInfo responseInfo, 1327 [in] struct PreferredNetworkTypeInfo preferredNetworkTypeInfo); 1328 1329 /** 1330 * @brief Callback for the response of querying the physical channel configuration. 1331 * 1332 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1333 * For details, see {@link RilRadioResponseInfo}. 1334 * @param channelConfigInfoList Physical channel configuration information list. For details, see {@link ChannelConfigInfoList}. 1335 * 1336 * @since 3.2 1337 * @version 1.1 1338 */ 1339 [oneway] GetPhysicalChannelConfigResponse([in] struct RilRadioResponseInfo responseInfo, 1340 [in] struct ChannelConfigInfoList channelConfigInfoList); 1341 1342 /** 1343 * @brief Callback for the response of enabling or disabling cell location update. 1344 * 1345 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1346 * For details, see {@link RilRadioResponseInfo}. 1347 * 1348 * @since 3.2 1349 * @version 1.1 1350 */ 1351 [oneway] SetLocateUpdatesResponse([in] struct RilRadioResponseInfo responseInfo); 1352 1353 /** 1354 * @brief Callback for the response of setting a notification filter. 1355 * 1356 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1357 * For details, see {@link RilRadioResponseInfo}. 1358 * 1359 * @since 3.2 1360 * @version 1.1 1361 */ 1362 [oneway] SetNotificationFilterResponse([in] struct RilRadioResponseInfo responseInfo); 1363 1364 /** 1365 * @brief Callback for the response of setting the device status. 1366 * 1367 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1368 * For details, see {@link RilRadioResponseInfo}. 1369 * 1370 * @since 3.2 1371 * @version 1.1 1372 */ 1373 [oneway] SetDeviceStateResponse([in] struct RilRadioResponseInfo responseInfo); 1374 1375 /** 1376 * @brief Callback for reporting new GSM SMS message notifications. 1377 * 1378 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1379 * For details, see {@link RilRadioResponseInfo}. 1380 * @param smsMessageInfo SMS message information. For details, see {@link SmsMessageInfo}. 1381 * 1382 * @since 3.2 1383 * @version 1.1 1384 */ 1385 [oneway] NewSmsNotify([in] struct RilRadioResponseInfo responseInfo, [in] struct SmsMessageInfo smsMessageInfo); 1386 1387 /** 1388 * @brief Callback for reporting new CDMA SMS message notifications. 1389 * 1390 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1391 * For details, see {@link RilRadioResponseInfo}. 1392 * @param smsMessageInfo SMS message information. For details, see {@link SmsMessageInfo}. 1393 * 1394 * @since 3.2 1395 * @version 1.1 1396 */ 1397 [oneway] NewCdmaSmsNotify([in] struct RilRadioResponseInfo responseInfo,[in] struct SmsMessageInfo smsMessageInfo); 1398 1399 /** 1400 * @brief Callback for reporting SMS status notifications. 1401 * 1402 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1403 * For details, see {@link RilRadioResponseInfo}. 1404 * @param smsMessageInfo SMS message information. For details, see {@link SmsMessageInfo}. 1405 * 1406 * @since 3.2 1407 * @version 1.1 1408 */ 1409 [oneway] SmsStatusReportNotify([in] struct RilRadioResponseInfo responseInfo, [in] struct SmsMessageInfo smsMessageInfo); 1410 1411 /** 1412 * @brief Callback for reporting storage of new SMS message in a SIM card. 1413 * 1414 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1415 * For details, see {@link RilRadioResponseInfo}. 1416 * @param recordNumber Number of SMS messages in the SIM card. 1417 * @param indicationType Notification type. For details, see {@link HRilNotiType}. 1418 * 1419 * @since 3.2 1420 * @version 1.1 1421 */ 1422 [oneway] NewSmsStoredOnSimNotify([in] struct RilRadioResponseInfo responseInfo, [in] int recordNumber, 1423 [in] int indicationType); 1424 1425 /** 1426 * @brief Callback for reporting cell broadcast configuration. 1427 * 1428 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1429 * For details, see {@link RilRadioResponseInfo}. 1430 * @param cellBroadConfigReportInfo Cell broadcast information. For details, see {@link CBConfigReportInfo}. 1431 * 1432 * @since 3.2 1433 * @version 1.1 1434 */ 1435 [oneway] CBConfigNotify([in] struct RilRadioResponseInfo responseInfo, 1436 [in] struct CBConfigReportInfo cellBroadConfigReportInfo); 1437 1438 /** 1439 * @brief Callback for the response of sending a GSM SMS message. 1440 * 1441 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1442 * For details, see {@link RilRadioResponseInfo}. 1443 * @param sendSmsResultInfo SMS message sending result. For details, see {@link SendSmsResultInfo}. 1444 * 1445 * @since 3.2 1446 * @version 1.1 1447 */ 1448 [oneway] SendGsmSmsResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct SendSmsResultInfo sendSmsResultInfo); 1449 1450 /** 1451 * @brief Callback for the response of sending a CDMA SMS message. 1452 * 1453 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1454 * For details, see {@link RilRadioResponseInfo}. 1455 * @param sendSmsResultInfo SMS message sending result. For details, see {@link SendSmsResultInfo}. 1456 * 1457 * @since 3.2 1458 * @version 1.1 1459 */ 1460 [oneway] SendCdmaSmsResponse([in] struct RilRadioResponseInfo responseInfo, 1461 [in] struct SendSmsResultInfo sendSmsResultInfo); 1462 1463 /** 1464 * @brief Callback for the response of writing GSM SMS messages to a SIM card. 1465 * 1466 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1467 * For details, see {@link RilRadioResponseInfo}. 1468 * 1469 * @since 3.2 1470 * @version 1.1 1471 */ 1472 [oneway] AddSimMessageResponse([in] struct RilRadioResponseInfo responseInfo); 1473 1474 /** 1475 * @brief Callback for the response of deleting GSM SMS messages from a SIM card. 1476 * 1477 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1478 * For details, see {@link RilRadioResponseInfo}. 1479 * 1480 * @since 3.2 1481 * @version 1.1 1482 */ 1483 [oneway] DelSimMessageResponse([in] struct RilRadioResponseInfo responseInfo); 1484 1485 /** 1486 * @brief Callback for the response of updating the GSM SMS messages in a SIM card. 1487 * 1488 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1489 * For details, see {@link RilRadioResponseInfo}. 1490 * 1491 * @since 3.2 1492 * @version 1.1 1493 */ 1494 [oneway] UpdateSimMessageResponse([in] struct RilRadioResponseInfo responseInfo); 1495 1496 /** 1497 * @brief Callback for the response of writing CDMA SMS messages to a SIM card. 1498 * 1499 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1500 * For details, see {@link RilRadioResponseInfo}. 1501 * 1502 * @since 3.2 1503 * @version 1.1 1504 */ 1505 [oneway] AddCdmaSimMessageResponse([in] struct RilRadioResponseInfo responseInfo); 1506 1507 /** 1508 * @brief Callback for the response of deleting CDMA SMS messages from a SIM card. 1509 * 1510 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1511 * For details, see {@link RilRadioResponseInfo}. 1512 * 1513 * @since 3.2 1514 * @version 1.1 1515 */ 1516 [oneway] DelCdmaSimMessageResponse([in] struct RilRadioResponseInfo responseInfo); 1517 1518 /** 1519 * @brief Callback for the response of updating the CDMA SMS messages in a SIM card. 1520 * 1521 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1522 * For details, see {@link RilRadioResponseInfo}. 1523 * 1524 * @since 3.2 1525 * @version 1.1 1526 */ 1527 [oneway] UpdateCdmaSimMessageResponse([in] struct RilRadioResponseInfo responseInfo); 1528 1529 /** 1530 * @brief Callback for the response of setting an SMSC address. 1531 * 1532 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1533 * For details, see {@link RilRadioResponseInfo}. 1534 * 1535 * @since 3.2 1536 * @version 1.1 1537 */ 1538 [oneway] SetSmscAddrResponse([in] struct RilRadioResponseInfo responseInfo); 1539 1540 /** 1541 * @brief Callback for the response of querying the SMSC address. 1542 * 1543 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1544 * For details, see {@link RilRadioResponseInfo}. 1545 * 1546 * @param serviceCenterAddress SMSC address. For details, see {@link ServiceCenterAddress}. 1547 * @since 3.2 1548 * @version 1.1 1549 */ 1550 [oneway] GetSmscAddrResponse([in] struct RilRadioResponseInfo responseInfo, 1551 [in] struct ServiceCenterAddress serviceCenterAddress); 1552 1553 /** 1554 * @brief Callback for the response of activating GSM cell broadcast. 1555 * 1556 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1557 * For details, see {@link RilRadioResponseInfo}. 1558 * 1559 * @since 3.2 1560 * @version 1.1 1561 */ 1562 [oneway] SetCBConfigResponse([in] struct RilRadioResponseInfo responseInfo); 1563 1564 /** 1565 * @brief Callback for the response of querying the GSM cell broadcast configuration. 1566 * 1567 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1568 * For details, see {@link RilRadioResponseInfo}. 1569 * @param cellBroadcastInfo GSM cell broadcast configuration information. For details, see {@link CBConfigInfo}. 1570 * 1571 * @since 3.2 1572 * @version 1.1 1573 */ 1574 [oneway] GetCBConfigResponse([in] struct RilRadioResponseInfo responseInfo, [in] struct CBConfigInfo cellBroadcastInfo); 1575 1576 /** 1577 * @brief Callback for the response of activating CDMA cell broadcast. 1578 * 1579 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1580 * For details, see {@link RilRadioResponseInfo}. 1581 * 1582 * @since 3.2 1583 * @version 1.1 1584 */ 1585 [oneway] SetCdmaCBConfigResponse([in] struct RilRadioResponseInfo responseInfo); 1586 1587 /** 1588 * @brief Callback for the response of querying the CDMA cell broadcast configuration. 1589 * 1590 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1591 * For details, see {@link RilRadioResponseInfo}. 1592 * @param cdmaCBConfigInfo CDMA cell broadcast configuration information. For details, see {@link CdmaCBConfigInfo}. 1593 * 1594 * @since 3.2 1595 * @version 1.1 1596 */ 1597 [oneway] GetCdmaCBConfigResponse([in] struct RilRadioResponseInfo responseInfo, 1598 [in] struct CdmaCBConfigInfo cdmaCBConfigInfo); 1599 1600 /** 1601 * @brief Callback for the response of sending a long GSM SMS message. 1602 * 1603 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1604 * For details, see {@link RilRadioResponseInfo}. 1605 * @param sendSmsResultInfo SMS message sending result. For details, see {@link SendSmsResultInfo}. 1606 * 1607 * @since 3.2 1608 * @version 1.1 1609 */ 1610 [oneway] SendSmsMoreModeResponse([in] struct RilRadioResponseInfo responseInfo, 1611 [in] struct SendSmsResultInfo sendSmsResultInfo); 1612 1613 /** 1614 * @brief Callback for the response of acknowledging the receipt of a new SMS message. 1615 * 1616 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. 1617 * For details, see {@link RilRadioResponseInfo}. 1618 * 1619 * @since 3.2 1620 * @version 1.1 1621 */ 1622 [oneway] SendSmsAckResponse([in] struct RilRadioResponseInfo responseInfo); 1623 1624 /** 1625 * @brief Callback for the response of a common error. 1626 * 1627 * @param responseInfo Common response information, such as the card slot ID and request sequence ID. For details, see {@link RilRadioResponseInfo}. 1628 * 1629 * @since 3.2 1630 * @version 1.1 1631 */ 1632 [oneway] CommonErrorResponse([in] struct RilRadioResponseInfo responseInfo); 1633} 1634/** @} */ 1635