Home
last modified time | relevance | path

Searched refs:CellInformation (Results 1 – 25 of 53) sorted by relevance

123

/base/telephony/core_service/services/network_search/include/
Dcell_info.h34 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;
Dnetwork_search_notify.h31 … void NotifyCellInfoUpdated(int32_t slotId, const std::vector<sptr<CellInformation>> &signalInfos);
/base/telephony/core_service/services/network_search/src/
Dcell_info.cpp86 …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 …]
Dnetwork_search_notify.cpp55 …hNotify::NotifyCellInfoUpdated(int32_t slotId, const std::vector<sptr<CellInformation>> &cellInfos) in NotifyCellInfoUpdated()
/base/telephony/core_service/interfaces/innerkits/include/
Dcell_information.h23 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 …]
Dtelephony_observer_broker.h50 int32_t slotId, const std::vector<sptr<CellInformation>> &vec) = 0;
Dtelephony_state_registry_proxy.h44 int32_t slotId, const std::vector<sptr<CellInformation>> &vec) override;
Di_telephony_state_notify.h110 int32_t slotId, const std::vector<sptr<CellInformation>> &vec) = 0;
/base/location/services/location_gnss/gnss/source/
Dagnss_event_callback.cpp57 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/
Dagnss_event_callback.h31 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.ts35 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/
Dnetwork_search_test.h196 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);
Dzero_branch_test.cpp82 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/
Dcell_information.cpp33 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/
Dtelephony_observer.cpp33 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/
Dtelephony_observer.h40 int32_t slotId, const std::vector<sptr<CellInformation>> &vec) override;
52 void ConvertCellInfoList(MessageParcel &data, std::vector<sptr<CellInformation>> &cells);
Dtelephony_observer_proxy.h37 int32_t slotId, const std::vector<sptr<CellInformation>> &vec);
/base/telephony/state_registry/frameworks/js/napi/include/
Dupdate_infos.h66 std::vector<sptr<CellInformation>> cellInfoVec_;
67 CellInfomationUpdate(int32_t slotId, const std::vector<sptr<CellInformation>> &cellInfo) in CellInfomationUpdate()
Dnapi_telephony_observer.h34 void OnCellInfoUpdated(int32_t slotId, const std::vector<sptr<CellInformation>> &vec) override;
Dupdate_contexts.h73 std::vector<sptr<CellInformation>> cellInfoVec;
/base/telephony/core_service/interfaces/kits/js/
D@ohos.telephony.radio.d.ts134 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/
Dtelephony_state_registry_stub.cpp200 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/
Dstate_registry_observer.h42 void OnCellInfoUpdated(int32_t slotId, const std::vector<sptr<CellInformation>> &vec) in OnCellInfoUpdated()
/base/telephony/core_service/services/network_search/test/
Dtest.cpp574 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/
Dtelephony_state_registry_service.h56 int32_t UpdateCellInfo(int32_t slotId, const std::vector<sptr<CellInformation>> &vec) override;
95 std::map<int32_t, std::vector<sptr<CellInformation>>> cellInfos_;

123