Lines Matching defs:iface

1120         final String iface = (lp == null ? "" : lp.getInterfaceName());
1121 return mPolicyManagerInternal.isUidNetworkingBlocked(uid, iface);
1566 String iface = bestRoute.getInterface();
1569 bestRoute = RouteInfo.makeHostRoute(addr, iface);
1573 bestRoute = RouteInfo.makeHostRoute(addr, bestRoute.getGateway(), iface);
1839 final String iface = networkAgent.linkProperties.getInterfaceName();
1861 if (timeout > 0 && iface != null && type != ConnectivityManager.TYPE_NONE) {
1863 mNetd.addIdleTimer(iface, timeout, type);
1875 final String iface = networkAgent.linkProperties.getInterfaceName();
1878 if (iface != null && (caps.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) ||
1882 mNetd.removeIdleTimer(iface);
1891 * and set it on it's iface.
1894 final String iface = newLp.getInterfaceName();
1905 if (mtu != 0) loge("Unexpected mtu value: " + mtu + ", " + iface);
1910 if (TextUtils.isEmpty(iface)) {
1911 loge("Setting MTU size with null iface.");
1916 if (VDBG) log("Setting MTU size: " + iface + ", " + mtu);
1917 mNetd.setMtu(iface, mtu);
2492 for (String iface : nai.linkProperties.getAllInterfaceNames()) {
2494 wakeupModifyInterface(iface, nai.networkCapabilities, false);
3101 public int tether(String iface, String callerPkg) {
3104 final int status = mTethering.tether(iface);
3113 public int untether(String iface, String callerPkg) {
3117 final int status = mTethering.untether(iface);
3126 public int getLastTetherError(String iface) {
3130 return mTethering.getLastTetherError(iface);
3136 // TODO - proper iface API for selection by property, inspection, etc
3177 // TODO - move iface listing, queries, etc to new module
3750 * information, e.g primary underlying iface.
4731 private void wakeupModifyInterface(String iface, NetworkCapabilities caps, boolean add) {
4749 final String prefix = "iface:" + iface;
4752 mNetd.getNetdService().wakeupAddInterface(iface, prefix, mark, mask);
4754 mNetd.getNetdService().wakeupDelInterface(iface, prefix, mark, mask);
4767 for (String iface : interfaceDiff.added) {
4769 if (DBG) log("Adding iface " + iface + " to network " + netId);
4770 mNetd.addInterfaceToNetwork(iface, netId);
4771 wakeupModifyInterface(iface, caps, true);
4776 for (String iface : interfaceDiff.removed) {
4778 if (DBG) log("Removing iface " + iface + " from network " + netId);
4779 wakeupModifyInterface(iface, caps, false);
4780 mNetd.removeInterfaceFromNetwork(iface, netId);
5774 * properties tracked by NetworkStatsService on an active iface has changed.