/base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
D | call_manager_gtest.cpp | 171 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { 176 if (HasSimCard(SIM1_SLOTID)) { 183 if (HasSimCard(SIM2_SLOTID)) { 201 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { 206 if (HasSimCard(SIM1_SLOTID)) { 212 if (HasSimCard(SIM2_SLOTID)) { 229 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { 234 if (HasSimCard(SIM1_SLOTID)) { 240 if (HasSimCard(SIM2_SLOTID)) { 257 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { [all …]
|
/base/telephony/cellular_call/test/unittest/imstest/ |
D | ims_test.cpp | 329 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { 332 if (HasSimCard(SIM1_SLOTID) && CanUseImsService(SIM1_SLOTID, ImsServiceType::TYPE_UT)) { 336 if (HasSimCard(SIM2_SLOTID) && CanUseImsService(SIM2_SLOTID, ImsServiceType::TYPE_UT)) { 349 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { 352 if (HasSimCard(SIM1_SLOTID) && CanUseImsService(SIM1_SLOTID, ImsServiceType::TYPE_UT)) { 356 if (HasSimCard(SIM2_SLOTID) && CanUseImsService(SIM2_SLOTID, ImsServiceType::TYPE_UT)) { 369 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { 372 if (HasSimCard(SIM1_SLOTID) && CanUseImsService(SIM1_SLOTID, ImsServiceType::TYPE_UT)) { 376 if (HasSimCard(SIM2_SLOTID) && CanUseImsService(SIM2_SLOTID, ImsServiceType::TYPE_UT)) { 389 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { [all …]
|
D | ims_test.h | 150 bool HasSimCard(int32_t slotId) in HasSimCard() function 153 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
|
/base/telephony/cellular_call/test/unittest/cstest/ |
D | cs_test.cpp | 42 bool CsTest::HasSimCard(int32_t slotId) in HasSimCard() function in OHOS::Telephony::CsTest 45 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard() 615 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { in JudgeIsEmergencyPhoneNumber() 620 if (HasSimCard(SIM1_SLOTID)) { in JudgeIsEmergencyPhoneNumber() 634 if (HasSimCard(SIM2_SLOTID)) { in JudgeIsEmergencyPhoneNumber() 735 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { 758 if (HasSimCard(SIM1_SLOTID)) { 761 if (HasSimCard(SIM2_SLOTID)) { 776 if (!HasSimCard(SIM1_SLOTID) && !HasSimCard(SIM2_SLOTID)) { 780 if (HasSimCard(SIM1_SLOTID)) { [all …]
|
/base/telephony/cellular_call/vendor/ims/test/unittest/ims_service_gtest/ |
D | ims_service_test.cpp | 73 bool HasSimCard(int32_t slotId) in HasSimCard() function 76 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard() 87 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(DEFAULT_SLOTID)) { 113 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) { 139 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(DEFAULT_SLOTID)) { 164 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) { 189 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(DEFAULT_SLOTID)) { 214 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) { 239 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(DEFAULT_SLOTID)) { 264 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) { [all …]
|
D | ims_service_test.h | 50 bool HasSimCard(int32_t slotId);
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_test.cpp | 89 bool SimTest::HasSimCard(int32_t slotId) in HasSimCard() function in OHOS::Telephony::SimTest 92 CoreServiceClient::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard() 196 if (!(SimTest::HasSimCard(SimTest::slotId_))) { 230 if (!(SimTest::HasSimCard(SimTest::slotId_))) { 268 if (!(SimTest::HasSimCard(SimTest::slotId1_))) { 301 if (!(SimTest::HasSimCard(SimTest::slotId1_))) { 339 if (!SimTest::HasSimCard(slotId_)) { 355 if (!SimTest::HasSimCard(slotId1_)) { 371 if (!SimTest::HasSimCard(slotId_)) { 374 int32_t result = SimTest::HasSimCard(SimTest::slotId_); [all …]
|
D | network_search_test.cpp | 79 bool NetworkSearchTest::HasSimCard(int32_t slotId) in HasSimCard() function in OHOS::Telephony::NetworkSearchTest 82 NetworkSearchTest::telephonyService_->HasSimCard(slotId, hasSimCard); in HasSimCard() 408 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) { 427 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID1)))… 445 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) { 464 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) { 482 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID1)))… 499 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) { 518 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID))) { 547 …if (NetworkSearchTest::telephonyService_ == nullptr || !(NetworkSearchTest::HasSimCard(SLOT_ID1)))… [all …]
|
D | sim_test.h | 172 static bool HasSimCard(int32_t slotId);
|
/base/telephony/cellular_data/test/ |
D | cellular_data_test.cpp | 138 static bool HasSimCard(const int32_t slotId); 155 bool CellularDataTest::HasSimCard(const int32_t slotId) in HasSimCard() function in OHOS::Telephony::CellularDataTest 158 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard() 177 if (HasSimCard(DEFAULT_SIM_SLOT_ID)) { in SetUpTestCase() 179 } else if (HasSimCard(SIM_SLOT_ID_1)) { in SetUpTestCase() 313 if (!HasSimCard(DEFAULT_SIM_SLOT_ID)) { 337 if (!HasSimCard(SIM_SLOT_ID_1)) { 358 if (!HasSimCard(DEFAULT_SIM_SLOT_ID)) { 388 if (!HasSimCard(SIM_SLOT_ID_1)) { 418 if (!HasSimCard(DEFAULT_SIM_SLOT_ID)) { [all …]
|
/base/telephony/sms_mms/test/gtest/ |
D | sms_mms_gtest.cpp | 185 static bool HasSimCard(int32_t slotId) in HasSimCard() function in OHOS::Telephony::SmsMmsGtest 191 CoreServiceClient::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard() 268 if (!(SmsMmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) { 304 if (!(SmsMmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) { 340 if (!(SmsMmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) { 376 if (!(SmsMmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) { 412 if (!(SmsMmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) { 448 if (!(SmsMmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID))) { 472 if (!(SmsMmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID_1))) { 496 if (!(SmsMmsGtest::HasSimCard(DEFAULT_SIM_SLOT_ID_1))) { [all …]
|
/base/telephony/state_registry/test/unittest/state_test/ |
D | state_registry_test.cpp | 123 bool StateRegistryTest::HasSimCard(int32_t slotId) in HasSimCard() function in OHOS::Telephony::StateRegistryTest 126 CoreServiceClient::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard() 235 if (!StateRegistryTest::HasSimCard(DEFAULT_SIM_SLOT_ID)) { 248 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) { 261 if (!StateRegistryTest::HasSimCard(DEFAULT_SIM_SLOT_ID)) { 274 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) { 287 if (!StateRegistryTest::HasSimCard(DEFAULT_SIM_SLOT_ID)) { 300 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) { 313 if (!StateRegistryTest::HasSimCard(DEFAULT_SIM_SLOT_ID)) { 326 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) { [all …]
|
D | state_registry_test.h | 160 static bool HasSimCard(int32_t slotId);
|
/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 | 179 if (!HasSimCard()) { in UpdateIccDiallingNumbers() 208 if (!HasSimCard()) { in DelIccDiallingNumbers() 238 if (!HasSimCard()) { in AddIccDiallingNumbers() 266 if (!HasSimCard()) { in QueryIccDiallingNumbers() 363 bool IccDiallingNumbersManager::HasSimCard() in HasSimCard() function in OHOS::Telephony::IccDiallingNumbersManager 365 return (simStateManager_ != nullptr) ? simStateManager_->HasSimCard() : false; in HasSimCard()
|
D | sim_state_tracker.cpp | 69 CoreManagerInner::GetInstance().HasSimCard(slotId_, hasSimCard); in ProcessEvent()
|
D | sim_file_manager.cpp | 408 if (simFile_ == nullptr || !HasSimCard()) { in SetVoiceMailInfo() 419 bool SimFileManager::HasSimCard() in HasSimCard() function in OHOS::Telephony::SimFileManager 425 bool result = simStateManager_->HasSimCard(); 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/core_service/test/fuzztest/addiccdiallingnumbers_fuzzer/ |
D | addiccdiallingnumbers_fuzzer.cpp | 165 void HasSimCard(const uint8_t *data, size_t size) in HasSimCard() function 212 HasSimCard(data, size); in DoSomethingInterestingWithMyAPI()
|
/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/ |
D | sms_dump_helper.cpp | 45 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in WhetherHasSimCard()
|