/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/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 | IpConnectivityMetricsTest.java | 292 ev.ifname = "wlan0"; in testEndToEndLogging()
|
/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/packages/Tethering/src/android/net/util/ |
D | InterfaceSet.java | 42 for (String ifname : ifnames) sj.add(ifname); in toString()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 525 final String ifname = lp.getInterfaceName(); in notifyDownstreamLinkProperties() local 526 final LinkProperties oldLp = mDownstreams.put(ifname, new LinkProperties(lp)); in notifyDownstreamLinkProperties() 534 final String ifname = newLp.getInterfaceName(); in pushDownstreamState() local 543 mHwInterface.removeDownstreamPrefix(ifname, ri.getDestination().toString()); in pushDownstreamState() 551 mHwInterface.addDownstreamPrefix(ifname, ri.getDestination().toString()); in pushDownstreamState() 563 public void removeDownstreamInterface(String ifname) { in removeDownstreamInterface() argument 564 final LinkProperties lp = mDownstreams.remove(ifname); in removeDownstreamInterface() 571 mHwInterface.removeDownstreamPrefix(ifname, route.getDestination().toString()); in removeDownstreamInterface()
|
D | Tethering.java | 992 final String ifname = intent.getStringExtra(EXTRA_WIFI_AP_INTERFACE_NAME); in handleWifiApAction() local 1001 enableWifiIpServingLocked(ifname, ipmode); in handleWifiApAction() 1009 disableWifiIpServingLocked(ifname, curState); in handleWifiApAction() 1133 private void disableWifiIpServingLockedCommon(int tetheringType, String ifname, int apState) { in disableWifiIpServingLockedCommon() argument 1136 + " interface=" + ifname in disableWifiIpServingLockedCommon() 1139 if (!TextUtils.isEmpty(ifname)) { in disableWifiIpServingLockedCommon() 1140 final TetherState ts = mTetherStates.get(ifname); in disableWifiIpServingLockedCommon() 1156 + (TextUtils.isEmpty(ifname) ? "no interface name specified" in disableWifiIpServingLockedCommon() 1157 : "specified interface: " + ifname)); in disableWifiIpServingLockedCommon() 1160 private void disableWifiIpServingLocked(String ifname, int apState) { in disableWifiIpServingLocked() argument [all …]
|
D | OffloadHardwareInterface.java | 441 public boolean addDownstreamPrefix(String ifname, String prefix) { in addDownstreamPrefix() argument 442 final String logmsg = String.format("addDownstreamPrefix(%s, %s)", ifname, prefix); in addDownstreamPrefix() 446 mOffloadControl.addDownstream(ifname, prefix, in addDownstreamPrefix() 461 public boolean removeDownstreamPrefix(String ifname, String prefix) { in removeDownstreamPrefix() argument 462 final String logmsg = String.format("removeDownstreamPrefix(%s, %s)", ifname, prefix); in removeDownstreamPrefix() 466 mOffloadControl.removeDownstream(ifname, prefix, in removeDownstreamPrefix()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
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 | 246 private static Integer getInterfaceIndex(String ifname) { in getInterfaceIndex() argument 248 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 | 50 public abstract boolean isUidNetworkingBlocked(int uid, String ifname); in isUidNetworkingBlocked() argument
|
D | NetworkPolicyManagerService.java | 5217 public boolean isUidNetworkingBlocked(int uid, String ifname) { in isUidNetworkingBlocked() argument 5228 isNetworkMetered = mMeteredIfaces.contains(ifname); in isUidNetworkingBlocked()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 1227 for (String ifname : mUpstreamIfaceSet.ifnames) cleanupUpstreamInterface(ifname); in cleanupUpstream() 1279 for (String ifname : added) { in processMessage() 1281 mNetd.tetherAddForward(mIfaceName, ifname); in processMessage() 1282 mNetd.ipfwdAddInterfaceForward(mIfaceName, ifname); in processMessage() 1365 String ifname, HashSet<IpPrefix> prefixes) { in getLocalRoutesFor() argument 1368 localRoutes.add(new RouteInfo(ipp, null, ifname, RTN_UNICAST)); in getLocalRoutesFor()
|
/frameworks/base/core/jni/ |
D | android_net_NetUtils.cpp | 43 int ifc_enable(const char *ifname); 44 int ifc_disable(const char *ifname);
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 609 private void sendWifiApStateChanged(int state, String ifname, int ipmode) { in sendWifiApStateChanged() argument 612 intent.putExtra(EXTRA_WIFI_AP_INTERFACE_NAME, ifname); in sendWifiApStateChanged() 623 boolean isGroupFormed, boolean isGroupOwner, String ifname) { in sendWifiP2pConnectionChanged() argument 631 when(group.getInterface()).thenReturn(ifname); in sendWifiP2pConnectionChanged() 661 private void verifyInterfaceServingModeStarted(String ifname) throws Exception { in verifyInterfaceServingModeStarted() argument 663 verify(mNetd, times(1)).tetherInterfaceAdd(ifname); in verifyInterfaceServingModeStarted() 664 verify(mNetd, times(1)).networkAddInterface(INetd.LOCAL_NET_ID, ifname); in verifyInterfaceServingModeStarted() 665 verify(mNetd, times(2)).networkAddRoute(eq(INetd.LOCAL_NET_ID), eq(ifname), in verifyInterfaceServingModeStarted() 669 private void verifyTetheringBroadcast(String ifname, String whichExtra) { in verifyTetheringBroadcast() argument 674 assertTrue(ifnames.contains(ifname)); in verifyTetheringBroadcast()
|
D | OffloadControllerTest.java | 680 for (String ifname : new String[]{RMNET0, WLAN0, RMNET0}) { in testControlCallbackOnStoppedUnsupportedFetchesAllStats() 681 upstreamLp.setInterfaceName(ifname); in testControlCallbackOnStoppedUnsupportedFetchesAllStats() 713 for (String ifname : new String[]{RMNET0, WLAN0, RMNET0}) { in testControlCallbackOnSupportAvailableFetchesAllStatsAndPushesAllParameters() 714 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()
|
D | ClientModeImplTest.java | 220 Context context, String ifname, IpClientCallbacks callback) { in getFrameworkFacade()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 538 private void startIpClient(String ifname, Handler smHandler) { in startIpClient() argument 541 IpClientUtil.makeIpClient(mContext, ifname, new IpClientCallbacksImpl( in startIpClient() 2684 final String ifname = mGroup.getInterface(); in processMessage() local 2687 ifname, mDhcpResults.getRoutes(ifname)); in processMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 6784 String ifname; in convertDataCallResult() local 6801 ifname = result.ifname; in convertDataCallResult() 6828 ifname = result.ifname; in convertDataCallResult() 6847 ifname = result.ifname; in convertDataCallResult() 6914 .setInterfaceName(ifname) in convertDataCallResult()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | RILTest.java | 1988 result10.ifname = "ifname"; in testConvertDataCallResult() 2028 result14.ifname = "ifname"; in testConvertDataCallResult() 2047 result15.ifname = "ifname"; in testConvertDataCallResult()
|
D | SimulatedCommands.java | 1190 mSetupDataCallResult.ifname = "rmnet_data7"; in setupDataCall()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DcTrackerTest.java | 564 result.ifname = FAKE_IFNAME; in createSetupDataCallResult()
|