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