/ohos5.0/base/telephony/core_service/services/network_search/src/ |
H A D | cell_info.cpp | 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() 216 case CellInformation::CellType::CELL_TYPE_NR: { in ProcessCellLocation() 812 case CellInformation::CellType::CELL_TYPE_GSM: { in AddCellInformation() 819 case CellInformation::CellType::CELL_TYPE_LTE: { in AddCellInformation() 833 case CellInformation::CellType::CELL_TYPE_CDMA: { in AddCellInformation() 847 case CellInformation::CellType::CELL_TYPE_NR: { in AddCellInformation() 867 case CellInformation::CellType::CELL_TYPE_GSM: { in GetCellLocation() 893 case CellInformation::CellType::CELL_TYPE_LTE: in GetCellLocation() [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()
|
/ohos5.0/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);
|
/ohos5.0/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() 352 CellInformation::CellType LteCellInformation::GetNetworkType() const in GetNetworkType() 354 return CellType::CELL_TYPE_LTE; in GetNetworkType() 536 CellInformation::CellType WcdmaCellInformation::GetNetworkType() const in GetNetworkType() 538 return CellType::CELL_TYPE_WCDMA; in GetNetworkType() 722 return CellType::CELL_TYPE_TDSCDMA; in GetNetworkType() 903 CellInformation::CellType CdmaCellInformation::GetNetworkType() const in GetNetworkType() 905 return CellType::CELL_TYPE_CDMA; in GetNetworkType() 1102 CellInformation::CellType NrCellInformation::GetNetworkType() const in GetNetworkType() [all …]
|
H A D | core_service_proxy.cpp | 2730 CellInformation::CellType type; in ProcessCellInfo() 2732 type = static_cast<CellInformation::CellType>(reply.ReadInt32()); in ProcessCellInfo() 2734 case CellInformation::CellType::CELL_TYPE_GSM: { in ProcessCellInfo() 2738 case CellInformation::CellType::CELL_TYPE_LTE: { in ProcessCellInfo() 2742 case CellInformation::CellType::CELL_TYPE_WCDMA: { in ProcessCellInfo() 2746 case CellInformation::CellType::CELL_TYPE_CDMA: { in ProcessCellInfo() 2750 case CellInformation::CellType::CELL_TYPE_TDSCDMA: { in ProcessCellInfo() 2754 case CellInformation::CellType::CELL_TYPE_NR: { in ProcessCellInfo()
|
/ohos5.0/base/location/services/location_gnss/gnss/source/ |
H A D | agnss_event_callback.cpp | 113 CellInformation::CellType cellType = infoItem->GetNetworkType(); in GetCellRefInfo() 115 case CellInformation::CellType::CELL_TYPE_GSM: { in GetCellRefInfo() 119 case CellInformation::CellType::CELL_TYPE_LTE: { in GetCellRefInfo() 123 case CellInformation::CellType::CELL_TYPE_CDMA: in GetCellRefInfo() 124 case CellInformation::CellType::CELL_TYPE_WCDMA: in GetCellRefInfo() 125 case CellInformation::CellType::CELL_TYPE_TDSCDMA: { in GetCellRefInfo() 129 case CellInformation::CellType::CELL_TYPE_NR: { in GetCellRefInfo()
|
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | cell_information.h | 29 enum class CellType { enum 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;
|
H A D | cell_location.h | 26 enum class CellType { enum 33 virtual CellLocation::CellType GetCellLocationType() const = 0; 50 CellLocation::CellType GetCellLocationType() const override; 84 CellLocation::CellType GetCellLocationType() const override;
|
/ohos5.0/base/telephony/state_registry/frameworks/native/observer/src/ |
H A D | telephony_observer.cpp | 256 CellInformation::CellType type; in ConvertCellInfoList() 258 type = static_cast<CellInformation::CellType>(data.ReadInt32()); in ConvertCellInfoList() 260 case CellInformation::CellType::CELL_TYPE_GSM: { in ConvertCellInfoList() 268 case CellInformation::CellType::CELL_TYPE_LTE: { in ConvertCellInfoList() 276 case CellInformation::CellType::CELL_TYPE_NR: { in ConvertCellInfoList()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/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::CELL_TYPE_TDSCDMA; 87 const CellInformation::CellType LTE = CellInformation::CellType::CELL_TYPE_LTE; 88 const CellInformation::CellType NR = CellInformation::CellType::CELL_TYPE_NR; 155 cellInfo->UpdateSignalLevel(gsmCellInformation, CellInformation::CellType::CELL_TYPE_NONE); 281 cellInfo->GetCellLocationExt(CellInformation::CellType::CELL_TYPE_NONE); 282 cellInfo->GetCellLocationExt(CellInformation::CellType::CELL_TYPE_LTE); [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()
|
/ohos5.0/base/telephony/state_registry/frameworks/js/napi/src/ |
H A D | event_listener_handler.cpp | 234 CellInformation::CellType networkType = info.GetNetworkType(); in CellInfoConversion() 242 case CellInformation::CellType::CELL_TYPE_GSM: in CellInfoConversion() 246 case CellInformation::CellType::CELL_TYPE_LTE: in CellInfoConversion() 250 case CellInformation::CellType::CELL_TYPE_WCDMA: in CellInfoConversion() 254 case CellInformation::CellType::CELL_TYPE_NR: in CellInfoConversion()
|
/ohos5.0/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() 2037 case CellInformation::CellType::CELL_TYPE_CDMA: in WrapCellInformationType() 2039 case CellInformation::CellType::CELL_TYPE_NR: in WrapCellInformationType() 2132 case CellInformation::CellType::CELL_TYPE_GSM: { in JudgmentData() 2136 case CellInformation::CellType::CELL_TYPE_LTE: { in JudgmentData() 2140 case CellInformation::CellType::CELL_TYPE_WCDMA: { in JudgmentData() 2144 case CellInformation::CellType::CELL_TYPE_CDMA: { in JudgmentData() 2152 case CellInformation::CellType::CELL_TYPE_NR: { in JudgmentData() [all …]
|
/ohos5.0/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()
|