Home
last modified time | relevance | path

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

/base/startup/init/services/modules/seccomp/scripts/tools/
Dlibc_static_analysis.py26 def __init__(self, arch, addr, func_name, nr): argument
27 self.nr = set()
28 self.nr |= nr
34 def merge_nr(self, nr): argument
35 self.nr |= nr
49 nrs = [keys[values.index(nr_item)] for nr_item in self.nr]
63 nr = nr_last
71 nr = nr_tmp * 256 * 256
72 return nr, is_find_nr, is_find_svc
75 nr = nr + nr_tmp
[all …]
Daudit_log_analysis.py50 for nr in sorted(list(arch_nr_table.get(arch))):
51 syscall_name = name_nr_table.get(arch).get(nr)
Dcollect_elf_syscall.py139 syscall_nr |= libc_func.nr
147 for nr in sorted(list(nr_set)):
148 func_name_list.append(name_nr_table.get(arch).get(nr))
/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()
111 signalIntensity.nr.rsrp, signalIntensity.nr.rsrq, signalIntensity.nr.sinr); in PrintfLog()
132 bool nrUpdate = ProcessNr(signalIntensity->nr); in ProcessSignalIntensity()
154 bool nrValid = cur_.nr.ValidateNrValue(); in GetSignalInfoList()
160 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/tel_ril/src/
Dtel_ril_network.cpp386 signalStrength->nr.rsrp = rssi.nr.rsrp; in BuildSignalStrength()
387 signalStrength->nr.rsrq = rssi.nr.rsrq; in BuildSignalStrength()
388 signalStrength->nr.sinr = rssi.nr.sinr; in BuildSignalStrength()
512 cellInfo.ServiceCellParas.nr.nrArfcn = info.serviceCells.nr.nrArfcn; in FillNrCellNearbyInfo()
513 cellInfo.ServiceCellParas.nr.pci = info.serviceCells.nr.pci; in FillNrCellNearbyInfo()
514 cellInfo.ServiceCellParas.nr.tac = info.serviceCells.nr.tac; in FillNrCellNearbyInfo()
515 cellInfo.ServiceCellParas.nr.nci = info.serviceCells.nr.nci; in FillNrCellNearbyInfo()
652 cellInfo.ServiceCellParas.nr.nrArfcn = info.serviceCells.nr.nrArfcn; in FillNrCurrentCellInfo()
653 cellInfo.ServiceCellParas.nr.pci = info.serviceCells.nr.pci; in FillNrCurrentCellInfo()
654 cellInfo.ServiceCellParas.nr.tac = info.serviceCells.nr.tac; in FillNrCurrentCellInfo()
[all …]
/base/telephony/core_service/services/network_search/include/
Dsignal_info.h56 nr.SetValue(); in Init()
63 NrSignalInformation nr; member
/base/telephony/ril_adapter/services/hril/src/
Dhril_network.cpp673 rssi.nr.rsrp = rilRssi->nrRssi.rsrp; in ExchangeRilRssiToHdf()
674 rssi.nr.rsrq = rilRssi->nrRssi.rsrq; in ExchangeRilRssiToHdf()
675 rssi.nr.sinr = rilRssi->nrRssi.sinr; in ExchangeRilRssiToHdf()
737 cellInfo.serviceCells.nr.nrArfcn = cellPtr->ServiceCellParas.nr.nrArfcn; in FillCellNearbyInfo()
738 cellInfo.serviceCells.nr.pci = cellPtr->ServiceCellParas.nr.pci; in FillCellNearbyInfo()
739 cellInfo.serviceCells.nr.tac = cellPtr->ServiceCellParas.nr.tac; in FillCellNearbyInfo()
740 cellInfo.serviceCells.nr.nci = cellPtr->ServiceCellParas.nr.nci; in FillCellNearbyInfo()
872 cellInfo.serviceCells.nr.nrArfcn = hrilCellInfoVendor->ServiceCellParas.nr.nrArfcn; in FillCellInformationType()
873 cellInfo.serviceCells.nr.pci = hrilCellInfoVendor->ServiceCellParas.nr.pci; in FillCellInformationType()
874 cellInfo.serviceCells.nr.tac = hrilCellInfoVendor->ServiceCellParas.nr.tac; in FillCellInformationType()
[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/ril_adapter/test/unittest/ril_adapter_gtest/
Dril_callback_test.cpp443 TELEPHONY_LOGI("arfcn:%{public}d", info.serviceCells.nr.nrArfcn); in NetworkCurrentCellUpdated()
444 TELEPHONY_LOGI("psc:%{public}d", info.serviceCells.nr.pci); in NetworkCurrentCellUpdated()
445 TELEPHONY_LOGI("rscp:%{public}d", info.serviceCells.nr.tac); in NetworkCurrentCellUpdated()
446 TELEPHONY_LOGI("ecno:%{public}d", info.serviceCells.nr.nci); in NetworkCurrentCellUpdated()
485 TELEPHONY_LOGI("arfcn:%{public}d", info.serviceCells.nr.nrArfcn); in NetworkCurrentCellUpdated_1_1()
486 TELEPHONY_LOGI("psc:%{public}d", info.serviceCells.nr.pci); in NetworkCurrentCellUpdated_1_1()
487 TELEPHONY_LOGI("rscp:%{public}d", info.serviceCells.nr.tac); in NetworkCurrentCellUpdated_1_1()
488 TELEPHONY_LOGI("ecno:%{public}d", info.serviceCells.nr.nci); in NetworkCurrentCellUpdated_1_1()
614 TELEPHONY_LOGI("arfcn:%{public}d", info.serviceCells.nr.nrArfcn); in GetNeighboringCellInfoListResponse()
615 TELEPHONY_LOGI("psc:%{public}d", info.serviceCells.nr.pci); in GetNeighboringCellInfoListResponse()
[all …]
/base/telephony/core_service/services/network_search/test/
Dtest.cpp222 void TestNrSignalInformation(const NrSignalInformation &nr) in TestNrSignalInformation() argument
224 …TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation ToString:%{public}s", nr.ToString(… in TestNrSignalInformation()
225 … TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation NrRsrp:%{public}d", nr.GetRsrp()); in TestNrSignalInformation()
226 … TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation NrRsrq:%{public}d", nr.GetRsrq()); in TestNrSignalInformation()
227 … TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation NrSinr:%{public}d", nr.GetSinr()); in TestNrSignalInformation()
228 …TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation GetSignalLevel:%{public}d", nr.Get… in TestNrSignalInformation()
257 NrSignalInformation *nr = reinterpret_cast<NrSignalInformation *>(v.GetRefPtr()); in TestGetSignalInfoList() local
258 TestNrSignalInformation(*nr); in TestGetSignalInfoList()
670 NrCellInformation *nr = reinterpret_cast<NrCellInformation *>(v.GetRefPtr()); in TestGetCellInfoList() local
671 TELEPHONY_LOGI("result:%{public}s", nr->ToString().c_str()); in TestGetCellInfoList()
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_network_parcel.h389 CellRatNr nr; member
447 CellRatNrExt nr; member
629 CellListRatNr nr; member
Dhril_vendor_network_defs.h631 CellRatNr nr; member
804 CellRatNr nr; member
Dhril_types.h263 NrRssi nr; member
/base/telephony/core_service/test/unittest/core_service_gtest/
Dnetwork_search_test.cpp239 NrCellInformation *nr = reinterpret_cast<NrCellInformation *>(cell.GetRefPtr()); in PrintNrCellInformation() local
242 …static_cast<int32_t>(nr->GetNetworkType()), nr->GetPci(), nr->GetTac(), nr->GetArfcn(), (int32_t)n… in PrintNrCellInformation()
243 TELEPHONY_LOGI("CellInformation result:%{public}s", nr->ToString().c_str()); in PrintNrCellInformation()
245 nr->Marshalling(data); in PrintNrCellInformation()
246 nr->Unmarshalling(data); in PrintNrCellInformation()
251 NrCellInformation nrCellInformation = *nr; in PrintNrCellInformation()
367 NrSignalInformation *nr = reinterpret_cast<NrSignalInformation *>(signal.GetRefPtr()); in PrintNrSignalInformation() local
369 …"SignalLevel:%{public}d, value:%{public}d", static_cast<int32_t>(nr->GetNetworkType()), nr->GetRsr… in PrintNrSignalInformation()
370 nr->GetRsrq(), nr->GetSinr(), nr->GetSignalLevel(), nr->ValidateNrValue()); in PrintNrSignalInformation()
377 TELEPHONY_LOGI("SignalInformation nr is same as nrSignal:%{public}d", *nrSignal == *nr); in PrintNrSignalInformation()
[all …]
Dzero_branch_test.cpp170 cellNearbyInfo.ServiceCellParas.nr.nci = 1;
/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()
430 cout << "[cellInfo] -->[nrArfcn] : " << cellInfo.serviceCells.nr.nrArfcn << endl; in NetworkCurrentCellUpdated_1_1()
431 cout << "[cellInfo] -->[tac] : " << cellInfo.serviceCells.nr.tac << endl; in NetworkCurrentCellUpdated_1_1()
553 cout << "[cellInfo] -->[nrArfcn] : " << cellInfo.serviceCells.nr.nrArfcn << endl; in GetNeighboringCellInfoListResponse()
554 cout << "[cellInfo] -->[tac] : " << cellInfo.serviceCells.nr.tac << endl; in GetNeighboringCellInfoListResponse()
596 cout << "[cellInfo] -->[nrArfcn] : " << cellInfo.serviceCells.nr.nrArfcn << endl; in GetCurrentCellInfoResponse()
597 cout << "[cellInfo] -->[tac] : " << cellInfo.serviceCells.nr.tac << endl; in GetCurrentCellInfoResponse()
598 cout << "[cellInfo] -->[nci] : " << cellInfo.serviceCells.nr.nci << endl; in GetCurrentCellInfoResponse()
640 cout << "[cellInfo] -->[nrArfcn] : " << cellInfo.serviceCells.nr.nrArfcn << endl; in GetCurrentCellInfoResponse_1_1()
[all …]
/base/startup/init/services/modules/seccomp/scripts/
Dgenerate_code_from_policy.py132 for syscall_name, nr in name_to_nr.items():
143 syscalls[syscall_name] = nr
160 nr = eval(mark_pattern.sub(lambda x: str(name_to_nr.get(x.group(0))),
163 name_to_nr[name] = nr
257 nr, digit_flag = str_convert_to_int(self_define_syscall)
258 if digit_flag and nr not in self.function_name_nr_table.values():
259 self.self_define_syscall.add(nr)
300 for nr in self.self_define_syscall:
301 if nr in block_nr_list:
/base/telephony/ril_adapter/services/vendor/src/
Dat_network.c1067 if (NextInt(&pStr, &ci->ServiceCellParas.nr.nrArfcn) < 0) { in ParseCellInfoNr()
1070 if (NextInt(&pStr, &ci->ServiceCellParas.nr.pci) < 0) { in ParseCellInfoNr()
1073 if (NextInt(&pStr, &ci->ServiceCellParas.nr.tac) < 0) { in ParseCellInfoNr()
1076 if (NextInt64(&pStr, &ci->ServiceCellParas.nr.nci) < 0) { in ParseCellInfoNr()
1303 NextInt(&line, &response->ServiceCellParas.nr.nrArfcn); in ParseGetNrCellInfoLine()
1304 NextInt(&line, &response->ServiceCellParas.nr.pci); in ParseGetNrCellInfoLine()
1305 NextInt(&line, &response->ServiceCellParas.nr.tac); in ParseGetNrCellInfoLine()
1306 NextInt64(&line, &response->ServiceCellParas.nr.nci); in ParseGetNrCellInfoLine()
/base/telephony/core_service/interfaces/innerkits/include/
Dsignal_information.h255 bool operator==(const NrSignalInformation &nr) const;
/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/
Dhvigor-wrapper.js16 …t Qn(e,r,n)};const{stringify:tr}=Mn,{outputFileSync:nr}=Xn;var rr=function(e,t,n){const r=tr(t,n);