/frameworks/base/core/java/android/net/ |
D | ConnectivityMetricsEvent.java | 38 public String ifname; field in ConnectivityMetricsEvent 49 ifname = in.readString(); in ConnectivityMetricsEvent() 75 dest.writeString(ifname); in writeToParcel() 86 if (ifname != null) { in toString() 87 buffer.append(", ").append(ifname); in toString()
|
/frameworks/base/tests/net/common/java/android/net/metrics/ |
D | IpConnectivityLogTest.java | 139 String ifname) { in makeExpectedEvent() argument 145 ev.ifname = ifname; in makeExpectedEvent() 156 assertEquals(expected.ifname, got.ifname); in assertEventsEqual()
|
/frameworks/base/services/net/java/android/net/util/ |
D | InterfaceSet.java | 42 for (String ifname : ifnames) sj.add(ifname); in toString()
|
/frameworks/base/core/java/android/net/metrics/ |
D | IpConnectivityLog.java | 125 public boolean log(@NonNull String ifname, @NonNull Event data) { in log() argument 127 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 | 387 final String ifname = lp.getInterfaceName(); in notifyDownstreamLinkProperties() local 388 final LinkProperties oldLp = mDownstreams.put(ifname, new LinkProperties(lp)); in notifyDownstreamLinkProperties() 396 final String ifname = newLp.getInterfaceName(); in pushDownstreamState() local 405 mHwInterface.removeDownstreamPrefix(ifname, ri.getDestination().toString()); in pushDownstreamState() 413 mHwInterface.addDownstreamPrefix(ifname, ri.getDestination().toString()); in pushDownstreamState() 424 public void removeDownstreamInterface(String ifname) { in removeDownstreamInterface() argument 425 final LinkProperties lp = mDownstreams.remove(ifname); in removeDownstreamInterface() 432 mHwInterface.removeDownstreamPrefix(ifname, route.getDestination().toString()); in removeDownstreamInterface()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityEventBuilderTest.java | 86 ev.ifname = "wlan0"; in testLinkLayerInferrence() 104 ev.ifname = null; in testLinkLayerInferrence() 122 ev.ifname = "not_inferred"; in testLinkLayerInferrence() 139 ev.ifname = "bt-pan"; in testLinkLayerInferrence() 156 ev.ifname = "rmnet_ipa0"; in testLinkLayerInferrence() 173 ev.ifname = "wlan0"; in testLinkLayerInferrence()
|
D | TetheringTest.java | 394 private void sendWifiApStateChanged(int state, String ifname, int ipmode) { in sendWifiApStateChanged() argument 397 intent.putExtra(EXTRA_WIFI_AP_INTERFACE_NAME, ifname); in sendWifiApStateChanged() 422 private void verifyTetheringBroadcast(String ifname, String whichExtra) { in verifyTetheringBroadcast() argument 427 assertTrue(ifnames.contains(ifname)); in verifyTetheringBroadcast()
|
D | IpConnectivityMetricsTest.java | 292 ev.ifname = "wlan0"; in testEndToEndLogging()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Tethering.java | 762 final String ifname = intent.getStringExtra(EXTRA_WIFI_AP_INTERFACE_NAME); in handleWifiApAction() local 771 enableWifiIpServingLocked(ifname, ipmode); in handleWifiApAction() 777 disableWifiIpServingLocked(ifname, curState); in handleWifiApAction() 817 private void disableWifiIpServingLocked(String ifname, int apState) { in disableWifiIpServingLocked() argument 826 if (!TextUtils.isEmpty(ifname)) { in disableWifiIpServingLocked() 827 final TetherState ts = mTetherStates.get(ifname); in disableWifiIpServingLocked() 843 (TextUtils.isEmpty(ifname) ? "no interface name specified" in disableWifiIpServingLocked() 844 : "specified interface: " + ifname)); in disableWifiIpServingLocked() 847 private void enableWifiIpServingLocked(String ifname, int wifiIpMode) { in enableWifiIpServingLocked() argument 863 if (!TextUtils.isEmpty(ifname)) { in enableWifiIpServingLocked() [all …]
|
D | IpConnectivityEventBuilder.java | 85 final IpConnectivityEvent out = buildEvent(ev.netId, ev.transports, ev.ifname); in toProto() 158 private static IpConnectivityEvent buildEvent(int netId, long transports, String ifname) { in buildEvent() argument 162 if (ifname != null) { in buildEvent() 163 ev.ifName = ifname; in buildEvent() 388 private static int ifnameToLinkLayer(String ifname) { in ifnameToLinkLayer() argument 393 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/net/java/android/net/ip/ |
D | InterfaceController.java | 45 public InterfaceController(String ifname, INetd netd, SharedLog log) { in InterfaceController() argument 46 mIfName = ifname; in InterfaceController()
|
D | IpServer.java | 859 for (String ifname : mUpstreamIfaceSet.ifnames) cleanupUpstreamInterface(ifname); in cleanupUpstream() 916 for (String ifname : added) { in processMessage() 918 mNMService.enableNat(mIfaceName, ifname); in processMessage() 919 mNMService.startInterfaceForwarding(mIfaceName, ifname); in processMessage() 976 String ifname, HashSet<IpPrefix> prefixes) { in getLocalRoutesFor() argument 979 localRoutes.add(new RouteInfo(ipp, null, ifname)); in getLocalRoutesFor()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerInternal.java | 48 public abstract boolean isUidNetworkingBlocked(int uid, String ifname); in isUidNetworkingBlocked() argument
|
D | NetworkPolicyManagerService.java | 5082 public boolean isUidNetworkingBlocked(int uid, String ifname) { in isUidNetworkingBlocked() argument 5093 isNetworkMetered = mMeteredIfaces.contains(ifname); in isUidNetworkingBlocked()
|
/frameworks/base/core/jni/ |
D | android_net_NetUtils.cpp | 44 int ifc_enable(const char *ifname); 45 int ifc_disable(const char *ifname);
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
D | OffloadControllerTest.java | 638 for (String ifname : new String[]{RMNET0, WLAN0, RMNET0}) { in testControlCallbackOnStoppedUnsupportedFetchesAllStats() 639 upstreamLp.setInterfaceName(ifname); in testControlCallbackOnStoppedUnsupportedFetchesAllStats() 670 for (String ifname : new String[]{RMNET0, WLAN0, RMNET0}) { in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters() 671 upstreamLp.setInterfaceName(ifname); in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | HalDeviceManagerTest.java | 3009 private WifiStatus removeIface(int type, String ifname) { in removeIface() argument 3011 if (!mChipMockBase.interfaceNames.get(type).remove(ifname)) { in removeIface() 3014 if (mChipMockBase.interfacesByName.get(type).remove(ifname) == null) { in removeIface() 3023 public WifiStatus answer(String ifname) { in answer() argument 3024 return removeIface(mType, ifname); in answer()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 519 private void startIpClient(String ifname, Handler smHandler) { in startIpClient() argument 522 IpClientUtil.makeIpClient(mContext, ifname, new IpClientCallbacksImpl( in startIpClient() 2666 final String ifname = mGroup.getInterface(); in processMessage() local 2669 ifname, mDhcpResults.getRoutes(ifname)); in processMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 5911 String ifname; in convertDataCallResult() local 5925 ifname = result.ifname; in convertDataCallResult() 5947 ifname = result.ifname; in convertDataCallResult() 6028 return new DataCallResponse(cause, suggestedRetryTime, cid, active, protocolType, ifname, in convertDataCallResult()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | RILTest.java | 1601 result10.ifname = "ifname"; in testConvertDataCallResult() 1630 result14.ifname = "ifname"; in testConvertDataCallResult()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | SimulatedCommands.java | 1165 mSetupDataCallResult.ifname = "rmnet_data7"; in setupDataCall()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DcTrackerTest.java | 551 result.ifname = FAKE_IFNAME; in createSetupDataCallResult()
|