Home
last modified time | relevance | path

Searched refs:HasSimCard (Results 1 – 25 of 75) sorted by relevance

123

/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
Dcall_manager_gtest.cpp176 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
181 if (HasSimCard(SIM1_SLOTID)) {
192 if (HasSimCard(SIM2_SLOTID)) {
214 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
218 if (HasSimCard(SIM1_SLOTID)) {
224 if (HasSimCard(SIM2_SLOTID)) {
241 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
246 if (HasSimCard(SIM1_SLOTID)) {
256 if (HasSimCard(SIM2_SLOTID)) {
277 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
[all …]
/base/telephony/cellular_call/test/unittest/cstest/
Dcs_test.cpp51 bool CsTest::HasSimCard(int32_t slotId) in HasSimCard() function in OHOS::Telephony::CsTest
54 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
481 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { in JudgeIsEmergencyPhoneNumber()
486 if (HasSimCard(SIM1_SLOTID)) { in JudgeIsEmergencyPhoneNumber()
500 if (HasSimCard(SIM2_SLOTID)) { in JudgeIsEmergencyPhoneNumber()
623 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
646 if (HasSimCard(SIM1_SLOTID)) {
649 if (HasSimCard(SIM2_SLOTID)) {
665 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
669 if (HasSimCard(SIM1_SLOTID)) {
[all …]
/base/telephony/cellular_call/test/unittest/imstest/
Dims_test.cpp424 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
427 if (HasSimCard(SIM1_SLOTID) && CanUseImsService(SIM1_SLOTID, ImsServiceType::TYPE_UT)) {
431 if (HasSimCard(SIM2_SLOTID) && CanUseImsService(SIM2_SLOTID, ImsServiceType::TYPE_UT)) {
445 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
448 if (HasSimCard(SIM1_SLOTID) && CanUseImsService(SIM1_SLOTID, ImsServiceType::TYPE_UT)) {
452 if (HasSimCard(SIM2_SLOTID) && CanUseImsService(SIM2_SLOTID, ImsServiceType::TYPE_UT)) {
466 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
469 if (HasSimCard(SIM1_SLOTID) && CanUseImsService(SIM1_SLOTID, ImsServiceType::TYPE_UT)) {
473 if (HasSimCard(SIM2_SLOTID) && CanUseImsService(SIM2_SLOTID, ImsServiceType::TYPE_UT)) {
487 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
[all …]
Dims_callback_test.cpp52 if (!HasSimCard(slotId)) {
105 if (!HasSimCard(slotId)) {
159 if (!HasSimCard(slotId)) {
198 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
202 if (!HasSimCard(slotId)) {
252 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
258 if (!HasSimCard(slotId)) {
314 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
321 if (!HasSimCard(slotId)) {
358 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
[all …]
/base/telephony/cellular_call/vendor/ims/test/unittest/ims_service_gtest/
Dims_service_test.cpp86 bool HasSimCard(int32_t slotId) in HasSimCard() function
89 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
113 … if ((ImsServiceTest::InitConditionCheck() != TELEPHONY_SUCCESS) || !HasSimCard(DEFAULT_SLOTID)) {
133 if ((ImsServiceTest::InitConditionCheck() != TELEPHONY_SUCCESS) || !HasSimCard(SIM_SLOT_ID_1)) {
153 … if ((ImsServiceTest::InitConditionCheck() != TELEPHONY_SUCCESS) || !HasSimCard(DEFAULT_SLOTID)) {
172 if ((ImsServiceTest::InitConditionCheck() != TELEPHONY_SUCCESS) || !HasSimCard(SIM_SLOT_ID_1)) {
191 … if ((ImsServiceTest::InitConditionCheck() != TELEPHONY_SUCCESS) || !HasSimCard(DEFAULT_SLOTID)) {
210 if ((ImsServiceTest::InitConditionCheck() != TELEPHONY_SUCCESS) || !HasSimCard(SIM_SLOT_ID_1)) {
229 … if ((ImsServiceTest::InitConditionCheck() != TELEPHONY_SUCCESS) || !HasSimCard(DEFAULT_SLOTID)) {
248 if ((ImsServiceTest::InitConditionCheck() != TELEPHONY_SUCCESS) || !HasSimCard(SIM_SLOT_ID_1)) {
[all …]
Dims_service_test.h37 bool HasSimCard(int32_t slotId);
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_test.cpp75 if (!(SimTest::HasSimCard(SimTest::slotId_))) {
109 if (!(SimTest::HasSimCard(SimTest::slotId_))) {
126 if (!(SimTest::HasSimCard(SimTest::slotId1_))) {
159 if (!(SimTest::HasSimCard(SimTest::slotId1_))) {
177 if (!SimTest::HasSimCard(slotId_)) {
193 if (!SimTest::HasSimCard(slotId1_)) {
209 if (!SimTest::HasSimCard(slotId_)) {
212 int32_t result = SimTest::HasSimCard(SimTest::slotId_);
224 if (!SimTest::HasSimCard(slotId1_)) {
227 int32_t result = SimTest::HasSimCard(SimTest::slotId1_);
[all …]
Dsim_elementary_file_test.cpp43 if (!SimTest::HasSimCard(slotId_)) {
61 if (!SimTest::HasSimCard(slotId1_)) {
80 if (!SimTest::HasSimCard(slotId_)) {
98 if (!SimTest::HasSimCard(slotId1_)) {
115 if (!SimTest::HasSimCard(slotId_)) {
132 if (!SimTest::HasSimCard(slotId_)) {
149 if (!SimTest::HasSimCard(slotId1_)) {
167 if (!SimTest::HasSimCard(slotId_)) {
185 if (!SimTest::HasSimCard(slotId1_)) {
202 if (!SimTest::HasSimCard(slotId_)) {
[all …]
Dsim_icc_test.cpp44 if (!SimTest::HasSimCard(slotId_)) {
61 if (!SimTest::HasSimCard(slotId1_)) {
77 if (!SimTest::HasSimCard(slotId_)) {
94 if (!(SimTest::HasSimCard(SimTest::slotId_))) {
115 if (!(SimTest::HasSimCard(SimTest::slotId1_))) {
136 if (!SimTest::HasSimCard(slotId_)) {
174 if (!SimTest::HasSimCard(slotId_)) {
195 if (!SimTest::HasSimCard(slotId1_)) {
216 if (!SimTest::HasSimCard(slotId1_)) {
237 if (!SimTest::HasSimCard(slotId_)) {
[all …]
Dnetwork_search_test.cpp80 bool NetworkSearchTest::HasSimCard(int32_t slotId) in HasSimCard() function in OHOS::Telephony::NetworkSearchTest
83 NetworkSearchTest::telephonyService_->HasSimCard(slotId, hasSimCard); in HasSimCard()
442 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) {
461 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID1)))…
479 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) {
498 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) {
516 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID1)))…
533 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) {
552 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) {
581 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID1)))…
[all …]
Dnetwork_search_test_time_zone.cpp37 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID_0))…
55 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID_1))…
72 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID_0))…
90 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID_0))…
110 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID_1))…
129 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID_0))…
/base/telephony/cellular_call/test/unittest/satellitetest/
Dsatellite_test.cpp108 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
111 if (HasSimCard(SIM1_SLOTID)) {
117 if (HasSimCard(SIM2_SLOTID)) {
140 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
143 if (HasSimCard(SIM1_SLOTID)) {
150 if (HasSimCard(SIM2_SLOTID)) {
174 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
177 if (HasSimCard(SIM1_SLOTID)) {
184 if (HasSimCard(SIM2_SLOTID)) {
208 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
[all …]
Dsatellite_callback_test.cpp51 if (!HasSimCard(slotId)) {
86 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
90 if (!HasSimCard(slotId)) {
Dsatellite_test.h138 bool HasSimCard(int32_t slotId) in HasSimCard() function
141 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
/base/telephony/sms_mms/test/gtest/
Dsms_gtest.cpp53 static bool HasSimCard(int32_t slotId) in HasSimCard() function in OHOS::Telephony::SmsGtest
59 CoreServiceClient::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
135 if (!(SmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) {
159 if (!(SmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID_1))) {
182 if (!(SmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) {
212 if (!(SmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) {
242 if (!(SmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) {
264 if (!(SmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) {
298 if (!(SmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) {
322 if (!(SmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID_1))) {
[all …]
Dcb_gtest.cpp44 static bool HasSimCard(int32_t slotId) in HasSimCard() function in OHOS::Telephony::CbGtest
50 CoreServiceClient::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
112 if (!(CbGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) {
148 if (!(CbGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) {
184 if (!(CbGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) {
220 if (!(CbGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) {
256 if (!(CbGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) {
292 if (!(CbGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) {
316 if (!(CbGtest::HasSimCard(DEFAULT_SIM_SLOT_ID_1))) {
340 if (!(CbGtest::HasSimCard(DEFAULT_SIM_SLOT_ID_1))) {
[all …]
/base/telephony/cellular_data/test/
Dcellular_data_test.cpp198 static bool HasSimCard(const int32_t slotId);
223 bool CellularDataTest::HasSimCard(const int32_t slotId) in HasSimCard() function in OHOS::Telephony::CellularDataTest
226 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
238 if (HasSimCard(DEFAULT_SIM_SLOT_ID)) { in TearDownTestCase()
240 } else if (HasSimCard(SIM_SLOT_ID_1)) { in TearDownTestCase()
268 if (HasSimCard(DEFAULT_SIM_SLOT_ID)) { in SetUpTestCase()
270 } else if (HasSimCard(SIM_SLOT_ID_1)) { in SetUpTestCase()
446 if (!HasSimCard(DEFAULT_SIM_SLOT_ID)) {
470 if (!HasSimCard(DEFAULT_SIM_SLOT_ID)) {
484 if (!HasSimCard(SIM_SLOT_ID_1)) {
[all …]
/base/telephony/state_registry/test/unittest/state_test/
Dstate_registry_test.cpp128 bool StateRegistryTest::HasSimCard(int32_t slotId) in HasSimCard() function in OHOS::Telephony::StateRegistryTest
131 CoreServiceClient::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
267 if (!StateRegistryTest::HasSimCard(DEFAULT_SIM_SLOT_ID)) {
280 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) {
293 if (!StateRegistryTest::HasSimCard(DEFAULT_SIM_SLOT_ID)) {
306 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) {
319 if (!StateRegistryTest::HasSimCard(DEFAULT_SIM_SLOT_ID)) {
332 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) {
345 if (!StateRegistryTest::HasSimCard(DEFAULT_SIM_SLOT_ID)) {
358 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) {
[all …]
/base/telephony/cellular_data/services/src/utils/
Dcellular_data_dump_helper.cpp40 bool CellularDataDumpHelper::HasSimCard(const int32_t slotId) const in HasSimCard() function in OHOS::Telephony::CellularDataDumpHelper
43 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
95 if (HasSimCard(i)) { in ShowCellularDataInfo()
/base/telephony/core_service/services/sim/src/
Dicc_dialling_numbers_manager.cpp176 if (!HasSimCard()) { in UpdateIccDiallingNumbers()
205 if (!HasSimCard()) { in DelIccDiallingNumbers()
235 if (!HasSimCard()) { in AddIccDiallingNumbers()
262 if (!HasSimCard()) { in QueryIccDiallingNumbers()
355 bool IccDiallingNumbersManager::HasSimCard() in HasSimCard() function in OHOS::Telephony::IccDiallingNumbersManager
357 return (simStateManager_ != nullptr) ? simStateManager_->HasSimCard() : false; in HasSimCard()
/base/telephony/cellular_data/services/include/utils/
Dcellular_data_dump_helper.h34 bool HasSimCard(const int32_t slotId) const;
/base/telephony/call_manager/test/unittest/call_manager_gtest/include/
Dcall_manager_gtest.h73 bool HasSimCard(int32_t slotId) in HasSimCard() function
76 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
/base/telephony/cellular_call/services/common/src/
Dcellular_call_dump_helper.cpp36 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in WhetherHasSimCard()
/base/telephony/call_manager/services/call_manager_service/src/
Dcall_manager_dump_helper.cpp39 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in WhetherHasSimCard()
/base/telephony/core_service/test/fuzztest/addiccdiallingnumbers_fuzzer/
Daddiccdiallingnumbers_fuzzer.cpp170 void HasSimCard(const uint8_t *data, size_t size) in HasSimCard() function
230 HasSimCard(data, size); in DoSomethingInterestingWithMyAPI()

123