Lines Matching refs:secure
510 bool secure, bool add) { in modifyVpnUidRangeRule() argument
519 if (secure) { in modifyVpnUidRangeRule()
537 [[nodiscard]] static int modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, in modifyVpnSystemPermissionRule() argument
548 uint32_t priority = secure ? RULE_PRIORITY_SECURE_VPN : RULE_PRIORITY_BYPASSABLE_VPN; in modifyVpnSystemPermissionRule()
816 const UidRanges& uidRanges, bool secure, bool add, in modifyVirtualNetwork() argument
824 if (int ret = modifyVpnUidRangeRule(table, range.start, range.stop, secure, add)) { in modifyVirtualNetwork()
844 if (int ret = modifyVpnSystemPermissionRule(netId, table, secure, add)) { in modifyVirtualNetwork()
1076 bool secure, const UidRanges& uidRanges) { in addInterfaceToVirtualNetwork() argument
1077 if (int ret = modifyVirtualNetwork(netId, interface, uidRanges, secure, ACTION_ADD, in addInterfaceToVirtualNetwork()
1086 bool secure, const UidRanges& uidRanges) { in removeInterfaceFromVirtualNetwork() argument
1087 if (int ret = modifyVirtualNetwork(netId, interface, uidRanges, secure, ACTION_DEL, in removeInterfaceFromVirtualNetwork()
1116 int RouteController::addUsersToVirtualNetwork(unsigned netId, const char* interface, bool secure, in addUsersToVirtualNetwork() argument
1118 return modifyVirtualNetwork(netId, interface, uidRanges, secure, ACTION_ADD, in addUsersToVirtualNetwork()
1123 bool secure, const UidRanges& uidRanges) { in removeUsersFromVirtualNetwork() argument
1124 return modifyVirtualNetwork(netId, interface, uidRanges, secure, ACTION_DEL, in removeUsersFromVirtualNetwork()