| /base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
| D | call_manager_gtest.cpp | 176 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/ |
| D | cs_test.cpp | 51 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/ |
| D | ims_test.cpp | 424 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 …]
|
| D | ims_callback_test.cpp | 52 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/ |
| D | ims_service_test.cpp | 86 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 …]
|
| D | ims_service_test.h | 37 bool HasSimCard(int32_t slotId);
|
| /base/telephony/core_service/test/unittest/core_service_gtest/ |
| D | sim_test.cpp | 75 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 …]
|
| D | sim_elementary_file_test.cpp | 43 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 …]
|
| D | sim_icc_test.cpp | 44 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 …]
|
| D | network_search_test.cpp | 80 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 …]
|
| D | network_search_test_time_zone.cpp | 37 …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/ |
| D | satellite_test.cpp | 108 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 …]
|
| D | satellite_callback_test.cpp | 51 if (!HasSimCard(slotId)) { 86 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { 90 if (!HasSimCard(slotId)) {
|
| D | satellite_test.h | 138 bool HasSimCard(int32_t slotId) in HasSimCard() function 141 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
|
| /base/telephony/sms_mms/test/gtest/ |
| D | sms_gtest.cpp | 53 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 …]
|
| D | cb_gtest.cpp | 44 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/ |
| D | cellular_data_test.cpp | 198 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/ |
| D | state_registry_test.cpp | 128 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/ |
| D | cellular_data_dump_helper.cpp | 40 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/ |
| D | icc_dialling_numbers_manager.cpp | 176 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/ |
| D | cellular_data_dump_helper.h | 34 bool HasSimCard(const int32_t slotId) const;
|
| /base/telephony/call_manager/test/unittest/call_manager_gtest/include/ |
| D | call_manager_gtest.h | 73 bool HasSimCard(int32_t slotId) in HasSimCard() function 76 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
|
| /base/telephony/cellular_call/services/common/src/ |
| D | cellular_call_dump_helper.cpp | 36 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in WhetherHasSimCard()
|
| /base/telephony/call_manager/services/call_manager_service/src/ |
| D | call_manager_dump_helper.cpp | 39 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in WhetherHasSimCard()
|
| /base/telephony/core_service/test/fuzztest/addiccdiallingnumbers_fuzzer/ |
| D | addiccdiallingnumbers_fuzzer.cpp | 170 void HasSimCard(const uint8_t *data, size_t size) in HasSimCard() function 230 HasSimCard(data, size); in DoSomethingInterestingWithMyAPI()
|