Home
last modified time | relevance | path

Searched refs:getInterfaceName (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java166 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/
DDcNetworkAgent.java99 && !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()
DDataConnection.java1494 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/
DLinkPropertiesUtils.java208 return TextUtils.equals(left.getInterfaceName(), right.getInterfaceName()); in isIdenticalInterfaceName()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java130 || !TextUtils.equals(mAcceptedEgressIface, egressProp.getInterfaceName()); in handleStateChangedLocked()
135 null : egressProp.getInterfaceName(); in handleStateChangedLocked()
162 mAcceptedEgressIface = egressProp.getInterfaceName(); in handleStateChangedLocked()
DNetworkStatsService.java1286 final String baseIface = state.linkProperties.getInterfaceName(); in updateIfacesLocked()
1344 final String stackedIface = stackedLink.getInterfaceName(); in updateIfacesLocked()
/frameworks/native/cmds/lshal/
Dtest.cpp282 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/
DTestNetworkInterface.java58 public String getInterfaceName() { in getInterfaceName() method in TestNetworkInterface
DTestNetworkManager.java95 setupTestNetwork(lp.getInterfaceName(), lp, isMetered, new int[0], binder); in setupTestNetwork()
DLinkProperties.java227 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()
DIpSecManager.java732 public String getInterfaceName() { in getInterfaceName() method in IpSecManager.IpSecTunnelInterface
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java386 ? 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()
DIPv6TetheringCoordinator.java233 v6only.setInterfaceName(lp.getInterfaceName()); in getIPv6OnlyLinkProperties()
/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java521 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/
DNat464Xlat.java254 String baseIface = mNetwork.linkProperties.getInterfaceName(); in start()
423 if (Objects.equals(mIface, stacked.getInterfaceName())) { in fixupLinkProperties()
DNetworkDiagnostics.java188 mInterfaceIndex = getInterfaceIndex(mLinkProperties.getInterfaceName()); in NetworkDiagnostics()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinatorTest.java98 assertEquals(lp.getInterfaceName(), TEST_INTERFACE); in assertOnlyOneV6AddressAndNoV4()
/frameworks/base/tests/net/java/android/net/
DIpSecManagerTest.java282 assertEquals(VTI_INTF_NAME, tunnelIntf.getInterfaceName()); in testCreateVti()
/frameworks/base/telephony/java/android/telephony/data/
DDataCallResponse.java209 public String getInterfaceName() { return mInterfaceName; } in getInterfaceName() method in DataCallResponse
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java754 assertEquals(response.getInterfaceName(), linkProperties.getInterfaceName()); in testSetLinkProperties()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java427 Log.w(TAG, "Network interface '" + mLinkProperties.getInterfaceName() + "' has no " in getNetworkScore()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1350 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/
DIpServerTest.java1043 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/
DConnectivityServiceTest.java4730 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/
DIpServer.java700 final String upstreamIface = v6only.getInterfaceName(); in updateUpstreamIPv6LinkProperties()

12