Lines Matching defs:res

124 #define RETURN_BINDER_STATUS_IF_NOT_OK(logEntry, res) \  argument
290 int res = gCtls->bandwidthCtrl.setInterfaceQuota(ifName, bytes); in bandwidthSetInterfaceQuota() local
296 int res = gCtls->bandwidthCtrl.removeInterfaceQuota(ifName); in bandwidthRemoveInterfaceQuota() local
303 int res = gCtls->bandwidthCtrl.setInterfaceAlert(ifName, bytes); in bandwidthSetInterfaceAlert() local
309 int res = gCtls->bandwidthCtrl.removeInterfaceAlert(ifName); in bandwidthRemoveInterfaceAlert() local
315 int res = gCtls->bandwidthCtrl.setGlobalAlert(bytes); in bandwidthSetGlobalAlert() local
322 int res = gCtls->bandwidthCtrl.addNaughtyApps(appStrUids); in bandwidthAddNaughtyApp() local
329 int res = gCtls->bandwidthCtrl.removeNaughtyApps(appStrUids); in bandwidthRemoveNaughtyApp() local
336 int res = gCtls->bandwidthCtrl.addNiceApps(appStrUids); in bandwidthAddNiceApp() local
343 int res = gCtls->bandwidthCtrl.removeNiceApps(appStrUids); in bandwidthRemoveNiceApp() local
758 int res = in idletimerAddInterface() local
767 int res = gCtls->idletimerCtrl.removeInterfaceIdletimer(ifName.c_str(), timeout, in idletimerRemoveInterface() local
789 int res = gCtls->strictCtrl.setUidCleartextPenalty((uid_t) uid, penalty); in strictUidCleartextPenalty() local
796 int res = gCtls->clatdCtrl.startClatd(ifName.c_str(), nat64Prefix, v6Addr); in clatdStart() local
802 int res = gCtls->clatdCtrl.stopClatd(ifName.c_str()); in clatdStop() local
822 int res = (gCtls->tetherCtrl.enableForwarding(requester.c_str())) ? 0 : -EREMOTEIO; in ipfwdEnableForwarding() local
828 int res = (gCtls->tetherCtrl.disableForwarding(requester.c_str())) ? 0 : -EREMOTEIO; in ipfwdDisableForwarding() local
835 int res = RouteController::enableTethering(fromIface.c_str(), toIface.c_str()); in ipfwdAddInterfaceForward() local
842 int res = RouteController::disableTethering(fromIface.c_str(), toIface.c_str()); in ipfwdRemoveInterfaceForward() local
893 const auto& res = InterfaceController::setCfg(cfg); in interfaceSetCfg() local
903 int res = InterfaceController::setIPv6PrivacyExtensions(ifName.c_str(), enable); in interfaceSetIPv6PrivacyExtensions() local
909 int res = InterfaceController::clearAddrs(ifName.c_str()); in interfaceClearAddrs() local
915 int res = InterfaceController::setEnableIPv6(ifName.c_str(), enable); in interfaceSetEnableIPv6() local
922 int res = InterfaceController::setMtu(ifName.c_str(), mtu.c_str()); in interfaceSetMtu() local
939 int res = gCtls->tetherCtrl.startTethering(config.usingLegacyDnsProxy, config.dhcpRanges); in tetherStartWithConfiguration() local
945 int res = gCtls->tetherCtrl.stopTethering(); in tetherStop() local
957 int res = gCtls->tetherCtrl.tetherInterface(ifName.c_str()); in tetherInterfaceAdd() local
963 int res = gCtls->tetherCtrl.untetherInterface(ifName.c_str()); in tetherInterfaceRemove() local
978 int res = gCtls->tetherCtrl.setDnsForwarders(netId, dnsAddrs); in tetherDnsSet() local
998 int res = gCtls->netCtrl.addRoute(netId, route.ifName.c_str(), route.destination.c_str(), in networkAddRouteParcel() local
1012 int res = gCtls->netCtrl.updateRoute(netId, route.ifName.c_str(), route.destination.c_str(), in networkUpdateRouteParcel() local
1030 int res = gCtls->netCtrl.addRoute(netId, ifName.c_str(), destination.c_str(), in networkAddRoute() local
1041 int res = gCtls->netCtrl.removeRoute(netId, ifName.c_str(), destination.c_str(), in networkRemoveRoute() local
1051 int res = gCtls->netCtrl.addRoute(netId, ifName.c_str(), destination.c_str(), in networkAddLegacyRoute() local
1063 int res = gCtls->netCtrl.removeRoute(netId, ifName.c_str(), destination.c_str(), in networkRemoveLegacyRoute() local
1077 int res = gCtls->netCtrl.setDefaultNetwork(netId); in networkSetDefault() local
1084 int res = gCtls->netCtrl.setDefaultNetwork(netId); in networkClearDefault() local
1107 int res = gCtls->netCtrl.setPermissionForNetworks(convertPermission(permission), netIds); in networkSetPermissionForNetwork() local
1156 int res = gCtls->firewallCtrl.setFirewallType(type); in firewallSetFirewallType() local
1165 int res = gCtls->firewallCtrl.setInterfaceRule(ifName.c_str(), rule); in firewallSetInterfaceRule() local
1175 int res = gCtls->firewallCtrl.setUidRule(chain, uid, rule); in firewallSetUidRule() local
1183 int res = gCtls->firewallCtrl.enableChildChains(chain, enable); in firewallEnableChildChain() local
1206 int res = gCtls->tetherCtrl.enableNat(intIface.c_str(), extIface.c_str()); in tetherAddForward() local
1213 int res = gCtls->tetherCtrl.disableNat(intIface.c_str(), extIface.c_str()); in tetherRemoveForward() local
1302 int res = gCtls->tetherCtrl.setTetherOffloadInterfaceQuota(ifIndex, quotaBytes); in tetherOffloadSetInterfaceQuota() local