1 /*
2  * Copyright (C) 2019 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_5.h>
18 
RadioIndication_v1_5(RadioHidlTest_v1_5 & parent)19 RadioIndication_v1_5::RadioIndication_v1_5(RadioHidlTest_v1_5& parent) : parent_v1_5(parent) {}
20 
21 /* 1.5 Apis */
uiccApplicationsEnablementChanged(RadioIndicationType,bool)22 Return<void> RadioIndication_v1_5::uiccApplicationsEnablementChanged(RadioIndicationType /*type*/,
23                                                                      bool /*enabled*/) {
24     return Void();
25 }
26 
registrationFailed(RadioIndicationType,const::android::hardware::radio::V1_5::CellIdentity &,const hidl_string &,::android::hardware::hidl_bitfield<::android::hardware::radio::V1_5::Domain>,int32_t,int32_t)27 Return<void> RadioIndication_v1_5::registrationFailed(
28         RadioIndicationType /*type*/,
29         const ::android::hardware::radio::V1_5::CellIdentity& /*cellIdentity*/,
30         const hidl_string& /*chosenPlmn*/,
31         ::android::hardware::hidl_bitfield<::android::hardware::radio::V1_5::Domain> /*domain*/,
32         int32_t /*causeCode*/, int32_t /*additionalCauseCode*/) {
33     return Void();
34 }
35 
barringInfoChanged(RadioIndicationType,const::android::hardware::radio::V1_5::CellIdentity &,const hidl_vec<::android::hardware::radio::V1_5::BarringInfo> &)36 Return<void> RadioIndication_v1_5::barringInfoChanged(
37         RadioIndicationType /*type*/,
38         const ::android::hardware::radio::V1_5::CellIdentity& /*cellIdentity*/,
39         const hidl_vec<::android::hardware::radio::V1_5::BarringInfo>& /*barringInfos*/) {
40     return Void();
41 }
42 
networkScanResult_1_5(RadioIndicationType,const::android::hardware::radio::V1_5::NetworkScanResult &)43 Return<void> RadioIndication_v1_5::networkScanResult_1_5(
44         RadioIndicationType /*type*/,
45         const ::android::hardware::radio::V1_5::NetworkScanResult& /*result*/) {
46     return Void();
47 }
48 
cellInfoList_1_5(RadioIndicationType,const hidl_vec<::android::hardware::radio::V1_5::CellInfo> &)49 Return<void> RadioIndication_v1_5::cellInfoList_1_5(
50         RadioIndicationType /*type*/,
51         const hidl_vec<::android::hardware::radio::V1_5::CellInfo>& /*records*/) {
52     return Void();
53 }
54 
dataCallListChanged_1_5(RadioIndicationType,const hidl_vec<android::hardware::radio::V1_5::SetupDataCallResult> &)55 Return<void> RadioIndication_v1_5::dataCallListChanged_1_5(
56         RadioIndicationType /*type*/,
57         const hidl_vec<android::hardware::radio::V1_5::SetupDataCallResult>& /*dcList*/) {
58     return Void();
59 }
60 
61 /* 1.4 Apis */
currentPhysicalChannelConfigs_1_4(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_4::PhysicalChannelConfig> &)62 Return<void> RadioIndication_v1_5::currentPhysicalChannelConfigs_1_4(
63         RadioIndicationType /*type*/,
64         const ::android::hardware::hidl_vec<
65                 ::android::hardware::radio::V1_4::PhysicalChannelConfig>& /*configs*/) {
66     return Void();
67 }
68 
networkScanResult_1_4(RadioIndicationType,const::android::hardware::radio::V1_4::NetworkScanResult &)69 Return<void> RadioIndication_v1_5::networkScanResult_1_4(
70         RadioIndicationType /*type*/,
71         const ::android::hardware::radio::V1_4::NetworkScanResult& /*result*/) {
72     return Void();
73 }
74 
cellInfoList_1_4(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_4::CellInfo> &)75 Return<void> RadioIndication_v1_5::cellInfoList_1_4(
76         RadioIndicationType /*type*/,
77         const ::android::hardware::hidl_vec<
78                 ::android::hardware::radio::V1_4::CellInfo>& /*records*/) {
79     return Void();
80 }
81 
currentEmergencyNumberList(RadioIndicationType,const::android::hardware::hidl_vec<EmergencyNumber> &)82 Return<void> RadioIndication_v1_5::currentEmergencyNumberList(
83         RadioIndicationType /*type*/,
84         const ::android::hardware::hidl_vec<EmergencyNumber>& /*emergencyNumberList*/) {
85     return Void();
86 }
87 
dataCallListChanged_1_4(RadioIndicationType,const::android::hardware::hidl_vec<android::hardware::radio::V1_4::SetupDataCallResult> &)88 Return<void> RadioIndication_v1_5::dataCallListChanged_1_4(
89         RadioIndicationType /*type*/,
90         const ::android::hardware::hidl_vec<android::hardware::radio::V1_4::SetupDataCallResult>&
91         /*dcList*/) {
92     return Void();
93 }
94 
95 /* 1.2 Apis */
networkScanResult_1_2(RadioIndicationType,const::android::hardware::radio::V1_2::NetworkScanResult &)96 Return<void> RadioIndication_v1_5::networkScanResult_1_2(
97         RadioIndicationType /*type*/,
98         const ::android::hardware::radio::V1_2::NetworkScanResult& /*result*/) {
99     return Void();
100 }
101 
cellInfoList_1_2(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_2::CellInfo> &)102 Return<void> RadioIndication_v1_5::cellInfoList_1_2(
103         RadioIndicationType /*type*/,
104         const ::android::hardware::hidl_vec<
105                 ::android::hardware::radio::V1_2::CellInfo>& /*records*/) {
106     return Void();
107 }
108 
currentLinkCapacityEstimate(RadioIndicationType,const::android::hardware::radio::V1_2::LinkCapacityEstimate &)109 Return<void> RadioIndication_v1_5::currentLinkCapacityEstimate(
110         RadioIndicationType /*type*/,
111         const ::android::hardware::radio::V1_2::LinkCapacityEstimate& /*lce*/) {
112     return Void();
113 }
114 
currentPhysicalChannelConfigs(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_2::PhysicalChannelConfig> &)115 Return<void> RadioIndication_v1_5::currentPhysicalChannelConfigs(
116         RadioIndicationType /*type*/,
117         const ::android::hardware::hidl_vec<
118                 ::android::hardware::radio::V1_2::PhysicalChannelConfig>& /*configs*/) {
119     return Void();
120 }
121 
currentSignalStrength_1_2(RadioIndicationType,const::android::hardware::radio::V1_2::SignalStrength &)122 Return<void> RadioIndication_v1_5::currentSignalStrength_1_2(
123         RadioIndicationType /*type*/,
124         const ::android::hardware::radio::V1_2::SignalStrength& /*signalStrength*/) {
125     return Void();
126 }
127 
currentSignalStrength_1_4(RadioIndicationType,const::android::hardware::radio::V1_4::SignalStrength &)128 Return<void> RadioIndication_v1_5::currentSignalStrength_1_4(
129         RadioIndicationType /*type*/,
130         const ::android::hardware::radio::V1_4::SignalStrength& /*signalStrength*/) {
131     return Void();
132 }
133 
134 /* 1.1 Apis */
carrierInfoForImsiEncryption(RadioIndicationType)135 Return<void> RadioIndication_v1_5::carrierInfoForImsiEncryption(RadioIndicationType /*info*/) {
136     return Void();
137 }
138 
networkScanResult(RadioIndicationType,const::android::hardware::radio::V1_1::NetworkScanResult &)139 Return<void> RadioIndication_v1_5::networkScanResult(
140         RadioIndicationType /*type*/,
141         const ::android::hardware::radio::V1_1::NetworkScanResult& /*result*/) {
142     return Void();
143 }
144 
keepaliveStatus(RadioIndicationType,const KeepaliveStatus &)145 Return<void> RadioIndication_v1_5::keepaliveStatus(RadioIndicationType /*type*/,
146                                                    const KeepaliveStatus& /*status*/) {
147     return Void();
148 }
149 
150 /* 1.0 Apis */
radioStateChanged(RadioIndicationType,RadioState)151 Return<void> RadioIndication_v1_5::radioStateChanged(RadioIndicationType /*type*/,
152                                                      RadioState /*radioState*/) {
153     return Void();
154 }
155 
callStateChanged(RadioIndicationType)156 Return<void> RadioIndication_v1_5::callStateChanged(RadioIndicationType /*type*/) {
157     return Void();
158 }
159 
networkStateChanged(RadioIndicationType)160 Return<void> RadioIndication_v1_5::networkStateChanged(RadioIndicationType /*type*/) {
161     return Void();
162 }
163 
newSms(RadioIndicationType,const::android::hardware::hidl_vec<uint8_t> &)164 Return<void> RadioIndication_v1_5::newSms(RadioIndicationType /*type*/,
165                                           const ::android::hardware::hidl_vec<uint8_t>& /*pdu*/) {
166     return Void();
167 }
168 
newSmsStatusReport(RadioIndicationType,const::android::hardware::hidl_vec<uint8_t> &)169 Return<void> RadioIndication_v1_5::newSmsStatusReport(
170         RadioIndicationType /*type*/, const ::android::hardware::hidl_vec<uint8_t>& /*pdu*/) {
171     return Void();
172 }
173 
newSmsOnSim(RadioIndicationType,int32_t)174 Return<void> RadioIndication_v1_5::newSmsOnSim(RadioIndicationType /*type*/,
175                                                int32_t /*recordNumber*/) {
176     return Void();
177 }
178 
onUssd(RadioIndicationType,UssdModeType,const::android::hardware::hidl_string &)179 Return<void> RadioIndication_v1_5::onUssd(RadioIndicationType /*type*/, UssdModeType /*modeType*/,
180                                           const ::android::hardware::hidl_string& /*msg*/) {
181     return Void();
182 }
183 
nitzTimeReceived(RadioIndicationType,const::android::hardware::hidl_string &,uint64_t)184 Return<void> RadioIndication_v1_5::nitzTimeReceived(
185         RadioIndicationType /*type*/, const ::android::hardware::hidl_string& /*nitzTime*/,
186         uint64_t /*receivedTime*/) {
187     return Void();
188 }
189 
currentSignalStrength(RadioIndicationType,const::android::hardware::radio::V1_0::SignalStrength &)190 Return<void> RadioIndication_v1_5::currentSignalStrength(
191         RadioIndicationType /*type*/,
192         const ::android::hardware::radio::V1_0::SignalStrength& /*signalStrength*/) {
193     return Void();
194 }
195 
dataCallListChanged(RadioIndicationType,const::android::hardware::hidl_vec<android::hardware::radio::V1_0::SetupDataCallResult> &)196 Return<void> RadioIndication_v1_5::dataCallListChanged(
197         RadioIndicationType /*type*/,
198         const ::android::hardware::hidl_vec<android::hardware::radio::V1_0::SetupDataCallResult>&
199         /*dcList*/) {
200     return Void();
201 }
202 
suppSvcNotify(RadioIndicationType,const SuppSvcNotification &)203 Return<void> RadioIndication_v1_5::suppSvcNotify(RadioIndicationType /*type*/,
204                                                  const SuppSvcNotification& /*suppSvc*/) {
205     return Void();
206 }
207 
stkSessionEnd(RadioIndicationType)208 Return<void> RadioIndication_v1_5::stkSessionEnd(RadioIndicationType /*type*/) {
209     return Void();
210 }
211 
stkProactiveCommand(RadioIndicationType,const::android::hardware::hidl_string &)212 Return<void> RadioIndication_v1_5::stkProactiveCommand(
213         RadioIndicationType /*type*/, const ::android::hardware::hidl_string& /*cmd*/) {
214     return Void();
215 }
216 
stkEventNotify(RadioIndicationType,const::android::hardware::hidl_string &)217 Return<void> RadioIndication_v1_5::stkEventNotify(RadioIndicationType /*type*/,
218                                                   const ::android::hardware::hidl_string& /*cmd*/) {
219     return Void();
220 }
221 
stkCallSetup(RadioIndicationType,int64_t)222 Return<void> RadioIndication_v1_5::stkCallSetup(RadioIndicationType /*type*/, int64_t /*timeout*/) {
223     return Void();
224 }
225 
simSmsStorageFull(RadioIndicationType)226 Return<void> RadioIndication_v1_5::simSmsStorageFull(RadioIndicationType /*type*/) {
227     return Void();
228 }
229 
simRefresh(RadioIndicationType,const SimRefreshResult &)230 Return<void> RadioIndication_v1_5::simRefresh(RadioIndicationType /*type*/,
231                                               const SimRefreshResult& /*refreshResult*/) {
232     return Void();
233 }
234 
callRing(RadioIndicationType,bool,const CdmaSignalInfoRecord &)235 Return<void> RadioIndication_v1_5::callRing(RadioIndicationType /*type*/, bool /*isGsm*/,
236                                             const CdmaSignalInfoRecord& /*record*/) {
237     return Void();
238 }
239 
simStatusChanged(RadioIndicationType)240 Return<void> RadioIndication_v1_5::simStatusChanged(RadioIndicationType /*type*/) {
241     return Void();
242 }
243 
cdmaNewSms(RadioIndicationType,const CdmaSmsMessage &)244 Return<void> RadioIndication_v1_5::cdmaNewSms(RadioIndicationType /*type*/,
245                                               const CdmaSmsMessage& /*msg*/) {
246     return Void();
247 }
248 
newBroadcastSms(RadioIndicationType,const::android::hardware::hidl_vec<uint8_t> &)249 Return<void> RadioIndication_v1_5::newBroadcastSms(
250         RadioIndicationType /*type*/, const ::android::hardware::hidl_vec<uint8_t>& /*data*/) {
251     return Void();
252 }
253 
cdmaRuimSmsStorageFull(RadioIndicationType)254 Return<void> RadioIndication_v1_5::cdmaRuimSmsStorageFull(RadioIndicationType /*type*/) {
255     return Void();
256 }
257 
restrictedStateChanged(RadioIndicationType,PhoneRestrictedState)258 Return<void> RadioIndication_v1_5::restrictedStateChanged(RadioIndicationType /*type*/,
259                                                           PhoneRestrictedState /*state*/) {
260     return Void();
261 }
262 
enterEmergencyCallbackMode(RadioIndicationType)263 Return<void> RadioIndication_v1_5::enterEmergencyCallbackMode(RadioIndicationType /*type*/) {
264     return Void();
265 }
266 
cdmaCallWaiting(RadioIndicationType,const CdmaCallWaiting &)267 Return<void> RadioIndication_v1_5::cdmaCallWaiting(RadioIndicationType /*type*/,
268                                                    const CdmaCallWaiting& /*callWaitingRecord*/) {
269     return Void();
270 }
271 
cdmaOtaProvisionStatus(RadioIndicationType,CdmaOtaProvisionStatus)272 Return<void> RadioIndication_v1_5::cdmaOtaProvisionStatus(RadioIndicationType /*type*/,
273                                                           CdmaOtaProvisionStatus /*status*/) {
274     return Void();
275 }
276 
cdmaInfoRec(RadioIndicationType,const CdmaInformationRecords &)277 Return<void> RadioIndication_v1_5::cdmaInfoRec(RadioIndicationType /*type*/,
278                                                const CdmaInformationRecords& /*records*/) {
279     return Void();
280 }
281 
indicateRingbackTone(RadioIndicationType,bool)282 Return<void> RadioIndication_v1_5::indicateRingbackTone(RadioIndicationType /*type*/,
283                                                         bool /*start*/) {
284     return Void();
285 }
286 
resendIncallMute(RadioIndicationType)287 Return<void> RadioIndication_v1_5::resendIncallMute(RadioIndicationType /*type*/) {
288     return Void();
289 }
290 
cdmaSubscriptionSourceChanged(RadioIndicationType,CdmaSubscriptionSource)291 Return<void> RadioIndication_v1_5::cdmaSubscriptionSourceChanged(
292         RadioIndicationType /*type*/, CdmaSubscriptionSource /*cdmaSource*/) {
293     return Void();
294 }
295 
cdmaPrlChanged(RadioIndicationType,int32_t)296 Return<void> RadioIndication_v1_5::cdmaPrlChanged(RadioIndicationType /*type*/,
297                                                   int32_t /*version*/) {
298     return Void();
299 }
300 
exitEmergencyCallbackMode(RadioIndicationType)301 Return<void> RadioIndication_v1_5::exitEmergencyCallbackMode(RadioIndicationType /*type*/) {
302     return Void();
303 }
304 
rilConnected(RadioIndicationType)305 Return<void> RadioIndication_v1_5::rilConnected(RadioIndicationType /*type*/) {
306     return Void();
307 }
308 
voiceRadioTechChanged(RadioIndicationType,::android::hardware::radio::V1_0::RadioTechnology)309 Return<void> RadioIndication_v1_5::voiceRadioTechChanged(
310         RadioIndicationType /*type*/, ::android::hardware::radio::V1_0::RadioTechnology /*rat*/) {
311     return Void();
312 }
313 
cellInfoList(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_0::CellInfo> &)314 Return<void> RadioIndication_v1_5::cellInfoList(
315         RadioIndicationType /*type*/,
316         const ::android::hardware::hidl_vec<
317                 ::android::hardware::radio::V1_0::CellInfo>& /*records*/) {
318     return Void();
319 }
320 
imsNetworkStateChanged(RadioIndicationType)321 Return<void> RadioIndication_v1_5::imsNetworkStateChanged(RadioIndicationType /*type*/) {
322     return Void();
323 }
324 
subscriptionStatusChanged(RadioIndicationType,bool)325 Return<void> RadioIndication_v1_5::subscriptionStatusChanged(RadioIndicationType /*type*/,
326                                                              bool /*activate*/) {
327     return Void();
328 }
329 
srvccStateNotify(RadioIndicationType,SrvccState)330 Return<void> RadioIndication_v1_5::srvccStateNotify(RadioIndicationType /*type*/,
331                                                     SrvccState /*state*/) {
332     return Void();
333 }
334 
hardwareConfigChanged(RadioIndicationType,const::android::hardware::hidl_vec<HardwareConfig> &)335 Return<void> RadioIndication_v1_5::hardwareConfigChanged(
336         RadioIndicationType /*type*/,
337         const ::android::hardware::hidl_vec<HardwareConfig>& /*configs*/) {
338     return Void();
339 }
340 
radioCapabilityIndication(RadioIndicationType,const android::hardware::radio::V1_0::RadioCapability &)341 Return<void> RadioIndication_v1_5::radioCapabilityIndication(
342         RadioIndicationType /*type*/,
343         const android::hardware::radio::V1_0::RadioCapability& /*rc*/) {
344     return Void();
345 }
346 
onSupplementaryServiceIndication(RadioIndicationType,const StkCcUnsolSsResult &)347 Return<void> RadioIndication_v1_5::onSupplementaryServiceIndication(
348         RadioIndicationType /*type*/, const StkCcUnsolSsResult& /*ss*/) {
349     return Void();
350 }
351 
stkCallControlAlphaNotify(RadioIndicationType,const::android::hardware::hidl_string &)352 Return<void> RadioIndication_v1_5::stkCallControlAlphaNotify(
353         RadioIndicationType /*type*/, const ::android::hardware::hidl_string& /*alpha*/) {
354     return Void();
355 }
356 
lceData(RadioIndicationType,const LceDataInfo &)357 Return<void> RadioIndication_v1_5::lceData(RadioIndicationType /*type*/,
358                                            const LceDataInfo& /*lce*/) {
359     return Void();
360 }
361 
pcoData(RadioIndicationType,const PcoDataInfo &)362 Return<void> RadioIndication_v1_5::pcoData(RadioIndicationType /*type*/,
363                                            const PcoDataInfo& /*pco*/) {
364     return Void();
365 }
366 
modemReset(RadioIndicationType,const::android::hardware::hidl_string &)367 Return<void> RadioIndication_v1_5::modemReset(RadioIndicationType /*type*/,
368                                               const ::android::hardware::hidl_string& /*reason*/) {
369     return Void();
370 }
371