/base/telephony/core_service/services/network_search/include/ |
D | cell_info.h | 34 void GetCellInfoList(std::vector<sptr<CellInformation>> &cellInfo); 43 sptr<CellInformation> &cell, CellInformation::CellType type, int32_t cellId, int32_t lac); 62 …void AddCellInformation(sptr<CellInformation> &cellInfo, std::vector<sptr<CellInformation>> &cellI… 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; 69 std::vector<sptr<CellInformation>> cellInfos_; 70 sptr<CellInformation> currentCellInfo_ = nullptr;
|
D | network_search_notify.h | 31 … void NotifyCellInfoUpdated(int32_t slotId, const std::vector<sptr<CellInformation>> &signalInfos);
|
/base/telephony/core_service/services/network_search/src/ |
D | cell_info.cpp | 86 …int32_t cellSize = cellInfo->itemNum >= CellInformation::MAX_CELL_NUM ? CellInformation::MAX_CELL_… in ProcessNeighboringCellInfo() 125 …int32_t cellSize = cellInfoList->itemNum >= CellInformation::MAX_CELL_NUM ? CellInformation::MAX_C… in ProcessCurrentCellInfo() 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() [all …]
|
D | network_search_notify.cpp | 55 …hNotify::NotifyCellInfoUpdated(int32_t slotId, const std::vector<sptr<CellInformation>> &cellInfos) in NotifyCellInfoUpdated()
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | cell_information.h | 23 class CellInformation : public Parcelable { 35 CellInformation() = default; 36 virtual ~CellInformation() = default; 38 static CellInformation *Unmarshalling(Parcel &parcel); 40 virtual CellInformation::CellType GetNetworkType() const = 0; 65 class GsmCellInformation : public CellInformation { 72 CellInformation::CellType GetNetworkType() const override; 88 class LteCellInformation : public CellInformation { 95 CellInformation::CellType GetNetworkType() const override; 111 class WcdmaCellInformation : public CellInformation { [all …]
|
D | telephony_observer_broker.h | 50 int32_t slotId, const std::vector<sptr<CellInformation>> &vec) = 0;
|
D | telephony_state_registry_proxy.h | 44 int32_t slotId, const std::vector<sptr<CellInformation>> &vec) override;
|
D | i_telephony_state_notify.h | 110 int32_t slotId, const std::vector<sptr<CellInformation>> &vec) = 0;
|
/base/location/services/location_gnss/gnss/source/ |
D | agnss_event_callback.cpp | 57 std::vector<sptr<CellInformation>> cellInformations; in RequestAgnssRefInfo() 60 for (sptr<CellInformation> infoItem : cellInformations) { in RequestAgnssRefInfo() 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() 101 void AGnssEventCallback::JudgmentDataGsm(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem) in JudgmentDataGsm() [all …]
|
/base/location/services/location_gnss/gnss/include/ |
D | agnss_event_callback.h | 31 using OHOS::Telephony::CellInformation; 40 void JudgmentDataGsm(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem); 41 void JudgmentDataUmts(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem); 42 void JudgmentDataLte(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem); 43 void JudgmentDataNr(AGnssRefInfo& refInfo, sptr<CellInformation> infoItem);
|
/base/telephony/state_registry/interfaces/kits/js/ |
D | @ohos.telephony.observer.d.ts | 35 type CellInformation = radio.CellInformation; alias 121 function on(type: 'cellInfoChange', callback: Callback<Array<CellInformation>>): void; 123 callback: Callback<Array<CellInformation>>): void; 138 function off(type: 'cellInfoChange', callback?: Callback<Array<CellInformation>>): void;
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | network_search_test.h | 196 void PrintCellInformation(std::vector<sptr<CellInformation>> cellList); 199 void PrintGsmCellInformation(sptr<CellInformation> cell); 200 void PrintCdmaCellInformation(sptr<CellInformation> cell); 201 void PrintWcdmaCellInformation(sptr<CellInformation> cell); 202 void PrintTdscdmaCellInformation(sptr<CellInformation> cell); 203 void PrintLteCellInformation(sptr<CellInformation> cell); 204 void PrintNrCellInformation(sptr<CellInformation> cell);
|
D | zero_branch_test.cpp | 82 std::vector<sptr<CellInformation>> cellInfoList; 84 sptr<CellInformation> gsmCellInformation = new GsmCellInformation(); 85 sptr<CellInformation> lteCellInformation = new LteCellInformation(); 86 sptr<CellInformation> wcdmaCellInformation = new WcdmaCellInformation(); 87 sptr<CellInformation> tdscdmaCellInformation = new TdscdmaCellInformation(); 88 sptr<CellInformation> nrCellInformation = new NrCellInformation(); 89 sptr<CellInformation> cdmaCellInformation = new NrCellInformation(); 90 std::vector<sptr<CellInformation>> cellInfos; 101 …cellInfo->ProcessCellLocation(gsmCellInformation, CellInformation::CellType::CELL_TYPE_NONE, 1, 0); 102 cellInfo->UpdateSignalLevel(gsmCellInformation, CellInformation::CellType::CELL_TYPE_TDSCDMA); [all …]
|
/base/telephony/core_service/frameworks/native/src/ |
D | cell_information.cpp | 33 void CellInformation::Init(int32_t mcc, int32_t mnc, int32_t cellId) in Init() 55 int32_t CellInformation::GetCellId() const in GetCellId() 60 std::string CellInformation::GetMcc() const in GetMcc() 65 std::string CellInformation::GetMnc() const in GetMnc() 70 uint64_t CellInformation::GetTimeStamp() const in GetTimeStamp() 75 int32_t CellInformation::GetSignalIntensity() const in GetSignalIntensity() 80 void CellInformation::SetSignalIntensity(int32_t signalIntensity) in SetSignalIntensity() 86 int32_t CellInformation::GetSignalLevel() const in GetSignalLevel() 91 void CellInformation::SetSignalLevel(int32_t signalLevel) in SetSignalLevel() 97 bool CellInformation::GetIsCamped() const in GetIsCamped() [all …]
|
/base/telephony/state_registry/frameworks/native/observer/src/ |
D | telephony_observer.cpp | 33 int32_t slotId, const std::vector<sptr<CellInformation>> &vec) {} in OnCellInfoUpdated() 118 std::vector<sptr<CellInformation>> cells; in OnCellInfoUpdatedInner() 198 MessageParcel &data, std::vector<sptr<CellInformation>> &cells) in ConvertCellInfoList() 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/state_registry/frameworks/native/observer/include/ |
D | telephony_observer.h | 40 int32_t slotId, const std::vector<sptr<CellInformation>> &vec) override; 52 void ConvertCellInfoList(MessageParcel &data, std::vector<sptr<CellInformation>> &cells);
|
D | telephony_observer_proxy.h | 37 int32_t slotId, const std::vector<sptr<CellInformation>> &vec);
|
/base/telephony/state_registry/frameworks/js/napi/include/ |
D | update_infos.h | 66 std::vector<sptr<CellInformation>> cellInfoVec_; 67 CellInfomationUpdate(int32_t slotId, const std::vector<sptr<CellInformation>> &cellInfo) in CellInfomationUpdate()
|
D | napi_telephony_observer.h | 34 void OnCellInfoUpdated(int32_t slotId, const std::vector<sptr<CellInformation>> &vec) override;
|
D | update_contexts.h | 73 std::vector<sptr<CellInformation>> cellInfoVec;
|
/base/telephony/core_service/interfaces/kits/js/ |
D | @ohos.telephony.radio.d.ts | 134 function getCellInformation(callback: AsyncCallback<Array<CellInformation>>): void; 135 …function getCellInformation(slotId: number, callback: AsyncCallback<Array<CellInformation>>): void; 136 function getCellInformation(slotId?: number): Promise<Array<CellInformation>>; 862 export interface CellInformation { interface
|
/base/telephony/state_registry/service/src/ |
D | telephony_state_registry_stub.cpp | 200 size = ((size > CellInformation::MAX_CELL_NUM) ? 0 : size); in OnUpdateCellInfo() 206 std::vector<sptr<CellInformation>> cells; in OnUpdateCellInfo() 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/state_registry/test/unittest/state_test/ |
D | state_registry_observer.h | 42 void OnCellInfoUpdated(int32_t slotId, const std::vector<sptr<CellInformation>> &vec) in OnCellInfoUpdated()
|
/base/telephony/core_service/services/network_search/test/ |
D | test.cpp | 574 std::vector<sptr<CellInformation>> cellList; in TestGetCellInfoList() 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/service/include/ |
D | telephony_state_registry_service.h | 56 int32_t UpdateCellInfo(int32_t slotId, const std::vector<sptr<CellInformation>> &vec) override; 95 std::map<int32_t, std::vector<sptr<CellInformation>>> cellInfos_;
|