Home
last modified time | relevance | path

Searched refs:nr (Results 1 – 17 of 17) sorted by relevance

/base/telephony/core_service/services/network_search/src/
Dsignal_info.cpp84 cur_.nr.SetValue(nrSignal.rsrp, nrSignal.rsrq, nrSignal.sinr); in ProcessNr()
85 bool ret = (cur_.nr == cache_.nr); in ProcessNr()
86 cache_.nr = cur_.nr; in ProcessNr()
116 signalIntensity.nr.rsrp, signalIntensity.nr.rsrq, signalIntensity.nr.sinr); in PrintfLog()
137 bool nrUpdate = ProcessNr(signalIntensity->nr); in ProcessSignalIntensity()
159 bool nrValid = cur_.nr.ValidateNrValue(); in GetSignalInfoList()
165 signals.emplace_back(cur_.nr.NewInstance()); in GetSignalInfoList()
Dcell_info.cpp211 NrCellInformation *nr = reinterpret_cast<NrCellInformation *>(cell.GetRefPtr()); in ProcessCellLocation() local
212 if (nr->GetCellId() != cellId || nr->GetTac() != lac) { in ProcessCellLocation()
213 nr->UpdateLocation(cellId, lac); in ProcessCellLocation()
453 int32_t &nrArfcn = cellInfo->ServiceCellParas.nr.nrArfcn; in ProcessNeighboringCellNr()
454 int32_t &pci = cellInfo->ServiceCellParas.nr.pci; in ProcessNeighboringCellNr()
455 int32_t &tac = cellInfo->ServiceCellParas.nr.tac; in ProcessNeighboringCellNr()
456 int64_t &nci = cellInfo->ServiceCellParas.nr.nci; in ProcessNeighboringCellNr()
601 int32_t &nrArfcn = cellInfo->ServiceCellParas.nr.nrArfcn; in ProcessCurrentCellNr()
602 int32_t &pci = cellInfo->ServiceCellParas.nr.pci; in ProcessCurrentCellNr()
603 int32_t &tac = cellInfo->ServiceCellParas.nr.tac; in ProcessCurrentCellNr()
[all …]
/base/telephony/core_service/services/network_search/include/
Dsignal_info.h56 nr.SetValue(); in Init()
63 NrSignalInformation nr; member
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_network.cpp322 signalStrength->nr.rsrp = rssi.nr.rsrp; in BuildSignalStrength()
323 signalStrength->nr.rsrq = rssi.nr.rsrq; in BuildSignalStrength()
324 signalStrength->nr.sinr = rssi.nr.sinr; in BuildSignalStrength()
448 cellInfo.ServiceCellParas.nr.nrArfcn = info.serviceCells.nr.nrArfcn; in FillNrCellNearbyInfo()
449 cellInfo.ServiceCellParas.nr.pci = info.serviceCells.nr.pci; in FillNrCellNearbyInfo()
450 cellInfo.ServiceCellParas.nr.tac = info.serviceCells.nr.tac; in FillNrCellNearbyInfo()
451 cellInfo.ServiceCellParas.nr.nci = info.serviceCells.nr.nci; in FillNrCellNearbyInfo()
588 cellInfo.ServiceCellParas.nr.nrArfcn = info.serviceCells.nr.nrArfcn; in FillNrCurrentCellInfo()
589 cellInfo.ServiceCellParas.nr.pci = info.serviceCells.nr.pci; in FillNrCurrentCellInfo()
590 cellInfo.ServiceCellParas.nr.tac = info.serviceCells.nr.tac; in FillNrCurrentCellInfo()
[all …]
/base/telephony/core_service/services/network_search/test/
Dtest.cpp218 void TestNrSignalInformation(const NrSignalInformation &nr) in TestNrSignalInformation() argument
220 …TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation ToString:%{public}s", nr.ToString(… in TestNrSignalInformation()
221 … TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation NrRsrp:%{public}d", nr.GetRsrp()); in TestNrSignalInformation()
222 … TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation NrRsrq:%{public}d", nr.GetRsrq()); in TestNrSignalInformation()
223 … TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation NrSinr:%{public}d", nr.GetSinr()); in TestNrSignalInformation()
224 …TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation GetSignalLevel:%{public}d", nr.Get… in TestNrSignalInformation()
253 NrSignalInformation *nr = reinterpret_cast<NrSignalInformation *>(v.GetRefPtr()); in TestGetSignalInfoList() local
254 TestNrSignalInformation(*nr); in TestGetSignalInfoList()
600 NrCellInformation *nr = reinterpret_cast<NrCellInformation *>(v.GetRefPtr()); in TestGetCellInfoList() local
601 TELEPHONY_LOGI("result:%{public}s", nr->ToString().c_str()); in TestGetCellInfoList()
/base/telephony/ril_adapter/services/hril/src/
Dhril_network.cpp562 rssi.nr.rsrp = rilRssi->nrRssi.rsrp; in ExchangeRilRssiToHdf()
563 rssi.nr.rsrq = rilRssi->nrRssi.rsrq; in ExchangeRilRssiToHdf()
564 rssi.nr.sinr = rilRssi->nrRssi.sinr; in ExchangeRilRssiToHdf()
626 cellInfo.serviceCells.nr.nrArfcn = cellPtr->ServiceCellParas.nr.nrArfcn; in FillCellNearbyInfo()
627 cellInfo.serviceCells.nr.pci = cellPtr->ServiceCellParas.nr.pci; in FillCellNearbyInfo()
628 cellInfo.serviceCells.nr.tac = cellPtr->ServiceCellParas.nr.tac; in FillCellNearbyInfo()
629 cellInfo.serviceCells.nr.nci = cellPtr->ServiceCellParas.nr.nci; in FillCellNearbyInfo()
755 cellInfo.serviceCells.nr.nrArfcn = cellInfoVendor->ServiceCellParas.nr.nrArfcn; in FillCurrentCellInfo()
756 cellInfo.serviceCells.nr.pci = cellInfoVendor->ServiceCellParas.nr.pci; in FillCurrentCellInfo()
757 cellInfo.serviceCells.nr.tac = cellInfoVendor->ServiceCellParas.nr.tac; in FillCurrentCellInfo()
[all …]
/base/telephony/core_service/frameworks/native/src/
Dsignal_information.cpp671 bool NrSignalInformation::operator==(const NrSignalInformation &nr) const in operator ==()
673 return nrRsrp_ == nr.nrRsrp_ && nrRsrq_ == nr.nrRsrq_ && nrSinr_ == nr.nrSinr_; in operator ==()
743 std::unique_ptr<NrSignalInformation> nr = std::make_unique<NrSignalInformation>(); in NewInstance() local
744 if (nr == nullptr) { in NewInstance()
747 nr->SetValue(this->nrRsrp_, this->nrRsrq_, this->nrSinr_); in NewInstance()
748 return nr.release(); in NewInstance()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dnetwork_search_test.cpp238 NrCellInformation *nr = reinterpret_cast<NrCellInformation *>(cell.GetRefPtr()); in PrintNrCellInformation() local
241 …static_cast<int32_t>(nr->GetNetworkType()), nr->GetPci(), nr->GetTac(), nr->GetArfcn(), (int32_t)n… in PrintNrCellInformation()
242 TELEPHONY_LOGI("CellInformation result:%{public}s", nr->ToString().c_str()); in PrintNrCellInformation()
244 nr->Marshalling(data); in PrintNrCellInformation()
245 nr->Unmarshalling(data); in PrintNrCellInformation()
249 NrCellInformation nrCellInformation = *nr; in PrintNrCellInformation()
365 NrSignalInformation *nr = reinterpret_cast<NrSignalInformation *>(signal.GetRefPtr()); in PrintNrSignalInformation() local
367 …"SignalLevel:%{public}d, value:%{public}d", static_cast<int32_t>(nr->GetNetworkType()), nr->GetRsr… in PrintNrSignalInformation()
368 nr->GetRsrq(), nr->GetSinr(), nr->GetSignalLevel(), nr->ValidateNrValue()); in PrintNrSignalInformation()
375 TELEPHONY_LOGI("SignalInformation nr is same as nrSignal:%{public}d", *nrSignal == *nr); in PrintNrSignalInformation()
[all …]
Dzero_branch_test.cpp140 cellNearbyInfo.ServiceCellParas.nr.nci = 1;
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_network_parcel.h166 CellRatNr nr; member
239 CellListRatNr nr; member
Dhril_vendor_network_defs.h222 CellRatNr nr; member
275 CellRatNr nr; member
Dhril_types.h133 NrRssi nr; member
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
Dril_callback_test.cpp444 TELEPHONY_LOGI("arfcn:%{public}d", info.serviceCells.nr.nrArfcn); in NetworkCurrentCellUpdated()
445 TELEPHONY_LOGI("psc:%{public}d", info.serviceCells.nr.pci); in NetworkCurrentCellUpdated()
446 TELEPHONY_LOGI("rscp:%{public}d", info.serviceCells.nr.tac); in NetworkCurrentCellUpdated()
447 TELEPHONY_LOGI("ecno:%{public}d", info.serviceCells.nr.nci); in NetworkCurrentCellUpdated()
573 TELEPHONY_LOGI("arfcn:%{public}d", info.serviceCells.nr.nrArfcn); in GetNeighboringCellInfoListResponse()
574 TELEPHONY_LOGI("psc:%{public}d", info.serviceCells.nr.pci); in GetNeighboringCellInfoListResponse()
575 TELEPHONY_LOGI("rscp:%{public}d", info.serviceCells.nr.tac); in GetNeighboringCellInfoListResponse()
576 TELEPHONY_LOGI("ecno:%{public}d", info.serviceCells.nr.nci); in GetNeighboringCellInfoListResponse()
619 TELEPHONY_LOGI("arfcn:%{public}d", info.serviceCells.nr.nrArfcn); in GetCurrentCellInfoResponse()
620 TELEPHONY_LOGI("psc:%{public}d", info.serviceCells.nr.pci); in GetCurrentCellInfoResponse()
[all …]
/base/startup/init/services/modules/seccomp/scripts/
Dgenerate_code_from_policy.py175 nr, digit_flag = str_convert_to_int(self_define_syscall)
176 if digit_flag and nr not in self.function_name_nr_table.values():
177 self.self_define_syscall.add(nr)
848 for syscall_name, nr in name_to_nr.items():
859 syscalls[syscall_name] = nr
875 nr = eval(mark_pattern.sub(lambda x: str(name_to_nr.get(x.group(0))),
878 name_to_nr[name] = nr
/base/telephony/ril_adapter/test/unittest/
Dril_callback_test.cpp388 cout << "[cellInfo] -->[nrArfcn] : " << cellInfo.serviceCells.nr.nrArfcn << endl; in NetworkCurrentCellUpdated()
389 cout << "[cellInfo] -->[tac] : " << cellInfo.serviceCells.nr.tac << endl; in NetworkCurrentCellUpdated()
511 cout << "[cellInfo] -->[nrArfcn] : " << cellInfo.serviceCells.nr.nrArfcn << endl; in GetNeighboringCellInfoListResponse()
512 cout << "[cellInfo] -->[tac] : " << cellInfo.serviceCells.nr.tac << endl; in GetNeighboringCellInfoListResponse()
554 cout << "[cellInfo] -->[nrArfcn] : " << cellInfo.serviceCells.nr.nrArfcn << endl; in GetCurrentCellInfoResponse()
555 cout << "[cellInfo] -->[tac] : " << cellInfo.serviceCells.nr.tac << endl; in GetCurrentCellInfoResponse()
556 cout << "[cellInfo] -->[nci] : " << cellInfo.serviceCells.nr.nci << endl; in GetCurrentCellInfoResponse()
/base/telephony/ril_adapter/services/vendor/src/
Dat_network.c1069 if (NextInt(&pStr, &ci->ServiceCellParas.nr.nrArfcn) < 0) { in ParseCellInfoNr()
1072 if (NextInt(&pStr, &ci->ServiceCellParas.nr.pci) < 0) { in ParseCellInfoNr()
1075 if (NextInt(&pStr, &ci->ServiceCellParas.nr.tac) < 0) { in ParseCellInfoNr()
1078 if (NextInt64(&pStr, &ci->ServiceCellParas.nr.nci) < 0) { in ParseCellInfoNr()
1308 NextInt(&line, &response->ServiceCellParas.nr.nrArfcn); in ParseGetNrCellInfoLine()
1309 NextInt(&line, &response->ServiceCellParas.nr.pci); in ParseGetNrCellInfoLine()
1310 NextInt(&line, &response->ServiceCellParas.nr.tac); in ParseGetNrCellInfoLine()
1311 NextInt64(&line, &response->ServiceCellParas.nr.nci); in ParseGetNrCellInfoLine()
/base/telephony/core_service/interfaces/innerkits/include/
Dsignal_information.h185 bool operator==(const NrSignalInformation &nr) const;