• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2024 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef ESIM_CORE_SERVICE_STUB_TEST_H
17 #define ESIM_CORE_SERVICE_STUB_TEST_H
18 
19 #include "i_core_service.h"
20 #include "core_service_stub.h"
21 
22 #include "gmock/gmock.h"
23 
24 #define private public
25 #define protected public
26 
27 namespace OHOS {
28 namespace Telephony {
29 class MockCoreServiceStub : public CoreServiceStub {
30 public:
31     MockCoreServiceStub() = default;
~MockCoreServiceStub()32     ~MockCoreServiceStub() override {};
33 
GetPsRadioTech(int32_t slotId,int32_t & psRadioTech)34     int32_t GetPsRadioTech(int32_t slotId, int32_t &psRadioTech) override
35     {
36         return 0;
37     }
38 
GetCsRadioTech(int32_t slotId,int32_t & csRadioTech)39     int32_t GetCsRadioTech(int32_t slotId, int32_t &csRadioTech) override
40     {
41         return 0;
42     }
43 
GetOperatorNumeric(int32_t slotId)44     std::u16string GetOperatorNumeric(int32_t slotId) override
45     {
46         return u"";
47     }
48 
GetResidentNetworkNumeric(int32_t slotId)49     std::string GetResidentNetworkNumeric(int32_t slotId) override
50     {
51         return "";
52     }
53 
GetOperatorName(int32_t slotId,std::u16string & operatorName)54     int32_t GetOperatorName(int32_t slotId, std::u16string &operatorName) override
55     {
56         return 0;
57     }
58 
GetSignalInfoList(int32_t slotId,std::vector<sptr<SignalInformation>> & signals)59     int32_t GetSignalInfoList(int32_t slotId, std::vector<sptr<SignalInformation>> &signals) override
60     {
61         return 0;
62     }
63 
GetNetworkState(int32_t slotId,sptr<NetworkState> & networkState)64     int32_t GetNetworkState(int32_t slotId, sptr<NetworkState> &networkState) override
65     {
66         return 0;
67     }
68 
SetRadioState(int32_t slotId,bool isOn,const sptr<INetworkSearchCallback> & callback)69     int32_t SetRadioState(int32_t slotId, bool isOn, const sptr<INetworkSearchCallback> &callback) override
70     {
71         return 0;
72     }
73 
GetRadioState(int32_t slotId,const sptr<INetworkSearchCallback> & callback)74     int32_t GetRadioState(int32_t slotId, const sptr<INetworkSearchCallback> &callback) override
75     {
76         return 0;
77     }
78 
GetImei(int32_t slotId,const sptr<IRawParcelCallback> & callback)79     int32_t GetImei(int32_t slotId, const sptr<IRawParcelCallback> &callback) override
80     {
81         return 0;
82     }
83 
GetImeiSv(int32_t slotId,const sptr<IRawParcelCallback> & callback)84     int32_t GetImeiSv(int32_t slotId, const sptr<IRawParcelCallback> &callback) override
85     {
86         return 0;
87     }
88 
GetMeid(int32_t slotId,std::u16string & meid)89     int32_t GetMeid(int32_t slotId, std::u16string &meid) override
90     {
91         return 0;
92     }
93 
GetUniqueDeviceId(int32_t slotId,std::u16string & deviceId)94     int32_t GetUniqueDeviceId(int32_t slotId, std::u16string &deviceId) override
95     {
96         return 0;
97     }
98 
IsNrSupported(int32_t slotId)99     bool IsNrSupported(int32_t slotId) override
100     {
101         return true;
102     }
103 
SetNrOptionMode(int32_t slotId,int32_t mode,const sptr<INetworkSearchCallback> & callback)104     int32_t SetNrOptionMode(int32_t slotId, int32_t mode, const sptr<INetworkSearchCallback> &callback) override
105     {
106         return 0;
107     }
108 
GetNrOptionMode(int32_t slotId,const sptr<INetworkSearchCallback> & callback)109     int32_t GetNrOptionMode(int32_t slotId, const sptr<INetworkSearchCallback> &callback) override
110     {
111         return 0;
112     }
113 
HasSimCard(int32_t slotId,const sptr<IRawParcelCallback> & callback)114     int32_t HasSimCard(int32_t slotId, const sptr<IRawParcelCallback> &callback) override
115     {
116         return 0;
117     }
118 
GetSimState(int32_t slotId,const sptr<IRawParcelCallback> & callback)119     int32_t GetSimState(int32_t slotId, const sptr<IRawParcelCallback> &callback) override
120     {
121         return 0;
122     }
123 
GetDsdsMode(int32_t & dsdsMode)124     int32_t GetDsdsMode(int32_t &dsdsMode) override
125     {
126         return 0;
127     }
128 
GetCardType(int32_t slotId,CardType & cardType)129     int32_t GetCardType(int32_t slotId, CardType &cardType) override
130     {
131         return 0;
132     }
133 
UnlockPin(int32_t slotId,const std::u16string & pin,const sptr<IRawParcelCallback> & callback)134     int32_t UnlockPin(int32_t slotId, const std::u16string &pin, const sptr<IRawParcelCallback> &callback) override
135     {
136         return 0;
137     }
138 
UnlockPuk(int32_t slotId,const std::u16string & newPin,const std::u16string & puk,const sptr<IRawParcelCallback> & callback)139     int32_t UnlockPuk(int32_t slotId, const std::u16string &newPin, const std::u16string &puk,
140         const sptr<IRawParcelCallback> &callback) override
141     {
142         return 0;
143     }
144 
AlterPin(int32_t slotId,const std::u16string & newPin,const std::u16string & oldPin,const sptr<IRawParcelCallback> & callback)145     int32_t AlterPin(int32_t slotId, const std::u16string &newPin,
146         const std::u16string &oldPin, const sptr<IRawParcelCallback> &callback) override
147     {
148         return 0;
149     }
150 
UnlockPin2(int32_t slotId,const std::u16string & pin2,const sptr<IRawParcelCallback> & callback)151     int32_t UnlockPin2(int32_t slotId, const std::u16string &pin2, const sptr<IRawParcelCallback> &callback) override
152     {
153         return 0;
154     }
155 
UnlockPuk2(int32_t slotId,const std::u16string & newPin2,const std::u16string & puk2,const sptr<IRawParcelCallback> & callback)156     int32_t UnlockPuk2(int32_t slotId, const std::u16string &newPin2,
157         const std::u16string &puk2, const sptr<IRawParcelCallback> &callback) override
158     {
159         return 0;
160     }
161 
AlterPin2(int32_t slotId,const std::u16string & newPin2,const std::u16string & oldPin2,const sptr<IRawParcelCallback> & callback)162     int32_t AlterPin2(int32_t slotId, const std::u16string &newPin2,
163         const std::u16string &oldPin2, const sptr<IRawParcelCallback> &callback) override
164     {
165         return 0;
166     }
167 
SetLockState(int32_t slotId,const LockInfo & options,const sptr<IRawParcelCallback> & callback)168     int32_t SetLockState(int32_t slotId, const LockInfo &options, const sptr<IRawParcelCallback> &callback) override
169     {
170         return 0;
171     }
172 
GetLockState(int32_t slotId,LockType lockType,const sptr<IRawParcelCallback> & callback)173     int32_t GetLockState(int32_t slotId, LockType lockType, const sptr<IRawParcelCallback> &callback) override
174     {
175         return 0;
176     }
177 
GetSimOperatorNumeric(int32_t slotId,std::u16string & operatorNumeric)178     int32_t GetSimOperatorNumeric(int32_t slotId, std::u16string &operatorNumeric) override
179     {
180         return 0;
181     }
182 
GetISOCountryCodeForSim(int32_t slotId,std::u16string & countryCode)183     int32_t GetISOCountryCodeForSim(int32_t slotId, std::u16string &countryCode) override
184     {
185         return 0;
186     }
187 
GetSimSpn(int32_t slotId,std::u16string & spn)188     int32_t GetSimSpn(int32_t slotId, std::u16string &spn) override
189     {
190         return 0;
191     }
192 
GetSimIccId(int32_t slotId,std::u16string & iccId)193     int32_t GetSimIccId(int32_t slotId, std::u16string &iccId) override
194     {
195         return 0;
196     }
197 
GetIMSI(int32_t slotId,std::u16string & imsi)198     int32_t GetIMSI(int32_t slotId, std::u16string &imsi) override
199     {
200         return 0;
201     }
202 
IsCTSimCard(int32_t slotId,const sptr<IRawParcelCallback> & callback)203     int32_t IsCTSimCard(int32_t slotId, const sptr<IRawParcelCallback> &callback) override
204     {
205         return 0;
206     }
207 
IsSimActive(int32_t slotId,const sptr<IRawParcelCallback> & callback)208     bool IsSimActive(int32_t slotId, const sptr<IRawParcelCallback> &callback) override
209     {
210         return true;
211     }
212 
GetSlotId(int32_t simId)213     int32_t GetSlotId(int32_t simId) override
214     {
215         return 0;
216     }
217 
GetSimId(int32_t slotId)218     int32_t GetSimId(int32_t slotId) override
219     {
220         return 0;
221     }
222 
GetNetworkSearchInformation(int32_t slotId,const sptr<INetworkSearchCallback> & callback)223     int32_t GetNetworkSearchInformation(int32_t slotId, const sptr<INetworkSearchCallback> &callback) override
224     {
225         return 0;
226     }
227 
GetNetworkSelectionMode(int32_t slotId,const sptr<INetworkSearchCallback> & callback)228     int32_t GetNetworkSelectionMode(int32_t slotId, const sptr<INetworkSearchCallback> &callback) override
229     {
230         return 0;
231     }
232 
GetLocaleFromDefaultSim()233     std::u16string GetLocaleFromDefaultSim() override
234     {
235         return 0;
236     }
237 
GetSimGid1(int32_t slotId,std::u16string & gid1)238     int32_t GetSimGid1(int32_t slotId, std::u16string &gid1) override
239     {
240         return 0;
241     }
242 
GetSimGid2(int32_t slotId)243     std::u16string GetSimGid2(int32_t slotId) override
244     {
245         return u"";
246     }
247 
GetSimEons(int32_t slotId,const std::string & plmn,int32_t lac,bool longNameRequired)248     std::u16string GetSimEons(int32_t slotId, const std::string &plmn, int32_t lac, bool longNameRequired) override
249     {
250         return u"";
251     }
252 
SetNetworkSelectionMode(int32_t slotId,int32_t selectMode,const sptr<NetworkInformation> & networkInformation,bool resumeSelection,const sptr<INetworkSearchCallback> & callback)253     int32_t SetNetworkSelectionMode(int32_t slotId, int32_t selectMode,
254         const sptr<NetworkInformation> &networkInformation, bool resumeSelection,
255         const sptr<INetworkSearchCallback> &callback) override
256     {
257         return 0;
258     }
259 
GetIsoCountryCodeForNetwork(int32_t slotId,std::u16string & countryCode)260     int32_t GetIsoCountryCodeForNetwork(int32_t slotId, std::u16string &countryCode) override
261     {
262         return 0;
263     }
264 
GetSimAccountInfo(int32_t slotId,IccAccountInfo & info)265     int32_t GetSimAccountInfo(int32_t slotId, IccAccountInfo &info) override
266     {
267         return 0;
268     }
269 
SetDefaultVoiceSlotId(int32_t slotId)270     int32_t SetDefaultVoiceSlotId(int32_t slotId) override
271     {
272         return 0;
273     }
274 
GetDefaultVoiceSlotId()275     int32_t GetDefaultVoiceSlotId() override
276     {
277         return 0;
278     }
279 
GetDefaultVoiceSimId(const sptr<IRawParcelCallback> & callback)280     int32_t GetDefaultVoiceSimId(const sptr<IRawParcelCallback> &callback) override
281     {
282         return 0;
283     }
284 
SetPrimarySlotId(int32_t slotId)285     int32_t SetPrimarySlotId(int32_t slotId) override
286     {
287         return 0;
288     }
289 
GetPrimarySlotId(int32_t & slotId)290     int32_t GetPrimarySlotId(int32_t &slotId) override
291     {
292         return 0;
293     }
294 
SetShowNumber(int32_t slotId,const std::u16string & number,const sptr<IRawParcelCallback> & callback)295     int32_t SetShowNumber(int32_t slotId, const std::u16string &number,
296         const sptr<IRawParcelCallback> &callback) override
297     {
298         return 0;
299     }
300 
GetShowNumber(int32_t slotId,const sptr<IRawParcelCallback> & callback)301     int32_t GetShowNumber(int32_t slotId, const sptr<IRawParcelCallback> &callback) override
302     {
303         return 0;
304     }
305 
SetShowName(int32_t slotId,const std::u16string & name,const sptr<IRawParcelCallback> & callback)306     int32_t SetShowName(int32_t slotId, const std::u16string &name, const sptr<IRawParcelCallback> &callback) override
307     {
308         return 0;
309     }
310 
GetShowName(int32_t slotId,const sptr<IRawParcelCallback> & callback)311     int32_t GetShowName(int32_t slotId, const sptr<IRawParcelCallback> &callback) override
312     {
313         return 0;
314     }
315 
GetActiveSimAccountInfoList(std::vector<IccAccountInfo> & iccAccountInfoList)316     int32_t GetActiveSimAccountInfoList(std::vector<IccAccountInfo> &iccAccountInfoList) override
317     {
318         return 0;
319     }
320 
GetOperatorConfigs(int32_t slotId,OperatorConfig & poc)321     int32_t GetOperatorConfigs(int32_t slotId, OperatorConfig &poc) override
322     {
323         return 0;
324     }
325 
RefreshSimState(int32_t slotId)326     int32_t RefreshSimState(int32_t slotId) override
327     {
328         return 0;
329     }
330 
SetActiveSim(int32_t slotId,int32_t enable)331     int32_t SetActiveSim(int32_t slotId, int32_t enable) override
332     {
333         return 0;
334     }
335 
GetPreferredNetwork(int32_t slotId,const sptr<INetworkSearchCallback> & callback)336     int32_t GetPreferredNetwork(int32_t slotId, const sptr<INetworkSearchCallback> &callback) override
337     {
338         return 0;
339     }
340 
SetPreferredNetwork(int32_t slotId,int32_t networkMode,const sptr<INetworkSearchCallback> & callback)341     int32_t SetPreferredNetwork(
342         int32_t slotId, int32_t networkMode, const sptr<INetworkSearchCallback> &callback) override
343     {
344         return 0;
345     }
346 
GetNetworkCapability(int32_t slotId,int32_t networkCapabilityType,int32_t & networkCapabilityState)347     int32_t GetNetworkCapability(
348         int32_t slotId, int32_t networkCapabilityType, int32_t &networkCapabilityState) override
349     {
350         return 0;
351     }
352 
SetNetworkCapability(int32_t slotId,int32_t networkCapabilityType,int32_t networkCapabilityState)353     int32_t SetNetworkCapability(
354         int32_t slotId, int32_t networkCapabilityType, int32_t networkCapabilityState) override
355     {
356         return 0;
357     }
358 
GetSimTelephoneNumber(int32_t slotId,std::u16string & telephoneNumber)359     int32_t GetSimTelephoneNumber(int32_t slotId, std::u16string &telephoneNumber) override
360     {
361         return 0;
362     }
363 
GetSimTeleNumberIdentifier(const int32_t slotId)364     std::u16string GetSimTeleNumberIdentifier(const int32_t slotId) override
365     {
366         return u"";
367     }
368 
GetVoiceMailIdentifier(int32_t slotId,std::u16string & voiceMailIdentifier)369     int32_t GetVoiceMailIdentifier(int32_t slotId, std::u16string &voiceMailIdentifier) override
370     {
371         return 0;
372     }
373 
GetVoiceMailNumber(int32_t slotId,std::u16string & voiceMailNumber)374     int32_t GetVoiceMailNumber(int32_t slotId, std::u16string &voiceMailNumber) override
375     {
376         return 0;
377     }
378 
GetVoiceMailCount(int32_t slotId,int32_t & voiceMailCount)379     int32_t GetVoiceMailCount(int32_t slotId, int32_t &voiceMailCount) override
380     {
381         return 0;
382     }
383 
SetVoiceMailCount(int32_t slotId,int32_t voiceMailCount)384     int32_t SetVoiceMailCount(int32_t slotId, int32_t voiceMailCount) override
385     {
386         return 0;
387     }
388 
SetVoiceCallForwarding(int32_t slotId,bool enable,const std::string & number)389     int32_t SetVoiceCallForwarding(int32_t slotId, bool enable, const std::string &number) override
390     {
391         return 0;
392     }
393 
QueryIccDiallingNumbers(int slotId,int type,std::vector<std::shared_ptr<DiallingNumbersInfo>> & result)394     int32_t QueryIccDiallingNumbers(
395         int slotId, int type, std::vector<std::shared_ptr<DiallingNumbersInfo>> &result) override
396     {
397         return 0;
398     }
399 
AddIccDiallingNumbers(int slotId,int type,const std::shared_ptr<DiallingNumbersInfo> & diallingNumber)400     int32_t AddIccDiallingNumbers(
401         int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override
402     {
403         return 0;
404     }
405 
DelIccDiallingNumbers(int slotId,int type,const std::shared_ptr<DiallingNumbersInfo> & diallingNumber)406     int32_t DelIccDiallingNumbers(
407         int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override
408     {
409         return 0;
410     }
411 
UpdateIccDiallingNumbers(int slotId,int type,const std::shared_ptr<DiallingNumbersInfo> & diallingNumber)412     int32_t UpdateIccDiallingNumbers(
413         int slotId, int type, const std::shared_ptr<DiallingNumbersInfo> &diallingNumber) override
414     {
415         return 0;
416     }
417 
SetVoiceMailInfo(const int32_t slotId,const std::u16string & mailName,const std::u16string & mailNumber)418     int32_t SetVoiceMailInfo(
419         const int32_t slotId, const std::u16string &mailName, const std::u16string &mailNumber) override
420     {
421         return 0;
422     }
423 
GetImsRegStatus(int32_t slotId,ImsServiceType imsSrvType,ImsRegInfo & info)424     int32_t GetImsRegStatus(int32_t slotId, ImsServiceType imsSrvType, ImsRegInfo &info) override
425     {
426         return 0;
427     }
428 
GetMaxSimCount()429     int32_t GetMaxSimCount() override
430     {
431         return 0;
432     }
433 
GetOpKey(int32_t slotId,std::u16string & opkey)434     int32_t GetOpKey(int32_t slotId, std::u16string &opkey) override
435     {
436         return 0;
437     }
438 
GetOpKeyExt(int32_t slotId,std::u16string & opkeyExt)439     int32_t GetOpKeyExt(int32_t slotId, std::u16string &opkeyExt) override
440     {
441         return 0;
442     }
443 
GetOpName(int32_t slotId,std::u16string & opname)444     int32_t GetOpName(int32_t slotId, std::u16string &opname) override
445     {
446         return 0;
447     }
448 
SendEnvelopeCmd(int32_t slotId,const std::string & cmd)449     int32_t SendEnvelopeCmd(int32_t slotId, const std::string &cmd) override
450     {
451         return 0;
452     }
453 
SendTerminalResponseCmd(int32_t slotId,const std::string & cmd)454     int32_t SendTerminalResponseCmd(int32_t slotId, const std::string &cmd) override
455     {
456         return 0;
457     }
458 
SendCallSetupRequestResult(int32_t slotId,bool accept)459     int32_t SendCallSetupRequestResult(int32_t slotId, bool accept) override
460     {
461         return 0;
462     }
463 
UnlockSimLock(int32_t slotId,const PersoLockInfo & lockInfo,LockStatusResponse & response)464     int32_t UnlockSimLock(int32_t slotId, const PersoLockInfo &lockInfo, LockStatusResponse &response) override
465     {
466         return 0;
467     }
468 
GetCellInfoList(int32_t slotId,std::vector<sptr<CellInformation>> & cellInfo)469     int32_t GetCellInfoList(int32_t slotId, std::vector<sptr<CellInformation>> &cellInfo) override
470     {
471         return 0;
472     }
473 
GetNeighboringCellInfoList(int32_t slotId,std::vector<sptr<CellInformation>> & cellInfo)474     int32_t GetNeighboringCellInfoList(int32_t slotId, std::vector<sptr<CellInformation>> &cellInfo) override
475     {
476         return 0;
477     }
478 
SendUpdateCellLocationRequest(int32_t slotId)479     int32_t SendUpdateCellLocationRequest(int32_t slotId) override
480     {
481         return 0;
482     }
483 
HasOperatorPrivileges(const int32_t slotId,const sptr<IRawParcelCallback> & callback)484     int32_t HasOperatorPrivileges(const int32_t slotId, const sptr<IRawParcelCallback> &callback) override
485     {
486         return 0;
487     }
488 
SimAuthentication(int32_t slotId,AuthType authType,const std::string & authData,SimAuthenticationResponse & response)489     int32_t SimAuthentication(
490         int32_t slotId, AuthType authType, const std::string &authData, SimAuthenticationResponse &response) override
491     {
492         return 0;
493     }
494 
RegisterImsRegInfoCallback(int32_t slotId,ImsServiceType imsSrvType,const sptr<ImsRegInfoCallback> & callback)495     int32_t RegisterImsRegInfoCallback(
496         int32_t slotId, ImsServiceType imsSrvType, const sptr<ImsRegInfoCallback> &callback) override
497     {
498         return 0;
499     }
500 
UnregisterImsRegInfoCallback(int32_t slotId,ImsServiceType imsSrvType)501     int32_t UnregisterImsRegInfoCallback(int32_t slotId, ImsServiceType imsSrvType) override
502     {
503         return 0;
504     }
505 
GetBasebandVersion(int32_t slotId,std::string & version)506     int32_t GetBasebandVersion(int32_t slotId, std::string &version) override
507     {
508         return 0;
509     }
510 
FactoryReset(int32_t slotId)511     int32_t FactoryReset(int32_t slotId) override
512     {
513         return 0;
514     }
515 
GetNrSsbIdInfo(int32_t slotId,const std::shared_ptr<NrSsbInformation> & nrSsbInformation)516     int32_t GetNrSsbIdInfo(int32_t slotId, const std::shared_ptr<NrSsbInformation> &nrSsbInformation) override
517     {
518         return 0;
519     }
520 
IsAllowedInsertApn(std::string & value)521     bool IsAllowedInsertApn(std::string &value) override
522     {
523         return true;
524     }
525 
GetTargetOpkey(int32_t slotId,std::u16string & opkey)526     int32_t GetTargetOpkey(int32_t slotId, std::u16string &opkey) override
527     {
528         return 0;
529     }
530 
GetOpkeyVersion(std::string & versionInfo)531     int32_t GetOpkeyVersion(std::string &versionInfo) override
532     {
533         return 0;
534     }
535 
GetSimIO(int32_t slotId,int32_t command,int32_t fileId,const std::string & data,const std::string & path,SimAuthenticationResponse & response)536     int32_t GetSimIO(int32_t slotId, int32_t command,
537         int32_t fileId, const std::string &data, const std::string &path, SimAuthenticationResponse &response) override
538     {
539         return 0;
540     }
541 
SetActiveSimSatellite(int32_t slotId,int32_t enable)542     int32_t SetActiveSimSatellite(int32_t slotId, int32_t enable) override
543     {
544         return 0;
545     }
546 
GetOpnameVersion(std::string & versionInfo)547     int32_t GetOpnameVersion(std::string &versionInfo) override
548     {
549         return 0;
550     }
551 
SendApduData(int32_t slotId,const std::u16string & aid,const EsimApduData & apduData,ResponseEsimResult & responseResult)552     int32_t SendApduData(int32_t slotId, const std::u16string &aid,
553         const EsimApduData &apduData, ResponseEsimResult &responseResult) override
554     {
555         return 0;
556     }
557 
GetSimLabel(int32_t slotId,SimLabel & simLabel,const sptr<IRawParcelCallback> & callback)558     int32_t GetSimLabel(int32_t slotId, SimLabel &simLabel, const sptr<IRawParcelCallback> &callback) override
559     {
560         return 0;
561     }
562 
GetAllSimAccountInfoList(std::vector<IccAccountInfo> & iccAccountInfoList)563     int32_t GetAllSimAccountInfoList(std::vector<IccAccountInfo> &iccAccountInfoList) override
564     {
565         return 0;
566     }
567 };
568 } // namespace Telephony
569 } // namespace OHOS
570 #endif // ESIM_CORE_SERVICE_STUB_TEST_H