/frameworks/base/packages/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 166 mTestIface.getInterfaceName(), iface); in testVirtualEthernetAlreadyExists() 184 mTestIface.getInterfaceName(), iface); in testVirtualEthernet() 199 mTestIface.getInterfaceName(), iface); in testStaticIpv4() 361 NetworkInterface nif = NetworkInterface.getByName(iface.getInterfaceName()); in getMTU() 362 assertNotNull("Can't get NetworkInterface object for " + iface.getInterfaceName(), nif); in getMTU() 376 mTetheringEventCallback = enableEthernetTethering(iface.getInterfaceName()); in checkVirtualEthernet() 555 Log.d(TAG, "Created test interface " + iface.getInterfaceName()); in createTestInterface() 556 assertNotNull(NetworkInterface.getByName(iface.getInterfaceName())); in createTestInterface() 563 Log.d(TAG, "Deleted test interface " + mTestIface.getInterfaceName()); in maybeDeleteTestInterface()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcNetworkAgent.java | 99 && !TextUtils.isEmpty(dc.getLinkProperties().getInterfaceName())) { in DcNetworkAgent() 100 checkDuplicateInterface(dc.getLinkProperties().getInterfaceName()); in DcNetworkAgent() 282 && !TextUtils.isEmpty(dc.getLinkProperties().getInterfaceName())) { in unregister() 283 sInterfaceNames.remove(dc.getLinkProperties().getInterfaceName()); in unregister()
|
D | DataConnection.java | 1494 String propertyPrefix = "net." + response.getInterfaceName() + "."; in setLinkProperties() 1509 linkProperties.setInterfaceName(response.getInterfaceName()); in setLinkProperties() 1524 + response.getInterfaceName()); in setLinkProperties()
|
/frameworks/libs/net/common/src_frameworkcommon/android/net/util/ |
D | LinkPropertiesUtils.java | 208 return TextUtils.equals(left.getInterfaceName(), right.getInterfaceName()); in isIdenticalInterfaceName()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 130 || !TextUtils.equals(mAcceptedEgressIface, egressProp.getInterfaceName()); in handleStateChangedLocked() 135 null : egressProp.getInterfaceName(); in handleStateChangedLocked() 162 mAcceptedEgressIface = egressProp.getInterfaceName(); in handleStateChangedLocked()
|
D | NetworkStatsService.java | 1286 final String baseIface = state.linkProperties.getInterfaceName(); in updateIfacesLocked() 1344 final String stackedIface = stackedLink.getInterfaceName(); in updateIfacesLocked()
|
/frameworks/native/cmds/lshal/ |
D | test.cpp | 282 static std::string getInterfaceName(pid_t serverId) { in getInterfaceName() function 292 return getInterfaceName(serverId) + "/" + getInstanceName(serverId); in getFqInstanceName() 317 cb({getInterfaceName(mId), IBase::descriptor}); in interfaceChain() 381 cb({InstanceDebugInfo{getInterfaceName(3), getInstanceName(3), 3, in initMockServiceManager() 383 InstanceDebugInfo{getInterfaceName(4), getInstanceName(4), 4, in initMockServiceManager() 390 cb({InstanceDebugInfo{getInterfaceName(5), getInstanceName(5), 5, in initMockServiceManager() 392 InstanceDebugInfo{getInterfaceName(6), getInstanceName(6), 6, in initMockServiceManager()
|
/frameworks/base/core/java/android/net/ |
D | TestNetworkInterface.java | 58 public String getInterfaceName() { in getInterfaceName() method in TestNetworkInterface
|
D | TestNetworkManager.java | 95 setupTestNetwork(lp.getInterfaceName(), lp, isMetered, new int[0], binder); in setupTestNetwork()
|
D | LinkProperties.java | 227 public @Nullable String getInterfaceName() { in getInterfaceName() method in LinkProperties 843 if (link.getInterfaceName() != null) { in addStackedLink() 844 mStackedLinks.put(link.getInterfaceName(), link); in addStackedLink() 1482 String iface = stacked.getInterfaceName(); in isIdenticalStackedLinks() 1774 dest.writeString(getInterfaceName()); in writeToParcel()
|
D | IpSecManager.java | 732 public String getInterfaceName() { in getInterfaceName() method in IpSecManager.IpSecTunnelInterface
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 386 ? mUpstreamLinkProperties.getInterfaceName() : null; in currentUpstreamInterface() 525 final String ifname = lp.getInterfaceName(); in notifyDownstreamLinkProperties() 534 final String ifname = newLp.getInterfaceName(); in pushDownstreamState() 700 String upstream = (lp != null) ? lp.getInterfaceName() : null; in dump()
|
D | IPv6TetheringCoordinator.java | 233 v6only.setInterfaceName(lp.getInterfaceName()); in getIPv6OnlyLinkProperties()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | LinkPropertiesTest.java | 521 if (link.getInterfaceName().equals("clat4")) { in testStackedInterfaces() 526 assertFalse("newname".equals(link.getInterfaceName())); in testStackedInterfaces() 904 rmnet0.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 917 rmnet1.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 919 rmnet1.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 936 rmnet2.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 938 rmnet2.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 940 rmnet2.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes() 952 rmnet3.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Nat464Xlat.java | 254 String baseIface = mNetwork.linkProperties.getInterfaceName(); in start() 423 if (Objects.equals(mIface, stacked.getInterfaceName())) { in fixupLinkProperties()
|
D | NetworkDiagnostics.java | 188 mInterfaceIndex = getInterfaceIndex(mLinkProperties.getInterfaceName()); in NetworkDiagnostics()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | IPv6TetheringCoordinatorTest.java | 98 assertEquals(lp.getInterfaceName(), TEST_INTERFACE); in assertOnlyOneV6AddressAndNoV4()
|
/frameworks/base/tests/net/java/android/net/ |
D | IpSecManagerTest.java | 282 assertEquals(VTI_INTF_NAME, tunnelIntf.getInterfaceName()); in testCreateVti()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataCallResponse.java | 209 public String getInterfaceName() { return mInterfaceName; } in getInterfaceName() method in DataCallResponse
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataConnectionTest.java | 754 assertEquals(response.getInterfaceName(), linkProperties.getInterfaceName()); in testSetLinkProperties()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 427 Log.w(TAG, "Network interface '" + mLinkProperties.getInterfaceName() + "' has no " in getNetworkScore()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1350 final String iface = (lp == null ? "" : lp.getInterfaceName()); in isNetworkWithLinkPropertiesBlocked() 1904 bestRoute = RouteInfo.makeHostRoute(addr, lp.getInterfaceName()); in addLegacyRouteToHost() 2334 final String iface = networkAgent.linkProperties.getInterfaceName(); in setupDataActivityTracking() 2369 final String iface = networkAgent.linkProperties.getInterfaceName(); in removeDataActivityTracking() 2400 final String iface = newLp.getInterfaceName(); in updateMtu() 6207 final String oldIface = oldLp != null ? oldLp.getInterfaceName() : null; in updateVpnFiltering() 6208 final String newIface = newLp != null ? newLp.getInterfaceName() : null; in updateVpnFiltering() 6237 lp.setWakeOnLanSupported(mWolSupportedInterfaces.contains(lp.getInterfaceName())); in updateWakeOnLan() 6427 && lp.getInterfaceName() != null in requiresVpnIsolation() 6462 final String iface = nai.linkProperties.getInterfaceName(); in updateUids() [all …]
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 1043 final RouteInfo directlyConnected = new RouteInfo(destination, null, lp.getInterfaceName(), in assertIPv4AddressAndDirectlyConnectedRoute() 1054 assertFalse(TextUtils.isEmpty(lp.getInterfaceName())); in assertNoAddressesNorRoutes()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 4730 NetworkUtils.numericToInetAddress("192.168.12.1"), lp.getInterfaceName()); in testLinkPropertiesEnsuresDirectlyConnectedRoutes() 5173 RouteInfo localRoute = new RouteInfo(address, null, lp.getInterfaceName()); in checkDirectlyConnectedRoutes() 6018 verify(mBatteryStatsService).noteNetworkInterfaceType(cellLp.getInterfaceName(), in testBatteryStatsNetworkType() 6027 verify(mBatteryStatsService).noteNetworkInterfaceType(wifiLp.getInterfaceName(), in testBatteryStatsNetworkType() 6037 verify(mBatteryStatsService).noteNetworkInterfaceType(cellLp.getInterfaceName(), in testBatteryStatsNetworkType() 6109 verify(mBatteryStatsService).noteNetworkInterfaceType(cellLp.getInterfaceName(), in testStackedLinkProperties() 6183 verify(mBatteryStatsService).noteNetworkInterfaceType(stackedLp.getInterfaceName(), in testStackedLinkProperties() 7284 return INTERFACE_NAME.equals(report.getLinkProperties().getInterfaceName()) in testRegisterConnectivityDiagnosticsCallbackCallsOnConnectivityReport()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 700 final String upstreamIface = v6only.getInterfaceName(); in updateUpstreamIPv6LinkProperties()
|