Home
last modified time | relevance | path

Searched refs:isValidSubPriority (Results 1 – 7 of 7) sorted by relevance

/system/netd/server/
DUnreachableNetwork.cpp30 if (!isValidSubPriority(subPriority) || !canAddUidRanges(uidRanges, subPriority)) { in addUsers()
44 if (!isValidSubPriority(subPriority)) return -EINVAL; in removeUsers()
56 bool UnreachableNetwork::isValidSubPriority(uint32_t priority) { in isValidSubPriority() function in android::net::UnreachableNetwork
DVirtualNetwork.cpp35 if (!isValidSubPriority(subPriority) || !canAddUidRanges(uidRanges, subPriority)) { in addUsers()
52 if (!isValidSubPriority(subPriority)) return -EINVAL; in removeUsers()
92 bool VirtualNetwork::isValidSubPriority(uint32_t priority) { in isValidSubPriority() function in android::net::VirtualNetwork
DUnreachableNetwork.h33 bool isValidSubPriority(uint32_t priority) override;
DPhysicalNetwork.cpp162 if (!isValidSubPriority(subPriority) || !canAddUidRanges(uidRanges, subPriority)) { in addUsers()
179 if (!isValidSubPriority(subPriority)) return -EINVAL; in removeUsers()
233 bool PhysicalNetwork::isValidSubPriority(uint32_t priority) { in isValidSubPriority() function in android::net::PhysicalNetwork
DVirtualNetwork.h45 bool isValidSubPriority(uint32_t priority) override;
DPhysicalNetwork.h56 bool isValidSubPriority(uint32_t priority) override;
DNetwork.h62 virtual bool isValidSubPriority(uint32_t /*priority*/) { return false; } in isValidSubPriority() function