Home
last modified time | relevance | path

Searched refs:netSupplier (Results 1 - 3 of 3) sorted by relevance

/base/telephony/cellular_data/services/src/utils/
H A Dcellular_data_net_agent.cpp44 for (NetSupplier &netSupplier : netSuppliers_) { in RegisterNetSupplier()
45 if (netSupplier.slotId != slotId) { in RegisterNetSupplier()
49 if (netSupplier.capability > NetCap::NET_CAPABILITY_INTERNAL_DEFAULT) { in RegisterNetSupplier()
50 TELEPHONY_LOGE("capabilities(%{public}" PRIu64 ") not support", netSupplier.capability); in RegisterNetSupplier()
53 int32_t simId = CoreManagerInner::GetInstance().GetSimId(netSupplier.slotId); in RegisterNetSupplier()
58 std::set<NetCap> netCap { static_cast<NetCap>(netSupplier.capability) }; in RegisterNetSupplier()
66 netSupplier.supplierId = supplierId; in RegisterNetSupplier()
67 netSupplier.simId = simId; in RegisterNetSupplier()
68 int32_t regCallback = netManager.RegisterNetSupplierCallback(netSupplier.supplierId, callBack_); in RegisterNetSupplier()
73 int32_t updateResult = UpdateNetSupplierInfo(netSupplier in RegisterNetSupplier()
174 AddNetSupplier(const NetSupplier &netSupplier) AddNetSupplier() argument
[all...]
/base/telephony/cellular_data/services/include/utils/
H A Dcellular_data_net_agent.h87 * @param netSupplier a specific network
89 void AddNetSupplier(const NetSupplier &netSupplier);
/base/telephony/cellular_data/services/src/
H A Dcellular_data_service.cpp327 NetSupplier netSupplier = { 0 }; in AddNetSupplier() local
328 netSupplier.supplierId = 0; in AddNetSupplier()
329 netSupplier.slotId = slotId; in AddNetSupplier()
330 netSupplier.simId = INVALID_SIM_ID; in AddNetSupplier()
331 netSupplier.capability = capability; in AddNetSupplier()
332 netSupplier.regState = SUPPLIER_INVALID_REG_STATE; in AddNetSupplier()
333 netAgent.AddNetSupplier(netSupplier); in AddNetSupplier()

Completed in 3 milliseconds