Home
last modified time | relevance | path

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

123

/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
Dcall_manager_gtest.cpp175 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
180 if (HasSimCard(SIM1_SLOTID)) {
187 if (HasSimCard(SIM2_SLOTID)) {
205 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
210 if (HasSimCard(SIM1_SLOTID)) {
216 if (HasSimCard(SIM2_SLOTID)) {
233 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
238 if (HasSimCard(SIM1_SLOTID)) {
245 if (HasSimCard(SIM2_SLOTID)) {
263 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
[all …]
/base/telephony/cellular_call/test/unittest/cstest/
Dcs_test.cpp50 bool CsTest::HasSimCard(int32_t slotId) in HasSimCard() function in OHOS::Telephony::CsTest
53 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
655 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { in JudgeIsEmergencyPhoneNumber()
660 if (HasSimCard(SIM1_SLOTID)) { in JudgeIsEmergencyPhoneNumber()
674 if (HasSimCard(SIM2_SLOTID)) { in JudgeIsEmergencyPhoneNumber()
776 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
799 if (HasSimCard(SIM1_SLOTID)) {
802 if (HasSimCard(SIM2_SLOTID)) {
818 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
822 if (HasSimCard(SIM1_SLOTID)) {
[all …]
/base/telephony/cellular_call/test/unittest/imstest/
Dims_test.cpp343 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
346 if (HasSimCard(SIM1_SLOTID) && CanUseImsService(SIM1_SLOTID, ImsServiceType::TYPE_UT)) {
350 if (HasSimCard(SIM2_SLOTID) && CanUseImsService(SIM2_SLOTID, ImsServiceType::TYPE_UT)) {
364 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
367 if (HasSimCard(SIM1_SLOTID) && CanUseImsService(SIM1_SLOTID, ImsServiceType::TYPE_UT)) {
371 if (HasSimCard(SIM2_SLOTID) && CanUseImsService(SIM2_SLOTID, ImsServiceType::TYPE_UT)) {
385 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
388 if (HasSimCard(SIM1_SLOTID) && CanUseImsService(SIM1_SLOTID, ImsServiceType::TYPE_UT)) {
392 if (HasSimCard(SIM2_SLOTID) && CanUseImsService(SIM2_SLOTID, ImsServiceType::TYPE_UT)) {
406 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) {
[all …]
Dims_test.h156 bool HasSimCard(int32_t slotId) in HasSimCard() function
159 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
/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()
410 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) {
429 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID1)))…
447 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) {
466 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) {
484 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID1)))…
501 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) {
520 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) {
549 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID1)))…
[all …]
Dsim_core_service_test.cpp175 EXPECT_NE(mCoreService->HasSimCard(0, hasValue), TELEPHONY_ERR_SUCCESS);
333 EXPECT_NE(mCoreService->HasSimCard(0, hasValue), TELEPHONY_ERR_SUCCESS);
344 if (SimTest::HasSimCard(slotId_) || SimTest::HasSimCard(slotId1_)) {
/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()
100 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(DEFAULT_SLOTID)) {
126 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) {
152 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(DEFAULT_SLOTID)) {
177 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) {
202 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(DEFAULT_SLOTID)) {
227 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) {
252 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(DEFAULT_SLOTID)) {
277 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) {
[all …]
Dims_service_test.h37 bool HasSimCard(int32_t slotId);
/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/state_registry/test/unittest/state_test/
Dstate_registry_test.cpp127 bool StateRegistryTest::HasSimCard(int32_t slotId) in HasSimCard() function in OHOS::Telephony::StateRegistryTest
130 CoreServiceClient::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
266 if (!StateRegistryTest::HasSimCard(DEFAULT_SIM_SLOT_ID)) {
279 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) {
292 if (!StateRegistryTest::HasSimCard(DEFAULT_SIM_SLOT_ID)) {
305 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) {
318 if (!StateRegistryTest::HasSimCard(DEFAULT_SIM_SLOT_ID)) {
331 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) {
344 if (!StateRegistryTest::HasSimCard(DEFAULT_SIM_SLOT_ID)) {
357 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) {
[all …]
/base/telephony/cellular_data/test/
Dcellular_data_test.cpp139 static bool HasSimCard(const int32_t slotId);
157 bool CellularDataTest::HasSimCard(const int32_t slotId) in HasSimCard() function in OHOS::Telephony::CellularDataTest
160 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
179 if (HasSimCard(DEFAULT_SIM_SLOT_ID)) { in SetUpTestCase()
181 } else if (HasSimCard(SIM_SLOT_ID_1)) { in SetUpTestCase()
321 if (!HasSimCard(DEFAULT_SIM_SLOT_ID)) {
345 if (!HasSimCard(DEFAULT_SIM_SLOT_ID)) {
359 if (!HasSimCard(SIM_SLOT_ID_1)) {
380 if (!HasSimCard(DEFAULT_SIM_SLOT_ID)) {
410 if (!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/cellular_data/services/include/utils/
Dcellular_data_dump_helper.h34 bool HasSimCard(const int32_t slotId) const;
/base/telephony/core_service/services/sim/src/
Dicc_dialling_numbers_manager.cpp180 if (!HasSimCard()) { in UpdateIccDiallingNumbers()
209 if (!HasSimCard()) { in DelIccDiallingNumbers()
239 if (!HasSimCard()) { in AddIccDiallingNumbers()
267 if (!HasSimCard()) { in QueryIccDiallingNumbers()
362 bool IccDiallingNumbersManager::HasSimCard() in HasSimCard() function in OHOS::Telephony::IccDiallingNumbersManager
364 return (simStateManager_ != nullptr) ? simStateManager_->HasSimCard() : false; in HasSimCard()
/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/core_service/test/fuzztest/addiccdiallingnumbers_fuzzer/
Daddiccdiallingnumbers_fuzzer.cpp168 void HasSimCard(const uint8_t *data, size_t size) in HasSimCard() function
213 HasSimCard(data, size); in DoSomethingInterestingWithMyAPI()
/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/services/sim/include/
Dicc_dialling_numbers_manager.h76 bool HasSimCard();
Dsim_state_manager.h34 bool HasSimCard();
/base/telephony/sms_mms/services/sms/
Dsms_dump_helper.cpp45 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in WhetherHasSimCard()

123