1/* 2 * Copyright (C) 2016 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package android.hardware.radio@1.0; 18 19/** 20 * Interface declaring response functions to solicited radio requests. 21 * Response functions defined in this interface are as per following convention: 22 * <xyz>Response is response to IRadio.<xyz> 23 */ 24interface IRadioResponse { 25 /** 26 * @param info Response info struct containing response type, serial no. and error 27 * @param cardStatus ICC card status as defined by CardStatus in types.hal 28 * 29 * Valid errors returned: 30 * RadioError:NONE 31 * RadioError:RADIO_NOT_AVAILABLE 32 * RadioError:INTERNAL_ERR 33 * RadioError:NO_MEMORY 34 * RadioError:NO_RESOURCES 35 * RadioError:CANCELLED 36 * RadioError:REQUEST_NOT_SUPPORTED 37 */ 38 oneway getIccCardStatusResponse(RadioResponseInfo info, CardStatus cardStatus); 39 40 /** 41 * @param info Response info struct containing response type, serial no. and error 42 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown. 43 * 44 * Valid errors returned: 45 * RadioError:NONE 46 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 47 * RadioError:PASSWORD_INCORRECT 48 * RadioError:INTERNAL_ERR 49 * RadioError:NO_MEMORY 50 * RadioError:NO_RESOURCES 51 * RadioError:CANCELLED 52 * RadioError:INVALID_ARGUMENTS 53 * RadioError:INVALID_SIM_STATE 54 * RadioError:REQUEST_NOT_SUPPORTED 55 */ 56 oneway supplyIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries); 57 58 /** 59 * @param info Response info struct containing response type, serial no. and error 60 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown. 61 * 62 * Valid errors returned: 63 * RadioError:NONE 64 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 65 * RadioError:PASSWORD_INCORRECT (PUK is invalid) 66 * RadioError:INTERNAL_ERR 67 * RadioError:NO_MEMORY 68 * RadioError:NO_RESOURCES 69 * RadioError:CANCELLED 70 * RadioError:INVALID_ARGUMENTS 71 * RadioError:INVALID_SIM_STATE 72 * RadioError:REQUEST_NOT_SUPPORTED 73 */ 74 oneway supplyIccPukForAppResponse(RadioResponseInfo info, int32_t remainingRetries); 75 76 /** 77 * @param info Response info struct containing response type, serial no. and error 78 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown. 79 * 80 * Valid errors returned: 81 * RadioError:NONE 82 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 83 * RadioError:PASSWORD_INCORRECT 84 * RadioError:INTERNAL_ERR 85 * RadioError:NO_MEMORY 86 * RadioError:NO_RESOURCES 87 * RadioError:CANCELLED 88 * RadioError:INVALID_ARGUMENTS 89 * RadioError:INVALID_SIM_STATE 90 * RadioError:REQUEST_NOT_SUPPORTED 91 */ 92 oneway supplyIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries); 93 94 /** 95 * @param info Response info struct containing response type, serial no. and error 96 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown. 97 * Valid errors returned: 98 * RadioError:NONE 99 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 100 * RadioError:PASSWORD_INCORRECT (PUK is invalid) 101 * RadioError:INTERNAL_ERR 102 * RadioError:NO_MEMORY 103 * RadioError:NO_RESOURCES 104 * RadioError:CANCELLED 105 * RadioError:INVALID_ARGUMENTS 106 * RadioError:INVALID_SIM_STATE 107 * RadioError:REQUEST_NOT_SUPPORTED 108 */ 109 oneway supplyIccPuk2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries); 110 111 /** 112 * @param info Response info struct containing response type, serial no. and error 113 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown. 114 * 115 * Valid errors returned: 116 * RadioError:NONE 117 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 118 * RadioError:PASSWORD_INCORRECT 119 * RadioError:INTERNAL_ERR 120 * RadioError:NO_MEMORY 121 * RadioError:NO_RESOURCES 122 * RadioError:CANCELLED 123 * RadioError:INVALID_ARGUMENTS 124 * RadioError:INVALID_SIM_STATE 125 * RadioError:REQUEST_NOT_SUPPORTED 126 */ 127 oneway changeIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries); 128 129 /** 130 * @param info Response info struct containing response type, serial no. and error 131 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown. 132 * 133 * Valid errors returned: 134 * RadioError:NONE 135 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 136 * RadioError:PASSWORD_INCORRECT (old PIN2 is invalid) 137 * RadioError:INTERNAL_ERR 138 * RadioError:NO_MEMORY 139 * RadioError:NO_RESOURCES 140 * RadioError:CANCELLED 141 * RadioError:INVALID_ARGUMENTS 142 * RadioError:INVALID_SIM_STATE 143 * RadioError:REQUEST_NOT_SUPPORTED 144 */ 145 oneway changeIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries); 146 147 /** 148 * @param info Response info struct containing response type, serial no. and error 149 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown. 150 * 151 * Valid errors returned: 152 * RadioError:NONE 153 * RadioError:RADIO_NOT_AVAILABLE 154 * RadioError:PASSWORD_INCORRECT (code is invalid) 155 * RadioError:NO_MEMORY 156 * RadioError:INVALID_SIM_STATE 157 * RadioError:INTERNAL_ERR 158 * RadioError:SYSTEM_ERR 159 * RadioError:MODEM_ERR 160 * RadioError:INVALID_ARGUMENTS 161 * RadioError:NO_RESOURCES 162 * RadioError:CANCELLED 163 * RadioError:REQUEST_NOT_SUPPORTED 164 * RadioError:SIM_ABSENT 165 */ 166 oneway supplyNetworkDepersonalizationResponse(RadioResponseInfo info, int32_t remainingRetries); 167 168 /** 169 * @param info Response info struct containing response type, serial no. and error 170 * @param calls Current call list 171 * 172 * Valid errors returned: 173 * RadioError:NONE 174 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 175 * RadioError:NO_MEMORY 176 * RadioError:INTERNAL_ERR 177 * RadioError:SYSTEM_ERR 178 * RadioError:INVALID_ARGUMENTS 179 * RadioError:REQUEST_NOT_SUPPORTED 180 * RadioError:NO_RESOURCES 181 * RadioError:CANCELLED 182 */ 183 oneway getCurrentCallsResponse(RadioResponseInfo info, vec<Call> calls); 184 185 /** 186 * @param info Response info struct containing response type, serial no. and error 187 * 188 * Valid errors returned: 189 * RadioError:NONE 190 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 191 * RadioError:DIAL_MODIFIED_TO_USSD 192 * RadioError:DIAL_MODIFIED_TO_SS 193 * RadioError:DIAL_MODIFIED_TO_DIAL 194 * RadioError:INVALID_ARGUMENTS 195 * RadioError:NO_MEMORY 196 * RadioError:INVALID_STATE 197 * RadioError:NO_RESOURCES 198 * RadioError:INTERNAL_ERR 199 * RadioError:FDN_CHECK_FAILURE 200 * RadioError:MODEM_ERR 201 * RadioError:NO_SUBSCRIPTION 202 * RadioError:NO_NETWORK_FOUND 203 * RadioError:INVALID_CALL_ID 204 * RadioError:DEVICE_IN_USE 205 * RadioError:OPERATION_NOT_ALLOWED 206 * RadioError:ABORTED 207 * RadioError:SYSTEM_ERR 208 * RadioError:REQUEST_NOT_SUPPORTED 209 * RadioError:INVALID_MODEM_STATE 210 * RadioError:CANCELLED 211 */ 212 oneway dialResponse(RadioResponseInfo info); 213 214 /** 215 * @param info Response info struct containing response type, serial no. and error 216 * @param imsi String containing the IMSI 217 * 218 * Valid errors returned: 219 * RadioError:NONE 220 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 221 * RadioError:INTERNAL_ERR 222 * RadioError:NO_MEMORY 223 * RadioError:NO_RESOURCES 224 * RadioError:CANCELLED 225 * RadioError:INVALID_SIM_STATE 226 * RadioError:SIM_ERR 227 * RadioError:REQUEST_NOT_SUPPORTED 228 */ 229 oneway getIMSIForAppResponse(RadioResponseInfo info, string imsi); 230 231 /** 232 * @param info Response info struct containing response type, serial no. and error 233 * 234 * Valid errors returned: 235 * RadioError:NONE 236 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 237 * RadioError:INVALID_ARGUMENTS 238 * RadioError:NO_MEMORY 239 * RadioError:INVALID_STATE 240 * RadioError:MODEM_ERR 241 * RadioError:INTERNAL_ERR 242 * RadioError:INVALID_CALL_ID 243 * RadioError:NO_RESOURCES 244 * RadioError:CANCELLED 245 * RadioError:REQUEST_NOT_SUPPORTED 246 */ 247 oneway hangupConnectionResponse(RadioResponseInfo info); 248 249 /** 250 * @param info Response info struct containing response type, serial no. and error 251 * 252 * Valid errors returned: 253 * RadioError:NONE 254 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 255 * RadioError:INVALID_STATE 256 * RadioError:NO_MEMORY 257 * RadioError:MODEM_ERR 258 * RadioError:INTERNAL_ERR 259 * RadioError:INVALID_CALL_ID 260 * RadioError:NO_RESOURCES 261 * RadioError:OPERATION_NOT_ALLOWED 262 * RadioError:INVALID_ARGUMENTS 263 * RadioError:SYSTEM_ERR 264 * RadioError:REQUEST_NOT_SUPPORTED 265 * RadioError:CANCELLED 266 */ 267 oneway hangupWaitingOrBackgroundResponse(RadioResponseInfo info); 268 269 /** 270 * @param info Response info struct containing response type, serial no. and error 271 * 272 * Valid errors returned: 273 * RadioError:NONE 274 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 275 * RadioError:INVALID_STATE 276 * RadioError:NO_MEMORY 277 * RadioError:MODEM_ERR 278 * RadioError:INTERNAL_ERR 279 * RadioError:INVALID_CALL_ID 280 * RadioError:NO_RESOURCES 281 * RadioError:OPERATION_NOT_ALLOWED 282 * RadioError:INVALID_ARGUMENTS 283 * RadioError:SYSTEM_ERR 284 * RadioError:REQUEST_NOT_SUPPORTED 285 * RadioError:NO_RESOURCES 286 * RadioError:CANCELLED 287 */ 288 oneway hangupForegroundResumeBackgroundResponse(RadioResponseInfo info); 289 290 /** 291 * @param info Response info struct containing response type, serial no. and error 292 * 293 * Valid errors returned: 294 * RadioError:NONE 295 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 296 * RadioError:INVALID_STATE 297 * RadioError:NO_MEMORY 298 * RadioError:MODEM_ERR 299 * RadioError:INTERNAL_ERR 300 * RadioError:INVALID_STATE 301 * RadioError:INVALID_CALL_ID 302 * RadioError:OPERATION_NOT_ALLOWED 303 * RadioError:INVALID_ARGUMENTS 304 * RadioError:SYSTEM_ERR 305 * RadioError:REQUEST_NOT_SUPPORTED 306 * RadioError:INVALID_MODEM_STATE 307 * RadioError:NO_RESOURCES 308 * RadioError:CANCELLED 309 */ 310 oneway switchWaitingOrHoldingAndActiveResponse(RadioResponseInfo info); 311 312 /** 313 * @param info Response info struct containing response type, serial no. and error 314 * 315 * Valid errors returned: 316 * RadioError:NONE 317 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 318 * RadioError:NO_MEMORY 319 * RadioError:MODEM_ERR 320 * RadioError:INTERNAL_ERR 321 * RadioError:INVALID_STATE 322 * RadioError:INVALID_CALL_ID 323 * RadioError:OPERATION_NOT_ALLOWED 324 * RadioError:INVALID_ARGUMENTS 325 * RadioError:SYSTEM_ERR 326 * RadioError:REQUEST_NOT_SUPPORTED 327 * RadioError:INVALID_MODEM_STATE 328 * RadioError:NO_RESOURCES 329 * RadioError:CANCELLED 330 */ 331 oneway conferenceResponse(RadioResponseInfo info); 332 333 /** 334 * @param info Response info struct containing response type, serial no. and error 335 * 336 * Valid errors returned: 337 * RadioError:NONE 338 * RadioError:RADIO_NOT_AVAILABLE (radio resetting) 339 * RadioError:INVALID_STATE 340 * RadioError:NO_RESOURCES 341 * RadioError:NO_MEMORY 342 * RadioError:MODEM_ERR 343 * RadioError:INTERNAL_ERR 344 * RadioError:INVALID_CALL_ID 345 * RadioError:OPERATION_NOT_ALLOWED 346 * RadioError:INVALID_ARGUMENTS 347 * RadioError:SYSTEM_ERR 348 * RadioError:REQUEST_NOT_SUPPORTED 349 * RadioError:INVALID_MODEM_STATE 350 * RadioError:NO_RESOURCES 351 * RadioError:CANCELLED 352 */ 353 oneway rejectCallResponse(RadioResponseInfo info); 354 355 /** 356 * @param info Response info struct containing response type, serial no. and error 357 * @param failCauseInfo Contains LastCallFailCause and vendor cause code. 358 * 359 * The vendor cause code must be used for debugging purpose only. 360 * The implementation must return one of the values of LastCallFailCause 361 * as mentioned below 362 * 363 * GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H 364 * where possible. 365 * CDMA failure reasons codes for the possible call failure scenarios 366 * described in the "CDMA IS-2000 Release A (C.S0005-A v6.0)" standard. 367 * Any of the following reason codes if the call is failed or dropped due to reason 368 * mentioned with in the braces. 369 * LastCallFailCause:RADIO_OFF (Radio is OFF) 370 * LastCallFailCause:OUT_OF_SERVICE (No cell coverage) 371 * LastCallFailCause:NO_VALID_SIM (No valid SIM) 372 * LastCallFailCause:RADIO_INTERNAL_ERROR (Modem hit unexpected error scenario) 373 * LastCallFailCause:NETWORK_RESP_TIMEOUT (No response from network) 374 * LastCallFailCause:NETWORK_REJECT (Explicit network reject) 375 * LastCallFailCause:RADIO_ACCESS_FAILURE (RRC connection failure. Eg.RACH) 376 * LastCallFailCause:RADIO_LINK_FAILURE (Radio Link Failure) 377 * LastCallFailCause:RADIO_LINK_LOST (Radio link lost due to poor coverage) 378 * LastCallFailCause:RADIO_UPLINK_FAILURE (Radio uplink failure) 379 * LastCallFailCause:RADIO_SETUP_FAILURE (RRC connection setup failure) 380 * LastCallFailCause:RADIO_RELEASE_NORMAL (RRC connection release, normal) 381 * LastCallFailCause:RADIO_RELEASE_ABNORMAL (RRC connection release, abnormal) 382 * LastCallFailCause:ACCESS_CLASS_BLOCKED (Access class barring) 383 * LastCallFailCause:NETWORK_DETACH (Explicit network detach) 384 * OEM causes (LastCallFailCause:OEM_CAUSE_XX) must be used for debug purpose only 385 * 386 * If the implementation does not have access to the exact cause codes, 387 * then it must return one of the values listed in LastCallFailCause, 388 * as the UI layer needs to distinguish these cases for tone generation or 389 * error notification. 390 * 391 * Valid errors returned: 392 * RadioError:NONE 393 * RadioError:NO_MEMORY 394 * RadioError:RADIO_NOT_AVAILABLE 395 * RadioError:SYSTEM_ERR 396 * RadioError:INVALID_ARGUMENTS 397 * RadioError:INTERNAL_ERR 398 * RadioError:MODEM_ERR 399 * RadioError:REQUEST_NOT_SUPPORTED 400 * RadioError:NO_MEMORY 401 * RadioError:NO_RESOURCES 402 * RadioError:CANCELLED 403 */ 404 oneway getLastCallFailCauseResponse(RadioResponseInfo info, 405 LastCallFailCauseInfo failCauseinfo); 406 407 /** 408 * @param info Response info struct containing response type, serial no. and error 409 * @param sigStrength Current signal strength 410 * 411 * Valid errors returned: 412 * RadioError:NONE 413 * RadioError:RADIO_NOT_AVAILABLE 414 * RadioError:NO_MEMORY 415 * RadioError:INTERNAL_ERR 416 * RadioError:SYSTEM_ERR 417 * RadioError:MODEM_ERR 418 * RadioError:NOT_PROVISIONED 419 * RadioError:REQUEST_NOT_SUPPORTED 420 * RadioError:NO_RESOURCES 421 * RadioError:CANCELLED 422 */ 423 oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength); 424 425 /** 426 * @param info Response info struct containing response type, serial no. and error 427 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult 428 * in types.hal 429 * 430 * Valid errors returned: 431 * RadioError:NONE 432 * RadioError:RADIO_NOT_AVAILABLE 433 * RadioError:INTERNAL_ERR 434 * RadioError:NO_MEMORY 435 * RadioError:NO_RESOURCES 436 * RadioError:CANCELLED 437 * RadioError:REQUEST_NOT_SUPPORTED 438 */ 439 oneway getVoiceRegistrationStateResponse(RadioResponseInfo info, 440 VoiceRegStateResult voiceRegResponse); 441 442 /** 443 * @param info Response info struct containing response type, serial no. and error 444 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in 445 * types.hal 446 * 447 * Valid errors returned: 448 * RadioError:NONE 449 * RadioError:RADIO_NOT_AVAILABLE 450 * RadioError:NO_MEMORY 451 * RadioError:INTERNAL_ERR 452 * RadioError:SYSTEM_ERR 453 * RadioError:MODEM_ERR 454 * RadioError:NOT_PROVISIONED 455 * RadioError:REQUEST_NOT_SUPPORTED 456 * RadioError:NO_RESOURCES 457 * RadioError:CANCELLED 458 */ 459 oneway getDataRegistrationStateResponse(RadioResponseInfo info, 460 DataRegStateResult dataRegResponse); 461 462 /** 463 * @param info Response info struct containing response type, serial no. and error 464 * @param longName is long alpha ONS or EONS or empty string if unregistered 465 * @param shortName is short alpha ONS or EONS or empty string if unregistered 466 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered 467 * 468 * Valid errors returned: 469 * RadioError:NONE 470 * RadioError:RADIO_NOT_AVAILABLE 471 * RadioError:NO_MEMORY 472 * RadioError:INTERNAL_ERR 473 * RadioError:SYSTEM_ERR 474 * RadioError:REQUEST_NOT_SUPPORTED 475 * RadioError:NO_RESOURCES 476 * RadioError:CANCELLED 477 */ 478 oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName, 479 string numeric); 480 481 /** 482 * @param info Response info struct containing response type, serial no. and error 483 * 484 * Valid errors returned: 485 * RadioError:NONE 486 * RadioError:RADIO_NOT_AVAILABLE 487 * RadioError:OPERATION_NOT_ALLOWED 488 * RadioError:INVALID_STATE 489 * RadioError:NO_MEMORY 490 * RadioError:INTERNAL_ERR 491 * RadioError:SYSTEM_ERR 492 * RadioError:INVALID_ARGUMENTS 493 * RadioError:MODEM_ERR 494 * RadioError:DEVICE_IN_USE 495 * RadioError:OPERATION_NOT_ALLOWED 496 * RadioError:INVALID_MODEM_STATE 497 * RadioError:REQUEST_NOT_SUPPORTED 498 * RadioError:NO_RESOURCES 499 * RadioError:CANCELLED 500 */ 501 oneway setRadioPowerResponse(RadioResponseInfo info); 502 503 /** 504 * @param info Response info struct containing response type, serial no. and error 505 * 506 * Valid errors returned: 507 * RadioError:NONE 508 * RadioError:RADIO_NOT_AVAILABLE 509 * RadioError:INVALID_ARGUMENTS 510 * RadioError:NO_RESOURCES 511 * RadioError:NO_MEMORY 512 * RadioError:MODEM_ERR 513 * RadioError:INVALID_CALL_ID 514 * RadioError:INTERNAL_ERR 515 * RadioError:SYSTEM_ERR 516 * RadioError:REQUEST_NOT_SUPPORTED 517 * RadioError:CANCELLED 518 * RadioError:INVALID_MODEM_STATE 519 */ 520 oneway sendDtmfResponse(RadioResponseInfo info); 521 522 /** 523 * @param info Response info struct containing response type, serial no. and error 524 * @param sms Response to sms sent as defined by SendSmsResult in types.hal 525 * 526 * Valid errors returned: 527 * RadioError:NONE 528 * RadioError:RADIO_NOT_AVAILABLE 529 * RadioError:SMS_SEND_FAIL_RETRY 530 * RadioError:NETWORK_REJECT 531 * RadioError:INVALID_STATE 532 * RadioError:INVALID_ARGUMENTS 533 * RadioError:NO_MEMORY 534 * RadioError:REQUEST_RATE_LIMITED 535 * RadioError:INVALID_SMS_FORMAT 536 * RadioError:SYSTEM_ERR 537 * RadioError:ENCODING_ERR 538 * RadioError:INVALID_SMSC_ADDRESS 539 * RadioError:MODEM_ERR 540 * RadioError:NETWORK_ERR 541 * RadioError:INTERNAL_ERR 542 * RadioError:REQUEST_NOT_SUPPORTED 543 * RadioError:INVALID_MODEM_STATE 544 * RadioError:NETWORK_NOT_READY 545 * RadioError:OPERATION_NOT_ALLOWED 546 * RadioError:NO_RESOURCES 547 * RadioError:CANCELLED 548 * RadioError:SIM_ABSENT 549 */ 550 oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms); 551 552 /** 553 * @param info Response info struct containing response type, serial no. and error 554 * @param sms Response to sms sent as defined by SendSmsResult in types.hal 555 * 556 * Valid errors returned: 557 * RadioError:NONE 558 * RadioError:RADIO_NOT_AVAILABLE 559 * RadioError:SMS_SEND_FAIL_RETRY 560 * RadioError:NETWORK_REJECT 561 * RadioError:INVALID_STATE 562 * RadioError:INVALID_ARGUMENTS 563 * RadioError:NO_MEMORY 564 * RadioError:REQUEST_RATE_LIMITED 565 * RadioError:INVALID_SMS_FORMAT 566 * RadioError:SYSTEM_ERR 567 * RadioError:FDN_CHECK_FAILURE 568 * RadioError:ENCODING_ERR 569 * RadioError:INVALID_SMSC_ADDRESS 570 * RadioError:MODEM_ERR 571 * RadioError:NETWORK_ERR 572 * RadioError:INTERNAL_ERR 573 * RadioError:REQUEST_NOT_SUPPORTED 574 * RadioError:INVALID_MODEM_STATE 575 * RadioError:NETWORK_NOT_READY 576 * RadioError:OPERATION_NOT_ALLOWED 577 * RadioError:NO_RESOURCES 578 * RadioError:CANCELLED 579 * RadioError:SIM_ABSENT 580 */ 581 oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms); 582 583 /** 584 * @param info Response info struct containing response type, serial no. and error 585 * @param dcResponse SetupDataCallResult defined in types.hal 586 * 587 * Valid errors returned: 588 * RadioError:NONE must be returned on both success and failure of setup with the 589 * DataCallResponse.status containing the actual status 590 * For all other errors the DataCallResponse is ignored. 591 * RadioError:RADIO_NOT_AVAILABLE 592 * RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW 593 * RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL 594 * RadioError:REQUEST_NOT_SUPPORTED 595 * RadioError:INVALID_ARGUMENTS 596 * RadioError:INTERNAL_ERR 597 * RadioError:NO_MEMORY 598 * RadioError:NO_RESOURCES 599 * RadioError:CANCELLED 600 * RadioError:SIM_ABSENT 601 */ 602 oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse); 603 604 /** 605 * @param info Response info struct containing response type, serial no. and error 606 * @param iccIo ICC io operation response as defined by IccIoResult in types.hal 607 * 608 * Valid errors returned: 609 * RadioError:NONE 610 * RadioError:RADIO_NOT_AVAILABLE 611 * RadioError:SIM_PIN2 612 * RadioError:SIM_PUK2 613 * RadioError:INTERNAL_ERR 614 * RadioError:NO_MEMORY 615 * RadioError:NO_RESOURCES 616 * RadioError:CANCELLED 617 * RadioError:INVALID_SIM_STATE 618 * RadioError:SIM_ERR 619 * RadioError:REQUEST_NOT_SUPPORTED 620 */ 621 oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo); 622 623 /** 624 * @param info Response info struct containing response type, serial no. and error 625 * 626 * Valid errors returned: 627 * RadioError:NONE 628 * RadioError:RADIO_NOT_AVAILABLE 629 * RadioError:FDN_CHECK_FAILURE 630 * RadioError:USSD_MODIFIED_TO_DIAL 631 * RadioError:USSD_MODIFIED_TO_SS 632 * RadioError:USSD_MODIFIED_TO_USSD 633 * RadioError:SIM_BUSY 634 * RadioError:OPERATION_NOT_ALLOWED 635 * RadioError:INVALID_ARGUMENTS 636 * RadioError:NO_MEMORY 637 * RadioError:MODEM_ERR 638 * RadioError:INTERNAL_ERR 639 * RadioError:ABORTED 640 * RadioError:SYSTEM_ERR 641 * RadioError:INVALID_STATE 642 * RadioError:REQUEST_NOT_SUPPORTED 643 * RadioError:INVALID_MODEM_STATE 644 * RadioError:NO_RESOURCES 645 * RadioError:CANCELLED 646 */ 647 oneway sendUssdResponse(RadioResponseInfo info); 648 649 /** 650 * @param info Response info struct containing response type, serial no. and error 651 * 652 * Valid errors returned: 653 * RadioError:NONE 654 * RadioError:RADIO_NOT_AVAILABLE 655 * RadioError:SIM_BUSY 656 * RadioError:OPERATION_NOT_ALLOWED 657 * RadioError:MODEM_ERR 658 * RadioError:INTERNAL_ERR 659 * RadioError:NO_MEMORY 660 * RadioError:INVALID_STATE 661 * RadioError:INVALID_ARGUMENTS 662 * RadioError:SYSTEM_ERR 663 * RadioError:REQUEST_NOT_SUPPORTED 664 * RadioError:INVALID_MODEM_STATE 665 * RadioError:NO_RESOURCES 666 * RadioError:CANCELLED 667 */ 668 oneway cancelPendingUssdResponse(RadioResponseInfo info); 669 670 /** 671 * @param info Response info struct containing response type, serial no. and error 672 * @param n is "n" parameter from TS 27.007 7.7 673 * @param m is "m" parameter from TS 27.007 7.7 674 * 675 * Valid errors returned: 676 * RadioError:NONE 677 * RadioError:RADIO_NOT_AVAILABLE 678 * RadioError:SS_MODIFIED_TO_DIAL 679 * RadioError:SS_MODIFIED_TO_USSD 680 * RadioError:SS_MODIFIED_TO_SS 681 * RadioError:NO_MEMORY 682 * RadioError:MODEM_ERR 683 * RadioError:INTERNAL_ERR 684 * RadioError:FDN_CHECK_FAILURE 685 * RadioError:SYSTEM_ERR 686 * RadioError:REQUEST_NOT_SUPPORTED 687 * RadioError:INVALID_ARGUMENTS 688 * RadioError:NO_RESOURCES 689 * RadioError:CANCELLED 690 */ 691 oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m); 692 693 /** 694 * @param info Response info struct containing response type, serial no. and error 695 * 696 * Valid errors returned: 697 * RadioError:NONE 698 * RadioError:INVALID_ARGUMENTS 699 * RadioError:RADIO_NOT_AVAILABLE 700 * RadioError:SS_MODIFIED_TO_DIAL 701 * RadioError:SS_MODIFIED_TO_USSD 702 * RadioError:SS_MODIFIED_TO_SS 703 * RadioError:NO_MEMORY 704 * RadioError:INTERNAL_ERR 705 * RadioError:SYSTEM_ERR 706 * RadioError:REQUEST_NOT_SUPPORTED 707 * RadioError:NO_RESOURCES 708 * RadioError:CANCELLED 709 */ 710 oneway setClirResponse(RadioResponseInfo info); 711 712 /** 713 * @param info Response info struct containing response type, serial no. and error 714 * @param callForwardInfos points to a vector of CallForwardInfo, one for 715 * each distinct registered phone number. 716 * 717 * For example, if data is forwarded to +18005551212 and voice is forwarded 718 * to +18005559999, then two separate CallForwardInfo's must be returned 719 * 720 * If, however, both data and voice are forwarded to +18005551212, then 721 * a single CallForwardInfo must be returned with the service class 722 * set to "data + voice = 3") 723 * 724 * Valid errors returned: 725 * RadioError:NONE 726 * RadioError:RADIO_NOT_AVAILABLE 727 * RadioError:SS_MODIFIED_TO_DIAL 728 * RadioError:SS_MODIFIED_TO_USSD 729 * RadioError:SS_MODIFIED_TO_SS 730 * RadioError:INVALID_ARGUMENTS 731 * RadioError:NO_MEMORY 732 * RadioError:SYSTEM_ERR 733 * RadioError:MODEM_ERR 734 * RadioError:INTERNAL_ERR 735 * RadioError:FDN_CHECK_FAILURE 736 * RadioError:REQUEST_NOT_SUPPORTED 737 * RadioError:SYSTEM_ERR 738 * RadioError:NO_RESOURCES 739 * RadioError:CANCELLED 740 */ 741 oneway getCallForwardStatusResponse(RadioResponseInfo info, 742 vec<CallForwardInfo> callForwardInfos); 743 744 /** 745 * @param info Response info struct containing response type, serial no. and error 746 * 747 * Valid errors returned: 748 * RadioError:NONE 749 * RadioError:RADIO_NOT_AVAILABLE 750 * RadioError:SS_MODIFIED_TO_DIAL 751 * RadioError:SS_MODIFIED_TO_USSD 752 * RadioError:SS_MODIFIED_TO_SS 753 * RadioError:INVALID_ARGUMENTS 754 * RadioError:NO_MEMORY 755 * RadioError:SYSTEM_ERR 756 * RadioError:MODEM_ERR 757 * RadioError:INTERNAL_ERR 758 * RadioError:INVALID_STATE 759 * RadioError:FDN_CHECK_FAILURE 760 * RadioError:REQUEST_NOT_SUPPORTED 761 * RadioError:INVALID_MODEM_STATE 762 * RadioError:NO_RESOURCES 763 * RadioError:CANCELLED 764 */ 765 oneway setCallForwardResponse(RadioResponseInfo info); 766 767 /** 768 * @param info Response info struct containing response type, serial no. and error 769 * @param enable If current call waiting state is disabled, enable = false else true 770 * @param serviceClass If enable, then callWaitingResp[1] 771 * must follow, with the TS 27.007 service class bit vector of services 772 * for which call waiting is enabled. 773 * For example, if callWaitingResp[0] is 1 and 774 * callWaitingResp[1] is 3, then call waiting is enabled for data 775 * and voice and disabled for everything else. 776 * 777 * Valid errors returned: 778 * RadioError:NONE 779 * RadioError:RADIO_NOT_AVAILABLE 780 * RadioError:SS_MODIFIED_TO_DIAL 781 * RadioError:SS_MODIFIED_TO_USSD 782 * RadioError:SS_MODIFIED_TO_SS 783 * RadioError:INVALID_ARGUMENTS 784 * RadioError:NO_MEMORY 785 * RadioError:MODEM_ERR 786 * RadioError:INTERNAL_ERR 787 * RadioError:FDN_CHECK_FAILURE 788 * RadioError:INTERNAL_ERR 789 * RadioError:SYSTEM_ERR 790 * RadioError:REQUEST_NOT_SUPPORTED 791 * RadioError:NO_RESOURCES 792 * RadioError:CANCELLED 793 */ 794 oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass); 795 796 /** 797 * @param info Response info struct containing response type, serial no. and error 798 * 799 * Valid errors returned: 800 * RadioError:NONE 801 * RadioError:RADIO_NOT_AVAILABLE 802 * RadioError:SS_MODIFIED_TO_DIAL 803 * RadioError:SS_MODIFIED_TO_USSD 804 * RadioError:SS_MODIFIED_TO_SS 805 * RadioError:INVALID_ARGUMENTS 806 * RadioError:NO_MEMORY 807 * RadioError:MODEM_ERR 808 * RadioError:INTERNAL_ERR 809 * RadioError:INVALID_STATE 810 * RadioError:FDN_CHECK_FAILURE 811 * RadioError:SYSTEM_ERR 812 * RadioError:REQUEST_NOT_SUPPORTED 813 * RadioError:INVALID_MODEM_STATE 814 * RadioError:NO_RESOURCES 815 * RadioError:CANCELLED 816 */ 817 oneway setCallWaitingResponse(RadioResponseInfo info); 818 819 /** 820 * @param info Response info struct containing response type, serial no. and error 821 * 822 * Valid errors returned: 823 * RadioError:NONE 824 * RadioError:RADIO_NOT_AVAILABLE 825 * RadioError:INTERNAL_ERR 826 * RadioError:NO_MEMORY 827 * RadioError:NO_RESOURCES 828 * RadioError:CANCELLED 829 * RadioError:REQUEST_NOT_SUPPORTED 830 */ 831 oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info); 832 833 /** 834 * @param info Response info struct containing response type, serial no. and error 835 * 836 * Valid errors returned: 837 * RadioError:NONE 838 * RadioError:RADIO_NOT_AVAILABLE 839 * RadioError:INVALID_STATE 840 * RadioError:NO_MEMORY 841 * RadioError:SYSTEM_ERR 842 * RadioError:MODEM_ERR 843 * RadioError:INTERNAL_ERR 844 * RadioError:INVALID_CALL_ID 845 * RadioError:INVALID_ARGUMENTS 846 * RadioError:SYSTEM_ERR 847 * RadioError:REQUEST_NOT_SUPPORTED 848 * RadioError:NO_RESOURCES 849 * RadioError:CANCELLED 850 */ 851 oneway acceptCallResponse(RadioResponseInfo info); 852 853 /** 854 * @param info Response info struct containing response type, serial no. and error 855 * 856 * Valid errors returned: 857 * RadioError:NONE 858 * RadioError:RADIO_NOT_AVAILABLE 859 * RadioError:INVALID_CALL_ID 860 * RadioError:INVALID_STATE 861 * RadioError:INVALID_ARGUMENTS 862 * RadioError:REQUEST_NOT_SUPPORTED 863 * RadioError:INTERNAL_ERR 864 * RadioError:NO_MEMORY 865 * RadioError:NO_RESOURCES 866 * RadioError:CANCELLED 867 * RadioError:SIM_ABSENT 868 */ 869 oneway deactivateDataCallResponse(RadioResponseInfo info); 870 871 /** 872 * @param info Response info struct containing response type, serial no. and error 873 * @param response 0 is the TS 27.007 service class bit vector of 874 * services for which the specified barring facility 875 * is active. "0" means "disabled for all" 876 * 877 * Valid errors returned: 878 * RadioError:NONE 879 * RadioError:RADIO_NOT_AVAILABLE 880 * RadioError:SS_MODIFIED_TO_DIAL 881 * RadioError:SS_MODIFIED_TO_USSD 882 * RadioError:SS_MODIFIED_TO_SS 883 * RadioError:INVALID_ARGUMENTS 884 * RadioError:NO_MEMORY 885 * RadioError:MODEM_ERR 886 * RadioError:INTERNAL_ERR 887 * RadioError:SYSTEM_ERR 888 * RadioError:FDN_CHECK_FAILURE 889 * RadioError:REQUEST_NOT_SUPPORTED 890 * RadioError:NO_RESOURCES 891 * RadioError:CANCELLED 892 */ 893 oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response); 894 895 /** 896 * @param info Response info struct containing response type, serial no. and error 897 * @param retry 0 is the number of retries remaining, or -1 if unknown 898 * 899 * Valid errors returned: 900 * RadioError:NONE 901 * RadioError:RADIO_NOT_AVAILABLE 902 * RadioError:SS_MODIFIED_TO_DIAL 903 * RadioError:SS_MODIFIED_TO_USSD 904 * RadioError:SS_MODIFIED_TO_SS 905 * RadioError:INVALID_ARGUMENTS 906 * RadioError:NO_MEMORY 907 * RadioError:MODEM_ERR 908 * RadioError:INTERNAL_ERR 909 * RadioError:SYSTEM_ERR 910 * RadioError:INVALID_STATE 911 * RadioError:FDN_CHECK_FAILURE 912 * RadioError:REQUEST_NOT_SUPPORTED 913 * RadioError:INVALID_MODEM_STATE 914 * RadioError:NO_RESOURCES 915 * RadioError:CANCELLED 916 */ 917 oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry); 918 919 /** 920 * @param info Response info struct containing response type, serial no. and error 921 * 922 * Valid errors returned: 923 * RadioError:NONE 924 * RadioError:RADIO_NOT_AVAILABLE 925 * RadioError:SS_MODIFIED_TO_DIAL 926 * RadioError:SS_MODIFIED_TO_USSD 927 * RadioError:SS_MODIFIED_TO_SS 928 * RadioError:INVALID_ARGUMENTS 929 * RadioError:NO_MEMORY 930 * RadioError:MODEM_ERR 931 * RadioError:INTERNAL_ERR 932 * RadioError:SYSTEM_ERR 933 * RadioError:FDN_CHECK_FAILURE 934 * RadioError:REQUEST_NOT_SUPPORTED 935 * RadioError:NO_RESOURCES 936 * RadioError:CANCELLED 937 */ 938 oneway setBarringPasswordResponse(RadioResponseInfo info); 939 940 /** 941 * @param info Response info struct containing response type, serial no. and error 942 * @param selection false for automatic selection, true for manual selection 943 * 944 * Valid errors returned: 945 * RadioError:NONE 946 * RadioError:RADIO_NOT_AVAILABLE 947 * RadioError:NO_MEMORY 948 * RadioError:INTERNAL_ERR 949 * RadioError:SYSTEM_ERR 950 * RadioError:INVALID_ARGUMENTS 951 * RadioError:MODEM_ERR 952 * RadioError:REQUEST_NOT_SUPPORTED 953 * RadioError:NO_RESOURCES 954 * RadioError:CANCELLED 955 */ 956 oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual); 957 958 /** 959 * @param info Response info struct containing response type, serial no. and error 960 * 961 * Valid errors returned: 962 * RadioError:NONE 963 * RadioError:RADIO_NOT_AVAILABLE 964 * RadioError:ILLEGAL_SIM_OR_ME 965 * RadioError:OPERATION_NOT_ALLOWED 966 * RadioError:NO_MEMORY 967 * RadioError:INTERNAL_ERR 968 * RadioError:SYSTEM_ERR 969 * RadioError:INVALID_ARGUMENTS 970 * RadioError:MODEM_ERR 971 * RadioError:REQUEST_NOT_SUPPORTED 972 * RadioError:NO_RESOURCES 973 * RadioError:CANCELLED 974 * 975 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and 976 * no retries needed, such as illegal SIM or ME. 977 */ 978 oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info); 979 980 /** 981 * @param info Response info struct containing response type, serial no. and error 982 * 983 * Valid errors returned: 984 * RadioError:NONE 985 * RadioError:RADIO_NOT_AVAILABLE 986 * RadioError:ILLEGAL_SIM_OR_ME 987 * RadioError:OPERATION_NOT_ALLOWED 988 * RadioError:INVALID_STATE 989 * RadioError:NO_MEMORY 990 * RadioError:INTERNAL_ERR 991 * RadioError:SYSTEM_ERR 992 * RadioError:INVALID_ARGUMENTS 993 * RadioError:MODEM_ERR 994 * RadioError:REQUEST_NOT_SUPPORTED 995 * RadioError:NO_RESOURCES 996 * RadioError:CANCELLED 997 * 998 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and 999 * no retries needed, such as illegal SIM or ME. 1000 */ 1001 oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info); 1002 1003 /** 1004 * @param info Response info struct containing response type, serial no. and error 1005 * @param networkInfos List of network operator information as OperatorInfos defined in 1006 * types.hal 1007 * 1008 * Valid errors returned: 1009 * RadioError:NONE 1010 * RadioError:RADIO_NOT_AVAILABLE 1011 * RadioError:OPERATION_NOT_ALLOWED 1012 * RadioError:ABORTED 1013 * RadioError:DEVICE_IN_USE 1014 * RadioError:INTERNAL_ERR 1015 * RadioError:NO_MEMORY 1016 * RadioError:MODEM_ERR 1017 * RadioError:REQUEST_NOT_SUPPORTED 1018 * RadioError:CANCELLED 1019 * RadioError:NO_RESOURCES 1020 * RadioError:INTERNAL_ERR 1021 */ 1022 oneway getAvailableNetworksResponse(RadioResponseInfo info, 1023 vec<OperatorInfo> networkInfos); 1024 1025 /** 1026 * @param info Response info struct containing response type, serial no. and error 1027 * 1028 * Valid errors returned: 1029 * RadioError:NONE 1030 * RadioError:RADIO_NOT_AVAILABLE 1031 * RadioError:INVALID_ARGUMENTS 1032 * RadioError:NO_RESOURCES 1033 * RadioError:NO_MEMORY 1034 * RadioError:SYSTEM_ERR 1035 * RadioError:MODEM_ERR 1036 * RadioError:INTERNAL_ERR 1037 * RadioError:INVALID_CALL_ID 1038 * RadioError:SYSTEM_ERR 1039 * RadioError:REQUEST_NOT_SUPPORTED 1040 * RadioError:CANCELLED 1041 * RadioError:INVALID_MODEM_STATE 1042 */ 1043 oneway startDtmfResponse(RadioResponseInfo info); 1044 1045 /** 1046 * @param info Response info struct containing response type, serial no. and error 1047 * 1048 * Valid errors returned: 1049 * RadioError:NONE 1050 * RadioError:RADIO_NOT_AVAILABLE 1051 * RadioError:INVALID_ARGUMENTS 1052 * RadioError:NO_RESOURCES 1053 * RadioError:NO_MEMORY 1054 * RadioError:INVALID_ARGUMENTS 1055 * RadioError:SYSTEM_ERR 1056 * RadioError:MODEM_ERR 1057 * RadioError:INTERNAL_ERR 1058 * RadioError:INVALID_CALL_ID 1059 * RadioError:REQUEST_NOT_SUPPORTED 1060 * RadioError:CANCELLED 1061 * RadioError:INVALID_MODEM_STATE 1062 */ 1063 oneway stopDtmfResponse(RadioResponseInfo info); 1064 1065 /** 1066 * @param info Response info struct containing response type, serial no. and error 1067 * @param version string containing version string for log reporting 1068 * 1069 * Valid errors returned: 1070 * RadioError:NONE 1071 * RadioError:RADIO_NOT_AVAILABLE 1072 * RadioError:EMPTY_RECORD 1073 * RadioError:NO_MEMORY 1074 * RadioError:INTERNAL_ERR 1075 * RadioError:SYSTEM_ERR 1076 * RadioError:MODEM_ERR 1077 * RadioError:NOT_PROVISIONED 1078 * RadioError:REQUEST_NOT_SUPPORTED 1079 * RadioError:NO_RESOURCES 1080 * RadioError:CANCELLED 1081 */ 1082 oneway getBasebandVersionResponse(RadioResponseInfo info, string version); 1083 1084 /** 1085 * @param info Response info struct containing response type, serial no. and error 1086 * 1087 * Valid errors returned: 1088 * RadioError:NONE 1089 * RadioError:RADIO_NOT_AVAILABLE 1090 * RadioError:INVALID_ARGUMENTS 1091 * RadioError:INVALID_STATE 1092 * RadioError:NO_RESOURCES 1093 * RadioError:NO_MEMORY 1094 * RadioError:MODEM_ERR 1095 * RadioError:SYSTEM_ERR 1096 * RadioError:INTERNAL_ERR 1097 * RadioError:INVALID_CALL_ID 1098 * RadioError:OPERATION_NOT_ALLOWED 1099 * RadioError:REQUEST_NOT_SUPPORTED 1100 * RadioError:INVALID_MODEM_STATE 1101 * RadioError:CANCELLED 1102 */ 1103 oneway separateConnectionResponse(RadioResponseInfo info); 1104 1105 /** 1106 * @param info Response info struct containing response type, serial no. and error 1107 * 1108 * Valid errors returned: 1109 * RadioError:NONE 1110 * RadioError:RADIO_NOT_AVAILABLE 1111 * RadioError:INVALID_ARGUMENTS 1112 * RadioError:NO_MEMORY 1113 * RadioError:REQUEST_RATE_LIMITED 1114 * RadioError:INTERNAL_ERR 1115 * RadioError:SYSTEM_ERR 1116 * RadioError:REQUEST_NOT_SUPPORTED 1117 * RadioError:NO_RESOURCES 1118 * RadioError:CANCELLED 1119 */ 1120 oneway setMuteResponse(RadioResponseInfo info); 1121 1122 /** 1123 * @param info Response info struct containing response type, serial no. and error 1124 * @param enable true for "mute enabled" and false for "mute disabled" 1125 * 1126 * Valid errors returned: 1127 * RadioError:NONE 1128 * RadioError:RADIO_NOT_AVAILABLE 1129 * RadioError:SS_MODIFIED_TO_DIAL 1130 * RadioError:SS_MODIFIED_TO_USSD 1131 * RadioError:SS_MODIFIED_TO_SS 1132 * RadioError:NO_MEMORY 1133 * RadioError:REQUEST_RATE_LIMITED 1134 * RadioError:INVALID_ARGUMENTS 1135 * RadioError:INTERNAL_ERR 1136 * RadioError:SYSTEM_ERR 1137 * RadioError:REQUEST_NOT_SUPPORTED 1138 * RadioError:NO_RESOURCES 1139 * RadioError:CANCELLED 1140 */ 1141 oneway getMuteResponse(RadioResponseInfo info, bool enable); 1142 1143 /** 1144 * @param info Response info struct containing response type, serial no. and error 1145 * @param status indicates CLIP status 1146 * 1147 * Valid errors returned: 1148 * RadioError:NONE 1149 * RadioError:RADIO_NOT_AVAILABLE 1150 * RadioError:INVALID_ARGUMENTS 1151 * RadioError:NO_MEMORY 1152 * RadioError:SYSTEM_ERR 1153 * RadioError:MODEM_ERR 1154 * RadioError:INTERNAL_ERR 1155 * RadioError:FDN_CHECK_FAILURE 1156 * RadioError:REQUEST_NOT_SUPPORTED 1157 * RadioError:NO_RESOURCES 1158 * RadioError:CANCELLED 1159 */ 1160 oneway getClipResponse(RadioResponseInfo info, ClipStatus status); 1161 1162 /** 1163 * @param info Response info struct containing response type, serial no. and error 1164 * @param dcResponse List of DataCallResult as defined in types.hal 1165 * 1166 * Valid errors returned: 1167 * RadioError:NONE 1168 * RadioError:RADIO_NOT_AVAILABLE 1169 * RadioError:INTERNAL_ERR 1170 * RadioError:NO_MEMORY 1171 * RadioError:NO_RESOURCES 1172 * RadioError:CANCELLED 1173 * RadioError:REQUEST_NOT_SUPPORTED 1174 * RadioError:SIM_ABSENT 1175 */ 1176 oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse); 1177 1178 /** 1179 * @param info Response info struct containing response type, serial no. and error 1180 * 1181 * Valid errors returned: 1182 * RadioError:NONE 1183 * RadioError:RADIO_NOT_AVAILABLE 1184 * RadioError:INVALID_ARGUMENTS 1185 * RadioError:SIM_BUSY 1186 * RadioError:NO_MEMORY 1187 * RadioError:SYSTEM_ERR 1188 * RadioError:MODEM_ERR 1189 * RadioError:INTERNAL_ERR 1190 * RadioError:REQUEST_NOT_SUPPORTED 1191 * RadioError:NO_RESOURCES 1192 * RadioError:CANCELLED 1193 * RadioError:SIM_ABSENT 1194 */ 1195 oneway setSuppServiceNotificationsResponse(RadioResponseInfo info); 1196 1197 /** 1198 * @param info Response info struct containing response type, serial no. and error 1199 * @param index record index where the message is stored 1200 * 1201 * Valid errors returned: 1202 * RadioError:NONE 1203 * RadioError:RADIO_NOT_AVAILABLE 1204 * RadioError:SIM_FULL 1205 * RadioError:INVALID_ARGUMENTS 1206 * RadioError:INVALID_SMS_FORMAT 1207 * RadioError:INTERNAL_ERR 1208 * RadioError:MODEM_ERR 1209 * RadioError:ENCODING_ERR 1210 * RadioError:NO_MEMORY 1211 * RadioError:NO_RESOURCES 1212 * RadioError:INVALID_MODEM_STATE 1213 * RadioError:OPERATION_NOT_ALLOWED 1214 * RadioError:INVALID_SMSC_ADDRESS 1215 * RadioError:RADIO_NOT_AVAILABLE 1216 * RadioError:SYSTEM_ERR 1217 * RadioError:REQUEST_NOT_SUPPORTED 1218 * RadioError:CANCELLED 1219 * RadioError:INVALID_MODEM_STATE 1220 * RadioError:SIM_ABSENT 1221 */ 1222 oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index); 1223 1224 /** 1225 * @param info Response info struct containing response type, serial no. and error 1226 * 1227 * Valid errors returned: 1228 * RadioError:NONE 1229 * RadioError:RADIO_NOT_AVAILABLE 1230 * RadioError:SIM_FULL 1231 * RadioError:INVALID_ARGUMENTS 1232 * RadioError:NO_MEMORY 1233 * RadioError:SYSTEM_ERR 1234 * RadioError:MODEM_ERR 1235 * RadioError:NO_SUCH_ENTRY 1236 * RadioError:INTERNAL_ERR 1237 * RadioError:RADIO_NOT_AVAILABLE 1238 * RadioError:REQUEST_NOT_SUPPORTED 1239 * RadioError:NO_RESOURCES 1240 * RadioError:CANCELLED 1241 * RadioError:INVALID_MODEM_STATE 1242 * RadioError:SIM_ABSENT 1243 */ 1244 oneway deleteSmsOnSimResponse(RadioResponseInfo info); 1245 1246 /** 1247 * @param info Response info struct containing response type, serial no. and error 1248 * 1249 * Valid errors returned: 1250 * RadioError:NONE 1251 * RadioError:RADIO_NOT_AVAILABLE 1252 * RadioError:OPERATION_NOT_ALLOWED 1253 * RadioError:NO_MEMORY 1254 * RadioError:INTERNAL_ERR 1255 * RadioError:SYSTEM_ERR 1256 * RadioError:INVALID_ARGUMENTS 1257 * RadioError:MODEM_ERR 1258 * RadioError:REQUEST_NOT_SUPPORTED 1259 * RadioError:NO_RESOURCES 1260 * RadioError:CANCELLED 1261 */ 1262 oneway setBandModeResponse(RadioResponseInfo info); 1263 1264 /** 1265 * @param info Response info struct containing response type, serial no. and error 1266 * @param bandModes List of RadioBandMode listing supported modes 1267 * 1268 * Valid errors returned: 1269 * RadioError:NONE 1270 * RadioError:RADIO_NOT_AVAILABLE 1271 * RadioError:INVALID_ARGUMENTS 1272 * RadioError:NO_MEMORY 1273 * RadioError:INTERNAL_ERR 1274 * RadioError:SYSTEM_ERR 1275 * RadioError:MODEM_ERR 1276 * RadioError:REQUEST_NOT_SUPPORTED 1277 * RadioError:NO_RESOURCES 1278 * RadioError:CANCELLED 1279 */ 1280 oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes); 1281 1282 /** 1283 * @param info Response info struct containing response type, serial no. and error 1284 * @param commandResponse SAT/USAT response in hexadecimal format 1285 * string starting with first byte of response 1286 * 1287 * Valid errors returned: 1288 * RadioError:NONE 1289 * RadioError:RADIO_NOT_AVAILABLE 1290 * RadioError:SIM_BUSY 1291 * RadioError:OPERATION_NOT_ALLOWED 1292 * RadioError:INTERNAL_ERR 1293 * RadioError:NO_MEMORY 1294 * RadioError:NO_RESOURCES 1295 * RadioError:CANCELLED 1296 * RadioError:INVALID_ARGUMENTS 1297 * RadioError:MODEM_ERR 1298 * RadioError:REQUEST_NOT_SUPPORTED 1299 * RadioError:SIM_ABSENT 1300 */ 1301 oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse); 1302 1303 /** 1304 * @param info Response info struct containing response type, serial no. and error 1305 * 1306 * Valid errors returned: 1307 * RadioError:NONE 1308 * RadioError:RADIO_NOT_AVAILABLE 1309 * RadioError:INVALID_ARGUMENTS 1310 * RadioError:OPERATION_NOT_ALLOWED 1311 * RadioError:INTERNAL_ERR 1312 * RadioError:NO_MEMORY 1313 * RadioError:NO_RESOURCES 1314 * RadioError:CANCELLED 1315 * RadioError:INVALID_MODEM_STATE 1316 * RadioError:REQUEST_NOT_SUPPORTED 1317 * RadioError:SIM_ABSENT 1318 */ 1319 oneway sendTerminalResponseToSimResponse(RadioResponseInfo info); 1320 1321 /** 1322 * @param info Response info struct containing response type, serial no. and error 1323 * 1324 * Valid errors returned: 1325 * RadioError:NONE 1326 * RadioError:RADIO_NOT_AVAILABLE 1327 * RadioError:NO_MEMORY 1328 * RadioError:INTERNAL_ERR 1329 * RadioError:SYSTEM_ERR 1330 * RadioError:MODEM_ERR 1331 * RadioError:INVALID_ARGUMENTS 1332 * RadioError:NO_RESOURCES 1333 * RadioError:CANCELLED 1334 * RadioError:REQUEST_NOT_SUPPORTED 1335 * RadioError:SIM_ABSENT 1336 */ 1337 oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info); 1338 1339 /** 1340 * @param info Response info struct containing response type, serial no. and error 1341 * 1342 * Valid errors returned: 1343 * RadioError:NONE 1344 * RadioError:RADIO_NOT_AVAILABLE 1345 * RadioError:INVALID_ARGUMENTS 1346 * RadioError:INVALID_STATE 1347 * RadioError:NO_RESOURCES 1348 * RadioError:NO_MEMORY 1349 * RadioError:SYSTEM_ERR 1350 * RadioError:MODEM_ERR 1351 * RadioError:INTERNAL_ERR 1352 * RadioError:INVALID_CALL_ID 1353 * RadioError:OPERATION_NOT_ALLOWED 1354 * RadioError:REQUEST_NOT_SUPPORTED 1355 * RadioError:INVALID_MODEM_STATE 1356 * RadioError:NO_RESOURCES 1357 * RadioError:CANCELLED 1358 */ 1359 oneway explicitCallTransferResponse(RadioResponseInfo info); 1360 1361 /** 1362 * @param info Response info struct containing response type, serial no. and error 1363 * 1364 * Valid errors returned: 1365 * RadioError:NONE 1366 * RadioError:RADIO_NOT_AVAILABLE 1367 * RadioError:OPERATION_NOT_ALLOWED 1368 * RadioError:MODE_NOT_SUPPORTED 1369 * RadioError:NO_MEMORY 1370 * RadioError:INTERNAL_ERR 1371 * RadioError:SYSTEM_ERR 1372 * RadioError:INVALID_ARGUMENTS 1373 * RadioError:MODEM_ERR 1374 * RadioError:REQUEST_NOT_SUPPORTED 1375 * RadioError:NO_RESOURCES 1376 * RadioError:CANCELLED 1377 */ 1378 oneway setPreferredNetworkTypeResponse(RadioResponseInfo info); 1379 1380 /** 1381 * @param info Response info struct containing response type, serial no. and error 1382 * @param nwType RadioPreferredNetworkType defined in types.hal 1383 * 1384 * Valid errors returned: 1385 * RadioError:NONE 1386 * RadioError:RADIO_NOT_AVAILABLE 1387 * RadioError:NO_MEMORY 1388 * RadioError:INTERNAL_ERR 1389 * RadioError:SYSTEM_ERR 1390 * RadioError:INVALID_ARGUMENTS 1391 * RadioError:MODEM_ERR 1392 * RadioError:REQUEST_NOT_SUPPORTED 1393 * RadioError:NO_RESOURCES 1394 * RadioError:CANCELLED 1395 */ 1396 oneway getPreferredNetworkTypeResponse(RadioResponseInfo info, 1397 PreferredNetworkType nwType); 1398 1399 /** 1400 * @param info Response info struct containing response type, serial no. and error 1401 * @param cells Vector of neighboring radio cell 1402 * 1403 * Valid errors returned: 1404 * RadioError:NONE 1405 * RadioError:RADIO_NOT_AVAILABLE 1406 * RadioError:INVALID_ARGUMENTS 1407 * RadioError:NO_MEMORY 1408 * RadioError:INTERNAL_ERR 1409 * RadioError:SYSTEM_ERR 1410 * RadioError:MODEM_ERR 1411 * RadioError:NO_NETWORK_FOUND 1412 * RadioError:REQUEST_NOT_SUPPORTED 1413 * RadioError:NO_RESOURCES 1414 * RadioError:CANCELLED 1415 */ 1416 oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells); 1417 1418 /** 1419 * @param info Response info struct containing response type, serial no. and error 1420 * 1421 * Valid errors returned: 1422 * RadioError:NONE 1423 * RadioError:RADIO_NOT_AVAILABLE 1424 * RadioError:NO_MEMORY 1425 * RadioError:INTERNAL_ERR 1426 * RadioError:SYSTEM_ERR 1427 * RadioError:INVALID_ARGUMENTS 1428 * RadioError:MODEM_ERR 1429 * RadioError:REQUEST_NOT_SUPPORTED 1430 * RadioError:NO_RESOURCES 1431 * RadioError:CANCELLED 1432 * RadioError:SIM_ABSENT 1433 */ 1434 oneway setLocationUpdatesResponse(RadioResponseInfo info); 1435 1436 /** 1437 * @param info Response info struct containing response type, serial no. and error 1438 * 1439 * Valid errors returned: 1440 * RadioError:NONE 1441 * RadioError:RADIO_NOT_AVAILABLE 1442 * RadioError:SIM_ABSENT 1443 * RadioError:SUBSCRIPTION_NOT_AVAILABLE 1444 * RadioError:INTERNAL_ERR 1445 * RadioError:NO_MEMORY 1446 * RadioError:NO_RESOURCES 1447 * RadioError:CANCELLED 1448 * RadioError:REQUEST_NOT_SUPPORTED 1449 */ 1450 oneway setCdmaSubscriptionSourceResponse(RadioResponseInfo info); 1451 1452 /** 1453 * @param info Response info struct containing response type, serial no. and error 1454 * 1455 * Valid errors returned: 1456 * RadioError:NONE 1457 * RadioError:RADIO_NOT_AVAILABLE 1458 * RadioError:NO_MEMORY 1459 * RadioError:INTERNAL_ERR 1460 * RadioError:SYSTEM_ERR 1461 * RadioError:INVALID_ARGUMENTS 1462 * RadioError:MODEM_ERR 1463 * RadioError:REQUEST_NOT_SUPPORTED 1464 * RadioError:OPERATION_NOT_ALLOWED 1465 * RadioError:NO_RESOURCES 1466 * RadioError:CANCELLED 1467 * RadioError:SIM_ABSENT 1468 */ 1469 oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info); 1470 1471 /** 1472 * @param info Response info struct containing response type, serial no. and error 1473 * @param type CdmaRoamingType defined in types.hal 1474 * 1475 * Valid errors returned: 1476 * RadioError:NONE 1477 * RadioError:RADIO_NOT_AVAILABLE 1478 * RadioError:INVALID_ARGUMENTS 1479 * RadioError:NO_MEMORY 1480 * RadioError:INTERNAL_ERR 1481 * RadioError:SYSTEM_ERR 1482 * RadioError:MODEM_ERR 1483 * RadioError:REQUEST_NOT_SUPPORTED 1484 * RadioError:NO_RESOURCES 1485 * RadioError:CANCELLED 1486 * RadioError:SIM_ABSENT 1487 */ 1488 oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type); 1489 1490 /** 1491 * @param info Response info struct containing response type, serial no. and error 1492 * 1493 * Valid errors returned: 1494 * RadioError:NONE 1495 * RadioError:RADIO_NOT_AVAILABLE 1496 * RadioError:INVALID_ARGUMENTS 1497 * RadioError:MODEM_ERR 1498 * RadioError:INTERNAL_ERR 1499 * RadioError:NO_MEMORY 1500 * RadioError:SYSTEM_ERR 1501 * RadioError:REQUEST_NOT_SUPPORTED 1502 * RadioError:NO_RESOURCES 1503 * RadioError:CANCELLED 1504 */ 1505 oneway setTTYModeResponse(RadioResponseInfo info); 1506 1507 /** 1508 * @param info Response info struct containing response type, serial no. and error 1509 * @param mode TtyMode 1510 * 1511 * Valid errors returned: 1512 * RadioError:NONE 1513 * RadioError:RADIO_NOT_AVAILABLE 1514 * RadioError:INVALID_ARGUMENTS 1515 * RadioError:MODEM_ERR 1516 * RadioError:INTERNAL_ERR 1517 * RadioError:NO_MEMORY 1518 * RadioError:SYSTEM_ERR 1519 * RadioError:REQUEST_NOT_SUPPORTED 1520 * RadioError:NO_RESOURCES 1521 * RadioError:CANCELLED 1522 */ 1523 oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode); 1524 1525 /** 1526 * @param info Response info struct containing response type, serial no. and error 1527 * 1528 * Valid errors returned: 1529 * RadioError:NONE 1530 * RadioError:RADIO_NOT_AVAILABLE 1531 * RadioError:INVALID_ARGUMENTS 1532 * RadioError:MODEM_ERR 1533 * RadioError:INTERNAL_ERR 1534 * RadioError:NO_MEMORY 1535 * RadioError:SYSTEM_ERR 1536 * RadioError:REQUEST_NOT_SUPPORTED 1537 * RadioError:INVALID_CALL_ID 1538 * RadioError:NO_RESOURCES 1539 * RadioError:CANCELLED 1540 */ 1541 oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info); 1542 1543 /** 1544 * @param info Response info struct containing response type, serial no. and error 1545 * @param enable false for Standard Privacy Mode (Public Long Code Mask) 1546 * true for Enhanced Privacy Mode (Private Long Code Mask) 1547 * 1548 * Valid errors: 1549 * RadioError:NONE 1550 * RadioError:RADIO_NOT_AVAILABLE 1551 * RadioError:INVALID_ARGUMENTS 1552 * RadioError:MODEM_ERR 1553 * RadioError:INTERNAL_ERR 1554 * RadioError:NO_MEMORY 1555 * RadioError:SYSTEM_ERR 1556 * RadioError:REQUEST_NOT_SUPPORTED 1557 * RadioError:NO_RESOURCES 1558 * RadioError:CANCELLED 1559 */ 1560 oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable); 1561 1562 /** 1563 * Response callback for IRadio.sendCDMAFeatureCode() 1564 * 1565 * @param info Response info struct containing response type, serial no. and error 1566 * 1567 * Valid errors returned: 1568 * RadioError:NONE 1569 * RadioError:RADIO_NOT_AVAILABLE 1570 * RadioError:INVALID_ARGUMENTS 1571 * RadioError:NO_MEMORY 1572 * RadioError:INTERNAL_ERR 1573 * RadioError:SYSTEM_ERR 1574 * RadioError:MODEM_ERR 1575 * RadioError:INVALID_CALL_ID 1576 * RadioError:INVALID_STATE 1577 * RadioError:REQUEST_NOT_SUPPORTED 1578 * RadioError:INVALID_MODEM_STATE 1579 * RadioError:NO_RESOURCES 1580 * RadioError:CANCELLED 1581 * RadioError:OPERATION_NOT_ALLOWED 1582 */ 1583 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info); 1584 1585 /** 1586 * @param info Response info struct containing response type, serial no. and error 1587 * 1588 * Valid errors returned: 1589 * RadioError:NONE 1590 * RadioError:RADIO_NOT_AVAILABLE 1591 * RadioError:INVALID_ARGUMENTS 1592 * RadioError:NO_MEMORY 1593 * RadioError:INTERNAL_ERR 1594 * RadioError:SYSTEM_ERR 1595 * RadioError:MODEM_ERR 1596 * RadioError:INVALID_CALL_ID 1597 * RadioError:INVALID_STATE 1598 * RadioError:REQUEST_NOT_SUPPORTED 1599 * RadioError:NO_RESOURCES 1600 * RadioError:CANCELLED 1601 * RadioError:INVALID_MODEM_STATE 1602 * RadioError:OPERATION_NOT_ALLOWED 1603 */ 1604 oneway sendBurstDtmfResponse(RadioResponseInfo info); 1605 1606 /** 1607 * @param info Response info struct containing response type, serial no. and error 1608 * @param sms Sms result struct as defined by SendSmsResult in types.hal 1609 * 1610 * Valid errors returned: 1611 * RadioError:NONE 1612 * RadioError:RADIO_NOT_AVAILABLE 1613 * RadioError:INVALID_ARGUMENTS 1614 * RadioError:SMS_SEND_FAIL_RETRY 1615 * RadioError:NETWORK_REJECT 1616 * RadioError:INVALID_STATE 1617 * RadioError:NO_MEMORY 1618 * RadioError:REQUEST_RATE_LIMITED 1619 * RadioError:INVALID_SMS_FORMAT 1620 * RadioError:SYSTEM_ERR 1621 * RadioError:FDN_CHECK_FAILURE 1622 * RadioError:MODEM_ERR 1623 * RadioError:NETWORK_ERR 1624 * RadioError:ENCODING_ERR 1625 * RadioError:INVALID_SMSC_ADDRESS 1626 * RadioError:INTERNAL_ERR 1627 * RadioError:SYSTEM_ERR 1628 * RadioError:REQUEST_NOT_SUPPORTED 1629 * RadioError:OPERATION_NOT_ALLOWED 1630 * RadioError:ENCODING_ERR 1631 * RadioError:NO_RESOURCES 1632 * RadioError:CANCELLED 1633 * RadioError:SIM_ABSENT 1634 */ 1635 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms); 1636 1637 /** 1638 * @param info Response info struct containing response type, serial no. and error 1639 * 1640 * Valid errors returned: 1641 * RadioError:NONE 1642 * RadioError:RADIO_NOT_AVAILABLE 1643 * RadioError:INVALID_ARGUMENTS 1644 * RadioError:NO_SMS_TO_ACK 1645 * RadioError:INVALID_STATE 1646 * RadioError:NO_MEMORY 1647 * RadioError:REQUEST_RATE_LIMITED 1648 * RadioError:SYSTEM_ERR 1649 * RadioError:MODEM_ERR 1650 * RadioError:NETWORK_NOT_READY 1651 * RadioError:INVALID_MODEM_STATE 1652 * RadioError:INTERNAL_ERR 1653 * RadioError:REQUEST_NOT_SUPPORTED 1654 * RadioError:OPERATION_NOT_ALLOWED 1655 * RadioError:NO_RESOURCES 1656 * RadioError:CANCELLED 1657 */ 1658 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info); 1659 1660 /** 1661 * @param info Response info struct containing response type, serial no. and error 1662 * @param configs Vector of GSM/WCDMA Cell broadcast configs 1663 * 1664 * Valid errors returned: 1665 * RadioError:NONE 1666 * RadioError:RADIO_NOT_AVAILABLE 1667 * RadioError:INVALID_ARGUMENTS 1668 * RadioError:INVALID_STATE 1669 * RadioError:NO_MEMORY 1670 * RadioError:REQUEST_RATE_LIMITED 1671 * RadioError:SYSTEM_ERR 1672 * RadioError:MODEM_ERR 1673 * RadioError:NO_RESOURCES 1674 * RadioError:INTERNAL_ERR 1675 * RadioError:REQUEST_NOT_SUPPORTED 1676 * RadioError:NO_RESOURCES 1677 * RadioError:CANCELLED 1678 * RadioError:INVALID_MODEM_STATE 1679 */ 1680 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info, 1681 vec<GsmBroadcastSmsConfigInfo> configs); 1682 1683 /** 1684 * @param info Response info struct containing response type, serial no. and error 1685 * 1686 * Valid errors returned: 1687 * RadioError:NONE 1688 * RadioError:RADIO_NOT_AVAILABLE 1689 * RadioError:INVALID_ARGUMENTS 1690 * RadioError:INVALID_STATE 1691 * RadioError:NO_MEMORY 1692 * RadioError:REQUEST_RATE_LIMITED 1693 * RadioError:SYSTEM_ERR 1694 * RadioError:MODEM_ERR 1695 * RadioError:INTERNAL_ERR 1696 * RadioError:REQUEST_NOT_SUPPORTED 1697 * RadioError:NO_RESOURCES 1698 * RadioError:CANCELLED 1699 * RadioError:INVALID_MODEM_STATE 1700 */ 1701 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info); 1702 1703 /** 1704 * @param info Response info struct containing response type, serial no. and error 1705 * 1706 * Valid errors returned: 1707 * RadioError:NONE 1708 * RadioError:RADIO_NOT_AVAILABLE 1709 * RadioError:INVALID_ARGUMENTS 1710 * RadioError:INVALID_STATE 1711 * RadioError:NO_MEMORY 1712 * RadioError:REQUEST_RATE_LIMITED 1713 * RadioError:SYSTEM_ERR 1714 * RadioError:MODEM_ERR 1715 * RadioError:INTERNAL_ERR 1716 * RadioError:REQUEST_NOT_SUPPORTED 1717 * RadioError:OPERATION_NOT_ALLOWED 1718 * RadioError:NO_RESOURCES 1719 * RadioError:CANCELLED 1720 * RadioError:INVALID_MODEM_STATE 1721 */ 1722 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info); 1723 1724 /** 1725 * @param info Response info struct containing response type, serial no. and error 1726 * @param configs Vector of CDMA Broadcast SMS configs. 1727 * 1728 * Valid errors returned: 1729 * RadioError:NONE 1730 * RadioError:RADIO_NOT_AVAILABLE 1731 * RadioError:INVALID_ARGUMENTS 1732 * RadioError:INVALID_STATE 1733 * RadioError:NO_MEMORY 1734 * RadioError:REQUEST_RATE_LIMITED 1735 * RadioError:SYSTEM_ERR 1736 * RadioError:MODEM_ERR 1737 * RadioError:NO_RESOURCES 1738 * RadioError:INTERNAL_ERR 1739 * RadioError:REQUEST_NOT_SUPPORTED 1740 * RadioError:NO_RESOURCES 1741 * RadioError:CANCELLED 1742 * RadioError:INVALID_MODEM_STATE 1743 */ 1744 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info, 1745 vec<CdmaBroadcastSmsConfigInfo> configs); 1746 1747 /** 1748 * @param info Response info struct containing response type, serial no. and error 1749 * 1750 * Valid errors returned: 1751 * RadioError:NONE 1752 * RadioError:RADIO_NOT_AVAILABLE 1753 * RadioError:INVALID_ARGUMENTS 1754 * RadioError:INVALID_STATE 1755 * RadioError:NO_MEMORY 1756 * RadioError:REQUEST_RATE_LIMITED 1757 * RadioError:SYSTEM_ERR 1758 * RadioError:MODEM_ERR 1759 * RadioError:INTERNAL_ERR 1760 * RadioError:REQUEST_NOT_SUPPORTED 1761 * RadioError:NO_RESOURCES 1762 * RadioError:CANCELLED 1763 * RadioError:INVALID_MODEM_STATE 1764 */ 1765 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info); 1766 1767 /** 1768 * @param info Response info struct containing response type, serial no. and error 1769 * 1770 * Valid errors returned: 1771 * RadioError:NONE 1772 * RadioError:RADIO_NOT_AVAILABLE 1773 * RadioError:INVALID_ARGUMENTS 1774 * RadioError:INVALID_STATE 1775 * RadioError:NO_MEMORY 1776 * RadioError:REQUEST_RATE_LIMITED 1777 * RadioError:SYSTEM_ERR 1778 * RadioError:MODEM_ERR 1779 * RadioError:INTERNAL_ERR 1780 * RadioError:REQUEST_NOT_SUPPORTED 1781 * RadioError:OPERATION_NOT_ALLOWED 1782 * RadioError:NO_RESOURCES 1783 * RadioError:CANCELLED 1784 * RadioError:INVALID_MODEM_STATE 1785 */ 1786 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info); 1787 1788 /** 1789 * @param info Response info struct containing response type, serial no. and error 1790 * @param mdn MDN if CDMA subscription is available 1791 * @param hSid is a comma separated list of H_SID (Home SID) if 1792 * CDMA subscription is available, in decimal format 1793 * @param hNid is a comma separated list of H_NID (Home NID) if 1794 * CDMA subscription is available, in decimal format 1795 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available 1796 * @param prl PRL version if CDMA subscription is available 1797 * 1798 * Valid errors returned: 1799 * RadioError:NONE 1800 * RadioError:RADIO_NOT_AVAILABLE 1801 * RadioError:SUBSCRIPTION_NOT_AVAILABLE 1802 * RadioError:NO_MEMORY 1803 * RadioError:INTERNAL_ERR 1804 * RadioError:SYSTEM_ERR 1805 * RadioError:INVALID_ARGUMENTS 1806 * RadioError:MODEM_ERR 1807 * RadioError:NOT_PROVISIONED 1808 * RadioError:REQUEST_NOT_SUPPORTED 1809 * RadioError:NO_RESOURCES 1810 * RadioError:CANCELLED 1811 * RadioError:SIM_ABSENT 1812 */ 1813 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid, 1814 string hNid, string min, string prl); 1815 1816 /** 1817 * @param info Response info struct containing response type, serial no. and error 1818 * @param index record index where the cmda sms message is stored 1819 * 1820 * Valid errors returned: 1821 * RadioError:NONE 1822 * RadioError:RADIO_NOT_AVAILABLE 1823 * RadioError:INVALID_ARGUMENTS 1824 * RadioError:INVALID_SMS_FORMAT 1825 * RadioError:SIM_FULL 1826 * RadioError:INTERNAL_ERR 1827 * RadioError:MODEM_ERR 1828 * RadioError:ENCODING_ERR 1829 * RadioError:NO_MEMORY 1830 * RadioError:NO_RESOURCES 1831 * RadioError:INVALID_MODEM_STATE 1832 * RadioError:INVALID_SMSC_ADDRESS 1833 * RadioError:SYSTEM_ERR 1834 * RadioError:REQUEST_NOT_SUPPORTED 1835 * RadioError:OPERATION_NOT_ALLOWED 1836 * RadioError:NO_RESOURCES 1837 * RadioError:CANCELLED 1838 * RadioError:INVALID_MODEM_STATE 1839 * RadioError:SIM_ABSENT 1840 */ 1841 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index); 1842 1843 /** 1844 * @param info Response info struct containing response type, serial no. and error 1845 * 1846 * Valid errors returned: 1847 * RadioError:NONE 1848 * RadioError:RADIO_NOT_AVAILABLE 1849 * RadioError:INVALID_ARGUMENTS 1850 * RadioError:NO_MEMORY 1851 * RadioError:SYSTEM_ERR 1852 * RadioError:MODEM_ERR 1853 * RadioError:NO_SUCH_ENTRY 1854 * RadioError:INTERNAL_ERR 1855 * RadioError:REQUEST_NOT_SUPPORTED 1856 * RadioError:OPERATION_NOT_ALLOWED 1857 * RadioError:NO_RESOURCES 1858 * RadioError:CANCELLED 1859 * RadioError:INVALID_MODEM_STATE 1860 * RadioError:OPERATION_NOT_ALLOWED 1861 * RadioError:SIM_ABSENT 1862 */ 1863 oneway deleteSmsOnRuimResponse(RadioResponseInfo info); 1864 1865 /** 1866 * @param info Response info struct containing response type, serial no. and error 1867 * @param imei IMEI if GSM subscription is available 1868 * @param imeisv IMEISV if GSM subscription is available 1869 * @param esn ESN if CDMA subscription is available 1870 * @param meid MEID if CDMA subscription is available 1871 * 1872 * Valid errors returned: 1873 * RadioError:NONE 1874 * RadioError:RADIO_NOT_AVAILABLE 1875 * RadioError:NO_MEMORY 1876 * RadioError:INTERNAL_ERR 1877 * RadioError:SYSTEM_ERR 1878 * RadioError:INVALID_ARGUMENTS 1879 * RadioError:MODEM_ERR 1880 * RadioError:NOT_PROVISIONED 1881 * RadioError:NO_RESOURCES 1882 * RadioError:CANCELLED 1883 * RadioError:REQUEST_NOT_SUPPORTED 1884 * 1885 * If a empty string value is returned for any of the device id, it means that there was error 1886 * accessing the device. 1887 * 1888 */ 1889 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv, 1890 string esn, string meid); 1891 1892 /** 1893 * @param info Response info struct containing response type, serial no. and error 1894 * 1895 * Valid errors returned: 1896 * RadioError:NONE 1897 * RadioError:RADIO_NOT_AVAILABLE 1898 * RadioError:OPERATION_NO_ALLOWED 1899 * RadioError:INTERNAL_ERR 1900 * RadioError:NO_MEMORY 1901 * RadioError:SYSTEM_ERR 1902 * RadioError:INVALID_ARGUMENTS 1903 * RadioError:MODEM_ERR 1904 * RadioError:REQUEST_NOT_SUPPORTED 1905 * RadioError:NO_RESOURCES 1906 * RadioError:CANCELLED 1907 * RadioError:SIM_ABSENT 1908 */ 1909 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info); 1910 1911 /** 1912 * @param info Response info struct containing response type, serial no. and error 1913 * @param smsc Short Message Service Center address on the device 1914 * 1915 * Valid errors returned: 1916 * RadioError:NONE 1917 * RadioError:RADIO_NOT_AVAILABLE 1918 * RadioError:INVALID_ARGUMENTS 1919 * RadioError:INTERNAL_ERR 1920 * RadioError:NO_MEMORY 1921 * RadioError:SYSTEM_ERR 1922 * RadioError:REQUEST_RATE_LIMITED 1923 * RadioError:MODEM_ERR 1924 * RadioError:INVALID_MODEM_STATE 1925 * RadioError:NOT_PROVISIONED 1926 * RadioError:REQUEST_NOT_SUPPORTED 1927 * RadioError:OPERATION_NOT_ALLOWED 1928 * RadioError:NO_RESOURCES 1929 * RadioError:CANCELLED 1930 * RadioError:SIM_ABSENT 1931 */ 1932 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc); 1933 1934 /** 1935 * @param info Response info struct containing response type, serial no. and error 1936 * 1937 * Valid errors returned: 1938 * RadioError:NONE 1939 * RadioError:RADIO_NOT_AVAILABLE 1940 * RadioError:INVALID_ARGUMENTS 1941 * RadioError:INVALID_SMS_FORMAT 1942 * RadioError:NO_MEMORY 1943 * RadioError:SYSTEM_ERR 1944 * RadioError:REQUEST_RATE_LIMITED 1945 * RadioError:MODEM_ERR 1946 * RadioError:NO_RESOURCES 1947 * RadioError:INTERNAL_ERR 1948 * RadioError:REQUEST_NOT_SUPPORTED 1949 * RadioError:OPERATION_NOT_ALLOWED 1950 * RadioError:NO_RESOURCES 1951 * RadioError:CANCELLED 1952 * RadioError:SIM_ABSENT 1953 */ 1954 oneway setSmscAddressResponse(RadioResponseInfo info); 1955 1956 /** 1957 * @param info Response info struct containing response type, serial no. and error 1958 * 1959 * Valid errors returned: 1960 * RadioError:NONE 1961 * RadioError:RADIO_NOT_AVAILABLE 1962 * RadioError:INVALID_ARGUMENTS 1963 * RadioError:NO_MEMORY 1964 * RadioError:SYSTEM_ERR 1965 * RadioError:REQUEST_RATE_LIMITED 1966 * RadioError:MODEM_ERR 1967 * RadioError:INVALID_STATE 1968 * RadioError:INTERNAL_ERR 1969 * RadioError:REQUEST_NOT_SUPPORTED 1970 * RadioError:NO_RESOURCES 1971 * RadioError:CANCELLED 1972 * RadioError:SIM_ABSENT 1973 */ 1974 oneway reportSmsMemoryStatusResponse(RadioResponseInfo info); 1975 1976 /** 1977 * @param info Response info struct containing response type, serial no. and error 1978 * 1979 * Valid errors returned: 1980 * RadioError:NONE 1981 * RadioError:RADIO_NOT_AVAILABLE 1982 * RadioError:INTERNAL_ERR 1983 * RadioError:NO_MEMORY 1984 * RadioError:NO_RESOURCES 1985 * RadioError:CANCELLED 1986 * RadioError:REQUEST_NOT_SUPPORTED 1987 */ 1988 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info); 1989 1990 /** 1991 * @param info Response info struct containing response type, serial no. and error 1992 * @param source CDMA subscription source 1993 * 1994 * Valid errors returned: 1995 * RadioError:NONE 1996 * RadioError:RADIO_NOT_AVAILABLE 1997 * RadioError:SUBSCRIPTION_NOT_AVAILABLE 1998 * RadioError:INTERNAL_ERR 1999 * RadioError:NO_MEMORY 2000 * RadioError:NO_RESOURCES 2001 * RadioError:CANCELLED 2002 * RadioError:REQUEST_NOT_SUPPORTED 2003 * RadioError:SIM_ABSENT 2004 */ 2005 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source); 2006 2007 /** 2008 * @param info Response info struct containing response type, serial no. and error 2009 * @param response response string of the challenge/response algo for ISIM auth in base64 format 2010 * 2011 * Valid errors returned: 2012 * RadioError:NONE 2013 * RadioError:RADIO_NOT_AVAILABLE 2014 * RadioError:INTERNAL_ERR 2015 * RadioError:NO_MEMORY 2016 * RadioError:NO_RESOURCES 2017 * RadioError:CANCELLED 2018 * RadioError:INVALID_MODEM_STATE 2019 * RadioError:INVALID_ARGUMENTS 2020 * RadioError:REQUEST_NOT_SUPPORTED 2021 * RadioError:SIM_ABSENT 2022 */ 2023 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response); 2024 2025 /** 2026 * @param info Response info struct containing response type, serial no. and error 2027 * 2028 * Valid errors returned: 2029 * RadioError:NONE 2030 * RadioError:RADIO_NOT_AVAILABLE 2031 * RadioError:INTERNAL_ERR 2032 * RadioError:NO_MEMORY 2033 * RadioError:NO_RESOURCES 2034 * RadioError:CANCELLED 2035 * RadioError:REQUEST_NOT_SUPPORTED 2036 */ 2037 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info); 2038 2039 /** 2040 * @param info Response info struct containing response type, serial no. and error 2041 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response 2042 * 2043 * Valid errors returned: 2044 * RadioError:NONE 2045 * RadioError:RADIO_NOT_AVAILABLE 2046 * RadioError:SIM_BUSY 2047 * RadioError:OPERATION_NOT_ALLOWED 2048 * RadioError:INTERNAL_ERR 2049 * RadioError:NO_MEMORY 2050 * RadioError:NO_RESOURCES 2051 * RadioError:CANCELLED 2052 * RadioError:REQUEST_NOT_SUPPORTED 2053 * RadioError:SIM_ABSENT 2054 */ 2055 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo); 2056 2057 /** 2058 * @param info Response info struct containing response type, serial no. and error 2059 * @param rat Current voice RAT 2060 * 2061 * Valid errors returned: 2062 * RadioError:NONE 2063 * RadioError:RADIO_NOT_AVAILABLE 2064 * RadioError:INTERNAL_ERR 2065 * RadioError:NO_MEMORY 2066 * RadioError:NO_RESOURCES 2067 * RadioError:CANCELLED 2068 * RadioError:REQUEST_NOT_SUPPORTED 2069 */ 2070 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat); 2071 2072 /** 2073 * @param info Response info struct containing response type, serial no. and error 2074 * @param cellInfo List of current cell information known to radio 2075 * 2076 * Valid errors returned: 2077 * RadioError:NONE 2078 * RadioError:RADIO_NOT_AVAILABLE 2079 * RadioError:NO_MEMORY 2080 * RadioError:INTERNAL_ERR 2081 * RadioError:SYSTEM_ERR 2082 * RadioError:MODEM_ERR 2083 * RadioError:NO_NETWORK_FOUND 2084 * RadioError:REQUEST_NOT_SUPPORTED 2085 * RadioError:NO_RESOURCES 2086 * RadioError:CANCELLED 2087 */ 2088 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo); 2089 2090 /** 2091 * @param info Response info struct containing response type, serial no. and error 2092 * 2093 * Valid errors returned: 2094 * RadioError:NONE 2095 * RadioError:RADIO_NOT_AVAILABLE 2096 * RadioError:NO_MEMORY 2097 * RadioError:INTERNAL_ERR 2098 * RadioError:SYSTEM_ERR 2099 * RadioError:INVALID_ARGUMENTS 2100 * RadioError:NO_RESOURCES 2101 * RadioError:CANCELLED 2102 * RadioError:REQUEST_NOT_SUPPORTED 2103 */ 2104 oneway setCellInfoListRateResponse(RadioResponseInfo info); 2105 2106 /** 2107 * @param info Response info struct containing response type, serial no. and error 2108 * 2109 * Valid errors returned: 2110 * RadioError:NONE 2111 * RadioError:RADIO_NOT_AVAILABLE 2112 * RadioError:SUBSCRIPTION_NOT_AVAILABLE 2113 * RadioError:NO_MEMORY 2114 * RadioError:INTERNAL_ERR 2115 * RadioError:SYSTEM_ERR 2116 * RadioError:MODEM_ERR 2117 * RadioError:INVALID_ARGUMENTS 2118 * RadioError:NOT_PROVISIONED 2119 * RadioError:REQUEST_NOT_SUPPORTED 2120 * RadioError:NO_RESOURCES 2121 * RadioError:CANCELLED 2122 */ 2123 oneway setInitialAttachApnResponse(RadioResponseInfo info); 2124 2125 /** 2126 * @param info Response info struct containing response type, serial no. and error 2127 * @param isRegistered false = not registered, true = registered 2128 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if 2129 * isRegistered is true. 2130 * 2131 * Valid errors returned: 2132 * RadioError:NONE 2133 * RadioError:RADIO_NOT_AVAILABLE 2134 * RadioError:INTERNAL_ERR 2135 * RadioError:NO_MEMORY 2136 * RadioError:NO_RESOURCES 2137 * RadioError:CANCELLED 2138 * RadioError:INVALID_MODEM_STATE 2139 * RadioError:REQUEST_NOT_SUPPORTED 2140 */ 2141 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered, 2142 RadioTechnologyFamily ratFamily); 2143 2144 /** 2145 * @param info Response info struct containing response type, serial no. and error 2146 * @param sms Response to sms sent as defined by SendSmsResult in types.hal 2147 * 2148 * Valid errors returned: 2149 * RadioError:NONE 2150 * RadioError:RADIO_NOT_AVAILABLE 2151 * RadioError:SMS_SEND_FAIL_RETRY 2152 * RadioError:FDN_CHECK_FAILURE 2153 * RadioError:NETWORK_REJECT 2154 * RadioError:INVALID_ARGUMENTS 2155 * RadioError:INVALID_STATE 2156 * RadioError:NO_MEMORY 2157 * RadioError:INVALID_SMS_FORMAT 2158 * RadioError:SYSTEM_ERR 2159 * RadioError:REQUEST_RATE_LIMITED 2160 * RadioError:MODEM_ERR 2161 * RadioError:NETWORK_ERR 2162 * RadioError:ENCODING_ERR 2163 * RadioError:OPERATION_NOT_ALLOWED 2164 * RadioError:INTERNAL_ERR 2165 * RadioError:REQUEST_NOT_SUPPORTED 2166 * RadioError:NETWORK_NOT_READY 2167 * RadioError:NO_RESOURCES 2168 * RadioError:CANCELLED 2169 */ 2170 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms); 2171 2172 /** 2173 * @param info Response info struct containing response type, serial no. and error 2174 * @param result IccIoResult as defined in types.hal 2175 * 2176 * Valid errors returned: 2177 * RadioError:NONE 2178 * RadioError:RADIO_NOT_AVAILABLE 2179 * RadioError:INTERNAL_ERR 2180 * RadioError:NO_MEMORY 2181 * RadioError:NO_RESOURCES 2182 * RadioError:CANCELLED 2183 * RadioError:REQUEST_NOT_SUPPORTED 2184 */ 2185 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result); 2186 2187 /** 2188 * @param info Response info struct containing response type, serial no. and error 2189 * @param channelId session id of the logical channel. 2190 * @param selectResponse Contains the select response for the open channel command with one 2191 * byte per integer 2192 * 2193 * Valid errors returned: 2194 * RadioError:NONE 2195 * RadioError:RADIO_NOT_AVAILABLE 2196 * RadioError:MISSING_RESOURCE 2197 * RadioError:NO_SUCH_ELEMENT 2198 * RadioError:INTERNAL_ERR 2199 * RadioError:NO_MEMORY 2200 * RadioError:NO_RESOURCES 2201 * RadioError:CANCELLED 2202 * RadioError:SIM_ERR 2203 * RadioError:INVALID_SIM_STATE 2204 * RadioError:MISSING_RESOURCE 2205 * RadioError:REQUEST_NOT_SUPPORTED 2206 */ 2207 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId, 2208 vec<int8_t> selectResponse); 2209 2210 /** 2211 * @param info Response info struct containing response type, serial no. and error 2212 * 2213 * Valid errors returned: 2214 * RadioError:NONE 2215 * RadioError:RADIO_NOT_AVAILABLE 2216 * RadioError:INTERNAL_ERR 2217 * RadioError:NO_MEMORY 2218 * RadioError:NO_RESOURCES 2219 * RadioError:CANCELLED 2220 * RadioError:REQUEST_NOT_SUPPORTED 2221 */ 2222 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info); 2223 2224 /** 2225 * @param info Response info struct containing response type, serial no. and error 2226 * @param result IccIoResult as defined in types.hal 2227 * 2228 * Valid errors returned: 2229 * RadioError:NONE 2230 * RadioError:RADIO_NOT_AVAILABLE 2231 * RadioError:INTERNAL_ERR 2232 * RadioError:NO_MEMORY 2233 * RadioError:NO_RESOURCES 2234 * RadioError:CANCELLED 2235 * RadioError:REQUEST_NOT_SUPPORTED 2236 */ 2237 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result); 2238 2239 /** 2240 * @param info Response info struct containing response type, serial no. and error 2241 * @param result string containing the contents of the NV item 2242 * 2243 * Valid errors returned: 2244 * RadioError:NONE 2245 * RadioError:RADIO_NOT_AVAILABLE 2246 * RadioError:REQUEST_NOT_SUPPORTED 2247 */ 2248 oneway nvReadItemResponse(RadioResponseInfo info, string result); 2249 2250 /** 2251 * @param info Response info struct containing response type, serial no. and error 2252 * 2253 * Valid errors returned: 2254 * RadioError:NONE 2255 * RadioError:RADIO_NOT_AVAILABLE 2256 * RadioError:REQUEST_NOT_SUPPORTED 2257 */ 2258 oneway nvWriteItemResponse(RadioResponseInfo info); 2259 2260 /** 2261 * @param info Response info struct containing response type, serial no. and error 2262 * 2263 * Valid errors returned: 2264 * RadioError:NONE 2265 * RadioError:RADIO_NOT_AVAILABLE 2266 * RadioError:REQUEST_NOT_SUPPORTED 2267 */ 2268 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info); 2269 2270 /** 2271 * @param info Response info struct containing response type, serial no. and error 2272 * 2273 * Valid errors returned: 2274 * RadioError:NONE 2275 * RadioError:RADIO_NOT_AVAILABLE 2276 * RadioError:REQUEST_NOT_SUPPORTED 2277 */ 2278 oneway nvResetConfigResponse(RadioResponseInfo info); 2279 2280 /** 2281 * @param info Response info struct containing response type, serial no. and error 2282 * 2283 * Valid errors returned: 2284 * RadioError:NONE 2285 * RadioError:RADIO_NOT_AVAILABLE 2286 * RadioError:SUBSCRIPTION_NOT_SUPPORTED 2287 * RadioError:NO_MEMORY 2288 * RadioError:INTERNAL_ERR 2289 * RadioError:SYSTEM_ERR 2290 * RadioError:MODEM_ERR 2291 * RadioError:INVALID_ARGUMENTS 2292 * RadioError:REQUEST_NOT_SUPPORTED 2293 * RadioError:NO_RESOURCES 2294 * RadioError:CANCELLED 2295 */ 2296 oneway setUiccSubscriptionResponse(RadioResponseInfo info); 2297 2298 /** 2299 * @param info Response info struct containing response type, serial no. and error 2300 * 2301 * Valid errors returned: 2302 * RadioError:NONE 2303 * RadioError:RADIO_NOT_AVAILABLE 2304 * RadioError:NO_MEMORY 2305 * RadioError:INTERNAL_ERR 2306 * RadioError:SYSTEM_ERR 2307 * RadioError:MODEM_ERR 2308 * RadioError:INVALID_ARGUMENTS 2309 * RadioError:DEVICE_IN_USE 2310 * RadioError:INVALID_MODEM_STATE 2311 * RadioError:NO_RESOURCES 2312 * RadioError:CANCELLED 2313 * RadioError:REQUEST_NOT_SUPPORTED 2314 */ 2315 oneway setDataAllowedResponse(RadioResponseInfo info); 2316 2317 /** 2318 * @param info Response info struct containing response type, serial no. and error 2319 * @param config Array of HardwareConfig of the radio. 2320 * 2321 * Valid errors returned: 2322 * RadioError:NONE 2323 * RadioError:RADIO_NOT_AVAILABLE 2324 * RadioError:REQUEST_NOT_SUPPORTED 2325 */ 2326 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config); 2327 2328 /** 2329 * @param info Response info struct containing response type, serial no. and error 2330 * @param result IccIoResult as defined in types.hal 2331 * 2332 * Valid errors returned: 2333 * RadioError:NONE 2334 * RadioError:RADIO_NOT_AVAILABLE 2335 * RadioError:INTERNAL_ERR 2336 * RadioError:NO_MEMORY 2337 * RadioError:NO_RESOURCES 2338 * RadioError:CANCELLED 2339 * RadioError:INVALID_MODEM_STATE 2340 * RadioError:SIM_ERR 2341 * RadioError:INVALID_ARGUMENTS 2342 * RadioError:REQUEST_NOT_SUPPORTED 2343 */ 2344 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result); 2345 2346 /** 2347 * @param info Response info struct containing response type, serial no. and error 2348 * 2349 * Valid errors returned: 2350 * RadioError:NONE 2351 * RadioError:RADIO_NOT_AVAILABLE 2352 * RadioError:SUBSCRIPTION_NOT_AVAILABLE 2353 * RadioError:INTERNAL_ERR 2354 * RadioError:NO_MEMORY 2355 * RadioError:NO_RESOURCES 2356 * RadioError:CANCELLED 2357 * RadioError:REQUEST_NOT_SUPPORTED 2358 * RadioError:SIM_ABSENT 2359 */ 2360 oneway setDataProfileResponse(RadioResponseInfo info); 2361 2362 /** 2363 * @param info Response info struct containing response type, serial no. and error 2364 * 2365 * Valid errors returned: 2366 * RadioError:NONE 2367 * RadioError:RADIO_NOT_AVAILABLE 2368 * RadioError:OPERATION_NOT_ALLOWED 2369 * RadioError:NO_MEMORY 2370 * RadioError:INTERNAL_ERR 2371 * RadioError:SYSTEM_ERR 2372 * RadioError:REQUEST_NOT_SUPPORTED 2373 * RadioError:NO_RESOURCES 2374 * RadioError:CANCELLED 2375 */ 2376 oneway requestShutdownResponse(RadioResponseInfo info); 2377 2378 /** 2379 * @param info Response info struct containing response type, serial no. and error 2380 * @param rc Radio capability as defined by RadioCapability in types.hal 2381 * 2382 * Valid errors returned: 2383 * RadioError:NONE 2384 * RadioError:RADIO_NOT_AVAILABLE 2385 * RadioError:OPERATION_NOT_ALLOWED 2386 * RadioError:INVALID_STATE 2387 * RadioError:REQUEST_NOT_SUPPORTED 2388 * RadioError:INTERNAL_ERR 2389 * RadioError:NO_MEMORY 2390 * RadioError:NO_RESOURCES 2391 * RadioError:CANCELLED 2392 */ 2393 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc); 2394 2395 /** 2396 * @param info Response info struct containing response type, serial no. and error 2397 * @param rc Radio capability as defined by RadioCapability in types.hal used to 2398 * feedback return status 2399 * 2400 * Valid errors returned: 2401 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds. 2402 * RadioError:RADIO_NOT_AVAILABLE 2403 * RadioError:OPERATION_NOT_ALLOWED 2404 * RadioError:NO_MEMORY 2405 * RadioError:INTERNAL_ERR 2406 * RadioError:SYSTEM_ERR 2407 * RadioError:INVALID_ARGUMENTS 2408 * RadioError:MODEM_ERR 2409 * RadioError:INVALID_STATE 2410 * RadioError:REQUEST_NOT_SUPPORTED 2411 * RadioError:NO_RESOURCES 2412 * RadioError:CANCELLED 2413 */ 2414 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc); 2415 2416 /** 2417 * @param info Response info struct containing response type, serial no. and error 2418 * @param statusInfo LceStatusInfo indicating LCE status 2419 * 2420 * Valid errors returned: 2421 * RadioError:NONE 2422 * RadioError:RADIO_NOT_AVAILABLE 2423 * RadioError:LCE_NOT_SUPPORTED 2424 * RadioError:INTERNAL_ERR 2425 * RadioError:REQUEST_NOT_SUPPORTED 2426 * RadioError:NO_MEMORY 2427 * RadioError:NO_RESOURCES 2428 * RadioError:CANCELLED 2429 */ 2430 oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo); 2431 2432 /** 2433 * @param info Response info struct containing response type, serial no. and error 2434 * @param statusInfo LceStatusInfo indicating LCE status 2435 * 2436 * Valid errors returned: 2437 * RadioError:NONE 2438 * RadioError:RADIO_NOT_AVAILABLE 2439 * RadioError:LCE_NOT_SUPPORTED 2440 * RadioError:INTERNAL_ERR 2441 * RadioError:NO_MEMORY 2442 * RadioError:NO_RESOURCES 2443 * RadioError:CANCELLED 2444 * RadioError:REQUEST_NOT_SUPPORTED 2445 * RadioError:SIM_ABSENT 2446 */ 2447 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo); 2448 2449 /** 2450 * @param info Response info struct containing response type, serial no. and error 2451 * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal 2452 * 2453 * Valid errors returned: 2454 * RadioError:NONE 2455 * RadioError:RADIO_NOT_AVAILABLE 2456 * RadioError:LCE_NOT_SUPPORTED 2457 * RadioError:INTERNAL_ERR 2458 * RadioError:NO_MEMORY 2459 * RadioError:NO_RESOURCES 2460 * RadioError:CANCELLED 2461 * RadioError:REQUEST_NOT_SUPPORTED 2462 * RadioError:SIM_ABSENT 2463 */ 2464 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo); 2465 2466 /** 2467 * @param info Response info struct containing response type, serial no. and error 2468 * @param activityInfo modem activity information 2469 * 2470 * Valid errors returned: 2471 * RadioError:NONE 2472 * RadioError:RADIO_NOT_AVAILABLE 2473 * RadioError:NO_MEMORY 2474 * RadioError:INTERNAL_ERR 2475 * RadioError:SYSTEM_ERR 2476 * RadioError:MODEM_ERR 2477 * RadioError:NOT_PROVISIONED 2478 * RadioError:NO_RESOURCES 2479 * RadioError:CANCELLED 2480 * RadioError:REQUEST_NOT_SUPPORTED 2481 */ 2482 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo); 2483 2484 /** 2485 * @param info Response info struct containing response type, serial no. and error 2486 * @param numAllowed number of allowed carriers which have been set correctly. 2487 * On success, it must match the length of list Carriers->allowedCarriers. 2488 * if Length of allowed carriers list is 0, numAllowed = 0. 2489 * 2490 * Valid errors returned: 2491 * RadioError:NONE 2492 * RadioError:RADIO_NOT_AVAILABLE 2493 * RadioError:INVALID_ARGUMENTS 2494 * RadioError:REQUEST_NOT_SUPPORTED 2495 */ 2496 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed); 2497 2498 /** 2499 * Expected modem behavior: 2500 * Return list of allowed carriers, and if all carriers are allowed. 2501 * 2502 * @param info Response info struct containing response type, serial no. and error 2503 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct. 2504 * If false, consider "carriers" struct 2505 * @param carriers Carrier restriction information. 2506 * 2507 * Valid errors returned: 2508 * RadioError:NONE 2509 * RadioError:RADIO_NOT_AVAILABLE 2510 * RadioError:REQUEST_NOT_SUPPORTED 2511 */ 2512 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed, 2513 CarrierRestrictions carriers); 2514 2515 /** 2516 * @param info Response info struct containing response type, serial no. and error 2517 * 2518 * Valid errors returned: 2519 * RadioError:NONE 2520 * RadioError:RADIO_NOT_AVAILABLE 2521 * RadioError:NO_MEMORY 2522 * RadioError:INTERNAL_ERR 2523 * RadioError:SYSTEM_ERR 2524 * RadioError:INVALID_ARGUMENTS 2525 * RadioError:REQUEST_NOT_SUPPORTED 2526 * RadioError:NO_RESOURCES 2527 * RadioError:CANCELLED 2528 */ 2529 oneway sendDeviceStateResponse(RadioResponseInfo info); 2530 2531 /** 2532 * @param info Response info struct containing response type, serial no. and error 2533 * 2534 * Valid errors returned: 2535 * RadioError:NONE 2536 * RadioError:INVALID_ARGUMENTS 2537 * RadioError:RADIO_NOT_AVAILABLE 2538 * RadioError:NO_MEMORY 2539 * RadioError:INTERNAL_ERR 2540 * RadioError:SYSTEM_ERR 2541 * RadioError:REQUEST_NOT_SUPPORTED 2542 * RadioError:NO_RESOURCES 2543 * RadioError:CANCELLED 2544 */ 2545 oneway setIndicationFilterResponse(RadioResponseInfo info); 2546 2547 /** 2548 * @param info Response info struct containing response type, serial no. and error 2549 * 2550 * Valid errors returned: 2551 * RadioError:NONE 2552 * RadioError:RADIO_NOT_AVAILABLE 2553 * RadioError:REQUEST_NOT_SUPPORTED 2554 * RadioError:INVALID_ARGUMENTS 2555 * RadioError:INTERNAL_ERR 2556 * RadioError:NO_MEMORY 2557 * RadioError:NO_RESOURCES 2558 * RadioError:CANCELLED 2559 */ 2560 oneway setSimCardPowerResponse(RadioResponseInfo info); 2561 2562 /** 2563 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for 2564 * radio request which take long time to respond. 2565 * For more details, refer https://source.android.com/devices/tech/connect/ril.html 2566 * 2567 * @param serial Serial no. of the request whose acknowledgement is sent. 2568 */ 2569 oneway acknowledgeRequest(int32_t serial); 2570}; 2571