Home
last modified time | relevance | path

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

123

/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
Dcall_manager_gtest.cpp171 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/
Dims_test.cpp329 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 …]
Dims_test.h150 bool HasSimCard(int32_t slotId) in HasSimCard() function
153 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in HasSimCard()
/base/telephony/cellular_call/test/unittest/cstest/
Dcs_test.cpp42 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/
Dims_service_test.cpp73 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 …]
Dims_service_test.h50 bool HasSimCard(int32_t slotId);
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_test.cpp89 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 …]
Dnetwork_search_test.cpp79 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 …]
Dsim_test.h172 static bool HasSimCard(int32_t slotId);
/base/telephony/cellular_data/test/
Dcellular_data_test.cpp138 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/
Dsms_mms_gtest.cpp185 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/
Dstate_registry_test.cpp123 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 …]
Dstate_registry_test.h160 static bool HasSimCard(int32_t slotId);
/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.cpp179 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()
Dsim_state_tracker.cpp69 CoreManagerInner::GetInstance().HasSimCard(slotId_, hasSimCard); in ProcessEvent()
Dsim_file_manager.cpp408 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/
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/core_service/test/fuzztest/addiccdiallingnumbers_fuzzer/
Daddiccdiallingnumbers_fuzzer.cpp165 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/
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/
Dsms_dump_helper.cpp45 DelayedRefSingleton<CoreServiceClient>::GetInstance().HasSimCard(slotId, hasSimCard); in WhetherHasSimCard()

123