Searched refs:powerSaveAllowedList_ (Results 1 - 5 of 5) sorted by relevance
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/ |
H A D | net_policy_firewall.cpp | 34 GetFileInst()->ReadFirewallRules(FIREWALL_CHAIN_POWER_SAVE, powerSaveAllowedList_, powerSaveDeniedList_); in Init() 37 powerSaveFirewallRule_->SetAllowedList(powerSaveAllowedList_); in Init() 42 if (powerSaveAllowedList_.size() > MAX_LIST_SIZE) { in SetDeviceIdleTrustlist() 59 if (powerSaveAllowedList_.size() > MAX_LIST_SIZE) { in SetPowerSaveTrustlist() 64 GetFileInst()->WriteFirewallRules(FIREWALL_CHAIN_POWER_SAVE, powerSaveAllowedList_, powerSaveDeniedList_); in SetPowerSaveTrustlist() 73 eventData->powerSaveList = powerSaveAllowedList_; in SetPowerSaveTrustlist() 91 powerSaveAllowedList_.emplace(uid); in UpdateFirewallPolicyList() 93 powerSaveAllowedList_.erase(uid); in UpdateFirewallPolicyList() 195 powerSaveAllowedList_.clear(); in ResetPolicies() 197 GetFileInst()->WriteFirewallRules(FIREWALL_CHAIN_POWER_SAVE, powerSaveAllowedList_, powerSaveDeniedList in ResetPolicies() [all...] |
H A D | net_policy_rule.cpp | 375 return std::find(powerSaveAllowedList_.begin(), powerSaveAllowedList_.end(), uid) != powerSaveAllowedList_.end(); in InPowerSaveAllowedList() 412 powerSaveAllowedList_ = policyEvent->powerSaveList; in HandleEvent() 470 std::for_each(powerSaveAllowedList_.begin(), powerSaveAllowedList_.end(), in GetDumpMessage()
|
/foundation/communication/netmanager_base/services/netpolicymanager/include/ |
H A D | net_policy_firewall.h | 105 std::set<uint32_t> powerSaveAllowedList_; member in OHOS::NetManagerStandard::NetPolicyFirewall
|
H A D | net_policy_rule.h | 211 std::set<uint32_t> powerSaveAllowedList_; member in OHOS::NetManagerStandard::NetPolicyRule
|
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_service_test/ |
H A D | net_policy_service_test.cpp | 173 instance_->netPolicyFirewall_->powerSaveAllowedList_.insert(i); in HWTEST_F()
|
Completed in 3 milliseconds