• Home
  • Raw
  • Download

Lines Matching refs:mNetd

118 sp<INetd> NdcDispatcher::mNetd;  member in android::net::NdcDispatcher
126 NdcDispatcher::mNetd = interface_cast<INetd>(binderNetd); in NdcDispatcher()
175 Status status = mNetd->interfaceGetList(&interfaceGetList); in runCommand()
199 Status status = mNetd->interfaceGetCfg(std::string(argv[2]), &interfaceCfgResult); in runCommand()
240 Status status = mNetd->interfaceSetCfg(interfaceCfg); in runCommand()
255 Status status = mNetd->interfaceSetCfg(interfaceCfg); in runCommand()
266 Status status = mNetd->interfaceSetCfg(interfaceCfg); in runCommand()
290 mNetd->interfaceClearAddrs(std::string(argv[2])); in runCommand()
302 Status status = mNetd->interfaceSetIPv6PrivacyExtensions(std::string(argv[2]), enable); in runCommand()
319 Status status = mNetd->interfaceSetEnableIPv6(std::string(argv[2]), enable); in runCommand()
336 Status status = mNetd->interfaceSetMtu(std::string(argv[2]), mtuValue); in runCommand()
363 mNetd->ipfwdEnabled(&ipfwdEnabled); in runCommand()
374 status = mNetd->ipfwdEnableForwarding(argv[2]); in runCommand()
377 status = mNetd->ipfwdDisableForwarding(argv[2]); in runCommand()
385 status = mNetd->ipfwdAddInterfaceForward(argv[2], argv[3]); in runCommand()
388 status = mNetd->ipfwdRemoveInterfaceForward(argv[2], argv[3]); in runCommand()
417 status = mNetd->tetherStop(); in runCommand()
420 mNetd->tetherIsEnabled(&tetherEnabled); in runCommand()
428 mNetd->tetherInterfaceList(&ifList); in runCommand()
445 status = mNetd->tetherStart(dhcpRanges); in runCommand()
457 status = mNetd->tetherInterfaceAdd(argv[3]); in runCommand()
459 status = mNetd->tetherInterfaceRemove(argv[3]); in runCommand()
477 status = mNetd->tetherDnsSet(netId, tetherDnsAddrs); in runCommand()
514 status = mNetd->tetherAddForward(argv[2], argv[3]); in runCommand()
516 status = mNetd->tetherRemoveForward(argv[2], argv[3]); in runCommand()
568 int rc = !mNetd->bandwidthRemoveInterfaceQuota(argv[2]).isOk(); in runCommand()
579 int rc = !mNetd->bandwidthSetInterfaceQuota(argv[2], bytes).isOk(); in runCommand()
592 rc = !mNetd->bandwidthAddNaughtyApp(uid).isOk(); in runCommand()
607 rc = !mNetd->bandwidthRemoveNaughtyApp(uid).isOk(); in runCommand()
622 rc = !mNetd->bandwidthAddNiceApp(uid).isOk(); in runCommand()
637 rc = !mNetd->bandwidthRemoveNiceApp(uid).isOk(); in runCommand()
650 int rc = !mNetd->bandwidthSetGlobalAlert(bytes).isOk(); in runCommand()
661 int rc = !mNetd->bandwidthSetInterfaceAlert(argv[2], bytes).isOk(); in runCommand()
670 int rc = !mNetd->bandwidthRemoveInterfaceAlert(argv[2]).isOk(); in runCommand()
699 Status status = mNetd->idletimerAddInterface(argv[2], timeout, argv[4]); in runCommand()
714 Status status = mNetd->idletimerRemoveInterface(argv[2], timeout, argv[4]); in runCommand()
789 int res = !mNetd->firewallSetFirewallType(parseFirewallType(argv[2])).isOk(); in runCommand()
799 int res = !mNetd->firewallSetInterfaceRule(argv[2], parseRule(argv[3])).isOk(); in runCommand()
819 int res = !mNetd->firewallSetUidRule(childChain, uid, parseRule(argv[4])).isOk(); in runCommand()
829 int res = !mNetd->firewallEnableChildChain(parseChildChain(argv[2]), true).isOk(); in runCommand()
839 int res = !mNetd->firewallEnableChildChain(parseChildChain(argv[2]), false).isOk(); in runCommand()
859 rc = !mNetd->clatdStop(argv[2]).isOk(); in runCommand()
865 rc = !mNetd->clatdStart(argv[2], argv[3], &v6Addr).isOk(); in runCommand()
931 int res = !mNetd->strictUidCleartextPenalty(uid, penalty).isOk(); in runCommand()
1001 status = add ? mNetd->networkAddLegacyRoute(netId, interface, destination, nexthop, uid) in runCommand()
1003 : mNetd->networkRemoveLegacyRoute(netId, interface, destination, nexthop, in runCommand()
1006 status = add ? mNetd->networkAddRoute(netId, interface, destination, nexthop) in runCommand()
1007 : mNetd->networkRemoveRoute(netId, interface, destination, nexthop); in runCommand()
1027 if (Status status = mNetd->networkAddInterface(netId, argv[4]); !status.isOk()) { in runCommand()
1032 if (Status status = mNetd->networkRemoveInterface(netId, argv[4]); !status.isOk()) { in runCommand()
1056 if (Status status = mNetd->networkCreateVpn(netId, secure); !status.isOk()) { in runCommand()
1073 if (Status status = mNetd->networkCreatePhysical(netId, permission); !status.isOk()) { in runCommand()
1090 if (Status status = mNetd->networkDestroy(netId); !status.isOk()) { in runCommand()
1114 if (Status status = mNetd->networkSetDefault(netId); !status.isOk()) { in runCommand()
1166 mNetd->networkSetPermissionForUser(permission, ids); in runCommand()
1170 Status status = mNetd->networkSetPermissionForNetwork(netId, permission); in runCommand()
1193 if (Status status = mNetd->networkAddUidRanges(netId, uidRanges.getRanges()); in runCommand()
1199 if (Status status = mNetd->networkRemoveUidRanges(netId, uidRanges.getRanges()); in runCommand()
1225 mNetd->networkSetProtectAllow(uid); in runCommand()
1229 mNetd->networkSetProtectDeny(uid); in runCommand()