Home
last modified time | relevance | path

Searched refs:backgroundAllow_ (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_rule.cpp30 backgroundAllow_ = GetFileInst()->ReadBackgroundPolicy(); in Init()
252 NETMGR_LOG_I("IsUidNetAllowed:rule[%{public}u], backgroundAllow_[%{public}d]", rule, backgroundAllow_); in IsUidNetAllowed()
278 if (!backgroundAllow_) { in IsUidNetAllowed()
289 if (backgroundAllow_ != allow) { in SetBackgroundPolicy()
291 backgroundAllow_ = allow; in SetBackgroundPolicy()
313 if (backgroundAllow_) { in GetBackgroundPolicyByUid()
337 NETMGR_LOG_I("GetBackgroundPolicy:backgroundAllow_[%{public}d", backgroundAllow_); in GetBackgroundPolicy()
338 backgroundPolicy = backgroundAllow_; in GetBackgroundPolicy()
[all...]
/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dnet_policy_rule.h207 bool backgroundAllow_ = true; member in OHOS::NetManagerStandard::NetPolicyRule

Completed in 2 milliseconds