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