Home
last modified time | relevance | path

Searched refs:PhoneType (Results 1 – 17 of 17) sorted by relevance

/base/telephony/core_service/services/network_search/include/
Dradio_info.h37 void SetPhoneType(PhoneType phoneType);
38 PhoneType GetPhoneType() const;
42 PhoneType RadioTechToPhoneType(RadioTech csRadioTech, const RadioTech &psRadioTech) const;
43 PhoneType phoneType_ = PhoneType::PHONE_TYPE_IS_NONE;
Dnetwork_search_handler.h57 PhoneType GetPhoneType();
Dnetwork_search_manager.h159 PhoneType GetPhoneType(int32_t slotId) override;
/base/telephony/core_service/services/network_search/src/
Dradio_info.cpp212 void RadioInfo::SetPhoneType(PhoneType phoneType) in SetPhoneType()
217 PhoneType RadioInfo::GetPhoneType() const in GetPhoneType()
230 PhoneType phoneType = RadioTechToPhoneType(csRadioTech, psRadioTech); in UpdatePhone()
235 if (phoneType == PhoneType::PHONE_TYPE_IS_NONE) { in UpdatePhone()
276 PhoneType RadioInfo::RadioTechToPhoneType(RadioTech csRadioTech, const RadioTech &psRadioTech) const in RadioTechToPhoneType()
278 PhoneType phoneType = PhoneType::PHONE_TYPE_IS_NONE; in RadioTechToPhoneType()
288 phoneType = PhoneType::PHONE_TYPE_IS_GSM; in RadioTechToPhoneType()
293 phoneType = PhoneType::PHONE_TYPE_IS_CDMA; in RadioTechToPhoneType()
299 phoneType = PhoneType::PHONE_TYPE_IS_GSM; in RadioTechToPhoneType()
Doperator_name.cpp80 PhoneType type = networkSearchManager->GetPhoneType(slotId_); in HandleOperatorInfo()
81 if (type == PhoneType::PHONE_TYPE_IS_GSM) { in HandleOperatorInfo()
83 } else if (type == PhoneType::PHONE_TYPE_IS_CDMA) { in HandleOperatorInfo()
181 if (networkSearchManager->GetPhoneType(slotId_) == PhoneType::PHONE_TYPE_IS_GSM) { in NotifySpnChanged()
183 } else if (networkSearchManager->GetPhoneType(slotId_) == PhoneType::PHONE_TYPE_IS_CDMA) { in NotifySpnChanged()
Dnetwork_search_manager.cpp976 if (GetPhoneType(slotId) == PhoneType::PHONE_TYPE_IS_GSM) { in GetUniqueDeviceId()
991 PhoneType NetworkSearchManager::GetPhoneType(int32_t slotId) in GetPhoneType()
993 PhoneType phoneType = PhoneType::PHONE_TYPE_IS_NONE; in GetPhoneType()
Dnetwork_search_handler.cpp794 PhoneType NetworkSearchHandler::GetPhoneType() in GetPhoneType()
800 return PhoneType::PHONE_TYPE_IS_NONE; in GetPhoneType()
/base/telephony/cellular_call/services/common/include/
Dmodule_service_utils.h43 PhoneType GetNetworkStatus(int32_t slotId);
/base/telephony/cellular_call/services/common/src/
Dmodule_service_utils.cpp38 PhoneType ModuleServiceUtils::GetNetworkStatus(int32_t slotId) in GetNetworkStatus()
/base/telephony/core_service/interfaces/innerkits/include/
Dnetwork_search_types.h186 enum class PhoneType { PHONE_TYPE_IS_NONE, PHONE_TYPE_IS_GSM, PHONE_TYPE_IS_CDMA }; enum
Di_network_search.h76 virtual PhoneType GetPhoneType(int32_t slotId) = 0;
Dcore_manager_inner.h207 PhoneType GetPhoneType(int32_t slotId);
/base/telephony/cellular_call/services/control/src/
Dcs_control.cpp42 PhoneType netType = moduleServiceUtils.GetNetworkStatus(callInfo.slotId); in Dial()
43 if (netType == PhoneType::PHONE_TYPE_IS_GSM) { in Dial()
46 if (netType == PhoneType::PHONE_TYPE_IS_CDMA) { in Dial()
Dcellular_call_supplement.cpp521 return moduleServiceUtils_.GetNetworkStatus(slotId) == PhoneType::PHONE_TYPE_IS_GSM; in PhoneTypeGsmOrNot()
/base/telephony/sms_mms/services/
Dsms_misc_manager.cpp356 PhoneType type = CoreManagerInner::GetInstance().GetPhoneType(slotId_); in GetAllSimMessages()
358 if (PhoneType::PHONE_TYPE_IS_GSM == type) { in GetAllSimMessages()
360 } else if (PhoneType::PHONE_TYPE_IS_CDMA == type) { in GetAllSimMessages()
/base/telephony/core_service/frameworks/native/src/
Dcore_manager_inner.cpp1464 PhoneType CoreManagerInner::GetPhoneType(int32_t slotId) in GetPhoneType()
1468 return PhoneType::PHONE_TYPE_IS_NONE; in GetPhoneType()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dzero_branch_test.cpp663 EXPECT_EQ(mInner.GetPhoneType(0), PhoneType::PHONE_TYPE_IS_NONE);