Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2017 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.h> |
| 18 | |
Sanket Padawe | 1512edb | 2017-02-23 12:31:09 -0800 | [diff] [blame] | 19 | CardStatus cardStatus; |
| 20 | |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 21 | RadioResponse::RadioResponse(RadioHidlTest& parent) : parent(parent) { |
| 22 | } |
| 23 | |
| 24 | Return<void> RadioResponse::getIccCardStatusResponse( |
| 25 | const RadioResponseInfo& info, const CardStatus& card_status) { |
| 26 | rspInfo = info; |
| 27 | cardStatus = card_status; |
| 28 | parent.notify(); |
| 29 | return Void(); |
| 30 | } |
| 31 | |
| 32 | Return<void> RadioResponse::supplyIccPinForAppResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 33 | const RadioResponseInfo& info, int32_t /*remainingRetries*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 34 | rspInfo = info; |
| 35 | parent.notify(); |
| 36 | return Void(); |
| 37 | } |
| 38 | |
| 39 | Return<void> RadioResponse::supplyIccPukForAppResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 40 | const RadioResponseInfo& info, int32_t /*remainingRetries*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 41 | rspInfo = info; |
| 42 | parent.notify(); |
| 43 | return Void(); |
| 44 | } |
| 45 | |
| 46 | Return<void> RadioResponse::supplyIccPin2ForAppResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 47 | const RadioResponseInfo& info, int32_t /*remainingRetries*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 48 | rspInfo = info; |
| 49 | parent.notify(); |
| 50 | return Void(); |
| 51 | } |
| 52 | |
| 53 | Return<void> RadioResponse::supplyIccPuk2ForAppResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 54 | const RadioResponseInfo& info, int32_t /*remainingRetries*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 55 | rspInfo = info; |
| 56 | parent.notify(); |
| 57 | return Void(); |
| 58 | } |
| 59 | |
| 60 | Return<void> RadioResponse::changeIccPinForAppResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 61 | const RadioResponseInfo& info, int32_t /*remainingRetries*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 62 | rspInfo = info; |
| 63 | parent.notify(); |
| 64 | return Void(); |
| 65 | } |
| 66 | |
| 67 | Return<void> RadioResponse::changeIccPin2ForAppResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 68 | const RadioResponseInfo& info, int32_t /*remainingRetries*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 69 | rspInfo = info; |
| 70 | parent.notify(); |
| 71 | return Void(); |
| 72 | } |
| 73 | |
| 74 | Return<void> RadioResponse::supplyNetworkDepersonalizationResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 75 | const RadioResponseInfo& /*info*/, int32_t /*remainingRetries*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 76 | return Void(); |
| 77 | } |
| 78 | |
| 79 | Return<void> RadioResponse::getCurrentCallsResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 80 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_vec<Call>& /*calls*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 81 | return Void(); |
| 82 | } |
| 83 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 84 | Return<void> RadioResponse::dialResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 85 | return Void(); |
| 86 | } |
| 87 | |
| 88 | Return<void> RadioResponse::getIMSIForAppResponse( |
| 89 | const RadioResponseInfo& info, const ::android::hardware::hidl_string& imsi) { |
Sanket Padawe | 1512edb | 2017-02-23 12:31:09 -0800 | [diff] [blame] | 90 | rspInfo = info; |
| 91 | this->imsi = imsi; |
| 92 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 93 | return Void(); |
| 94 | } |
| 95 | |
| 96 | Return<void> RadioResponse::hangupConnectionResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 97 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 98 | return Void(); |
| 99 | } |
| 100 | |
| 101 | Return<void> RadioResponse::hangupWaitingOrBackgroundResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 102 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 103 | return Void(); |
| 104 | } |
| 105 | |
| 106 | Return<void> RadioResponse::hangupForegroundResumeBackgroundResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 107 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 108 | return Void(); |
| 109 | } |
| 110 | |
| 111 | Return<void> RadioResponse::switchWaitingOrHoldingAndActiveResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 112 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 113 | return Void(); |
| 114 | } |
| 115 | |
| 116 | Return<void> RadioResponse::conferenceResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 117 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 118 | return Void(); |
| 119 | } |
| 120 | |
| 121 | Return<void> RadioResponse::rejectCallResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 122 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 123 | return Void(); |
| 124 | } |
| 125 | |
| 126 | Return<void> RadioResponse::getLastCallFailCauseResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 127 | const RadioResponseInfo& /*info*/, const LastCallFailCauseInfo& /*failCauseInfo*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 128 | return Void(); |
| 129 | } |
| 130 | |
| 131 | Return<void> RadioResponse::getSignalStrengthResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 132 | const RadioResponseInfo& /*info*/, const SignalStrength& /*sig_strength*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 133 | return Void(); |
| 134 | } |
| 135 | |
| 136 | Return<void> RadioResponse::getVoiceRegistrationStateResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 137 | const RadioResponseInfo& /*info*/, const VoiceRegStateResult& /*voiceRegResponse*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 138 | return Void(); |
| 139 | } |
| 140 | |
| 141 | Return<void> RadioResponse::getDataRegistrationStateResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 142 | const RadioResponseInfo& /*info*/, const DataRegStateResult& /*dataRegResponse*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 143 | return Void(); |
| 144 | } |
| 145 | |
| 146 | Return<void> RadioResponse::getOperatorResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 147 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*longName*/, |
| 148 | const ::android::hardware::hidl_string& /*shortName*/, |
| 149 | const ::android::hardware::hidl_string& /*numeric*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 150 | return Void(); |
| 151 | } |
| 152 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 153 | Return<void> RadioResponse::setRadioPowerResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 154 | return Void(); |
| 155 | } |
| 156 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 157 | Return<void> RadioResponse::sendDtmfResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 158 | return Void(); |
| 159 | } |
| 160 | |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 161 | Return<void> RadioResponse::sendSmsResponse(const RadioResponseInfo& info, |
| 162 | const SendSmsResult& sms) { |
| 163 | rspInfo = info; |
| 164 | sendSmsResult = sms; |
| 165 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 166 | return Void(); |
| 167 | } |
| 168 | |
| 169 | Return<void> RadioResponse::sendSMSExpectMoreResponse( |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 170 | const RadioResponseInfo& info, const SendSmsResult& sms) { |
| 171 | rspInfo = info; |
| 172 | sendSmsResult = sms; |
| 173 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 174 | return Void(); |
| 175 | } |
| 176 | |
| 177 | Return<void> RadioResponse::setupDataCallResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 178 | const RadioResponseInfo& /*info*/, const SetupDataCallResult& /*dcResponse*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 179 | return Void(); |
| 180 | } |
| 181 | |
| 182 | Return<void> RadioResponse::iccIOForAppResponse( |
| 183 | const RadioResponseInfo& info, const IccIoResult& iccIo) { |
Sanket Padawe | 1512edb | 2017-02-23 12:31:09 -0800 | [diff] [blame] | 184 | rspInfo = info; |
| 185 | this->iccIoResult = iccIo; |
| 186 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 187 | return Void(); |
| 188 | } |
| 189 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 190 | Return<void> RadioResponse::sendUssdResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 191 | return Void(); |
| 192 | } |
| 193 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 194 | Return<void> RadioResponse::cancelPendingUssdResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 195 | return Void(); |
| 196 | } |
| 197 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 198 | Return<void> RadioResponse::getClirResponse(const RadioResponseInfo& /*info*/, int32_t /*n*/, |
| 199 | int32_t /*m*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 200 | return Void(); |
| 201 | } |
| 202 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 203 | Return<void> RadioResponse::setClirResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 204 | return Void(); |
| 205 | } |
| 206 | |
| 207 | Return<void> RadioResponse::getCallForwardStatusResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 208 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_vec<CallForwardInfo>& |
| 209 | /*callForwardInfos*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 210 | return Void(); |
| 211 | } |
| 212 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 213 | Return<void> RadioResponse::setCallForwardResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 214 | return Void(); |
| 215 | } |
| 216 | |
| 217 | Return<void> RadioResponse::getCallWaitingResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 218 | const RadioResponseInfo& /*info*/, bool /*enable*/, int32_t /*serviceClass*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 219 | return Void(); |
| 220 | } |
| 221 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 222 | Return<void> RadioResponse::setCallWaitingResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 223 | return Void(); |
| 224 | } |
| 225 | |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 226 | Return<void> RadioResponse::acknowledgeLastIncomingGsmSmsResponse(const RadioResponseInfo& info) { |
| 227 | rspInfo = info; |
| 228 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 229 | return Void(); |
| 230 | } |
| 231 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 232 | Return<void> RadioResponse::acceptCallResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 233 | return Void(); |
| 234 | } |
| 235 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 236 | Return<void> RadioResponse::deactivateDataCallResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 237 | return Void(); |
| 238 | } |
| 239 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 240 | Return<void> RadioResponse::getFacilityLockForAppResponse(const RadioResponseInfo& /*info*/, |
| 241 | int32_t /*response*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 242 | return Void(); |
| 243 | } |
| 244 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 245 | Return<void> RadioResponse::setFacilityLockForAppResponse(const RadioResponseInfo& /*info*/, |
| 246 | int32_t /*retry*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 247 | return Void(); |
| 248 | } |
| 249 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 250 | Return<void> RadioResponse::setBarringPasswordResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 251 | return Void(); |
| 252 | } |
| 253 | |
| 254 | Return<void> RadioResponse::getNetworkSelectionModeResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 255 | const RadioResponseInfo& /*info*/, bool /*manual*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 256 | return Void(); |
| 257 | } |
| 258 | |
| 259 | Return<void> RadioResponse::setNetworkSelectionModeAutomaticResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 260 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 261 | return Void(); |
| 262 | } |
| 263 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 264 | Return<void> RadioResponse::setNetworkSelectionModeManualResponse( |
| 265 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 266 | return Void(); |
| 267 | } |
| 268 | |
| 269 | Return<void> RadioResponse::getAvailableNetworksResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 270 | const RadioResponseInfo& /*info*/, |
| 271 | const ::android::hardware::hidl_vec<OperatorInfo>& /*networkInfos*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 272 | return Void(); |
| 273 | } |
| 274 | |
| 275 | Return<void> RadioResponse::startDtmfResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 276 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 277 | return Void(); |
| 278 | } |
| 279 | |
| 280 | Return<void> RadioResponse::stopDtmfResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 281 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 282 | return Void(); |
| 283 | } |
| 284 | |
| 285 | Return<void> RadioResponse::getBasebandVersionResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 286 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*version*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 287 | return Void(); |
| 288 | } |
| 289 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 290 | Return<void> RadioResponse::separateConnectionResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 291 | return Void(); |
| 292 | } |
| 293 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 294 | Return<void> RadioResponse::setMuteResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 295 | return Void(); |
| 296 | } |
| 297 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 298 | Return<void> RadioResponse::getMuteResponse(const RadioResponseInfo& /*info*/, bool /*enable*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 299 | return Void(); |
| 300 | } |
| 301 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 302 | Return<void> RadioResponse::getClipResponse(const RadioResponseInfo& /*info*/, |
| 303 | ClipStatus /*status*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 304 | return Void(); |
| 305 | } |
| 306 | |
| 307 | Return<void> RadioResponse::getDataCallListResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 308 | const RadioResponseInfo& /*info*/, |
| 309 | const ::android::hardware::hidl_vec<SetupDataCallResult>& /*dcResponse*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 310 | return Void(); |
| 311 | } |
| 312 | |
| 313 | Return<void> RadioResponse::sendOemRilRequestRawResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 314 | const RadioResponseInfo& /*info*/, |
| 315 | const ::android::hardware::hidl_vec<uint8_t>& /*data*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 316 | return Void(); |
| 317 | } |
| 318 | |
| 319 | Return<void> RadioResponse::sendOemRilRequestStringsResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 320 | const RadioResponseInfo& /*info*/, |
| 321 | const ::android::hardware::hidl_vec<::android::hardware::hidl_string>& /*data*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 322 | return Void(); |
| 323 | } |
| 324 | |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 325 | Return<void> RadioResponse::setSuppServiceNotificationsResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 326 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 327 | return Void(); |
| 328 | } |
| 329 | |
| 330 | Return<void> RadioResponse::writeSmsToSimResponse( |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 331 | const RadioResponseInfo& info, int32_t index) { |
| 332 | rspInfo = info; |
| 333 | writeSmsToSimIndex = index; |
| 334 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 335 | return Void(); |
| 336 | } |
| 337 | |
| 338 | Return<void> RadioResponse::deleteSmsOnSimResponse( |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 339 | const RadioResponseInfo& info) { |
| 340 | rspInfo = info; |
| 341 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 342 | return Void(); |
| 343 | } |
| 344 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 345 | Return<void> RadioResponse::setBandModeResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 346 | return Void(); |
| 347 | } |
| 348 | |
| 349 | Return<void> RadioResponse::getAvailableBandModesResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 350 | const RadioResponseInfo& /*info*/, |
| 351 | const ::android::hardware::hidl_vec<RadioBandMode>& /*bandModes*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 352 | return Void(); |
| 353 | } |
| 354 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 355 | Return<void> RadioResponse::sendEnvelopeResponse(const RadioResponseInfo& /*info*/, |
| 356 | const ::android::hardware::hidl_string& /*commandResponse*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 357 | return Void(); |
| 358 | } |
| 359 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 360 | Return<void> RadioResponse::sendTerminalResponseToSimResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 361 | return Void(); |
| 362 | } |
| 363 | |
| 364 | Return<void> RadioResponse::handleStkCallSetupRequestFromSimResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 365 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 366 | return Void(); |
| 367 | } |
| 368 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 369 | Return<void> RadioResponse::explicitCallTransferResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 370 | return Void(); |
| 371 | } |
| 372 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 373 | Return<void> RadioResponse::setPreferredNetworkTypeResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 374 | return Void(); |
| 375 | } |
| 376 | |
| 377 | Return<void> RadioResponse::getPreferredNetworkTypeResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 378 | const RadioResponseInfo& /*info*/, PreferredNetworkType /*nw_type*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 379 | return Void(); |
| 380 | } |
| 381 | |
| 382 | Return<void> RadioResponse::getNeighboringCidsResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 383 | const RadioResponseInfo& /*info*/, |
| 384 | const ::android::hardware::hidl_vec<NeighboringCell>& /*cells*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 385 | return Void(); |
| 386 | } |
| 387 | |
| 388 | Return<void> RadioResponse::setLocationUpdatesResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 389 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 390 | return Void(); |
| 391 | } |
| 392 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 393 | Return<void> RadioResponse::setCdmaSubscriptionSourceResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 394 | return Void(); |
| 395 | } |
| 396 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 397 | Return<void> RadioResponse::setCdmaRoamingPreferenceResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 398 | return Void(); |
| 399 | } |
| 400 | |
| 401 | Return<void> RadioResponse::getCdmaRoamingPreferenceResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 402 | const RadioResponseInfo& /*info*/, CdmaRoamingType /*type*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 403 | return Void(); |
| 404 | } |
| 405 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 406 | Return<void> RadioResponse::setTTYModeResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 407 | return Void(); |
| 408 | } |
| 409 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 410 | Return<void> RadioResponse::getTTYModeResponse(const RadioResponseInfo& /*info*/, |
| 411 | TtyMode /*mode*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 412 | return Void(); |
| 413 | } |
| 414 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 415 | Return<void> RadioResponse::setPreferredVoicePrivacyResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 416 | return Void(); |
| 417 | } |
| 418 | |
| 419 | Return<void> RadioResponse::getPreferredVoicePrivacyResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 420 | const RadioResponseInfo& /*info*/, bool /*enable*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 421 | return Void(); |
| 422 | } |
| 423 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 424 | Return<void> RadioResponse::sendCDMAFeatureCodeResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 425 | return Void(); |
| 426 | } |
| 427 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 428 | Return<void> RadioResponse::sendBurstDtmfResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 429 | return Void(); |
| 430 | } |
| 431 | |
| 432 | Return<void> RadioResponse::sendCdmaSmsResponse( |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 433 | const RadioResponseInfo& info, const SendSmsResult& sms) { |
| 434 | rspInfo = info; |
| 435 | sendSmsResult = sms; |
| 436 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 437 | return Void(); |
| 438 | } |
| 439 | |
| 440 | Return<void> RadioResponse::acknowledgeLastIncomingCdmaSmsResponse( |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 441 | const RadioResponseInfo& info) { |
| 442 | rspInfo = info; |
| 443 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 444 | return Void(); |
| 445 | } |
| 446 | |
| 447 | Return<void> RadioResponse::getGsmBroadcastConfigResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 448 | const RadioResponseInfo& /*info*/, |
| 449 | const ::android::hardware::hidl_vec<GsmBroadcastSmsConfigInfo>& /*configs*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 450 | return Void(); |
| 451 | } |
| 452 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 453 | Return<void> RadioResponse::setGsmBroadcastConfigResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 454 | return Void(); |
| 455 | } |
| 456 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 457 | Return<void> RadioResponse::setGsmBroadcastActivationResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 458 | return Void(); |
| 459 | } |
| 460 | |
| 461 | Return<void> RadioResponse::getCdmaBroadcastConfigResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 462 | const RadioResponseInfo& /*info*/, |
| 463 | const ::android::hardware::hidl_vec<CdmaBroadcastSmsConfigInfo>& /*configs*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 464 | return Void(); |
| 465 | } |
| 466 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 467 | Return<void> RadioResponse::setCdmaBroadcastConfigResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 468 | return Void(); |
| 469 | } |
| 470 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 471 | Return<void> RadioResponse::setCdmaBroadcastActivationResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 472 | return Void(); |
| 473 | } |
| 474 | |
| 475 | Return<void> RadioResponse::getCDMASubscriptionResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 476 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*mdn*/, |
| 477 | const ::android::hardware::hidl_string& /*hSid*/, |
| 478 | const ::android::hardware::hidl_string& /*hNid*/, |
| 479 | const ::android::hardware::hidl_string& /*min*/, |
| 480 | const ::android::hardware::hidl_string& /*prl*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 481 | return Void(); |
| 482 | } |
| 483 | |
| 484 | Return<void> RadioResponse::writeSmsToRuimResponse( |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 485 | const RadioResponseInfo& info, uint32_t index) { |
| 486 | rspInfo = info; |
| 487 | writeSmsToRuimIndex = index; |
| 488 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 489 | return Void(); |
| 490 | } |
| 491 | |
| 492 | Return<void> RadioResponse::deleteSmsOnRuimResponse( |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 493 | const RadioResponseInfo& info) { |
| 494 | rspInfo = info; |
| 495 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 496 | return Void(); |
| 497 | } |
| 498 | |
| 499 | Return<void> RadioResponse::getDeviceIdentityResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 500 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*imei*/, |
| 501 | const ::android::hardware::hidl_string& /*imeisv*/, |
| 502 | const ::android::hardware::hidl_string& /*esn*/, |
| 503 | const ::android::hardware::hidl_string& /*meid*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 504 | return Void(); |
| 505 | } |
| 506 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 507 | Return<void> RadioResponse::exitEmergencyCallbackModeResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 508 | return Void(); |
| 509 | } |
| 510 | |
| 511 | Return<void> RadioResponse::getSmscAddressResponse( |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 512 | const RadioResponseInfo& info, const ::android::hardware::hidl_string& smsc) { |
| 513 | rspInfo = info; |
| 514 | smscAddress = smsc; |
| 515 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 516 | return Void(); |
| 517 | } |
| 518 | |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 519 | Return<void> RadioResponse::setSmscAddressResponse(const RadioResponseInfo& info) { |
| 520 | rspInfo = info; |
| 521 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 522 | return Void(); |
| 523 | } |
| 524 | |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 525 | Return<void> RadioResponse::reportSmsMemoryStatusResponse(const RadioResponseInfo& info) { |
| 526 | rspInfo = info; |
| 527 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 528 | return Void(); |
| 529 | } |
| 530 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 531 | Return<void> RadioResponse::reportStkServiceIsRunningResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 532 | return Void(); |
| 533 | } |
| 534 | |
| 535 | Return<void> RadioResponse::getCdmaSubscriptionSourceResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 536 | const RadioResponseInfo& /*info*/, CdmaSubscriptionSource /*source*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 537 | return Void(); |
| 538 | } |
| 539 | |
| 540 | Return<void> RadioResponse::requestIsimAuthenticationResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 541 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*response*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 542 | return Void(); |
| 543 | } |
| 544 | |
| 545 | Return<void> RadioResponse::acknowledgeIncomingGsmSmsWithPduResponse( |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 546 | const RadioResponseInfo& info) { |
| 547 | rspInfo = info; |
| 548 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 549 | return Void(); |
| 550 | } |
| 551 | |
| 552 | Return<void> RadioResponse::sendEnvelopeWithStatusResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 553 | const RadioResponseInfo& /*info*/, const IccIoResult& /*iccIo*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 554 | return Void(); |
| 555 | } |
| 556 | |
| 557 | Return<void> RadioResponse::getVoiceRadioTechnologyResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 558 | const RadioResponseInfo& /*info*/, RadioTechnology /*rat*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 559 | return Void(); |
| 560 | } |
| 561 | |
| 562 | Return<void> RadioResponse::getCellInfoListResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 563 | const RadioResponseInfo& /*info*/, |
| 564 | const ::android::hardware::hidl_vec<CellInfo>& /*cellInfo*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 565 | return Void(); |
| 566 | } |
| 567 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 568 | Return<void> RadioResponse::setCellInfoListRateResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 569 | return Void(); |
| 570 | } |
| 571 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 572 | Return<void> RadioResponse::setInitialAttachApnResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 573 | return Void(); |
| 574 | } |
| 575 | |
| 576 | Return<void> RadioResponse::getImsRegistrationStateResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 577 | const RadioResponseInfo& /*info*/, bool /*isRegistered*/, |
| 578 | RadioTechnologyFamily /*ratFamily*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 579 | return Void(); |
| 580 | } |
| 581 | |
| 582 | Return<void> RadioResponse::sendImsSmsResponse( |
Shuoq | 064ee51 | 2017-02-27 16:35:56 -0800 | [diff] [blame^] | 583 | const RadioResponseInfo& info, const SendSmsResult& sms) { |
| 584 | rspInfo = info; |
| 585 | sendSmsResult = sms; |
| 586 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 587 | return Void(); |
| 588 | } |
| 589 | |
| 590 | Return<void> RadioResponse::iccTransmitApduBasicChannelResponse( |
| 591 | const RadioResponseInfo& info, const IccIoResult& result) { |
Sanket Padawe | 1512edb | 2017-02-23 12:31:09 -0800 | [diff] [blame] | 592 | rspInfo = info; |
| 593 | this->iccIoResult = result; |
| 594 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 595 | return Void(); |
| 596 | } |
| 597 | |
| 598 | Return<void> RadioResponse::iccOpenLogicalChannelResponse( |
| 599 | const RadioResponseInfo& info, int32_t channelId, |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 600 | const ::android::hardware::hidl_vec<int8_t>& /*selectResponse*/) { |
Sanket Padawe | 1512edb | 2017-02-23 12:31:09 -0800 | [diff] [blame] | 601 | rspInfo = info; |
| 602 | this->channelId = channelId; |
| 603 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 604 | return Void(); |
| 605 | } |
| 606 | |
| 607 | Return<void> RadioResponse::iccCloseLogicalChannelResponse(const RadioResponseInfo& info) { |
Sanket Padawe | 1512edb | 2017-02-23 12:31:09 -0800 | [diff] [blame] | 608 | rspInfo = info; |
| 609 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 610 | return Void(); |
| 611 | } |
| 612 | |
| 613 | Return<void> RadioResponse::iccTransmitApduLogicalChannelResponse( |
| 614 | const RadioResponseInfo& info, const IccIoResult& result) { |
Sanket Padawe | 1512edb | 2017-02-23 12:31:09 -0800 | [diff] [blame] | 615 | rspInfo = info; |
| 616 | this->iccIoResult = result; |
| 617 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 618 | return Void(); |
| 619 | } |
| 620 | |
| 621 | Return<void> RadioResponse::nvReadItemResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 622 | const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*result*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 623 | return Void(); |
| 624 | } |
| 625 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 626 | Return<void> RadioResponse::nvWriteItemResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 627 | return Void(); |
| 628 | } |
| 629 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 630 | Return<void> RadioResponse::nvWriteCdmaPrlResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 631 | return Void(); |
| 632 | } |
| 633 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 634 | Return<void> RadioResponse::nvResetConfigResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 635 | return Void(); |
| 636 | } |
| 637 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 638 | Return<void> RadioResponse::setUiccSubscriptionResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 639 | return Void(); |
| 640 | } |
| 641 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 642 | Return<void> RadioResponse::setDataAllowedResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 643 | return Void(); |
| 644 | } |
| 645 | |
| 646 | Return<void> RadioResponse::getHardwareConfigResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 647 | const RadioResponseInfo& /*info*/, |
| 648 | const ::android::hardware::hidl_vec<HardwareConfig>& /*config*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 649 | return Void(); |
| 650 | } |
| 651 | |
| 652 | Return<void> RadioResponse::requestIccSimAuthenticationResponse( |
| 653 | const RadioResponseInfo& info, const IccIoResult& result) { |
Sanket Padawe | 1512edb | 2017-02-23 12:31:09 -0800 | [diff] [blame] | 654 | rspInfo = info; |
| 655 | this->iccIoResult = result; |
| 656 | parent.notify(); |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 657 | return Void(); |
| 658 | } |
| 659 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 660 | Return<void> RadioResponse::setDataProfileResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 661 | return Void(); |
| 662 | } |
| 663 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 664 | Return<void> RadioResponse::requestShutdownResponse(const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 665 | return Void(); |
| 666 | } |
| 667 | |
| 668 | Return<void> RadioResponse::getRadioCapabilityResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 669 | const RadioResponseInfo& /*info*/, const RadioCapability& /*rc*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 670 | return Void(); |
| 671 | } |
| 672 | |
| 673 | Return<void> RadioResponse::setRadioCapabilityResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 674 | const RadioResponseInfo& /*info*/, const RadioCapability& /*rc*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 675 | return Void(); |
| 676 | } |
| 677 | |
| 678 | Return<void> RadioResponse::startLceServiceResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 679 | const RadioResponseInfo& /*info*/, const LceStatusInfo& /*statusInfo*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 680 | return Void(); |
| 681 | } |
| 682 | |
| 683 | Return<void> RadioResponse::stopLceServiceResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 684 | const RadioResponseInfo& /*info*/, const LceStatusInfo& /*statusInfo*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 685 | return Void(); |
| 686 | } |
| 687 | |
| 688 | Return<void> RadioResponse::pullLceDataResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 689 | const RadioResponseInfo& /*info*/, const LceDataInfo& /*lceInfo*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 690 | return Void(); |
| 691 | } |
| 692 | |
| 693 | Return<void> RadioResponse::getModemActivityInfoResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 694 | const RadioResponseInfo& /*info*/, const ActivityStatsInfo& /*activityInfo*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 695 | return Void(); |
| 696 | } |
| 697 | |
| 698 | Return<void> RadioResponse::setAllowedCarriersResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 699 | const RadioResponseInfo& /*info*/, int32_t /*numAllowed*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 700 | return Void(); |
| 701 | } |
| 702 | |
| 703 | Return<void> RadioResponse::getAllowedCarriersResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 704 | const RadioResponseInfo& /*info*/, bool /*allAllowed*/, |
| 705 | const CarrierRestrictions& /*carriers*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 706 | return Void(); |
| 707 | } |
| 708 | |
| 709 | Return<void> RadioResponse::sendDeviceStateResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 710 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 711 | return Void(); |
| 712 | } |
| 713 | |
| 714 | Return<void> RadioResponse::setIndicationFilterResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 715 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 716 | return Void(); |
| 717 | } |
| 718 | |
Sanket Padawe | 680564a | 2017-02-16 18:11:34 -0800 | [diff] [blame] | 719 | Return<void> RadioResponse::setSimCardPowerResponse( |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 720 | const RadioResponseInfo& /*info*/) { |
Sanket Padawe | 680564a | 2017-02-16 18:11:34 -0800 | [diff] [blame] | 721 | return Void(); |
| 722 | } |
| 723 | |
Sanket Padawe | 77c3822 | 2017-03-01 10:51:56 -0800 | [diff] [blame] | 724 | Return<void> RadioResponse::acknowledgeRequest(int32_t /*serial*/) { |
Sanket Padawe | e4c6323 | 2017-02-07 15:58:34 -0800 | [diff] [blame] | 725 | return Void(); |
| 726 | } |