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