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 17 #ifndef RIL_SERVICE_H 18 #define RIL_SERVICE_H 19 20 #include <guest/hals/ril/libril/ril.h> 21 #include <ril_internal.h> 22 23 namespace radio_1_4 { 24 void registerService(RIL_RadioFunctions *callbacks, android::CommandInfo *commands); 25 26 int getIccCardStatusResponse(int slotId, int responseType, 27 int token, RIL_Errno e, void *response, size_t responselen); 28 29 int supplyIccPinForAppResponse(int slotId, 30 int responseType, int serial, RIL_Errno e, void *response, 31 size_t responselen); 32 33 int supplyIccPukForAppResponse(int slotId, 34 int responseType, int serial, RIL_Errno e, void *response, 35 size_t responselen); 36 37 int supplyIccPin2ForAppResponse(int slotId, 38 int responseType, int serial, RIL_Errno e, void *response, 39 size_t responselen); 40 41 int supplyIccPuk2ForAppResponse(int slotId, 42 int responseType, int serial, RIL_Errno e, void *response, 43 size_t responselen); 44 45 int changeIccPinForAppResponse(int slotId, 46 int responseType, int serial, RIL_Errno e, void *response, 47 size_t responselen); 48 49 int changeIccPin2ForAppResponse(int slotId, 50 int responseType, int serial, RIL_Errno e, void *response, 51 size_t responselen); 52 53 int supplyNetworkDepersonalizationResponse(int slotId, 54 int responseType, int serial, RIL_Errno e, 55 void *response, size_t responselen); 56 57 int getCurrentCallsResponse(int slotId, 58 int responseType, int serial, RIL_Errno e, void *response, 59 size_t responselen); 60 61 int dialResponse(int slotId, 62 int responseType, int serial, RIL_Errno e, void *response, size_t responselen); 63 64 int getIMSIForAppResponse(int slotId, int responseType, 65 int serial, RIL_Errno e, void *response, size_t responselen); 66 67 int hangupConnectionResponse(int slotId, int responseType, 68 int serial, RIL_Errno e, void *response, size_t responselen); 69 70 int hangupWaitingOrBackgroundResponse(int slotId, 71 int responseType, int serial, RIL_Errno e, void *response, 72 size_t responselen); 73 74 int hangupForegroundResumeBackgroundResponse(int slotId, 75 int responseType, int serial, RIL_Errno e, 76 void *response, size_t responselen); 77 78 int switchWaitingOrHoldingAndActiveResponse(int slotId, 79 int responseType, int serial, RIL_Errno e, 80 void *response, size_t responselen); 81 82 int conferenceResponse(int slotId, int responseType, 83 int serial, RIL_Errno e, void *response, size_t responselen); 84 85 int rejectCallResponse(int slotId, int responseType, 86 int serial, RIL_Errno e, void *response, size_t responselen); 87 88 int getLastCallFailCauseResponse(int slotId, 89 int responseType, int serial, RIL_Errno e, void *response, 90 size_t responselen); 91 92 int getSignalStrengthResponse(int slotId, 93 int responseType, int serial, RIL_Errno e, 94 void *response, size_t responseLen); 95 96 int getVoiceRegistrationStateResponse(int slotId, 97 int responseType, int serial, RIL_Errno e, void *response, 98 size_t responselen); 99 100 int getDataRegistrationStateResponse(int slotId, 101 int responseType, int serial, RIL_Errno e, void *response, 102 size_t responselen); 103 104 int getOperatorResponse(int slotId, 105 int responseType, int serial, RIL_Errno e, void *response, 106 size_t responselen); 107 108 int setRadioPowerResponse(int slotId, 109 int responseType, int serial, RIL_Errno e, void *response, 110 size_t responselen); 111 112 int sendDtmfResponse(int slotId, 113 int responseType, int serial, RIL_Errno e, void *response, 114 size_t responselen); 115 116 int sendSmsResponse(int slotId, 117 int responseType, int serial, RIL_Errno e, void *response, 118 size_t responselen); 119 120 int sendSMSExpectMoreResponse(int slotId, 121 int responseType, int serial, RIL_Errno e, void *response, 122 size_t responselen); 123 124 int setupDataCallResponse(int slotId, 125 int responseType, int serial, RIL_Errno e, void *response, 126 size_t responseLen); 127 128 int iccIOForAppResponse(int slotId, 129 int responseType, int serial, RIL_Errno e, void *response, 130 size_t responselen); 131 132 int sendUssdResponse(int slotId, 133 int responseType, int serial, RIL_Errno e, void *response, 134 size_t responselen); 135 136 int cancelPendingUssdResponse(int slotId, 137 int responseType, int serial, RIL_Errno e, void *response, 138 size_t responselen); 139 140 int getClirResponse(int slotId, 141 int responseType, int serial, RIL_Errno e, void *response, size_t responselen); 142 143 int setClirResponse(int slotId, 144 int responseType, int serial, RIL_Errno e, void *response, size_t responselen); 145 146 int getCallForwardStatusResponse(int slotId, 147 int responseType, int serial, RIL_Errno e, void *response, 148 size_t responselen); 149 150 int setCallForwardResponse(int slotId, 151 int responseType, int serial, RIL_Errno e, void *response, 152 size_t responselen); 153 154 int getCallWaitingResponse(int slotId, 155 int responseType, int serial, RIL_Errno e, void *response, 156 size_t responselen); 157 158 int setCallWaitingResponse(int slotId, 159 int responseType, int serial, RIL_Errno e, void *response, 160 size_t responselen); 161 162 int acknowledgeLastIncomingGsmSmsResponse(int slotId, 163 int responseType, int serial, RIL_Errno e, void *response, 164 size_t responselen); 165 166 int acceptCallResponse(int slotId, 167 int responseType, int serial, RIL_Errno e, void *response, 168 size_t responselen); 169 170 int deactivateDataCallResponse(int slotId, 171 int responseType, int serial, RIL_Errno e, void *response, 172 size_t responselen); 173 174 int getFacilityLockForAppResponse(int slotId, 175 int responseType, int serial, RIL_Errno e, void *response, 176 size_t responselen); 177 178 int setFacilityLockForAppResponse(int slotId, 179 int responseType, int serial, RIL_Errno e, void *response, 180 size_t responselen); 181 182 int setBarringPasswordResponse(int slotId, 183 int responseType, int serial, RIL_Errno e, void *response, 184 size_t responselen); 185 186 int getNetworkSelectionModeResponse(int slotId, 187 int responseType, int serial, RIL_Errno e, void *response, 188 size_t responselen); 189 190 int setNetworkSelectionModeAutomaticResponse(int slotId, 191 int responseType, int serial, RIL_Errno e, 192 void *response, size_t responselen); 193 194 int setNetworkSelectionModeManualResponse(int slotId, 195 int responseType, int serial, RIL_Errno e, void *response, 196 size_t responselen); 197 198 int getAvailableNetworksResponse(int slotId, 199 int responseType, int serial, RIL_Errno e, void *response, 200 size_t responselen); 201 202 int startNetworkScanResponse(int slotId, 203 int responseType, int serial, RIL_Errno e, void *response, 204 size_t responselen); 205 206 int startNetworkScanResponse4(int slotId, 207 int responseType, int serial, RIL_Errno e, void *response, 208 size_t responselen); 209 210 int stopNetworkScanResponse(int slotId, 211 int responseType, int serial, RIL_Errno e, void *response, 212 size_t responselen); 213 214 int startDtmfResponse(int slotId, 215 int responseType, int serial, RIL_Errno e, void *response, 216 size_t responselen); 217 218 int stopDtmfResponse(int slotId, 219 int responseType, int serial, RIL_Errno e, void *response, 220 size_t responselen); 221 222 int getBasebandVersionResponse(int slotId, 223 int responseType, int serial, RIL_Errno e, void *response, 224 size_t responselen); 225 226 int separateConnectionResponse(int slotId, 227 int responseType, int serial, RIL_Errno e, void *response, 228 size_t responselen); 229 230 int setMuteResponse(int slotId, 231 int responseType, int serial, RIL_Errno e, void *response, 232 size_t responselen); 233 234 int getMuteResponse(int slotId, 235 int responseType, int serial, RIL_Errno e, void *response, 236 size_t responselen); 237 238 int getClipResponse(int slotId, 239 int responseType, int serial, RIL_Errno e, void *response, 240 size_t responselen); 241 242 int getDataCallListResponse(int slotId, 243 int responseType, int serial, RIL_Errno e, 244 void *response, size_t responseLen); 245 246 int setSuppServiceNotificationsResponse(int slotId, 247 int responseType, int serial, RIL_Errno e, void *response, 248 size_t responselen); 249 250 int writeSmsToSimResponse(int slotId, 251 int responseType, int serial, RIL_Errno e, void *response, 252 size_t responselen); 253 254 int deleteSmsOnSimResponse(int slotId, 255 int responseType, int serial, RIL_Errno e, void *response, 256 size_t responselen); 257 258 int setBandModeResponse(int slotId, 259 int responseType, int serial, RIL_Errno e, void *response, 260 size_t responselen); 261 262 int getAvailableBandModesResponse(int slotId, 263 int responseType, int serial, RIL_Errno e, void *response, 264 size_t responselen); 265 266 int sendEnvelopeResponse(int slotId, 267 int responseType, int serial, RIL_Errno e, void *response, 268 size_t responselen); 269 270 int sendTerminalResponseToSimResponse(int slotId, 271 int responseType, int serial, RIL_Errno e, void *response, 272 size_t responselen); 273 274 int handleStkCallSetupRequestFromSimResponse(int slotId, 275 int responseType, int serial, RIL_Errno e, 276 void *response, size_t responselen); 277 278 int explicitCallTransferResponse(int slotId, 279 int responseType, int serial, RIL_Errno e, void *response, 280 size_t responselen); 281 282 int setPreferredNetworkTypeResponse(int slotId, 283 int responseType, int serial, RIL_Errno e, void *response, 284 size_t responselen); 285 286 int getPreferredNetworkTypeResponse(int slotId, 287 int responseType, int serial, RIL_Errno e, void *response, 288 size_t responselen); 289 290 int setPreferredNetworkTypeBitmapResponse(int slotId, 291 int responseType, int serial, RIL_Errno e, void *response, 292 size_t responselen); 293 294 int getPreferredNetworkTypeBitmapResponse(int slotId, 295 int responseType, int serial, RIL_Errno e, void *response, 296 size_t responselen); 297 298 int getNeighboringCidsResponse(int slotId, 299 int responseType, int serial, RIL_Errno e, void *response, 300 size_t responselen); 301 302 int setLocationUpdatesResponse(int slotId, 303 int responseType, int serial, RIL_Errno e, void *response, 304 size_t responselen); 305 306 int setCdmaSubscriptionSourceResponse(int slotId, 307 int responseType, int serial, RIL_Errno e, void *response, 308 size_t responselen); 309 310 int setCdmaRoamingPreferenceResponse(int slotId, 311 int responseType, int serial, RIL_Errno e, void *response, 312 size_t responselen); 313 314 int getCdmaRoamingPreferenceResponse(int slotId, 315 int responseType, int serial, RIL_Errno e, void *response, 316 size_t responselen); 317 318 int setTTYModeResponse(int slotId, 319 int responseType, int serial, RIL_Errno e, void *response, 320 size_t responselen); 321 322 int getTTYModeResponse(int slotId, 323 int responseType, int serial, RIL_Errno e, void *response, 324 size_t responselen); 325 326 int setPreferredVoicePrivacyResponse(int slotId, 327 int responseType, int serial, RIL_Errno e, void *response, 328 size_t responselen); 329 330 int getPreferredVoicePrivacyResponse(int slotId, 331 int responseType, int serial, RIL_Errno e, void *response, 332 size_t responselen); 333 334 int sendCDMAFeatureCodeResponse(int slotId, 335 int responseType, int serial, RIL_Errno e, 336 void *response, size_t responselen); 337 338 int sendBurstDtmfResponse(int slotId, 339 int responseType, int serial, RIL_Errno e, void *response, 340 size_t responselen); 341 342 int sendCdmaSmsResponse(int slotId, 343 int responseType, int serial, RIL_Errno e, void *response, 344 size_t responselen); 345 346 int acknowledgeLastIncomingCdmaSmsResponse(int slotId, 347 int responseType, int serial, RIL_Errno e, void *response, 348 size_t responselen); 349 350 int getGsmBroadcastConfigResponse(int slotId, 351 int responseType, int serial, RIL_Errno e, void *response, 352 size_t responselen); 353 354 int setGsmBroadcastConfigResponse(int slotId, 355 int responseType, int serial, RIL_Errno e, void *response, 356 size_t responselen); 357 358 int setGsmBroadcastActivationResponse(int slotId, 359 int responseType, int serial, RIL_Errno e, void *response, 360 size_t responselen); 361 362 int getCdmaBroadcastConfigResponse(int slotId, 363 int responseType, int serial, RIL_Errno e, void *response, 364 size_t responselen); 365 366 int setCdmaBroadcastConfigResponse(int slotId, 367 int responseType, int serial, RIL_Errno e, void *response, 368 size_t responselen); 369 370 int setCdmaBroadcastActivationResponse(int slotId, 371 int responseType, int serial, RIL_Errno e, 372 void *response, size_t responselen); 373 374 int getCDMASubscriptionResponse(int slotId, 375 int responseType, int serial, RIL_Errno e, void *response, 376 size_t responselen); 377 378 int writeSmsToRuimResponse(int slotId, 379 int responseType, int serial, RIL_Errno e, void *response, 380 size_t responselen); 381 382 int deleteSmsOnRuimResponse(int slotId, 383 int responseType, int serial, RIL_Errno e, void *response, 384 size_t responselen); 385 386 int getDeviceIdentityResponse(int slotId, 387 int responseType, int serial, RIL_Errno e, void *response, 388 size_t responselen); 389 390 int exitEmergencyCallbackModeResponse(int slotId, 391 int responseType, int serial, RIL_Errno e, void *response, 392 size_t responselen); 393 394 int getSmscAddressResponse(int slotId, 395 int responseType, int serial, RIL_Errno e, void *response, 396 size_t responselen); 397 398 int setCdmaBroadcastActivationResponse(int slotId, 399 int responseType, int serial, RIL_Errno e, 400 void *response, size_t responselen); 401 402 int setSmscAddressResponse(int slotId, 403 int responseType, int serial, RIL_Errno e, 404 void *response, size_t responselen); 405 406 int reportSmsMemoryStatusResponse(int slotId, 407 int responseType, int serial, RIL_Errno e, 408 void *response, size_t responselen); 409 410 int reportStkServiceIsRunningResponse(int slotId, 411 int responseType, int serial, RIL_Errno e, 412 void *response, size_t responseLen); 413 414 int getCdmaSubscriptionSourceResponse(int slotId, 415 int responseType, int serial, RIL_Errno e, void *response, 416 size_t responselen); 417 418 int requestIsimAuthenticationResponse(int slotId, 419 int responseType, int serial, RIL_Errno e, void *response, 420 size_t responselen); 421 422 int acknowledgeIncomingGsmSmsWithPduResponse(int slotId, 423 int responseType, int serial, RIL_Errno e, 424 void *response, size_t responselen); 425 426 int sendEnvelopeWithStatusResponse(int slotId, 427 int responseType, int serial, RIL_Errno e, void *response, 428 size_t responselen); 429 430 int getVoiceRadioTechnologyResponse(int slotId, 431 int responseType, int serial, RIL_Errno e, 432 void *response, size_t responselen); 433 434 int getCellInfoListResponse(int slotId, 435 int responseType, 436 int serial, RIL_Errno e, void *response, 437 size_t responseLen); 438 439 int setCellInfoListRateResponse(int slotId, 440 int responseType, int serial, RIL_Errno e, 441 void *response, size_t responselen); 442 443 int setInitialAttachApnResponse(int slotId, 444 int responseType, int serial, RIL_Errno e, 445 void *response, size_t responselen); 446 447 int getImsRegistrationStateResponse(int slotId, 448 int responseType, int serial, RIL_Errno e, 449 void *response, size_t responselen); 450 451 int sendImsSmsResponse(int slotId, int responseType, 452 int serial, RIL_Errno e, void *response, size_t responselen); 453 454 int iccTransmitApduBasicChannelResponse(int slotId, 455 int responseType, int serial, RIL_Errno e, 456 void *response, size_t responselen); 457 458 int iccOpenLogicalChannelResponse(int slotId, 459 int responseType, int serial, RIL_Errno e, void *response, 460 size_t responselen); 461 462 463 int iccCloseLogicalChannelResponse(int slotId, 464 int responseType, int serial, RIL_Errno e, 465 void *response, size_t responselen); 466 467 int iccTransmitApduLogicalChannelResponse(int slotId, 468 int responseType, int serial, RIL_Errno e, 469 void *response, size_t responselen); 470 471 int nvReadItemResponse(int slotId, 472 int responseType, int serial, RIL_Errno e, 473 void *response, size_t responselen); 474 475 476 int nvWriteItemResponse(int slotId, 477 int responseType, int serial, RIL_Errno e, 478 void *response, size_t responselen); 479 480 int nvWriteCdmaPrlResponse(int slotId, 481 int responseType, int serial, RIL_Errno e, 482 void *response, size_t responselen); 483 484 int nvResetConfigResponse(int slotId, 485 int responseType, int serial, RIL_Errno e, 486 void *response, size_t responselen); 487 488 int setUiccSubscriptionResponse(int slotId, 489 int responseType, int serial, RIL_Errno e, 490 void *response, size_t responselen); 491 492 int setDataAllowedResponse(int slotId, 493 int responseType, int serial, RIL_Errno e, 494 void *response, size_t responselen); 495 496 int getHardwareConfigResponse(int slotId, 497 int responseType, int serial, RIL_Errno e, 498 void *response, size_t responseLen); 499 500 int requestIccSimAuthenticationResponse(int slotId, 501 int responseType, int serial, RIL_Errno e, 502 void *response, size_t responselen); 503 504 int setDataProfileResponse(int slotId, 505 int responseType, int serial, RIL_Errno e, 506 void *response, size_t responselen); 507 508 int requestShutdownResponse(int slotId, 509 int responseType, int serial, RIL_Errno e, 510 void *response, size_t responselen); 511 512 int getRadioCapabilityResponse(int slotId, 513 int responseType, int serial, RIL_Errno e, 514 void *response, size_t responseLen); 515 516 int setRadioCapabilityResponse(int slotId, 517 int responseType, int serial, RIL_Errno e, 518 void *response, size_t responseLen); 519 520 int startLceServiceResponse(int slotId, 521 int responseType, int serial, RIL_Errno e, 522 void *response, size_t responselen); 523 524 int stopLceServiceResponse(int slotId, 525 int responseType, int serial, RIL_Errno e, 526 void *response, size_t responselen); 527 528 int pullLceDataResponse(int slotId, 529 int responseType, int serial, RIL_Errno e, 530 void *response, size_t responseLen); 531 532 int getModemActivityInfoResponse(int slotId, 533 int responseType, int serial, RIL_Errno e, 534 void *response, size_t responselen); 535 536 int getModemStackStatusResponse(int slotId, 537 int responseType, int serial, RIL_Errno e, 538 void *response, size_t responselen); 539 540 int enableModemResponse(int slotId, int responseType, int serial, RIL_Errno e, 541 void *response, size_t responselen); 542 543 int setAllowedCarriersResponse(int slotId, 544 int responseType, int serial, RIL_Errno e, 545 void *response, size_t responselen); 546 547 int getAllowedCarriersResponse(int slotId, 548 int responseType, int serial, RIL_Errno e, 549 void *response, size_t responselen); 550 551 int sendDeviceStateResponse(int slotId, 552 int responseType, int serial, RIL_Errno e, 553 void *response, size_t responselen); 554 555 int setIndicationFilterResponse(int slotId, 556 int responseType, int serial, RIL_Errno e, 557 void *response, size_t responselen); 558 559 int setSimCardPowerResponse(int slotId, 560 int responseType, int serial, RIL_Errno e, 561 void *response, size_t responselen); 562 563 int startKeepaliveResponse(int slotId, 564 int responseType, int serial, RIL_Errno e, 565 void *response, size_t responselen); 566 567 int stopKeepaliveResponse(int slotId, 568 int responseType, int serial, RIL_Errno e, 569 void *response, size_t responselen); 570 571 void acknowledgeRequest(int slotId, int serial); 572 573 int radioStateChangedInd(int slotId, 574 int indicationType, int token, RIL_Errno e, void *response, 575 size_t responseLen); 576 577 int callStateChangedInd(int slotId, int indType, int token, 578 RIL_Errno e, void *response, size_t responselen); 579 580 int networkStateChangedInd(int slotId, int indType, 581 int token, RIL_Errno e, void *response, size_t responselen); 582 583 int newSmsInd(int slotId, int indicationType, 584 int token, RIL_Errno e, void *response, size_t responselen); 585 586 int newSmsStatusReportInd(int slotId, int indicationType, 587 int token, RIL_Errno e, void *response, size_t responselen); 588 589 int newSmsOnSimInd(int slotId, int indicationType, 590 int token, RIL_Errno e, void *response, size_t responselen); 591 592 int onUssdInd(int slotId, int indicationType, 593 int token, RIL_Errno e, void *response, size_t responselen); 594 595 int nitzTimeReceivedInd(int slotId, int indicationType, 596 int token, RIL_Errno e, void *response, size_t responselen); 597 598 int currentSignalStrengthInd(int slotId, 599 int indicationType, int token, RIL_Errno e, 600 void *response, size_t responselen); 601 602 int dataCallListChangedInd(int slotId, int indicationType, 603 int token, RIL_Errno e, void *response, size_t responselen); 604 605 int suppSvcNotifyInd(int slotId, int indicationType, 606 int token, RIL_Errno e, void *response, size_t responselen); 607 608 int stkSessionEndInd(int slotId, int indicationType, 609 int token, RIL_Errno e, void *response, size_t responselen); 610 611 int stkProactiveCommandInd(int slotId, int indicationType, 612 int token, RIL_Errno e, void *response, size_t responselen); 613 614 int stkEventNotifyInd(int slotId, int indicationType, 615 int token, RIL_Errno e, void *response, size_t responselen); 616 617 int stkCallSetupInd(int slotId, int indicationType, 618 int token, RIL_Errno e, void *response, size_t responselen); 619 620 int simSmsStorageFullInd(int slotId, int indicationType, 621 int token, RIL_Errno e, void *response, size_t responselen); 622 623 int simRefreshInd(int slotId, int indicationType, 624 int token, RIL_Errno e, void *response, size_t responselen); 625 626 int callRingInd(int slotId, int indicationType, 627 int token, RIL_Errno e, void *response, size_t responselen); 628 629 int simStatusChangedInd(int slotId, int indicationType, 630 int token, RIL_Errno e, void *response, size_t responselen); 631 632 int cdmaNewSmsInd(int slotId, int indicationType, 633 int token, RIL_Errno e, void *response, size_t responselen); 634 635 int newBroadcastSmsInd(int slotId, 636 int indicationType, int token, RIL_Errno e, void *response, 637 size_t responselen); 638 639 int cdmaRuimSmsStorageFullInd(int slotId, 640 int indicationType, int token, RIL_Errno e, void *response, 641 size_t responselen); 642 643 int restrictedStateChangedInd(int slotId, 644 int indicationType, int token, RIL_Errno e, void *response, 645 size_t responselen); 646 647 int enterEmergencyCallbackModeInd(int slotId, 648 int indicationType, int token, RIL_Errno e, void *response, 649 size_t responselen); 650 651 int cdmaCallWaitingInd(int slotId, 652 int indicationType, int token, RIL_Errno e, void *response, 653 size_t responselen); 654 655 int cdmaOtaProvisionStatusInd(int slotId, 656 int indicationType, int token, RIL_Errno e, void *response, 657 size_t responselen); 658 659 int cdmaInfoRecInd(int slotId, 660 int indicationType, int token, RIL_Errno e, void *response, 661 size_t responselen); 662 663 int oemHookRawInd(int slotId, 664 int indicationType, int token, RIL_Errno e, void *response, 665 size_t responselen); 666 667 int indicateRingbackToneInd(int slotId, 668 int indicationType, int token, RIL_Errno e, void *response, 669 size_t responselen); 670 671 int resendIncallMuteInd(int slotId, 672 int indicationType, int token, RIL_Errno e, void *response, 673 size_t responselen); 674 675 int cdmaSubscriptionSourceChangedInd(int slotId, 676 int indicationType, int token, RIL_Errno e, 677 void *response, size_t responselen); 678 679 int cdmaPrlChangedInd(int slotId, 680 int indicationType, int token, RIL_Errno e, void *response, 681 size_t responselen); 682 683 int exitEmergencyCallbackModeInd(int slotId, 684 int indicationType, int token, RIL_Errno e, void *response, 685 size_t responselen); 686 687 int rilConnectedInd(int slotId, 688 int indicationType, int token, RIL_Errno e, void *response, 689 size_t responselen); 690 691 int voiceRadioTechChangedInd(int slotId, 692 int indicationType, int token, RIL_Errno e, void *response, 693 size_t responselen); 694 695 int cellInfoListInd(int slotId, 696 int indicationType, int token, RIL_Errno e, void *response, 697 size_t responselen); 698 699 int imsNetworkStateChangedInd(int slotId, 700 int indicationType, int token, RIL_Errno e, void *response, 701 size_t responselen); 702 703 int subscriptionStatusChangedInd(int slotId, 704 int indicationType, int token, RIL_Errno e, void *response, 705 size_t responselen); 706 707 int srvccStateNotifyInd(int slotId, 708 int indicationType, int token, RIL_Errno e, void *response, 709 size_t responselen); 710 711 int hardwareConfigChangedInd(int slotId, 712 int indicationType, int token, RIL_Errno e, void *response, 713 size_t responselen); 714 715 int radioCapabilityIndicationInd(int slotId, 716 int indicationType, int token, RIL_Errno e, void *response, 717 size_t responselen); 718 719 int onSupplementaryServiceIndicationInd(int slotId, 720 int indicationType, int token, RIL_Errno e, 721 void *response, size_t responselen); 722 723 int stkCallControlAlphaNotifyInd(int slotId, 724 int indicationType, int token, RIL_Errno e, void *response, 725 size_t responselen); 726 727 int lceDataInd(int slotId, 728 int indicationType, int token, RIL_Errno e, void *response, 729 size_t responselen); 730 731 int pcoDataInd(int slotId, 732 int indicationType, int token, RIL_Errno e, void *response, 733 size_t responselen); 734 735 int modemResetInd(int slotId, 736 int indicationType, int token, RIL_Errno e, void *response, 737 size_t responselen); 738 739 int networkScanResultInd(int slotId, 740 int indicationType, int token, RIL_Errno e, void *response, 741 size_t responselen); 742 743 int keepaliveStatusInd(int slotId, 744 int indicationType, int token, RIL_Errno e, void *response, 745 size_t responselen); 746 747 int sendRequestRawResponse(int slotId, 748 int responseType, int serial, RIL_Errno e, 749 void *response, size_t responseLen); 750 751 int sendRequestStringsResponse(int slotId, 752 int responseType, int serial, RIL_Errno e, 753 void *response, size_t responseLen); 754 755 int setCarrierInfoForImsiEncryptionResponse(int slotId, 756 int responseType, int serial, RIL_Errno e, 757 void *response, size_t responseLen); 758 759 int emergencyDialResponse(int slotId, 760 int responseType, int serial, RIL_Errno e, 761 void *response, size_t responselen); 762 763 int carrierInfoForImsiEncryption(int slotId, 764 int responseType, int serial, RIL_Errno e, 765 void *response, size_t responseLen); 766 767 int setSystemSelectionChannelsResponse(int slotId, 768 int responseType, int serial, RIL_Errno e, 769 void *response, size_t responseLen); 770 771 int setAllowedCarriersResponse4(int slotId, 772 int responseType, int serial, RIL_Errno e, 773 void *response, 774 size_t responselen); 775 776 int getAllowedCarriersResponse4(int slotId, 777 int responseType, int serial, RIL_Errno e, 778 void *response, 779 size_t responselen); 780 781 pthread_rwlock_t * getRadioServiceRwlock(int slotId); 782 783 void setNitzTimeReceived(int slotId, long timeReceived); 784 785 } // namespace radio 786 787 #endif // RIL_SERVICE_H 788