Lines Matching refs:netId

473                 unsigned netId = stringToNetId(argv[3]);  in runCommand()  local
477 status = mNetd->tetherDnsSet(netId, tetherDnsAddrs); in runCommand()
992 unsigned netId = stringToNetId(argv[nextArg++]); in runCommand() local
999 status = add ? mNetd->networkAddLegacyRoute(netId, interface, destination, nexthop, uid) in runCommand()
1001 : mNetd->networkRemoveLegacyRoute(netId, interface, destination, nexthop, in runCommand()
1004 status = add ? mNetd->networkAddRoute(netId, interface, destination, nexthop) in runCommand()
1005 : mNetd->networkRemoveRoute(netId, interface, destination, nexthop); in runCommand()
1023 unsigned netId = stringToNetId(argv[3]); in runCommand() local
1025 if (Status status = mNetd->networkAddInterface(netId, argv[4]); !status.isOk()) { in runCommand()
1030 if (Status status = mNetd->networkRemoveInterface(netId, argv[4]); !status.isOk()) { in runCommand()
1049 unsigned netId = stringToNetId(argv[2]); in runCommand() local
1052 if (Status status = mNetd->networkCreateVpn(netId, secure); !status.isOk()) { in runCommand()
1066 if (Status status = mNetd->networkCreatePhysical(netId, permission); !status.isOk()) { in runCommand()
1080 unsigned netId = stringToNetId(argv[2]); in runCommand() local
1082 if (Status status = mNetd->networkDestroy(netId); !status.isOk()) { in runCommand()
1086 mDnsResolver->destroyNetworkCache(netId); in runCommand()
1097 unsigned netId = NETID_UNSET; in runCommand() local
1102 netId = stringToNetId(argv[3]); in runCommand()
1106 if (Status status = mNetd->networkSetDefault(netId); !status.isOk()) { in runCommand()
1161 for (auto netId : ids) { in runCommand() local
1162 Status status = mNetd->networkSetPermissionForNetwork(netId, permission); in runCommand()
1179 unsigned netId = stringToNetId(argv[3]); in runCommand() local
1185 if (Status status = mNetd->networkAddUidRanges(netId, uidRanges.getRanges()); in runCommand()
1191 if (Status status = mNetd->networkRemoveUidRanges(netId, uidRanges.getRanges()); in runCommand()