/base/telephony/core_service/services/network_search/src/ |
H A D | cell_info.cpp | 161 CellInformation::CellType type = ConvertTechToCellType(static_cast<RadioTech>(techType)); in UpdateCellLocation() 162 if (type == CellInformation::CellType::CELL_TYPE_NONE) { in UpdateCellLocation() 181 sptr<CellInformation> &cell, CellInformation::CellType type, int32_t cellId, int32_t lac) in ProcessCellLocation() 184 case CellInformation::CellType::CELL_TYPE_GSM: { in ProcessCellLocation() 192 case CellInformation::CellType::CELL_TYPE_LTE: { in ProcessCellLocation() 200 case CellInformation::CellType::CELL_TYPE_WCDMA: { in ProcessCellLocation() 208 case CellInformation::CellType::CELL_TYPE_TDSCDMA: { in ProcessCellLocation() 216 case CellInformation::CellType::CELL_TYPE_NR: { in ProcessCellLocation() 231 void CellInfo::UpdateSignalLevel(sptr<CellInformation> &cell, CellInformation::CellType cellType) in UpdateSignalLevel() 233 if (cellType == CellInformation::CellType in UpdateSignalLevel() [all...] |
H A D | network_register.cpp | 331 if ((*iter)->GetNetworkType() == CellInformation::CellType::CELL_TYPE_LTE) { in UpdateNsaState()
|
H A D | operator_name.cpp | 644 if (location->GetCellLocationType() != CellLocation::CellType::CELL_TYPE_GSM) { in GetCurrentLac()
|
/base/telephony/core_service/services/network_search/include/ |
H A D | cell_info.h | 43 sptr<CellInformation> &cell, CellInformation::CellType type, int32_t cellId, int32_t lac); 65 void UpdateSignalLevel(sptr<CellInformation> &cell, CellInformation::CellType cellType); 66 CellInformation::CellType ConvertToCellType(SignalInformation::NetworkType signalType) const; 67 CellInformation::CellType ConvertTechToCellType(RadioTech techType) const; 68 CellInformation::CellType ConvertRatToCellType(int ratType) const; 69 sptr<CellLocation> GetCellLocationExt(CellInformation::CellType type);
|
/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | cell_location.h | 26 enum class CellType { class in OHOS::Telephony::CellLocation 33 virtual CellLocation::CellType GetCellLocationType() const = 0; 50 CellLocation::CellType GetCellLocationType() const override; 84 CellLocation::CellType GetCellLocationType() const override;
|
H A D | cell_information.h | 29 enum class CellType { class in OHOS::Telephony::CellInformation 61 virtual CellInformation::CellType GetNetworkType() const = 0; 109 CellInformation::CellType GetNetworkType() const override; 148 CellInformation::CellType GetNetworkType() const override; 187 CellInformation::CellType GetNetworkType() const override; 226 CellInformation::CellType GetNetworkType() const override; 265 CellInformation::CellType GetNetworkType() const override; 319 CellInformation::CellType GetNetworkType() const override;
|
/base/telephony/core_service/frameworks/native/src/ |
H A D | cell_location.cpp | 33 if (!parcel.WriteInt32(static_cast<int32_t>(CellLocation::CellType::CELL_TYPE_GSM))) { in Marshalling() 92 CellLocation::CellType GsmCellLocation::GetCellLocationType() const in GetCellLocationType() 94 return CellLocation::CellType::CELL_TYPE_GSM; in GetCellLocationType() 122 if (!parcel.WriteInt32(static_cast<int32_t>(CellLocation::CellType::CELL_TYPE_CDMA))) { in Marshalling() 190 CellLocation::CellType CdmaCellLocation::GetCellLocationType() const in GetCellLocationType() 192 return CellLocation::CellType::CELL_TYPE_CDMA; in GetCellLocationType()
|
H A D | cell_information.cpp | 167 CellInformation::CellType GsmCellInformation::GetNetworkType() const in GetNetworkType() 169 return CellType::CELL_TYPE_GSM; in GetNetworkType() 190 if (!parcel.WriteInt32(static_cast<int32_t>(CellInformation::CellType::CELL_TYPE_GSM))) { in Marshalling() 352 CellInformation::CellType LteCellInformation::GetNetworkType() const in GetNetworkType() 354 return CellType::CELL_TYPE_LTE; in GetNetworkType() 364 if (!parcel.WriteInt32(static_cast<int32_t>(CellInformation::CellType::CELL_TYPE_LTE))) { in Marshalling() 536 CellInformation::CellType WcdmaCellInformation::GetNetworkType() const in GetNetworkType() 538 return CellType::CELL_TYPE_WCDMA; in GetNetworkType() 548 if (!parcel.WriteInt32(static_cast<int32_t>(CellInformation::CellType::CELL_TYPE_WCDMA))) { in Marshalling() 720 CellInformation::CellType TdscdmaCellInformatio [all...] |
H A D | core_service_proxy.cpp | 2733 CellInformation::CellType type; in ProcessCellInfo() 2735 type = static_cast<CellInformation::CellType>(reply.ReadInt32()); in ProcessCellInfo() 2737 case CellInformation::CellType::CELL_TYPE_GSM: { in ProcessCellInfo() 2741 case CellInformation::CellType::CELL_TYPE_LTE: { in ProcessCellInfo() 2745 case CellInformation::CellType::CELL_TYPE_WCDMA: { in ProcessCellInfo() 2749 case CellInformation::CellType::CELL_TYPE_CDMA: { in ProcessCellInfo() 2753 case CellInformation::CellType::CELL_TYPE_TDSCDMA: { in ProcessCellInfo() 2757 case CellInformation::CellType::CELL_TYPE_NR: { in ProcessCellInfo()
|
/base/location/services/location_gnss/gnss/source/ |
H A D | agnss_event_callback.cpp | 109 CellInformation::CellType cellType = infoItem->GetNetworkType(); in GetCellRefInfo() 111 case CellInformation::CellType::CELL_TYPE_GSM: { in GetCellRefInfo() 115 case CellInformation::CellType::CELL_TYPE_LTE: { in GetCellRefInfo() 119 case CellInformation::CellType::CELL_TYPE_CDMA: in GetCellRefInfo() 120 case CellInformation::CellType::CELL_TYPE_WCDMA: in GetCellRefInfo() 121 case CellInformation::CellType::CELL_TYPE_TDSCDMA: { in GetCellRefInfo() 125 case CellInformation::CellType::CELL_TYPE_NR: { in GetCellRefInfo()
|
/base/telephony/state_registry/frameworks/native/observer/src/ |
H A D | telephony_observer.cpp | 253 CellInformation::CellType type; in ConvertCellInfoList() 255 type = static_cast<CellInformation::CellType>(data.ReadInt32()); in ConvertCellInfoList() 257 case CellInformation::CellType::CELL_TYPE_GSM: { in ConvertCellInfoList() 265 case CellInformation::CellType::CELL_TYPE_LTE: { in ConvertCellInfoList() 273 case CellInformation::CellType::CELL_TYPE_NR: { in ConvertCellInfoList()
|
/base/telephony/state_registry/services/src/ |
H A D | telephony_state_registry_stub.cpp | 295 CellInformation::CellType type; in OnUpdateCellInfo() 297 type = static_cast<CellInformation::CellType>(data.ReadInt32()); in OnUpdateCellInfo() 299 case CellInformation::CellType::CELL_TYPE_GSM: { in OnUpdateCellInfo() 307 case CellInformation::CellType::CELL_TYPE_LTE: { in OnUpdateCellInfo() 315 case CellInformation::CellType::CELL_TYPE_NR: { in OnUpdateCellInfo()
|
/base/telephony/core_service/services/network_search/test/ |
H A D | test.cpp | 675 CellInformation::CellType type; in TestGetCellInfoList() 680 if (type == CellInformation::CellType::CELL_TYPE_GSM) { in TestGetCellInfoList() 683 } else if (type == CellInformation::CellType::CELL_TYPE_LTE) { in TestGetCellInfoList() 686 } else if (type == CellInformation::CellType::CELL_TYPE_WCDMA) { in TestGetCellInfoList() 689 } else if (type == CellInformation::CellType::CELL_TYPE_CDMA) { in TestGetCellInfoList() 692 } else if (type == CellInformation::CellType::CELL_TYPE_TDSCDMA) { in TestGetCellInfoList() 695 } else if (type == CellInformation::CellType::CELL_TYPE_NR) { in TestGetCellInfoList()
|
/base/telephony/state_registry/test/fuzztest/telephonystateregistry_fuzzer/ |
H A D | telephonystateregistry_fuzzer.cpp | 123 CellInformation::CellType type = static_cast<CellInformation::CellType>(size % CELL_NUM); in UpdateCellInfo() 124 if (type == CellInformation::CellType::CELL_TYPE_GSM) { in UpdateCellInfo() 132 if (type == CellInformation::CellType::CELL_TYPE_LTE) { in UpdateCellInfo()
|
/base/telephony/state_registry/frameworks/js/napi/src/ |
H A D | event_listener_handler.cpp | 243 CellInformation::CellType networkType = info.GetNetworkType(); in CellInfoConversion() 251 case CellInformation::CellType::CELL_TYPE_GSM: in CellInfoConversion() 255 case CellInformation::CellType::CELL_TYPE_LTE: in CellInfoConversion() 259 case CellInformation::CellType::CELL_TYPE_WCDMA: in CellInfoConversion() 263 case CellInformation::CellType::CELL_TYPE_NR: in CellInfoConversion()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | zero_branch_test.cpp | 82 const CellInformation::CellType NONE = CellInformation::CellType::CELL_TYPE_NONE; 83 const CellInformation::CellType GSM = CellInformation::CellType::CELL_TYPE_GSM; 84 const CellInformation::CellType CDMA = CellInformation::CellType::CELL_TYPE_CDMA; 85 const CellInformation::CellType WCDMA = CellInformation::CellType::CELL_TYPE_WCDMA; 86 const CellInformation::CellType TDSCDMA = CellInformation::CellType [all...] |
H A D | network_search_test.cpp | 91 case CellInformation::CellType::CELL_TYPE_GSM: { in PrintCellInformation() 95 case CellInformation::CellType::CELL_TYPE_CDMA: { in PrintCellInformation() 99 case CellInformation::CellType::CELL_TYPE_WCDMA: { in PrintCellInformation() 103 case CellInformation::CellType::CELL_TYPE_TDSCDMA: { in PrintCellInformation() 107 case CellInformation::CellType::CELL_TYPE_LTE: { in PrintCellInformation() 111 case CellInformation::CellType::CELL_TYPE_NR: { in PrintCellInformation() 116 TELEPHONY_LOGE("CellInformation::CellType type error"); in PrintCellInformation()
|
/base/telephony/core_service/frameworks/js/network_search/src/ |
H A D | napi_radio.cpp | 2029 case CellInformation::CellType::CELL_TYPE_GSM: in WrapCellInformationType() 2031 case CellInformation::CellType::CELL_TYPE_WCDMA: in WrapCellInformationType() 2033 case CellInformation::CellType::CELL_TYPE_LTE: in WrapCellInformationType() 2035 case CellInformation::CellType::CELL_TYPE_TDSCDMA: in WrapCellInformationType() 2037 case CellInformation::CellType::CELL_TYPE_CDMA: in WrapCellInformationType() 2039 case CellInformation::CellType::CELL_TYPE_NR: in WrapCellInformationType() 2127 napi_value JudgmentData(napi_env env, sptr<CellInformation> infoItem, CellInformation::CellType cellType) in JudgmentData() 2132 case CellInformation::CellType::CELL_TYPE_GSM: { in JudgmentData() 2136 case CellInformation::CellType::CELL_TYPE_LTE: { in JudgmentData() 2140 case CellInformation::CellType in JudgmentData() [all...] |
/base/telephony/sms_mms/services/sms/gsm/ |
H A D | gsm_sms_cb_handler.cpp | 186 if (location->GetCellLocationType() != CellLocation::CellType::CELL_TYPE_GSM) { in InitLocation()
|