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