Lines Matching refs:permission
74 Permission permission, bool add);
78 Permission permission) override;
80 Permission permission) override;
82 [[nodiscard]] int modifyFallthrough(const std::string& physicalInterface, Permission permission,
97 Permission permission, bool add) { in modifyFallthrough() argument
101 permission)) { in modifyFallthrough()
109 permission)) { in modifyFallthrough()
119 Permission permission) { in addFallthrough() argument
120 return modifyFallthrough(physicalInterface, permission, true); in addFallthrough()
124 Permission permission) { in removeFallthrough() argument
125 return modifyFallthrough(physicalInterface, permission, false); in removeFallthrough()
129 Permission permission, bool add) { in modifyFallthrough() argument
132 if (int ret = modifyFallthrough(entry.first, physicalInterface, permission, add)) { in modifyFallthrough()
208 fwmark.permission = PERMISSION_SYSTEM; in getNetworkForDnsLocked()
324 fwmark.permission = getPermissionForUserLocked(uid); in getNetworkContext()
363 int NetworkController::createPhysicalNetworkLocked(unsigned netId, Permission permission) { in createPhysicalNetworkLocked() argument
376 if (int ret = physicalNetwork->setPermission(permission)) { in createPhysicalNetworkLocked()
389 int NetworkController::createPhysicalNetwork(unsigned netId, Permission permission) { in createPhysicalNetwork() argument
391 return createPhysicalNetworkLocked(netId, permission); in createPhysicalNetwork()
394 int NetworkController::createPhysicalOemNetwork(Permission permission, unsigned *pNetId) { in createPhysicalOemNetwork() argument
412 int ret = createPhysicalNetworkLocked(*pNetId, permission); in createPhysicalOemNetwork()
543 void NetworkController::setPermissionForUsers(Permission permission, in setPermissionForUsers() argument
547 mUsers[uid] = permission; in setPermissionForUsers()
556 int NetworkController::setPermissionForNetworks(Permission permission, in setPermissionForNetworks() argument
570 if (int ret = static_cast<PhysicalNetwork*>(network)->setPermission(permission)) { in setPermissionForNetworks()
714 Permission permission = reinterpret_cast<PhysicalNetwork*>(network)->getPermission(); in dump() local
715 dw.println("Required permission: %s", permissionToName(permission)); in dump()
856 Permission permission = static_cast<PhysicalNetwork*>(network)->getPermission(); in modifyFallthroughLocked() local
858 if (int ret = mDelegateImpl->modifyFallthrough(vpnNetId, physicalInterface, permission, in modifyFallthroughLocked()