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