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_1.h>
18 
RadioIndication_v1_1(RadioHidlTest_v1_1 & parent)19 RadioIndication_v1_1::RadioIndication_v1_1(RadioHidlTest_v1_1& parent) : parent_v1_1(parent) {}
20 
21 /* 1.1 Apis */
carrierInfoForImsiEncryption(RadioIndicationType)22 Return<void> RadioIndication_v1_1::carrierInfoForImsiEncryption(RadioIndicationType /*info*/) {
23     return Void();
24 }
25 
networkScanResult(RadioIndicationType,const NetworkScanResult &)26 Return<void> RadioIndication_v1_1::networkScanResult(RadioIndicationType /*type*/,
27                                                      const NetworkScanResult& /*result*/) {
28     return Void();
29 }
30 
keepaliveStatus(RadioIndicationType,const KeepaliveStatus &)31 Return<void> RadioIndication_v1_1::keepaliveStatus(RadioIndicationType /*type*/,
32                                                    const KeepaliveStatus& /*status*/) {
33     return Void();
34 }
35 
36 /* 1.0 Apis */
radioStateChanged(RadioIndicationType,RadioState)37 Return<void> RadioIndication_v1_1::radioStateChanged(RadioIndicationType /*type*/,
38                                                      RadioState /*radioState*/) {
39     return Void();
40 }
41 
callStateChanged(RadioIndicationType)42 Return<void> RadioIndication_v1_1::callStateChanged(RadioIndicationType /*type*/) {
43     return Void();
44 }
45 
networkStateChanged(RadioIndicationType)46 Return<void> RadioIndication_v1_1::networkStateChanged(RadioIndicationType /*type*/) {
47     return Void();
48 }
49 
newSms(RadioIndicationType,const::android::hardware::hidl_vec<uint8_t> &)50 Return<void> RadioIndication_v1_1::newSms(RadioIndicationType /*type*/,
51                                           const ::android::hardware::hidl_vec<uint8_t>& /*pdu*/) {
52     return Void();
53 }
54 
newSmsStatusReport(RadioIndicationType,const::android::hardware::hidl_vec<uint8_t> &)55 Return<void> RadioIndication_v1_1::newSmsStatusReport(
56     RadioIndicationType /*type*/, const ::android::hardware::hidl_vec<uint8_t>& /*pdu*/) {
57     return Void();
58 }
59 
newSmsOnSim(RadioIndicationType,int32_t)60 Return<void> RadioIndication_v1_1::newSmsOnSim(RadioIndicationType /*type*/,
61                                                int32_t /*recordNumber*/) {
62     return Void();
63 }
64 
onUssd(RadioIndicationType,UssdModeType,const::android::hardware::hidl_string &)65 Return<void> RadioIndication_v1_1::onUssd(RadioIndicationType /*type*/, UssdModeType /*modeType*/,
66                                           const ::android::hardware::hidl_string& /*msg*/) {
67     return Void();
68 }
69 
nitzTimeReceived(RadioIndicationType,const::android::hardware::hidl_string &,uint64_t)70 Return<void> RadioIndication_v1_1::nitzTimeReceived(
71     RadioIndicationType /*type*/, const ::android::hardware::hidl_string& /*nitzTime*/,
72     uint64_t /*receivedTime*/) {
73     return Void();
74 }
75 
currentSignalStrength(RadioIndicationType,const SignalStrength &)76 Return<void> RadioIndication_v1_1::currentSignalStrength(RadioIndicationType /*type*/,
77                                                          const SignalStrength& /*signalStrength*/) {
78     return Void();
79 }
80 
dataCallListChanged(RadioIndicationType,const::android::hardware::hidl_vec<SetupDataCallResult> &)81 Return<void> RadioIndication_v1_1::dataCallListChanged(
82     RadioIndicationType /*type*/,
83     const ::android::hardware::hidl_vec<SetupDataCallResult>& /*dcList*/) {
84     return Void();
85 }
86 
suppSvcNotify(RadioIndicationType,const SuppSvcNotification &)87 Return<void> RadioIndication_v1_1::suppSvcNotify(RadioIndicationType /*type*/,
88                                                  const SuppSvcNotification& /*suppSvc*/) {
89     return Void();
90 }
91 
stkSessionEnd(RadioIndicationType)92 Return<void> RadioIndication_v1_1::stkSessionEnd(RadioIndicationType /*type*/) {
93     return Void();
94 }
95 
stkProactiveCommand(RadioIndicationType,const::android::hardware::hidl_string &)96 Return<void> RadioIndication_v1_1::stkProactiveCommand(
97     RadioIndicationType /*type*/, const ::android::hardware::hidl_string& /*cmd*/) {
98     return Void();
99 }
100 
stkEventNotify(RadioIndicationType,const::android::hardware::hidl_string &)101 Return<void> RadioIndication_v1_1::stkEventNotify(RadioIndicationType /*type*/,
102                                                   const ::android::hardware::hidl_string& /*cmd*/) {
103     return Void();
104 }
105 
stkCallSetup(RadioIndicationType,int64_t)106 Return<void> RadioIndication_v1_1::stkCallSetup(RadioIndicationType /*type*/, int64_t /*timeout*/) {
107     return Void();
108 }
109 
simSmsStorageFull(RadioIndicationType)110 Return<void> RadioIndication_v1_1::simSmsStorageFull(RadioIndicationType /*type*/) {
111     return Void();
112 }
113 
simRefresh(RadioIndicationType,const SimRefreshResult &)114 Return<void> RadioIndication_v1_1::simRefresh(RadioIndicationType /*type*/,
115                                               const SimRefreshResult& /*refreshResult*/) {
116     return Void();
117 }
118 
callRing(RadioIndicationType,bool,const CdmaSignalInfoRecord &)119 Return<void> RadioIndication_v1_1::callRing(RadioIndicationType /*type*/, bool /*isGsm*/,
120                                             const CdmaSignalInfoRecord& /*record*/) {
121     return Void();
122 }
123 
simStatusChanged(RadioIndicationType)124 Return<void> RadioIndication_v1_1::simStatusChanged(RadioIndicationType /*type*/) {
125     return Void();
126 }
127 
cdmaNewSms(RadioIndicationType,const CdmaSmsMessage &)128 Return<void> RadioIndication_v1_1::cdmaNewSms(RadioIndicationType /*type*/,
129                                               const CdmaSmsMessage& /*msg*/) {
130     return Void();
131 }
132 
newBroadcastSms(RadioIndicationType,const::android::hardware::hidl_vec<uint8_t> &)133 Return<void> RadioIndication_v1_1::newBroadcastSms(
134     RadioIndicationType /*type*/, const ::android::hardware::hidl_vec<uint8_t>& /*data*/) {
135     return Void();
136 }
137 
cdmaRuimSmsStorageFull(RadioIndicationType)138 Return<void> RadioIndication_v1_1::cdmaRuimSmsStorageFull(RadioIndicationType /*type*/) {
139     return Void();
140 }
141 
restrictedStateChanged(RadioIndicationType,PhoneRestrictedState)142 Return<void> RadioIndication_v1_1::restrictedStateChanged(RadioIndicationType /*type*/,
143                                                           PhoneRestrictedState /*state*/) {
144     return Void();
145 }
146 
enterEmergencyCallbackMode(RadioIndicationType)147 Return<void> RadioIndication_v1_1::enterEmergencyCallbackMode(RadioIndicationType /*type*/) {
148     return Void();
149 }
150 
cdmaCallWaiting(RadioIndicationType,const CdmaCallWaiting &)151 Return<void> RadioIndication_v1_1::cdmaCallWaiting(RadioIndicationType /*type*/,
152                                                    const CdmaCallWaiting& /*callWaitingRecord*/) {
153     return Void();
154 }
155 
cdmaOtaProvisionStatus(RadioIndicationType,CdmaOtaProvisionStatus)156 Return<void> RadioIndication_v1_1::cdmaOtaProvisionStatus(RadioIndicationType /*type*/,
157                                                           CdmaOtaProvisionStatus /*status*/) {
158     return Void();
159 }
160 
cdmaInfoRec(RadioIndicationType,const CdmaInformationRecords &)161 Return<void> RadioIndication_v1_1::cdmaInfoRec(RadioIndicationType /*type*/,
162                                                const CdmaInformationRecords& /*records*/) {
163     return Void();
164 }
165 
indicateRingbackTone(RadioIndicationType,bool)166 Return<void> RadioIndication_v1_1::indicateRingbackTone(RadioIndicationType /*type*/,
167                                                         bool /*start*/) {
168     return Void();
169 }
170 
resendIncallMute(RadioIndicationType)171 Return<void> RadioIndication_v1_1::resendIncallMute(RadioIndicationType /*type*/) {
172     return Void();
173 }
174 
cdmaSubscriptionSourceChanged(RadioIndicationType,CdmaSubscriptionSource)175 Return<void> RadioIndication_v1_1::cdmaSubscriptionSourceChanged(
176     RadioIndicationType /*type*/, CdmaSubscriptionSource /*cdmaSource*/) {
177     return Void();
178 }
179 
cdmaPrlChanged(RadioIndicationType,int32_t)180 Return<void> RadioIndication_v1_1::cdmaPrlChanged(RadioIndicationType /*type*/,
181                                                   int32_t /*version*/) {
182     return Void();
183 }
184 
exitEmergencyCallbackMode(RadioIndicationType)185 Return<void> RadioIndication_v1_1::exitEmergencyCallbackMode(RadioIndicationType /*type*/) {
186     return Void();
187 }
188 
rilConnected(RadioIndicationType)189 Return<void> RadioIndication_v1_1::rilConnected(RadioIndicationType /*type*/) {
190     return Void();
191 }
192 
voiceRadioTechChanged(RadioIndicationType,RadioTechnology)193 Return<void> RadioIndication_v1_1::voiceRadioTechChanged(RadioIndicationType /*type*/,
194                                                          RadioTechnology /*rat*/) {
195     return Void();
196 }
197 
cellInfoList(RadioIndicationType,const::android::hardware::hidl_vec<CellInfo> &)198 Return<void> RadioIndication_v1_1::cellInfoList(
199     RadioIndicationType /*type*/, const ::android::hardware::hidl_vec<CellInfo>& /*records*/) {
200     return Void();
201 }
202 
imsNetworkStateChanged(RadioIndicationType)203 Return<void> RadioIndication_v1_1::imsNetworkStateChanged(RadioIndicationType /*type*/) {
204     return Void();
205 }
206 
subscriptionStatusChanged(RadioIndicationType,bool)207 Return<void> RadioIndication_v1_1::subscriptionStatusChanged(RadioIndicationType /*type*/,
208                                                              bool /*activate*/) {
209     return Void();
210 }
211 
srvccStateNotify(RadioIndicationType,SrvccState)212 Return<void> RadioIndication_v1_1::srvccStateNotify(RadioIndicationType /*type*/,
213                                                     SrvccState /*state*/) {
214     return Void();
215 }
216 
hardwareConfigChanged(RadioIndicationType,const::android::hardware::hidl_vec<HardwareConfig> &)217 Return<void> RadioIndication_v1_1::hardwareConfigChanged(
218     RadioIndicationType /*type*/,
219     const ::android::hardware::hidl_vec<HardwareConfig>& /*configs*/) {
220     return Void();
221 }
222 
radioCapabilityIndication(RadioIndicationType,const RadioCapability &)223 Return<void> RadioIndication_v1_1::radioCapabilityIndication(RadioIndicationType /*type*/,
224                                                              const RadioCapability& /*rc*/) {
225     return Void();
226 }
227 
onSupplementaryServiceIndication(RadioIndicationType,const StkCcUnsolSsResult &)228 Return<void> RadioIndication_v1_1::onSupplementaryServiceIndication(
229     RadioIndicationType /*type*/, const StkCcUnsolSsResult& /*ss*/) {
230     return Void();
231 }
232 
stkCallControlAlphaNotify(RadioIndicationType,const::android::hardware::hidl_string &)233 Return<void> RadioIndication_v1_1::stkCallControlAlphaNotify(
234     RadioIndicationType /*type*/, const ::android::hardware::hidl_string& /*alpha*/) {
235     return Void();
236 }
237 
lceData(RadioIndicationType,const LceDataInfo &)238 Return<void> RadioIndication_v1_1::lceData(RadioIndicationType /*type*/,
239                                            const LceDataInfo& /*lce*/) {
240     return Void();
241 }
242 
pcoData(RadioIndicationType,const PcoDataInfo &)243 Return<void> RadioIndication_v1_1::pcoData(RadioIndicationType /*type*/,
244                                            const PcoDataInfo& /*pco*/) {
245     return Void();
246 }
247 
modemReset(RadioIndicationType,const::android::hardware::hidl_string &)248 Return<void> RadioIndication_v1_1::modemReset(RadioIndicationType /*type*/,
249                                               const ::android::hardware::hidl_string& /*reason*/) {
250     return Void();
251 }