Home
last modified time | relevance | path

Searched refs:netIface (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DDscpPolicyTracker.java154 NetworkInterface netIface; in getIfaceIndex() local
156 netIface = NetworkInterface.getByName(iface); in getIfaceIndex()
159 netIface = null; in getIfaceIndex()
161 return (netIface != null) ? netIface.getIndex() : 0; in getIfaceIndex()
332 NetworkInterface netIface = NetworkInterface.getByName(iface); in attachProgram() local
333 TcUtils.tcFilterAddDevBpf(netIface.getIndex(), false, PRIO_DSCP, (short) ETH_P_ALL, in attachProgram()
348 NetworkInterface netIface = NetworkInterface.getByName(iface); in detachProgram() local
349 if (netIface != null) { in detachProgram()
350 TcUtils.tcFilterDelDev(netIface.getIndex(), false, PRIO_DSCP, (short) ETH_P_ALL); in detachProgram()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DNetworkListAdapter.java64 vh.netIface = convertView.findViewById(R.id.network_iface); in getView()
90 vh.netIface.setText(mNetworkList[position].mInterfaceName); in getView()
195 public TextView netIface; field in NetworkListAdapter.ViewHolder
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecManagerTunnelTest.java1112 final NetworkInterface netIface = NetworkInterface.getByInetAddress(localInner);
1113 assertNotNull(netIface);
1114 assertEquals(tunnelIface.getInterfaceName(), netIface.getDisplayName());