/base/startup/init/services/modules/seccomp/scripts/tools/ |
H A D | libc_static_analysis.py | 26 def __init__(self, arch, addr, func_name, nr):
27 self.nr = set()
28 self.nr |= nr
34 def merge_nr(self, nr):
35 self.nr |= nr
49 nrs = [keys[values.index(nr_item)] for nr_item in self.nr]
63 nr = nr_last
71 nr [all...] |
H A D | audit_log_analysis.py | 52 for nr in sorted(list(arch_nr_table.get(arch))):
53 syscall_name = name_nr_table.get(arch).get(nr)
55 raise ValueError('nr is not ilegal')
140 help='path to syscall to nr files')
|
H A D | collect_elf_syscall.py | 141 syscall_nr |= libc_func.nr
149 for nr in sorted(list(nr_set)):
150 func_name_list.append(name_nr_table.get(arch).get(nr))
294 # get the map of libc function to syscall nr used by the function
335 help='path to syscall to nr files')
337 help=('path to syscall to nr files\n'))
|
/base/telephony/core_service/services/network_search/src/ |
H A D | signal_info.cpp | 85 cur_.nr.SetValue(nrSignal.rsrp, nrSignal.rsrq, nrSignal.sinr); in ProcessNr() 86 bool ret = (cur_.nr == cache_.nr); in ProcessNr() 87 cache_.nr = cur_.nr; in ProcessNr() 110 TELEPHONY_LOGD("nr.rsrp:%{public}d, " in PrintfLog() 111 "nr.rsrq:%{public}d, nr.sinr:%{public}d ", in PrintfLog() 112 signalIntensity.nr.rsrp, signalIntensity.nr in PrintfLog() [all...] |
H A D | cell_info.cpp | 217 NrCellInformation *nr = reinterpret_cast<NrCellInformation *>(cell.GetRefPtr()); in ProcessCellLocation() local 218 if (nr->GetCellId() != cellId || nr->GetTac() != lac) { in ProcessCellLocation() 219 nr->UpdateLocation(cellId, lac); in ProcessCellLocation() 489 int32_t &nrArfcn = cellInfo->ServiceCellParas.nr.nrArfcn; in ProcessNeighboringCellNr() 490 int32_t &pci = cellInfo->ServiceCellParas.nr.pci; in ProcessNeighboringCellNr() 491 int32_t &tac = cellInfo->ServiceCellParas.nr.tac; in ProcessNeighboringCellNr() 492 int64_t &nci = cellInfo->ServiceCellParas.nr.nci; in ProcessNeighboringCellNr() 667 int32_t &nrArfcn = cellInfo->ServiceCellParas.nr.nrArfcn; in ProcessCurrentCellNr() 668 int32_t &pci = cellInfo->ServiceCellParas.nr in ProcessCurrentCellNr() [all...] |
/base/telephony/core_service/services/tel_ril/src/ |
H A D | tel_ril_network.cpp | 450 signalStrength->nr.rsrp = rssi.nr.rsrp; in BuildSignalStrength() 451 signalStrength->nr.rsrq = rssi.nr.rsrq; in BuildSignalStrength() 452 signalStrength->nr.sinr = rssi.nr.sinr; in BuildSignalStrength() 576 cellInfo.ServiceCellParas.nr.nrArfcn = info.serviceCells.nr.nrArfcn; in FillNrCellNearbyInfo() 577 cellInfo.ServiceCellParas.nr.pci = info.serviceCells.nr in FillNrCellNearbyInfo() [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/ |
H A D | unique_stack_table.cpp | 154 uint64_t UniqueStackTable::PutPcsInTable(StackId *stackId, uintptr_t* pcs, size_t nr) in PutPcsInTable() argument 161 int64_t reverseIndex = static_cast<int64_t>(nr); in PutPcsInTable() 176 stackId->section.nr = static_cast<uint64_t>(nr); in PutPcsInTable() 216 uint64_t nr = stackId.section.nr; in GetPcsByStackId() local 220 while (nr-- && node != nullptr) { in GetPcsByStackId()
|
/base/telephony/ril_adapter/services/hril/src/ |
H A D | hril_network.cpp | 858 rssi.nr.rsrp = rilRssi->nrRssi.rsrp; in ExchangeRilRssiToHdf() 859 rssi.nr.rsrq = rilRssi->nrRssi.rsrq; in ExchangeRilRssiToHdf() 860 rssi.nr.sinr = rilRssi->nrRssi.sinr; in ExchangeRilRssiToHdf() 922 cellInfo.serviceCells.nr.nrArfcn = cellPtr->ServiceCellParas.nr.nrArfcn; in FillCellNearbyInfo() 923 cellInfo.serviceCells.nr.pci = cellPtr->ServiceCellParas.nr.pci; in FillCellNearbyInfo() 924 cellInfo.serviceCells.nr.tac = cellPtr->ServiceCellParas.nr.tac; in FillCellNearbyInfo() 925 cellInfo.serviceCells.nr in FillCellNearbyInfo() [all...] |
/base/telephony/core_service/frameworks/native/src/ |
H A D | signal_information.cpp | 770 NrSignalInformation &NrSignalInformation::operator=(const NrSignalInformation &nr) in operator =() argument 772 signalBar_ = nr.signalBar_; in operator =() 773 nrRsrp_ = nr.nrRsrp_; in operator =() 774 nrRsrq_ = nr.nrRsrq_; in operator =() 775 nrSinr_ = nr.nrSinr_; in operator =() 776 signalLevel_ = nr.signalLevel_; in operator =() 780 bool NrSignalInformation::operator==(const NrSignalInformation &nr) const in operator ==() 782 return nrRsrp_ == nr.nrRsrp_ && nrRsrq_ == nr.nrRsrq_ && nrSinr_ == nr in operator ==() 855 std::unique_ptr<NrSignalInformation> nr = std::make_unique<NrSignalInformation>(); NewInstance() local [all...] |
/base/telephony/core_service/services/network_search/include/ |
H A D | signal_info.h | 57 nr.SetValue(); in Init() 64 NrSignalInformation nr; member
|
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
H A D | ril_callback_test.cpp | 465 TELEPHONY_LOGI("arfcn:%{public}d", info.serviceCells.nr.nrArfcn); in NetworkCurrentCellUpdated() 466 TELEPHONY_LOGI("psc:%{public}d", info.serviceCells.nr.pci); in NetworkCurrentCellUpdated() 467 TELEPHONY_LOGI("rscp:%{public}d", info.serviceCells.nr.tac); in NetworkCurrentCellUpdated() 468 TELEPHONY_LOGI("ecno:%{public}d", info.serviceCells.nr.nci); in NetworkCurrentCellUpdated() 508 TELEPHONY_LOGI("arfcn:%{public}d", info.serviceCells.nr.nrArfcn); in NetworkCurrentCellUpdated_1_1() 509 TELEPHONY_LOGI("psc:%{public}d", info.serviceCells.nr.pci); in NetworkCurrentCellUpdated_1_1() 510 TELEPHONY_LOGI("rscp:%{public}d", info.serviceCells.nr.tac); in NetworkCurrentCellUpdated_1_1() 511 TELEPHONY_LOGI("ecno:%{public}d", info.serviceCells.nr.nci); in NetworkCurrentCellUpdated_1_1() 551 TELEPHONY_LOGI("arfcn:%{public}d", info.serviceCells.nr.nrArfcn); in NetworkCurrentCellUpdated_1_2() 552 TELEPHONY_LOGI("psc:%{public}d", info.serviceCells.nr in NetworkCurrentCellUpdated_1_2() [all...] |
/base/telephony/core_service/test/unittest/core_service_gtest/ |
H A D | network_search_test.cpp | 239 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)nr->GetNci()); 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() 255 PrintNrSsbIdInfo(std::shared_ptr<NrSsbInformation> nr) PrintNrSsbIdInfo() argument 398 NrSignalInformation *nr = reinterpret_cast<NrSignalInformation *>(signal.GetRefPtr()); PrintNrSignalInformation() local 799 sptr<NrSignalInformation> nr = new NrSignalInformation(); HWTEST_F() local 922 sptr<NrCellInformation> nr = new NrCellInformation(); HWTEST_F() local [all...] |
H A D | network_search_test.h | 213 void PrintNrSsbIdInfo(std::shared_ptr<NrSsbInformation> nr);
|
H A D | zero_branch_test_core_service.cpp | 801 std::shared_ptr<SignalInformation> nr = std::make_shared<NrSignalInformation>(); in HWTEST_F() local 803 if (gsm == nullptr || cdma == nullptr || wcdma == nullptr || lte == nullptr || nr == nullptr || in HWTEST_F() 819 nr->GetSignalLevel(); in HWTEST_F() 820 nr->SetSignalLevel(SIGNAL_STRENGTH_GOOD); in HWTEST_F() 821 EXPECT_EQ(nr->GetSignalLevel(), SIGNAL_STRENGTH_GOOD); in HWTEST_F()
|
H A D | zero_branch_test.cpp | 197 cellNearbyInfo.ServiceCellParas.nr.nci = 1; in HWTEST_F()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/async_stack/include/ |
H A D | unique_stack_table.h | 70 uint64_t nr : NR_BIT_LENGTH; member 108 uint64_t PutPcsInTable(StackId *stackId, uintptr_t *pcs, size_t nr);
|
/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | tel_ril_network_parcel.h | 393 CellRatNr nr; member 451 CellRatNrExt nr; member 633 CellListRatNr nr; member
|
H A D | tel_ril_types.h | 214 NrRssi nr; member
|
H A D | signal_information.h | 262 NrSignalInformation &operator=(const NrSignalInformation &nr); 263 bool operator==(const NrSignalInformation &nr) const;
|
/base/telephony/core_service/services/network_search/test/ |
H A D | test.cpp | 232 void TestNrSignalInformation(const NrSignalInformation &nr) in TestNrSignalInformation() argument 234 TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation ToString:%{public}s", nr.ToString().c_str()); in TestNrSignalInformation() 235 TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation NrRsrp:%{public}d", nr.GetRsrp()); in TestNrSignalInformation() 236 TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation NrRsrq:%{public}d", nr.GetRsrq()); in TestNrSignalInformation() 237 TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation NrSinr:%{public}d", nr.GetSinr()); in TestNrSignalInformation() 238 TELEPHONY_LOGI("TelephonyTestService Remote NrSignalInformation GetSignalLevel:%{public}d", nr.GetSignalLevel()); in TestNrSignalInformation() 267 NrSignalInformation *nr = reinterpret_cast<NrSignalInformation *>(v.GetRefPtr()); in TestGetSignalInfoList() local 268 TestNrSignalInformation(*nr); in TestGetSignalInfoList() 329 std::cout << "please input nr mode:" << std::endl; in TestSetNrOptionMode() 696 NrCellInformation *nr in TestGetCellInfoList() local [all...] |
/base/telephony/ril_adapter/test/unittest/ |
H A D | ril_callback_test.cpp | 404 cout << "[cellInfo] -->[nrArfcn] : " << cellInfo.serviceCells.nr.nrArfcn << endl;
in NetworkCurrentCellUpdated() 405 cout << "[cellInfo] -->[tac] : " << cellInfo.serviceCells.nr.tac << endl;
in NetworkCurrentCellUpdated() 446 cout << "[cellInfo] -->[nrArfcn] : " << cellInfo.serviceCells.nr.nrArfcn << endl;
in NetworkCurrentCellUpdated_1_1() 447 cout << "[cellInfo] -->[tac] : " << cellInfo.serviceCells.nr.tac << endl;
in NetworkCurrentCellUpdated_1_1() 488 cout << "[cellInfo] -->[nrArfcn] : " << cellInfo.serviceCells.nr.nrArfcn << endl;
in NetworkCurrentCellUpdated_1_2() 489 cout << "[cellInfo] -->[tac] : " << cellInfo.serviceCells.nr.tac << endl;
in NetworkCurrentCellUpdated_1_2() 620 cout << "[cellInfo] -->[nrArfcn] : " << cellInfo.serviceCells.nr.nrArfcn << endl;
in GetNeighboringCellInfoListResponse() 621 cout << "[cellInfo] -->[tac] : " << cellInfo.serviceCells.nr.tac << endl;
in GetNeighboringCellInfoListResponse() 661 cout << "[cellInfo] -->[nrArfcn] : " << cellInfo.serviceCells.nr.nrArfcn << endl;
in GetNeighboringCellInfoListResponse_1_2() 662 cout << "[cellInfo] -->[tac] : " << cellInfo.serviceCells.nr in GetNeighboringCellInfoListResponse_1_2() [all...] |
/base/telephony/ril_adapter/interfaces/innerkits/include/ |
H A D | hril_vendor_network_defs.h | 631 CellRatNr nr; member 804 CellRatNr nr; member
|
/base/startup/init/services/modules/seccomp/scripts/ |
H A D | generate_code_from_policy.py | 133 for syscall_name, nr in name_to_nr.items(): 147 syscalls[syscall_name] = nr 164 nr = eval(mark_pattern.sub(lambda x: str(name_to_nr.get(x.group(0))), 167 name_to_nr[name] = nr 261 nr, digit_flag = str_convert_to_int(self_define_syscall) 262 if digit_flag and nr not in self.function_name_nr_table.values(): 263 self.self_define_syscall.add(nr) 304 for nr in self.self_define_syscall: 305 if nr in block_nr_list: 765 #load syscall nr [all...] |
/base/telephony/ril_adapter/services/vendor/src/ |
H A D | at_network.c | 1068 if (NextInt(&pStr, &ci->ServiceCellParas.nr.nrArfcn) < 0) { in ParseCellInfoNr() 1071 if (NextInt(&pStr, &ci->ServiceCellParas.nr.pci) < 0) { in ParseCellInfoNr() 1074 if (NextInt(&pStr, &ci->ServiceCellParas.nr.tac) < 0) { in ParseCellInfoNr() 1077 if (NextInt64(&pStr, &ci->ServiceCellParas.nr.nci) < 0) { in ParseCellInfoNr() 1120 TELEPHONY_LOGE("parse nr command failed!"); in ParseCellInfos() 1304 NextInt(&line, &response->ServiceCellParas.nr.nrArfcn); in ParseGetNrCellInfoLine() 1305 NextInt(&line, &response->ServiceCellParas.nr.pci); in ParseGetNrCellInfoLine() 1306 NextInt(&line, &response->ServiceCellParas.nr.tac); in ParseGetNrCellInfoLine() 1307 NextInt64(&line, &response->ServiceCellParas.nr.nci); in ParseGetNrCellInfoLine()
|