Lines Matching refs:supplier
78 bool NetActivate::MatchRequestAndNetwork(sptr<NetSupplier> supplier, bool skipCheckIdent)
80 NETMGR_LOG_D("supplier[%{public}d, %{public}s], request[%{public}d]",
81 (supplier ? supplier->GetSupplierId() : 0),
82 (supplier ? supplier->GetNetSupplierIdent().c_str() : "nullptr"), requestId_);
83 if (supplier == nullptr) {
87 if (!CompareByNetworkCapabilities(supplier->GetNetCaps())) {
88 NETMGR_LOG_D("Supplier[%{public}d], request[%{public}d], capability is not matched", supplier->GetSupplierId(),
92 if (!CompareByNetworkNetType((supplier->GetNetSupplierType()))) {
94 supplier->GetSupplierId(), requestId_);
97 if (!CompareByNetworkIdent(supplier->GetNetSupplierIdent(), supplier->GetNetSupplierType(),
100 supplier->GetSupplierId(), requestId_);
103 NetAllCapabilities netAllCaps = supplier->GetNetCapabilities();
105 NETMGR_LOG_W("Supplier[%{public}d], request[%{public}d], supplier net band not matched",
106 supplier->GetSupplierId(), requestId_);