Youming Ye | ae28042 | 2018-11-12 18:05:11 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 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 | #include <radio_hidl_hal_utils_v1_4.h> |
| 18 | |
| 19 | ::android::hardware::radio::V1_4::CardStatus cardStatus; |
| 20 | |
| 21 | RadioResponse_v1_4::RadioResponse_v1_4(RadioHidlTest_v1_4& parent) : parent_v1_4(parent) {} |
| 22 | |
| 23 | /* 1.0 Apis */ |
| 24 | Return<void> RadioResponse_v1_4::getIccCardStatusResponse( |
| 25 | const RadioResponseInfo& /*info*/, |
| 26 | const ::android::hardware::radio::V1_0::CardStatus& /*card_status*/) { |
| 27 | return Void(); |
| 28 | } |
| 29 | |
| 30 | Return<void> RadioResponse_v1_4::supplyIccPinForAppResponse(const RadioResponseInfo& /*info*/, |
| 31 | int32_t /*remainingRetries*/) { |
| 32 | return Void(); |
| 33 | } |
| 34 | |
| 35 | Return<void> RadioResponse_v1_4::supplyIccPukForAppResponse(const RadioResponseInfo& /*info*/, |
| 36 | int32_t /*remainingRetries*/) { |
| 37 | return Void(); |
| 38 | } |
| 39 | |
| 40 | Return<void> RadioResponse_v1_4::supplyIccPin2ForAppResponse(const RadioResponseInfo& /*info*/, |
| 41 | int32_t /*remainingRetries*/) { |
| 42 | return Void(); |
| 43 | } |
| 44 | |
| 45 | Return<void> RadioResponse_v1_4::supplyIccPuk2ForAppResponse(const RadioResponseInfo& /*info*/, |
| 46 | int32_t /*remainingRetries*/) { |
| 47 | return Void(); |
| 48 | } |
| 49 | |
| 50 | Return<void> RadioResponse_v1_4::changeIccPinForAppResponse(const RadioResponseInfo& /*info*/, |
| 51 | int32_t /*remainingRetries*/) { |
| 52 | return Void(); |
| 53 | } |
| 54 | |
| 55 | Return<void> RadioResponse_v1_4::changeIccPin2ForAppResponse(const RadioResponseInfo& /*info*/, |
| 56 | int32_t /*remainingRetries*/) { |
| 57 | return Void(); |
| 58 | } |
| 59 | |
| 60 | Return<void> RadioResponse_v1_4::supplyNetworkDepersonalizationResponse( |
| 61 | const RadioResponseInfo& /*info*/, int32_t /*remainingRetries*/) { |
| 62 | return Void(); |
| 63 | } |
| 64 | |
| 65 | Return<void> RadioResponse_v1_4::getCurrentCallsResponse( |
| 66 | const RadioResponseInfo& /*info*/, |
| 67 | const ::android::hardware::hidl_vec<::android::hardware::radio::V1_0::Call>& /*calls*/) { |
| 68 | return Void(); |
| 69 | } |
| 70 | |
| 71 | Return<void> RadioResponse_v1_4::dialResponse(const RadioResponseInfo& /*info*/) { |
| 72 | return Void(); |
| 73 | } |
| 74 | |
| 75 | Return<void> RadioResponse_v1_4::getIMSIForAppResponse( |
| 76 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*imsi*/) { |
| 77 | return Void(); |
| 78 | } |
| 79 | |
| 80 | Return<void> RadioResponse_v1_4::hangupConnectionResponse(const RadioResponseInfo& /*info*/) { |
| 81 | return Void(); |
| 82 | } |
| 83 | |
| 84 | Return<void> RadioResponse_v1_4::hangupWaitingOrBackgroundResponse( |
| 85 | const RadioResponseInfo& /*info*/) { |
| 86 | return Void(); |
| 87 | } |
| 88 | |
| 89 | Return<void> RadioResponse_v1_4::hangupForegroundResumeBackgroundResponse( |
| 90 | const RadioResponseInfo& /*info*/) { |
| 91 | return Void(); |
| 92 | } |
| 93 | |
| 94 | Return<void> RadioResponse_v1_4::switchWaitingOrHoldingAndActiveResponse( |
| 95 | const RadioResponseInfo& /*info*/) { |
| 96 | return Void(); |
| 97 | } |
| 98 | |
| 99 | Return<void> RadioResponse_v1_4::conferenceResponse(const RadioResponseInfo& /*info*/) { |
| 100 | return Void(); |
| 101 | } |
| 102 | |
| 103 | Return<void> RadioResponse_v1_4::rejectCallResponse(const RadioResponseInfo& /*info*/) { |
| 104 | return Void(); |
| 105 | } |
| 106 | |
| 107 | Return<void> RadioResponse_v1_4::getLastCallFailCauseResponse( |
| 108 | const RadioResponseInfo& /*info*/, const LastCallFailCauseInfo& /*failCauseInfo*/) { |
| 109 | return Void(); |
| 110 | } |
| 111 | |
| 112 | Return<void> RadioResponse_v1_4::getSignalStrengthResponse( |
| 113 | const RadioResponseInfo& /*info*/, |
| 114 | const ::android::hardware::radio::V1_0::SignalStrength& /*sig_strength*/) { |
| 115 | return Void(); |
| 116 | } |
| 117 | |
| 118 | Return<void> RadioResponse_v1_4::getVoiceRegistrationStateResponse( |
| 119 | const RadioResponseInfo& /*info*/, |
| 120 | const ::android::hardware::radio::V1_0::VoiceRegStateResult& /*voiceRegResponse*/) { |
| 121 | return Void(); |
| 122 | } |
| 123 | |
| 124 | Return<void> RadioResponse_v1_4::getDataRegistrationStateResponse( |
| 125 | const RadioResponseInfo& /*info*/, |
| 126 | const ::android::hardware::radio::V1_0::DataRegStateResult& /*dataRegResponse*/) { |
| 127 | return Void(); |
| 128 | } |
| 129 | |
| 130 | Return<void> RadioResponse_v1_4::getOperatorResponse( |
| 131 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*longName*/, |
| 132 | const ::android::hardware::hidl_string& /*shortName*/, |
| 133 | const ::android::hardware::hidl_string& /*numeric*/) { |
| 134 | return Void(); |
| 135 | } |
| 136 | |
| 137 | Return<void> RadioResponse_v1_4::setRadioPowerResponse(const RadioResponseInfo& /*info*/) { |
| 138 | return Void(); |
| 139 | } |
| 140 | |
| 141 | Return<void> RadioResponse_v1_4::sendDtmfResponse(const RadioResponseInfo& /*info*/) { |
| 142 | return Void(); |
| 143 | } |
| 144 | |
| 145 | Return<void> RadioResponse_v1_4::sendSmsResponse(const RadioResponseInfo& /*info*/, |
| 146 | const SendSmsResult& /*sms*/) { |
| 147 | return Void(); |
| 148 | } |
| 149 | |
| 150 | Return<void> RadioResponse_v1_4::sendSMSExpectMoreResponse(const RadioResponseInfo& /*info*/, |
| 151 | const SendSmsResult& /*sms*/) { |
| 152 | return Void(); |
| 153 | } |
| 154 | |
| 155 | Return<void> RadioResponse_v1_4::setupDataCallResponse( |
| 156 | const RadioResponseInfo& /*info*/, |
| 157 | const android::hardware::radio::V1_0::SetupDataCallResult& /*dcResponse*/) { |
| 158 | return Void(); |
| 159 | } |
| 160 | |
| 161 | Return<void> RadioResponse_v1_4::iccIOForAppResponse(const RadioResponseInfo& /*info*/, |
| 162 | const IccIoResult& /*iccIo*/) { |
| 163 | return Void(); |
| 164 | } |
| 165 | |
| 166 | Return<void> RadioResponse_v1_4::sendUssdResponse(const RadioResponseInfo& /*info*/) { |
| 167 | return Void(); |
| 168 | } |
| 169 | |
| 170 | Return<void> RadioResponse_v1_4::cancelPendingUssdResponse(const RadioResponseInfo& /*info*/) { |
| 171 | return Void(); |
| 172 | } |
| 173 | |
| 174 | Return<void> RadioResponse_v1_4::getClirResponse(const RadioResponseInfo& /*info*/, int32_t /*n*/, |
| 175 | int32_t /*m*/) { |
| 176 | return Void(); |
| 177 | } |
| 178 | |
| 179 | Return<void> RadioResponse_v1_4::setClirResponse(const RadioResponseInfo& /*info*/) { |
| 180 | return Void(); |
| 181 | } |
| 182 | |
| 183 | Return<void> RadioResponse_v1_4::getCallForwardStatusResponse( |
| 184 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_vec<CallForwardInfo>& |
| 185 | /*callForwardInfos*/) { |
| 186 | return Void(); |
| 187 | } |
| 188 | |
| 189 | Return<void> RadioResponse_v1_4::setCallForwardResponse(const RadioResponseInfo& /*info*/) { |
| 190 | return Void(); |
| 191 | } |
| 192 | |
| 193 | Return<void> RadioResponse_v1_4::getCallWaitingResponse(const RadioResponseInfo& /*info*/, |
| 194 | bool /*enable*/, int32_t /*serviceClass*/) { |
| 195 | return Void(); |
| 196 | } |
| 197 | |
| 198 | Return<void> RadioResponse_v1_4::setCallWaitingResponse(const RadioResponseInfo& /*info*/) { |
| 199 | return Void(); |
| 200 | } |
| 201 | |
| 202 | Return<void> RadioResponse_v1_4::acknowledgeLastIncomingGsmSmsResponse( |
| 203 | const RadioResponseInfo& /*info*/) { |
| 204 | return Void(); |
| 205 | } |
| 206 | |
| 207 | Return<void> RadioResponse_v1_4::acceptCallResponse(const RadioResponseInfo& /*info*/) { |
| 208 | return Void(); |
| 209 | } |
| 210 | |
| 211 | Return<void> RadioResponse_v1_4::deactivateDataCallResponse(const RadioResponseInfo& info) { |
| 212 | rspInfo = info; |
| 213 | parent_v1_4.notify(info.serial); |
| 214 | return Void(); |
| 215 | } |
| 216 | |
| 217 | Return<void> RadioResponse_v1_4::getFacilityLockForAppResponse(const RadioResponseInfo& /*info*/, |
| 218 | int32_t /*response*/) { |
| 219 | return Void(); |
| 220 | } |
| 221 | |
| 222 | Return<void> RadioResponse_v1_4::setFacilityLockForAppResponse(const RadioResponseInfo& /*info*/, |
| 223 | int32_t /*retry*/) { |
| 224 | return Void(); |
| 225 | } |
| 226 | |
| 227 | Return<void> RadioResponse_v1_4::setBarringPasswordResponse(const RadioResponseInfo& /*info*/) { |
| 228 | return Void(); |
| 229 | } |
| 230 | |
| 231 | Return<void> RadioResponse_v1_4::getNetworkSelectionModeResponse(const RadioResponseInfo& /*info*/, |
| 232 | bool /*manual*/) { |
| 233 | return Void(); |
| 234 | } |
| 235 | |
| 236 | Return<void> RadioResponse_v1_4::setNetworkSelectionModeAutomaticResponse( |
| 237 | const RadioResponseInfo& /*info*/) { |
| 238 | return Void(); |
| 239 | } |
| 240 | |
| 241 | Return<void> RadioResponse_v1_4::setNetworkSelectionModeManualResponse( |
| 242 | const RadioResponseInfo& /*info*/) { |
| 243 | return Void(); |
| 244 | } |
| 245 | |
| 246 | Return<void> RadioResponse_v1_4::getAvailableNetworksResponse( |
| 247 | const RadioResponseInfo& /*info*/, |
| 248 | const ::android::hardware::hidl_vec<OperatorInfo>& /*networkInfos*/) { |
| 249 | return Void(); |
| 250 | } |
| 251 | |
| 252 | Return<void> RadioResponse_v1_4::startDtmfResponse(const RadioResponseInfo& /*info*/) { |
| 253 | return Void(); |
| 254 | } |
| 255 | |
| 256 | Return<void> RadioResponse_v1_4::stopDtmfResponse(const RadioResponseInfo& /*info*/) { |
| 257 | return Void(); |
| 258 | } |
| 259 | |
| 260 | Return<void> RadioResponse_v1_4::getBasebandVersionResponse( |
| 261 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*version*/) { |
| 262 | return Void(); |
| 263 | } |
| 264 | |
| 265 | Return<void> RadioResponse_v1_4::separateConnectionResponse(const RadioResponseInfo& /*info*/) { |
| 266 | return Void(); |
| 267 | } |
| 268 | |
| 269 | Return<void> RadioResponse_v1_4::setMuteResponse(const RadioResponseInfo& /*info*/) { |
| 270 | return Void(); |
| 271 | } |
| 272 | |
| 273 | Return<void> RadioResponse_v1_4::getMuteResponse(const RadioResponseInfo& /*info*/, |
| 274 | bool /*enable*/) { |
| 275 | return Void(); |
| 276 | } |
| 277 | |
| 278 | Return<void> RadioResponse_v1_4::getClipResponse(const RadioResponseInfo& /*info*/, |
| 279 | ClipStatus /*status*/) { |
| 280 | return Void(); |
| 281 | } |
| 282 | |
| 283 | Return<void> RadioResponse_v1_4::getDataCallListResponse( |
| 284 | const RadioResponseInfo& /*info*/, |
| 285 | const ::android::hardware::hidl_vec<android::hardware::radio::V1_0::SetupDataCallResult>& |
| 286 | /*dcResponse*/) { |
| 287 | return Void(); |
| 288 | } |
| 289 | |
| 290 | Return<void> RadioResponse_v1_4::sendOemRilRequestRawResponse( |
| 291 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_vec<uint8_t>& /*data*/) { |
| 292 | return Void(); |
| 293 | } |
| 294 | |
| 295 | Return<void> RadioResponse_v1_4::sendOemRilRequestStringsResponse( |
| 296 | const RadioResponseInfo& /*info*/, |
| 297 | const ::android::hardware::hidl_vec<::android::hardware::hidl_string>& /*data*/) { |
| 298 | return Void(); |
| 299 | } |
| 300 | |
| 301 | Return<void> RadioResponse_v1_4::setSuppServiceNotificationsResponse( |
| 302 | const RadioResponseInfo& /*info*/) { |
| 303 | return Void(); |
| 304 | } |
| 305 | |
| 306 | Return<void> RadioResponse_v1_4::writeSmsToSimResponse(const RadioResponseInfo& /*info*/, |
| 307 | int32_t /*index*/) { |
| 308 | return Void(); |
| 309 | } |
| 310 | |
| 311 | Return<void> RadioResponse_v1_4::deleteSmsOnSimResponse(const RadioResponseInfo& /*info*/) { |
| 312 | return Void(); |
| 313 | } |
| 314 | |
| 315 | Return<void> RadioResponse_v1_4::setBandModeResponse(const RadioResponseInfo& /*info*/) { |
| 316 | return Void(); |
| 317 | } |
| 318 | |
| 319 | Return<void> RadioResponse_v1_4::getAvailableBandModesResponse( |
| 320 | const RadioResponseInfo& info, |
| 321 | const ::android::hardware::hidl_vec<RadioBandMode>& bandModes) { |
| 322 | rspInfo = info; |
| 323 | radioBandModes = bandModes; |
| 324 | parent_v1_4.notify(info.serial); |
| 325 | return Void(); |
| 326 | } |
| 327 | |
| 328 | Return<void> RadioResponse_v1_4::sendEnvelopeResponse( |
| 329 | const RadioResponseInfo& /*info*/, |
| 330 | const ::android::hardware::hidl_string& /*commandResponse*/) { |
| 331 | return Void(); |
| 332 | } |
| 333 | |
| 334 | Return<void> RadioResponse_v1_4::sendTerminalResponseToSimResponse( |
| 335 | const RadioResponseInfo& /*info*/) { |
| 336 | return Void(); |
| 337 | } |
| 338 | |
| 339 | Return<void> RadioResponse_v1_4::handleStkCallSetupRequestFromSimResponse( |
| 340 | const RadioResponseInfo& /*info*/) { |
| 341 | return Void(); |
| 342 | } |
| 343 | |
| 344 | Return<void> RadioResponse_v1_4::explicitCallTransferResponse(const RadioResponseInfo& /*info*/) { |
| 345 | return Void(); |
| 346 | } |
| 347 | |
| 348 | Return<void> RadioResponse_v1_4::setPreferredNetworkTypeResponse( |
| 349 | const RadioResponseInfo& /*info*/) { |
| 350 | return Void(); |
| 351 | } |
| 352 | |
| 353 | Return<void> RadioResponse_v1_4::getPreferredNetworkTypeResponse(const RadioResponseInfo& /*info*/, |
| 354 | PreferredNetworkType /*nw_type*/) { |
| 355 | return Void(); |
| 356 | } |
| 357 | |
| 358 | Return<void> RadioResponse_v1_4::getNeighboringCidsResponse( |
| 359 | const RadioResponseInfo& /*info*/, |
| 360 | const ::android::hardware::hidl_vec<NeighboringCell>& /*cells*/) { |
| 361 | return Void(); |
| 362 | } |
| 363 | |
| 364 | Return<void> RadioResponse_v1_4::setLocationUpdatesResponse(const RadioResponseInfo& /*info*/) { |
| 365 | return Void(); |
| 366 | } |
| 367 | |
| 368 | Return<void> RadioResponse_v1_4::setCdmaSubscriptionSourceResponse( |
| 369 | const RadioResponseInfo& /*info*/) { |
| 370 | return Void(); |
| 371 | } |
| 372 | |
| 373 | Return<void> RadioResponse_v1_4::setCdmaRoamingPreferenceResponse( |
| 374 | const RadioResponseInfo& /*info*/) { |
| 375 | return Void(); |
| 376 | } |
| 377 | |
| 378 | Return<void> RadioResponse_v1_4::getCdmaRoamingPreferenceResponse(const RadioResponseInfo& /*info*/, |
| 379 | CdmaRoamingType /*type*/) { |
| 380 | return Void(); |
| 381 | } |
| 382 | |
| 383 | Return<void> RadioResponse_v1_4::setTTYModeResponse(const RadioResponseInfo& /*info*/) { |
| 384 | return Void(); |
| 385 | } |
| 386 | |
| 387 | Return<void> RadioResponse_v1_4::getTTYModeResponse(const RadioResponseInfo& /*info*/, |
| 388 | TtyMode /*mode*/) { |
| 389 | return Void(); |
| 390 | } |
| 391 | |
| 392 | Return<void> RadioResponse_v1_4::setPreferredVoicePrivacyResponse( |
| 393 | const RadioResponseInfo& /*info*/) { |
| 394 | return Void(); |
| 395 | } |
| 396 | |
| 397 | Return<void> RadioResponse_v1_4::getPreferredVoicePrivacyResponse(const RadioResponseInfo& /*info*/, |
| 398 | bool /*enable*/) { |
| 399 | return Void(); |
| 400 | } |
| 401 | |
| 402 | Return<void> RadioResponse_v1_4::sendCDMAFeatureCodeResponse(const RadioResponseInfo& /*info*/) { |
| 403 | return Void(); |
| 404 | } |
| 405 | |
| 406 | Return<void> RadioResponse_v1_4::sendBurstDtmfResponse(const RadioResponseInfo& /*info*/) { |
| 407 | return Void(); |
| 408 | } |
| 409 | |
| 410 | Return<void> RadioResponse_v1_4::sendCdmaSmsResponse(const RadioResponseInfo& /*info*/, |
| 411 | const SendSmsResult& /*sms*/) { |
| 412 | return Void(); |
| 413 | } |
| 414 | |
| 415 | Return<void> RadioResponse_v1_4::acknowledgeLastIncomingCdmaSmsResponse( |
| 416 | const RadioResponseInfo& /*info*/) { |
| 417 | return Void(); |
| 418 | } |
| 419 | |
| 420 | Return<void> RadioResponse_v1_4::getGsmBroadcastConfigResponse( |
| 421 | const RadioResponseInfo& /*info*/, |
| 422 | const ::android::hardware::hidl_vec<GsmBroadcastSmsConfigInfo>& /*configs*/) { |
| 423 | return Void(); |
| 424 | } |
| 425 | |
| 426 | Return<void> RadioResponse_v1_4::setGsmBroadcastConfigResponse(const RadioResponseInfo& /*info*/) { |
| 427 | return Void(); |
| 428 | } |
| 429 | |
| 430 | Return<void> RadioResponse_v1_4::setGsmBroadcastActivationResponse( |
| 431 | const RadioResponseInfo& /*info*/) { |
| 432 | return Void(); |
| 433 | } |
| 434 | |
| 435 | Return<void> RadioResponse_v1_4::getCdmaBroadcastConfigResponse( |
| 436 | const RadioResponseInfo& /*info*/, |
| 437 | const ::android::hardware::hidl_vec<CdmaBroadcastSmsConfigInfo>& /*configs*/) { |
| 438 | return Void(); |
| 439 | } |
| 440 | |
| 441 | Return<void> RadioResponse_v1_4::setCdmaBroadcastConfigResponse(const RadioResponseInfo& /*info*/) { |
| 442 | return Void(); |
| 443 | } |
| 444 | |
| 445 | Return<void> RadioResponse_v1_4::setCdmaBroadcastActivationResponse( |
| 446 | const RadioResponseInfo& /*info*/) { |
| 447 | return Void(); |
| 448 | } |
| 449 | |
| 450 | Return<void> RadioResponse_v1_4::getCDMASubscriptionResponse( |
| 451 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*mdn*/, |
| 452 | const ::android::hardware::hidl_string& /*hSid*/, |
| 453 | const ::android::hardware::hidl_string& /*hNid*/, |
| 454 | const ::android::hardware::hidl_string& /*min*/, |
| 455 | const ::android::hardware::hidl_string& /*prl*/) { |
| 456 | return Void(); |
| 457 | } |
| 458 | |
| 459 | Return<void> RadioResponse_v1_4::writeSmsToRuimResponse(const RadioResponseInfo& /*info*/, |
| 460 | uint32_t /*index*/) { |
| 461 | return Void(); |
| 462 | } |
| 463 | |
| 464 | Return<void> RadioResponse_v1_4::deleteSmsOnRuimResponse(const RadioResponseInfo& /*info*/) { |
| 465 | return Void(); |
| 466 | } |
| 467 | |
| 468 | Return<void> RadioResponse_v1_4::getDeviceIdentityResponse( |
| 469 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*imei*/, |
| 470 | const ::android::hardware::hidl_string& /*imeisv*/, |
| 471 | const ::android::hardware::hidl_string& /*esn*/, |
| 472 | const ::android::hardware::hidl_string& /*meid*/) { |
| 473 | return Void(); |
| 474 | } |
| 475 | |
| 476 | Return<void> RadioResponse_v1_4::exitEmergencyCallbackModeResponse( |
| 477 | const RadioResponseInfo& /*info*/) { |
| 478 | return Void(); |
| 479 | } |
| 480 | |
| 481 | Return<void> RadioResponse_v1_4::getSmscAddressResponse( |
| 482 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*smsc*/) { |
| 483 | return Void(); |
| 484 | } |
| 485 | |
| 486 | Return<void> RadioResponse_v1_4::setSmscAddressResponse(const RadioResponseInfo& /*info*/) { |
| 487 | return Void(); |
| 488 | } |
| 489 | |
| 490 | Return<void> RadioResponse_v1_4::reportSmsMemoryStatusResponse(const RadioResponseInfo& /*info*/) { |
| 491 | return Void(); |
| 492 | } |
| 493 | |
| 494 | Return<void> RadioResponse_v1_4::reportStkServiceIsRunningResponse( |
| 495 | const RadioResponseInfo& /*info*/) { |
| 496 | return Void(); |
| 497 | } |
| 498 | |
| 499 | Return<void> RadioResponse_v1_4::getCdmaSubscriptionSourceResponse( |
| 500 | const RadioResponseInfo& /*info*/, CdmaSubscriptionSource /*source*/) { |
| 501 | return Void(); |
| 502 | } |
| 503 | |
| 504 | Return<void> RadioResponse_v1_4::requestIsimAuthenticationResponse( |
| 505 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*response*/) { |
| 506 | return Void(); |
| 507 | } |
| 508 | |
| 509 | Return<void> RadioResponse_v1_4::acknowledgeIncomingGsmSmsWithPduResponse( |
| 510 | const RadioResponseInfo& /*info*/) { |
| 511 | return Void(); |
| 512 | } |
| 513 | |
| 514 | Return<void> RadioResponse_v1_4::sendEnvelopeWithStatusResponse(const RadioResponseInfo& /*info*/, |
| 515 | const IccIoResult& /*iccIo*/) { |
| 516 | return Void(); |
| 517 | } |
| 518 | |
| 519 | Return<void> RadioResponse_v1_4::getVoiceRadioTechnologyResponse( |
| 520 | const RadioResponseInfo& /*info*/, |
| 521 | ::android::hardware::radio::V1_0::RadioTechnology /*rat*/) { |
| 522 | return Void(); |
| 523 | } |
| 524 | |
| 525 | Return<void> RadioResponse_v1_4::getCellInfoListResponse( |
| 526 | const RadioResponseInfo& /*info*/, |
| 527 | const ::android::hardware::hidl_vec< |
| 528 | ::android::hardware::radio::V1_0::CellInfo>& /*cellInfo*/) { |
| 529 | return Void(); |
| 530 | } |
| 531 | |
| 532 | Return<void> RadioResponse_v1_4::setCellInfoListRateResponse(const RadioResponseInfo& /*info*/) { |
| 533 | return Void(); |
| 534 | } |
| 535 | |
Jack Yu | f666f42 | 2019-03-06 14:57:41 -0800 | [diff] [blame] | 536 | Return<void> RadioResponse_v1_4::setInitialAttachApnResponse(const RadioResponseInfo& info) { |
| 537 | rspInfo = info; |
| 538 | parent_v1_4.notify(info.serial); |
Youming Ye | ae28042 | 2018-11-12 18:05:11 -0800 | [diff] [blame] | 539 | return Void(); |
| 540 | } |
| 541 | |
| 542 | Return<void> RadioResponse_v1_4::getImsRegistrationStateResponse( |
| 543 | const RadioResponseInfo& /*info*/, bool /*isRegistered*/, |
| 544 | RadioTechnologyFamily /*ratFamily*/) { |
| 545 | return Void(); |
| 546 | } |
| 547 | |
| 548 | Return<void> RadioResponse_v1_4::sendImsSmsResponse(const RadioResponseInfo& /*info*/, |
| 549 | const SendSmsResult& /*sms*/) { |
| 550 | return Void(); |
| 551 | } |
| 552 | |
| 553 | Return<void> RadioResponse_v1_4::iccTransmitApduBasicChannelResponse( |
| 554 | const RadioResponseInfo& /*info*/, const IccIoResult& /*result*/) { |
| 555 | return Void(); |
| 556 | } |
| 557 | |
| 558 | Return<void> RadioResponse_v1_4::iccOpenLogicalChannelResponse( |
| 559 | const RadioResponseInfo& /*info*/, int32_t /*channelId*/, |
| 560 | const ::android::hardware::hidl_vec<int8_t>& /*selectResponse*/) { |
| 561 | return Void(); |
| 562 | } |
| 563 | |
| 564 | Return<void> RadioResponse_v1_4::iccCloseLogicalChannelResponse(const RadioResponseInfo& /*info*/) { |
| 565 | return Void(); |
| 566 | } |
| 567 | |
| 568 | Return<void> RadioResponse_v1_4::iccTransmitApduLogicalChannelResponse( |
| 569 | const RadioResponseInfo& /*info*/, const IccIoResult& /*result*/) { |
| 570 | return Void(); |
| 571 | } |
| 572 | |
| 573 | Return<void> RadioResponse_v1_4::nvReadItemResponse( |
| 574 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*result*/) { |
| 575 | return Void(); |
| 576 | } |
| 577 | |
| 578 | Return<void> RadioResponse_v1_4::nvWriteItemResponse(const RadioResponseInfo& /*info*/) { |
| 579 | return Void(); |
| 580 | } |
| 581 | |
| 582 | Return<void> RadioResponse_v1_4::nvWriteCdmaPrlResponse(const RadioResponseInfo& /*info*/) { |
| 583 | return Void(); |
| 584 | } |
| 585 | |
| 586 | Return<void> RadioResponse_v1_4::nvResetConfigResponse(const RadioResponseInfo& /*info*/) { |
| 587 | return Void(); |
| 588 | } |
| 589 | |
| 590 | Return<void> RadioResponse_v1_4::setUiccSubscriptionResponse(const RadioResponseInfo& /*info*/) { |
| 591 | return Void(); |
| 592 | } |
| 593 | |
| 594 | Return<void> RadioResponse_v1_4::setDataAllowedResponse(const RadioResponseInfo& /*info*/) { |
| 595 | return Void(); |
| 596 | } |
| 597 | |
| 598 | Return<void> RadioResponse_v1_4::getHardwareConfigResponse( |
| 599 | const RadioResponseInfo& /*info*/, |
| 600 | const ::android::hardware::hidl_vec<HardwareConfig>& /*config*/) { |
| 601 | return Void(); |
| 602 | } |
| 603 | |
| 604 | Return<void> RadioResponse_v1_4::requestIccSimAuthenticationResponse( |
| 605 | const RadioResponseInfo& /*info*/, const IccIoResult& /*result*/) { |
| 606 | return Void(); |
| 607 | } |
| 608 | |
Jack Yu | f666f42 | 2019-03-06 14:57:41 -0800 | [diff] [blame] | 609 | Return<void> RadioResponse_v1_4::setDataProfileResponse(const RadioResponseInfo& info) { |
| 610 | rspInfo = info; |
| 611 | parent_v1_4.notify(info.serial); |
Youming Ye | ae28042 | 2018-11-12 18:05:11 -0800 | [diff] [blame] | 612 | return Void(); |
| 613 | } |
| 614 | |
| 615 | Return<void> RadioResponse_v1_4::requestShutdownResponse(const RadioResponseInfo& /*info*/) { |
| 616 | return Void(); |
| 617 | } |
| 618 | |
| 619 | Return<void> RadioResponse_v1_4::getRadioCapabilityResponse( |
| 620 | const RadioResponseInfo& /*info*/, |
| 621 | const android::hardware::radio::V1_0::RadioCapability& /*rc*/) { |
| 622 | return Void(); |
| 623 | } |
| 624 | |
| 625 | Return<void> RadioResponse_v1_4::setRadioCapabilityResponse( |
| 626 | const RadioResponseInfo& /*info*/, |
| 627 | const android::hardware::radio::V1_0::RadioCapability& /*rc*/) { |
| 628 | return Void(); |
| 629 | } |
| 630 | |
| 631 | Return<void> RadioResponse_v1_4::startLceServiceResponse(const RadioResponseInfo& /*info*/, |
| 632 | const LceStatusInfo& /*statusInfo*/) { |
| 633 | return Void(); |
| 634 | } |
| 635 | |
| 636 | Return<void> RadioResponse_v1_4::stopLceServiceResponse(const RadioResponseInfo& /*info*/, |
| 637 | const LceStatusInfo& /*statusInfo*/) { |
| 638 | return Void(); |
| 639 | } |
| 640 | |
| 641 | Return<void> RadioResponse_v1_4::pullLceDataResponse(const RadioResponseInfo& /*info*/, |
| 642 | const LceDataInfo& /*lceInfo*/) { |
| 643 | return Void(); |
| 644 | } |
| 645 | |
| 646 | Return<void> RadioResponse_v1_4::getModemActivityInfoResponse( |
| 647 | const RadioResponseInfo& /*info*/, const ActivityStatsInfo& /*activityInfo*/) { |
| 648 | return Void(); |
| 649 | } |
| 650 | |
| 651 | Return<void> RadioResponse_v1_4::setAllowedCarriersResponse(const RadioResponseInfo& /*info*/, |
| 652 | int32_t /*numAllowed*/) { |
| 653 | return Void(); |
| 654 | } |
| 655 | |
| 656 | Return<void> RadioResponse_v1_4::getAllowedCarriersResponse( |
| 657 | const RadioResponseInfo& /*info*/, bool /*allAllowed*/, |
| 658 | const CarrierRestrictions& /*carriers*/) { |
| 659 | return Void(); |
| 660 | } |
| 661 | |
| 662 | Return<void> RadioResponse_v1_4::sendDeviceStateResponse(const RadioResponseInfo& /*info*/) { |
| 663 | return Void(); |
| 664 | } |
| 665 | |
| 666 | Return<void> RadioResponse_v1_4::setIndicationFilterResponse(const RadioResponseInfo& info) { |
| 667 | rspInfo = info; |
| 668 | parent_v1_4.notify(info.serial); |
| 669 | return Void(); |
| 670 | } |
| 671 | |
| 672 | Return<void> RadioResponse_v1_4::setSimCardPowerResponse(const RadioResponseInfo& /*info*/) { |
| 673 | return Void(); |
| 674 | } |
| 675 | |
| 676 | Return<void> RadioResponse_v1_4::acknowledgeRequest(int32_t /*serial*/) { |
| 677 | return Void(); |
| 678 | } |
| 679 | |
| 680 | /* 1.1 Apis */ |
| 681 | Return<void> RadioResponse_v1_4::setCarrierInfoForImsiEncryptionResponse( |
| 682 | const RadioResponseInfo& /*info*/) { |
| 683 | return Void(); |
| 684 | } |
| 685 | |
| 686 | Return<void> RadioResponse_v1_4::setSimCardPowerResponse_1_1(const RadioResponseInfo& /*info*/) { |
| 687 | return Void(); |
| 688 | } |
| 689 | |
| 690 | Return<void> RadioResponse_v1_4::startNetworkScanResponse(const RadioResponseInfo& /*info*/) { |
| 691 | return Void(); |
| 692 | } |
| 693 | |
| 694 | Return<void> RadioResponse_v1_4::stopNetworkScanResponse(const RadioResponseInfo& info) { |
| 695 | rspInfo = info; |
| 696 | parent_v1_4.notify(info.serial); |
| 697 | return Void(); |
| 698 | } |
| 699 | |
| 700 | Return<void> RadioResponse_v1_4::startKeepaliveResponse(const RadioResponseInfo& /*info*/, |
| 701 | const KeepaliveStatus& /*status*/) { |
| 702 | return Void(); |
| 703 | } |
| 704 | |
| 705 | Return<void> RadioResponse_v1_4::stopKeepaliveResponse(const RadioResponseInfo& /*info*/) { |
| 706 | return Void(); |
| 707 | } |
| 708 | |
| 709 | /* 1.2 Apis */ |
| 710 | Return<void> RadioResponse_v1_4::setSignalStrengthReportingCriteriaResponse( |
| 711 | const RadioResponseInfo& info) { |
| 712 | rspInfo = info; |
| 713 | parent_v1_4.notify(info.serial); |
| 714 | return Void(); |
| 715 | } |
| 716 | |
| 717 | Return<void> RadioResponse_v1_4::setLinkCapacityReportingCriteriaResponse( |
| 718 | const RadioResponseInfo& info) { |
| 719 | rspInfo = info; |
| 720 | parent_v1_4.notify(info.serial); |
| 721 | return Void(); |
| 722 | } |
| 723 | |
| 724 | Return<void> RadioResponse_v1_4::getIccCardStatusResponse_1_2( |
| 725 | const RadioResponseInfo& /*info*/, |
| 726 | const ::android::hardware::radio::V1_2::CardStatus& /*card_status*/) { |
| 727 | return Void(); |
| 728 | } |
| 729 | |
| 730 | Return<void> RadioResponse_v1_4::getCurrentCallsResponse_1_2( |
| 731 | const RadioResponseInfo& info, |
| 732 | const ::android::hardware::hidl_vec<::android::hardware::radio::V1_2::Call>& /*calls*/) { |
| 733 | rspInfo = info; |
| 734 | parent_v1_4.notify(info.serial); |
| 735 | return Void(); |
| 736 | } |
| 737 | |
| 738 | Return<void> RadioResponse_v1_4::getSignalStrengthResponse_1_2( |
| 739 | const RadioResponseInfo& info, |
| 740 | const ::android::hardware::radio::V1_2::SignalStrength& /*sig_strength*/) { |
| 741 | rspInfo = info; |
| 742 | parent_v1_4.notify(info.serial); |
| 743 | return Void(); |
| 744 | } |
| 745 | |
Pengquan Meng | e32a755 | 2019-01-28 16:38:10 -0800 | [diff] [blame] | 746 | Return<void> RadioResponse_v1_4::getSignalStrengthResponse_1_4(const RadioResponseInfo& info, |
| 747 | const ::android::hardware::radio::V1_4::SignalStrength& /*sig_strength*/) { |
| 748 | rspInfo = info; |
| 749 | parent_v1_4.notify(info.serial); |
| 750 | return Void(); |
| 751 | } |
| 752 | |
Youming Ye | ae28042 | 2018-11-12 18:05:11 -0800 | [diff] [blame] | 753 | Return<void> RadioResponse_v1_4::getCellInfoListResponse_1_2( |
| 754 | const RadioResponseInfo& /*info*/, |
| 755 | const ::android::hardware::hidl_vec< |
| 756 | ::android::hardware::radio::V1_2::CellInfo>& /*cellInfo*/) { |
| 757 | return Void(); |
| 758 | } |
| 759 | |
| 760 | Return<void> RadioResponse_v1_4::getVoiceRegistrationStateResponse_1_2( |
| 761 | const RadioResponseInfo& info, |
| 762 | const ::android::hardware::radio::V1_2::VoiceRegStateResult& /*voiceRegResponse*/) { |
| 763 | rspInfo = info; |
| 764 | parent_v1_4.notify(info.serial); |
| 765 | return Void(); |
| 766 | } |
| 767 | |
| 768 | Return<void> RadioResponse_v1_4::getDataRegistrationStateResponse_1_2( |
| 769 | const RadioResponseInfo& /*info*/, |
| 770 | const ::android::hardware::radio::V1_2::DataRegStateResult& /*dataRegResponse*/) { |
| 771 | return Void(); |
| 772 | } |
| 773 | |
| 774 | /* 1.3 Apis */ |
| 775 | Return<void> RadioResponse_v1_4::setSystemSelectionChannelsResponse(const RadioResponseInfo& info) { |
| 776 | rspInfo = info; |
| 777 | parent_v1_4.notify(info.serial); |
| 778 | return Void(); |
| 779 | } |
| 780 | |
| 781 | Return<void> RadioResponse_v1_4::enableModemResponse(const RadioResponseInfo& info) { |
| 782 | rspInfo = info; |
Youming Ye | ae28042 | 2018-11-12 18:05:11 -0800 | [diff] [blame] | 783 | parent_v1_4.notify(info.serial); |
| 784 | return Void(); |
| 785 | } |
| 786 | |
| 787 | Return<void> RadioResponse_v1_4::getModemStackStatusResponse(const RadioResponseInfo& info, |
| 788 | const bool enabled) { |
| 789 | rspInfo = info; |
| 790 | isModemEnabled = enabled; |
| 791 | parent_v1_4.notify(info.serial); |
| 792 | return Void(); |
| 793 | } |
| 794 | |
| 795 | /* 1.4 Apis */ |
| 796 | Return<void> RadioResponse_v1_4::emergencyDialResponse(const RadioResponseInfo& info) { |
| 797 | rspInfo = info; |
| 798 | parent_v1_4.notify(info.serial); |
| 799 | return Void(); |
| 800 | } |
| 801 | |
| 802 | Return<void> RadioResponse_v1_4::startNetworkScanResponse_1_4(const RadioResponseInfo& info) { |
| 803 | rspInfo = info; |
| 804 | parent_v1_4.notify(info.serial); |
| 805 | return Void(); |
| 806 | } |
| 807 | |
| 808 | Return<void> RadioResponse_v1_4::getDataRegistrationStateResponse_1_4( |
| 809 | const RadioResponseInfo& info, |
| 810 | const ::android::hardware::radio::V1_4::DataRegStateResult& dataRegResponse) { |
| 811 | rspInfo = info; |
| 812 | dataRegResp = dataRegResponse; |
| 813 | parent_v1_4.notify(info.serial); |
| 814 | return Void(); |
| 815 | } |
| 816 | |
| 817 | Return<void> RadioResponse_v1_4::getCellInfoListResponse_1_4( |
| 818 | const RadioResponseInfo& info, |
| 819 | const ::android::hardware::hidl_vec< |
| 820 | ::android::hardware::radio::V1_4::CellInfo>& /*cellInfo*/) { |
| 821 | rspInfo = info; |
| 822 | parent_v1_4.notify(info.serial); |
| 823 | return Void(); |
| 824 | } |
| 825 | |
| 826 | Return<void> RadioResponse_v1_4::getIccCardStatusResponse_1_4( |
| 827 | const RadioResponseInfo& info, |
| 828 | const ::android::hardware::radio::V1_4::CardStatus& card_status) { |
| 829 | rspInfo = info; |
| 830 | cardStatus = card_status; |
| 831 | parent_v1_4.notify(info.serial); |
| 832 | return Void(); |
| 833 | } |
| 834 | |
| 835 | Return<void> RadioResponse_v1_4::getPreferredNetworkTypeBitmapResponse( |
| 836 | const RadioResponseInfo& info, const ::android::hardware::hidl_bitfield< |
| 837 | ::android::hardware::radio::V1_4::RadioAccessFamily> |
Pengquan Meng | 8d6c1de | 2019-02-21 12:16:16 -0800 | [diff] [blame] | 838 | networkTypeBitmap) { |
Youming Ye | ae28042 | 2018-11-12 18:05:11 -0800 | [diff] [blame] | 839 | rspInfo = info; |
Pengquan Meng | 8d6c1de | 2019-02-21 12:16:16 -0800 | [diff] [blame] | 840 | networkTypeBitmapResponse = networkTypeBitmap; |
Youming Ye | ae28042 | 2018-11-12 18:05:11 -0800 | [diff] [blame] | 841 | parent_v1_4.notify(info.serial); |
| 842 | return Void(); |
| 843 | } |
| 844 | |
| 845 | Return<void> RadioResponse_v1_4::setPreferredNetworkTypeBitmapResponse( |
| 846 | const RadioResponseInfo& info) { |
| 847 | rspInfo = info; |
| 848 | parent_v1_4.notify(info.serial); |
| 849 | return Void(); |
| 850 | } |
| 851 | |
| 852 | Return<void> RadioResponse_v1_4::getDataCallListResponse_1_4( |
| 853 | const RadioResponseInfo& info, |
| 854 | const ::android::hardware::hidl_vec<::android::hardware::radio::V1_4::SetupDataCallResult>& |
| 855 | /*dcResponse*/) { |
| 856 | rspInfo = info; |
| 857 | parent_v1_4.notify(info.serial); |
| 858 | return Void(); |
| 859 | } |
| 860 | |
| 861 | Return<void> RadioResponse_v1_4::setupDataCallResponse_1_4( |
| 862 | const RadioResponseInfo& info, |
| 863 | const android::hardware::radio::V1_4::SetupDataCallResult& /*dcResponse*/) { |
| 864 | rspInfo = info; |
| 865 | parent_v1_4.notify(info.serial); |
| 866 | return Void(); |
| 867 | } |
| 868 | |
Michele | a31d000 | 2019-02-07 18:33:06 -0800 | [diff] [blame] | 869 | Return<void> RadioResponse_v1_4::setAllowedCarriersResponse_1_4(const RadioResponseInfo& info) { |
| 870 | rspInfo = info; |
| 871 | parent_v1_4.notify(info.serial); |
Youming Ye | ae28042 | 2018-11-12 18:05:11 -0800 | [diff] [blame] | 872 | return Void(); |
| 873 | } |
| 874 | |
| 875 | Return<void> RadioResponse_v1_4::getAllowedCarriersResponse_1_4( |
Michele | a31d000 | 2019-02-07 18:33:06 -0800 | [diff] [blame] | 876 | const RadioResponseInfo& info, const CarrierRestrictionsWithPriority& carriers, |
| 877 | SimLockMultiSimPolicy multiSimPolicy) { |
| 878 | rspInfo = info; |
| 879 | carrierRestrictionsResp = carriers; |
| 880 | multiSimPolicyResp = multiSimPolicy; |
| 881 | parent_v1_4.notify(info.serial); |
Youming Ye | ae28042 | 2018-11-12 18:05:11 -0800 | [diff] [blame] | 882 | return Void(); |
Pengquan Meng | e32a755 | 2019-01-28 16:38:10 -0800 | [diff] [blame] | 883 | } |