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