/base/telephony/core_service/services/network_search/src/ |
D | cell_info.cpp | 155 CellInformation::CellType type = ConvertTechToCellType(static_cast<RadioTech>(techType)); in UpdateCellLocation() 156 if (type == CellInformation::CellType::CELL_TYPE_NONE) { in UpdateCellLocation() 175 sptr<CellInformation> &cell, CellInformation::CellType type, int32_t cellId, int32_t lac) in ProcessCellLocation() 178 case CellInformation::CellType::CELL_TYPE_GSM: { in ProcessCellLocation() 186 case CellInformation::CellType::CELL_TYPE_LTE: { in ProcessCellLocation() 194 case CellInformation::CellType::CELL_TYPE_WCDMA: { in ProcessCellLocation() 202 case CellInformation::CellType::CELL_TYPE_TDSCDMA: { in ProcessCellLocation() 210 case CellInformation::CellType::CELL_TYPE_NR: { in ProcessCellLocation() 225 void CellInfo::UpdateSignalLevel(sptr<CellInformation> &cell, CellInformation::CellType cellType) in UpdateSignalLevel() 227 … if (cellType == CellInformation::CellType::CELL_TYPE_NONE || cell->GetNetworkType() != cellType) { in UpdateSignalLevel() [all …]
|
D | operator_name.cpp | 479 if (location->GetCellLocationType() != CellLocation::CellType::CELL_TYPE_GSM) { in GetCurrentLac()
|
/base/telephony/core_service/frameworks/native/src/ |
D | cell_location.cpp | 30 if (!parcel.WriteInt32(static_cast<int32_t>(CellLocation::CellType::CELL_TYPE_GSM))) { in Marshalling() 75 CellLocation::CellType GsmCellLocation::GetCellLocationType() const in GetCellLocationType() 77 return CellLocation::CellType::CELL_TYPE_GSM; in GetCellLocationType() 105 if (!parcel.WriteInt32(static_cast<int32_t>(CellLocation::CellType::CELL_TYPE_CDMA))) { in Marshalling() 153 CellLocation::CellType CdmaCellLocation::GetCellLocationType() const in GetCellLocationType() 155 return CellLocation::CellType::CELL_TYPE_CDMA; in GetCellLocationType()
|
D | cell_information.cpp | 159 CellInformation::CellType GsmCellInformation::GetNetworkType() const in GetNetworkType() 161 return CellType::CELL_TYPE_GSM; in GetNetworkType() 182 if (!parcel.WriteInt32(static_cast<int32_t>(CellInformation::CellType::CELL_TYPE_GSM))) { in Marshalling() 309 CellInformation::CellType LteCellInformation::GetNetworkType() const in GetNetworkType() 311 return CellType::CELL_TYPE_LTE; in GetNetworkType() 321 if (!parcel.WriteInt32(static_cast<int32_t>(CellInformation::CellType::CELL_TYPE_LTE))) { in Marshalling() 458 CellInformation::CellType WcdmaCellInformation::GetNetworkType() const in GetNetworkType() 460 return CellType::CELL_TYPE_WCDMA; in GetNetworkType() 470 if (!parcel.WriteInt32(static_cast<int32_t>(CellInformation::CellType::CELL_TYPE_WCDMA))) { in Marshalling() 607 CellInformation::CellType TdscdmaCellInformation::GetNetworkType() const in GetNetworkType() [all …]
|
D | core_service_proxy.cpp | 2377 CellInformation::CellType type; in ProcessCellInfo() 2379 type = static_cast<CellInformation::CellType>(reply.ReadInt32()); in ProcessCellInfo() 2381 case CellInformation::CellType::CELL_TYPE_GSM: { in ProcessCellInfo() 2385 case CellInformation::CellType::CELL_TYPE_LTE: { in ProcessCellInfo() 2389 case CellInformation::CellType::CELL_TYPE_WCDMA: { in ProcessCellInfo() 2393 case CellInformation::CellType::CELL_TYPE_CDMA: { in ProcessCellInfo() 2397 case CellInformation::CellType::CELL_TYPE_TDSCDMA: { in ProcessCellInfo() 2401 case CellInformation::CellType::CELL_TYPE_NR: { in ProcessCellInfo()
|
/base/telephony/core_service/services/network_search/include/ |
D | cell_info.h | 43 sptr<CellInformation> &cell, CellInformation::CellType type, int32_t cellId, int32_t lac); 64 void UpdateSignalLevel(sptr<CellInformation> &cell, CellInformation::CellType cellType); 65 CellInformation::CellType ConvertToCellType(SignalInformation::NetworkType signalType) const; 66 CellInformation::CellType ConvertTechToCellType(RadioTech techType) const; 67 CellInformation::CellType ConvertRatToCellType(int ratType) const;
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | cell_location.h | 26 enum class CellType { enum 33 virtual CellLocation::CellType GetCellLocationType() const = 0; 50 CellLocation::CellType GetCellLocationType() const override; 80 CellLocation::CellType GetCellLocationType() const override;
|
D | cell_information.h | 26 enum class CellType { enum 40 virtual CellInformation::CellType GetNetworkType() const = 0; 72 CellInformation::CellType GetNetworkType() const override; 95 CellInformation::CellType GetNetworkType() const override; 118 CellInformation::CellType GetNetworkType() const override; 141 CellInformation::CellType GetNetworkType() const override; 164 CellInformation::CellType GetNetworkType() const override; 192 CellInformation::CellType GetNetworkType() const override;
|
/base/location/services/location_gnss/gnss/source/ |
D | agnss_event_callback.cpp | 66 CellInformation::CellType cellType = infoItem->GetNetworkType(); in RequestAgnssRefInfo() 69 case CellInformation::CellType::CELL_TYPE_GSM: { in RequestAgnssRefInfo() 73 case CellInformation::CellType::CELL_TYPE_LTE: { in RequestAgnssRefInfo() 77 case CellInformation::CellType::CELL_TYPE_CDMA: in RequestAgnssRefInfo() 78 case CellInformation::CellType::CELL_TYPE_WCDMA: in RequestAgnssRefInfo() 79 case CellInformation::CellType::CELL_TYPE_TDSCDMA: { in RequestAgnssRefInfo() 83 case CellInformation::CellType::CELL_TYPE_NR: { in RequestAgnssRefInfo()
|
/base/telephony/state_registry/frameworks/native/observer/src/ |
D | telephony_observer.cpp | 202 CellInformation::CellType type; in ConvertCellInfoList() 204 type = static_cast<CellInformation::CellType>(data.ReadInt32()); in ConvertCellInfoList() 206 case CellInformation::CellType::CELL_TYPE_GSM: { in ConvertCellInfoList() 214 case CellInformation::CellType::CELL_TYPE_LTE: { in ConvertCellInfoList()
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | zero_branch_test.cpp | 101 …cellInfo->ProcessCellLocation(gsmCellInformation, CellInformation::CellType::CELL_TYPE_NONE, 1, 0); 102 cellInfo->UpdateSignalLevel(gsmCellInformation, CellInformation::CellType::CELL_TYPE_TDSCDMA); 103 cellInfo->UpdateSignalLevel(gsmCellInformation, CellInformation::CellType::CELL_TYPE_NONE); 110 …EXPECT_TRUE(cellInfo->ProcessCellLocation(gsmCellInformation, CellInformation::CellType::CELL_TYPE… 111 …EXPECT_TRUE(cellInfo->ProcessCellLocation(lteCellInformation, CellInformation::CellType::CELL_TYPE… 112 …EXPECT_TRUE(cellInfo->ProcessCellLocation(wcdmaCellInformation, CellInformation::CellType::CELL_TY… 114 …cellInfo->ProcessCellLocation(tdscdmaCellInformation, CellInformation::CellType::CELL_TYPE_TDSCDMA… 115 …EXPECT_TRUE(cellInfo->ProcessCellLocation(nrCellInformation, CellInformation::CellType::CELL_TYPE_… 176 …cellInfo->ConvertToCellType(SignalInformation::NetworkType::GSM), CellInformation::CellType::CELL_… 178 …vertToCellType(SignalInformation::NetworkType::WCDMA), CellInformation::CellType::CELL_TYPE_WCDMA); [all …]
|
D | network_search_test.cpp | 90 case CellInformation::CellType::CELL_TYPE_GSM: { in PrintCellInformation() 94 case CellInformation::CellType::CELL_TYPE_CDMA: { in PrintCellInformation() 98 case CellInformation::CellType::CELL_TYPE_WCDMA: { in PrintCellInformation() 102 case CellInformation::CellType::CELL_TYPE_TDSCDMA: { in PrintCellInformation() 106 case CellInformation::CellType::CELL_TYPE_LTE: { in PrintCellInformation() 110 case CellInformation::CellType::CELL_TYPE_NR: { in PrintCellInformation()
|
/base/telephony/state_registry/service/src/ |
D | telephony_state_registry_stub.cpp | 207 CellInformation::CellType type; in OnUpdateCellInfo() 209 type = static_cast<CellInformation::CellType>(data.ReadInt32()); in OnUpdateCellInfo() 211 case CellInformation::CellType::CELL_TYPE_GSM: { in OnUpdateCellInfo() 219 case CellInformation::CellType::CELL_TYPE_LTE: { in OnUpdateCellInfo()
|
/base/telephony/core_service/services/network_search/test/ |
D | test.cpp | 579 CellInformation::CellType type; in TestGetCellInfoList() 584 if (type == CellInformation::CellType::CELL_TYPE_GSM) { in TestGetCellInfoList() 587 } else if (type == CellInformation::CellType::CELL_TYPE_LTE) { in TestGetCellInfoList() 590 } else if (type == CellInformation::CellType::CELL_TYPE_WCDMA) { in TestGetCellInfoList() 593 } else if (type == CellInformation::CellType::CELL_TYPE_CDMA) { in TestGetCellInfoList() 596 } else if (type == CellInformation::CellType::CELL_TYPE_TDSCDMA) { in TestGetCellInfoList() 599 } else if (type == CellInformation::CellType::CELL_TYPE_NR) { in TestGetCellInfoList()
|
/base/telephony/state_registry/frameworks/js/napi/src/ |
D | event_listener_handler.cpp | 218 CellInformation::CellType networkType = info.GetNetworkType(); in CellInfoConversion() 226 case CellInformation::CellType::CELL_TYPE_GSM: in CellInfoConversion() 230 case CellInformation::CellType::CELL_TYPE_LTE: in CellInfoConversion() 234 case CellInformation::CellType::CELL_TYPE_WCDMA: in CellInfoConversion()
|
/base/telephony/core_service/frameworks/js/network_search/src/ |
D | napi_radio.cpp | 1615 case CellInformation::CellType::CELL_TYPE_GSM: in WrapCellInformationType() 1617 case CellInformation::CellType::CELL_TYPE_WCDMA: in WrapCellInformationType() 1619 case CellInformation::CellType::CELL_TYPE_LTE: in WrapCellInformationType() 1621 case CellInformation::CellType::CELL_TYPE_TDSCDMA: in WrapCellInformationType() 1623 case CellInformation::CellType::CELL_TYPE_CDMA: in WrapCellInformationType() 1625 case CellInformation::CellType::CELL_TYPE_NR: in WrapCellInformationType() 1713 napi_value JudgmentData(napi_env env, sptr<CellInformation> infoItem, CellInformation::CellType cel… in JudgmentData() 1718 case CellInformation::CellType::CELL_TYPE_GSM: { in JudgmentData() 1722 case CellInformation::CellType::CELL_TYPE_LTE: { in JudgmentData() 1726 case CellInformation::CellType::CELL_TYPE_WCDMA: { in JudgmentData() [all …]
|
/base/telephony/sms_mms/services/gsm/ |
D | gsm_sms_cb_handler.cpp | 164 if (location->GetCellLocationType() != CellLocation::CellType::CELL_TYPE_GSM) { in InitLocation()
|