/base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
D | call_manager_gtest.cpp | 175 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/ |
D | cs_test.cpp | 50 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/ |
D | ims_test.cpp | 343 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 …]
|
D | ims_test.h | 156 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/ |
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() 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 …]
|
D | sim_core_service_test.cpp | 175 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/ |
D | ims_service_test.cpp | 86 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 …]
|
D | ims_service_test.h | 37 bool HasSimCard(int32_t slotId);
|
/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/state_registry/test/unittest/state_test/ |
D | state_registry_test.cpp | 127 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/ |
D | cellular_data_test.cpp | 139 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/ |
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/cellular_data/services/include/utils/ |
D | cellular_data_dump_helper.h | 34 bool HasSimCard(const int32_t slotId) const;
|
/base/telephony/core_service/services/sim/src/ |
D | icc_dialling_numbers_manager.cpp | 180 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/ |
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/core_service/test/fuzztest/addiccdiallingnumbers_fuzzer/ |
D | addiccdiallingnumbers_fuzzer.cpp | 168 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/ |
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/services/sim/include/ |
D | icc_dialling_numbers_manager.h | 76 bool HasSimCard();
|
D | sim_state_manager.h | 34 bool HasSimCard();
|
/base/telephony/sms_mms/services/sms/ |
D | sms_dump_helper.cpp | 45 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in WhetherHasSimCard()
|