/frameworks/base/core/java/android/net/ |
D | ConnectivityMetricsEvent.java | 37 public String ifname; field in ConnectivityMetricsEvent 48 ifname = in.readString(); in ConnectivityMetricsEvent() 74 dest.writeString(ifname); in writeToParcel() 85 if (ifname != null) { in toString() 86 buffer.append(", ").append(ifname); in toString()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataCallResponse.java | 44 public final String ifname; field in DataCallResponse 76 String ifname, String addresses, String dnses, String gateways, in DataCallResponse() argument 83 this.ifname = (ifname == null) ? "" : ifname; in DataCallResponse() 84 if ((status == DcFailCause.NONE.getErrorCode()) && TextUtils.isEmpty(ifname)) { in DataCallResponse() 103 .append(" ifname=").append(ifname) in toString() 145 String propertyPrefix = "net." + ifname + "."; in setLinkProperties() 149 linkProperties.setInterfaceName(ifname); in setLinkProperties() 189 throw new UnknownHostException("no address for ifname=" + ifname); in setLinkProperties()
|
D | DataConnection.java | 989 String propertyPrefix = "net." + response.ifname + "."; in setLinkProperties()
|
/frameworks/base/core/java/android/net/metrics/ |
D | IpConnectivityLog.java | 107 public boolean log(String ifname, Parcelable data) { in log() argument 109 ev.ifname = ifname; in log()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | OffloadHardwareInterface.java | 245 public boolean addDownstreamPrefix(String ifname, String prefix) { in addDownstreamPrefix() argument 246 final String logmsg = String.format("addDownstreamPrefix(%s, %s)", ifname, prefix); in addDownstreamPrefix() 250 mOffloadControl.addDownstream(ifname, prefix, in addDownstreamPrefix() 264 public boolean removeDownstreamPrefix(String ifname, String prefix) { in removeDownstreamPrefix() argument 265 final String logmsg = String.format("removeDownstreamPrefix(%s, %s)", ifname, prefix); in removeDownstreamPrefix() 269 mOffloadControl.removeDownstream(ifname, prefix, in removeDownstreamPrefix()
|
D | OffloadController.java | 386 final String ifname = lp.getInterfaceName(); in notifyDownstreamLinkProperties() local 387 final LinkProperties oldLp = mDownstreams.put(ifname, new LinkProperties(lp)); in notifyDownstreamLinkProperties() 395 final String ifname = newLp.getInterfaceName(); in pushDownstreamState() local 404 mHwInterface.removeDownstreamPrefix(ifname, ri.getDestination().toString()); in pushDownstreamState() 412 mHwInterface.addDownstreamPrefix(ifname, ri.getDestination().toString()); in pushDownstreamState() 423 public void removeDownstreamInterface(String ifname) { in removeDownstreamInterface() argument 424 final LinkProperties lp = mDownstreams.remove(ifname); in removeDownstreamInterface() 431 mHwInterface.removeDownstreamPrefix(ifname, route.getDestination().toString()); in removeDownstreamInterface()
|
D | TetherInterfaceStateMachine.java | 727 String ifname, HashSet<IpPrefix> prefixes) { in getLocalRoutesFor() argument 730 localRoutes.add(new RouteInfo(ipp, null, ifname)); in getLocalRoutesFor()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityEventBuilderTest.java | 94 ev.ifname = "wlan0"; in testLinkLayerInferrence() 112 ev.ifname = null; in testLinkLayerInferrence() 130 ev.ifname = "not_inferred"; in testLinkLayerInferrence() 147 ev.ifname = "bt-pan"; in testLinkLayerInferrence() 164 ev.ifname = "rmnet_ipa0"; in testLinkLayerInferrence() 181 ev.ifname = "wlan0"; in testLinkLayerInferrence()
|
D | TetheringTest.java | 247 private void sendWifiApStateChanged(int state, String ifname, int ipmode) { in sendWifiApStateChanged() argument 250 intent.putExtra(EXTRA_WIFI_AP_INTERFACE_NAME, ifname); in sendWifiApStateChanged() 270 private void verifyTetheringBroadcast(String ifname, String whichExtra) { in verifyTetheringBroadcast() argument 275 assertTrue(ifnames.contains(ifname)); in verifyTetheringBroadcast()
|
D | IpConnectivityMetricsTest.java | 207 ev.ifname = "wlan0"; in testEndToEndLogging()
|
/frameworks/base/services/net/java/android/net/ip/ |
D | ConnectivityPacketTracker.java | 69 final String ifname; in ConnectivityPacketTracker() local 75 ifname = netif.getName(); in ConnectivityPacketTracker() 83 mTag = TAG + "." + ifname; in ConnectivityPacketTracker()
|
D | RouterAdvertisementDaemon.java | 226 public RouterAdvertisementDaemon(String ifname, int ifindex, byte[] hwaddr) { in RouterAdvertisementDaemon() argument 227 mIfName = ifname; in RouterAdvertisementDaemon()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 869 final String ifname = intent.getStringExtra(EXTRA_WIFI_AP_INTERFACE_NAME); in handleWifiApAction() local 878 enableWifiIpServingLocked(ifname, ipmode); in handleWifiApAction() 884 disableWifiIpServingLocked(ifname, curState); in handleWifiApAction() 891 private void disableWifiIpServingLocked(String ifname, int apState) { in disableWifiIpServingLocked() argument 900 if (!TextUtils.isEmpty(ifname)) { in disableWifiIpServingLocked() 901 final TetherState ts = mTetherStates.get(ifname); in disableWifiIpServingLocked() 917 (TextUtils.isEmpty(ifname) ? "no interface name specified" in disableWifiIpServingLocked() 918 : "specified interface: " + ifname)); in disableWifiIpServingLocked() 921 private void enableWifiIpServingLocked(String ifname, int wifiIpMode) { in enableWifiIpServingLocked() argument 937 if (!TextUtils.isEmpty(ifname)) { in enableWifiIpServingLocked() [all …]
|
D | IpConnectivityEventBuilder.java | 85 final IpConnectivityEvent out = buildEvent(ev.netId, ev.transports, ev.ifname); in toProto() 135 private static IpConnectivityEvent buildEvent(int netId, long transports, String ifname) { in buildEvent() argument 139 if (ifname != null) { in buildEvent() 140 ev.ifName = ifname; in buildEvent() 387 private static int ifnameToLinkLayer(String ifname) { in ifnameToLinkLayer() argument 392 if (ifname.startsWith(pattern)) { in ifnameToLinkLayer()
|
D | NetworkDiagnostics.java | 216 private static Integer getInterfaceIndex(String ifname) { in getInterfaceIndex() argument 218 NetworkInterface ni = NetworkInterface.getByName(ifname); in getInterfaceIndex()
|
/frameworks/base/tests/net/res/raw/ |
D | xt_qtaguid_iface_fmt_typical | 1 ifname total_skb_rx_bytes total_skb_rx_packets total_skb_tx_bytes total_skb_tx_packets
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerInternal.java | 40 public abstract boolean isUidNetworkingBlocked(int uid, String ifname); in isUidNetworkingBlocked() argument
|
D | NetworkPolicyManagerService.java | 4419 public boolean isUidNetworkingBlocked(int uid, String ifname) { in isUidNetworkingBlocked() argument 4422 isNetworkMetered = mMeteredIfaces.contains(ifname); in isUidNetworkingBlocked()
|
/frameworks/base/tests/net/java/android/net/ip/ |
D | IpManagerTest.java | 105 private IpManager makeIpManager(String ifname) throws Exception { in makeIpManager() argument 106 final IpManager ipm = new IpManager(mContext, ifname, mCb, mNMService, mNetd); in makeIpManager() 107 verify(mNMService, timeout(100).times(1)).disableIpv6(ifname); in makeIpManager() 108 verify(mNMService, timeout(100).times(1)).clearInterfaceAddresses(ifname); in makeIpManager()
|
/frameworks/base/core/jni/ |
D | android_net_NetUtils.cpp | 39 int ifc_enable(const char *ifname); 40 int ifc_disable(const char *ifname);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataCallResponseTest.java | 60 assertEquals(mDcResponse.ifname, linkProperties.getInterfaceName()); in testSetLinkProperties()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | OffloadControllerTest.java | 637 for (String ifname : new String[]{RMNET0, WLAN0, RMNET0}) { in testControlCallbackOnStoppedUnsupportedFetchesAllStats() 638 upstreamLp.setInterfaceName(ifname); in testControlCallbackOnStoppedUnsupportedFetchesAllStats() 669 for (String ifname : new String[]{RMNET0, WLAN0, RMNET0}) { in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters() 670 upstreamLp.setInterfaceName(ifname); in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | HalDeviceManagerTest.java | 1498 private WifiStatus removeIface(int type, String ifname) { in removeIface() argument 1500 if (!mChipMockBase.interfaceNames.get(type).remove(ifname)) { in removeIface() 1503 if (mChipMockBase.interfacesByName.get(type).remove(ifname) == null) { in removeIface() 1512 public WifiStatus answer(String ifname) { in answer() argument 1513 return removeIface(mType, ifname); in answer()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 1063 if (!TextUtils.isEmpty(dcsList.get(i).ifname)) { in writeRilDataCallList() 1064 dataCalls[i].iframe = dcsList.get(i).ifname; in writeRilDataCallList() 1319 if (!TextUtils.isEmpty(response.ifname)) { in writeOnSetupDataCallResponse() 1320 dataCall.iframe = response.ifname; in writeOnSetupDataCallResponse()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 453 private void startIpManager(String ifname) { in startIpManager() argument 456 mIpManager = new IpManager(mContext, ifname, in startIpManager() 2238 final String ifname = mGroup.getInterface(); in processMessage() local 2241 ifname, mDhcpResults.getRoutes(ifname)); in processMessage()
|