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