Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/net/
DLinkProperties.java168 mIfaceName = source.getInterfaceName(); in LinkProperties()
209 public @Nullable String getInterfaceName() { in getInterfaceName() method in LinkProperties
697 if (link != null && link.getInterfaceName() != null) { in addStackedLink()
698 mStackedLinks.put(link.getInterfaceName(), link); in addStackedLink()
1001 return TextUtils.equals(getInterfaceName(), target.getInterfaceName()); in isIdenticalInterfaceName()
1103 String iface = stacked.getInterfaceName(); in isIdenticalStackedLinks()
1286 dest.writeString(getInterfaceName()); in writeToParcel()
DIpSecManager.java735 public String getInterfaceName() { in getInterfaceName() method in IpSecManager.IpSecTunnelInterface
/frameworks/native/cmds/lshal/
Dtest.cpp268 static std::string getInterfaceName(pid_t serverId) { in getInterfaceName() function
278 return getInterfaceName(serverId) + "/" + getInstanceName(serverId); in getFqInstanceName()
303 cb({getInterfaceName(mId), IBase::descriptor}); in interfaceChain()
358 cb({InstanceDebugInfo{getInterfaceName(3), getInstanceName(3), 3, in initMockServiceManager()
360 InstanceDebugInfo{getInterfaceName(4), getInstanceName(4), 4, in initMockServiceManager()
367 cb({InstanceDebugInfo{getInterfaceName(5), getInstanceName(5), 5, in initMockServiceManager()
369 InstanceDebugInfo{getInterfaceName(6), getInstanceName(6), 6, in initMockServiceManager()
/frameworks/base/tests/net/java/android/net/
DLinkPropertiesTest.java357 if (link.getInterfaceName().equals("clat4")) { in testStackedInterfaces()
362 assertFalse("newname".equals(link.getInterfaceName())); in testStackedInterfaces()
699 rmnet0.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
712 NetworkUtils.numericToInetAddress("10.0.0.1"), rmnet1.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
714 rmnet1.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
731 NetworkUtils.numericToInetAddress("2001:db8::1"), rmnet2.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
733 rmnet2.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
735 rmnet2.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
747 rmnet3.getInterfaceName()); in testLinkPropertiesEnsureDirectlyConnectedRoutes()
DIpSecManagerTest.java280 assertEquals(VTI_INTF_NAME, tunnelIntf.getInterfaceName()); in testCreateVti()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java134 || !TextUtils.equals(mAcceptedEgressIface, egressProp.getInterfaceName()); in handleStateChangedLocked()
139 null : egressProp.getInterfaceName(); in handleStateChangedLocked()
166 mAcceptedEgressIface = egressProp.getInterfaceName(); in handleStateChangedLocked()
DNetworkStatsService.java1105 mActiveIface = activeLink != null ? activeLink.getInterfaceName() : null; in updateIfacesLocked()
1125 final String baseIface = state.linkProperties.getInterfaceName(); in updateIfacesLocked()
1158 final String stackedIface = stackedLink.getInterfaceName(); in updateIfacesLocked()
DNetworkPolicyManagerService.java1716 final String baseIface = state.linkProperties.getInterfaceName();
1721 final String stackedIface = stackedLink.getInterfaceName();
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DOffloadController.java300 ? mUpstreamLinkProperties.getInterfaceName() : null; in currentUpstreamInterface()
387 final String ifname = lp.getInterfaceName(); in notifyDownstreamLinkProperties()
396 final String ifname = newLp.getInterfaceName(); in pushDownstreamState()
556 String upstream = (lp != null) ? lp.getInterfaceName() : null; in dump()
DIPv6TetheringCoordinator.java218 v6only.setInterfaceName(lp.getInterfaceName()); in getIPv6OnlyLinkProperties()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java200 String baseIface = mNetwork.linkProperties.getInterfaceName(); in start()
241 if (Objects.equals(mIface, stacked.getInterfaceName())) { in fixupLinkProperties()
DNetworkDiagnostics.java173 mInterfaceIndex = getInterfaceIndex(mLinkProperties.getInterfaceName()); in NetworkDiagnostics()
/frameworks/base/services/net/java/android/net/ip/
DIpReachabilityMonitor.java258 if (!mInterfaceParams.name.equals(lp.getInterfaceName())) {
260 Log.wtf(TAG, "requested LinkProperties interface '" + lp.getInterfaceName() +
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DTetherInterfaceStateMachineTest.java392 final RouteInfo directlyConnected = new RouteInfo(addr4, null, lp.getInterfaceName()); in assertIPv4AddressAndDirectlyConnectedRoute()
402 assertFalse(TextUtils.isEmpty(lp.getInterfaceName())); in assertNoAddressesNorRoutes()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1120 final String iface = (lp == null ? "" : lp.getInterfaceName()); in isNetworkWithLinkPropertiesBlocked()
1564 bestRoute = RouteInfo.makeHostRoute(addr, lp.getInterfaceName()); in addLegacyRouteToHost()
1839 final String iface = networkAgent.linkProperties.getInterfaceName(); in setupDataActivityTracking()
1875 final String iface = networkAgent.linkProperties.getInterfaceName(); in removeDataActivityTracking()
1894 final String iface = newLp.getInterfaceName(); in updateMtu()
3764 info.primaryUnderlyingIface = getDefaultNetwork().linkProperties.getInterfaceName(); in createVpnInfo()
3769 info.primaryUnderlyingIface = linkProperties.getInterfaceName(); in createVpnInfo()
5413 final String baseIface = newNetwork.linkProperties.getInterfaceName(); in rematchNetworkAndRequests()
5416 final String stackedIface = stacked.getInterfaceName(); in rematchNetworkAndRequests()
DIpSecService.java847 public String getInterfaceName() { in getInterfaceName() method in IpSecService.TunnelInterfaceRecord
DTelephonyRegistry.java1625 String iface = linkProperties.getInterfaceName(); in broadcastDataConnectionStateChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataConnectionTest.java532 assertEquals(response.getIfname(), linkProperties.getInterfaceName()); in testSetLinkProperties()
DDcTrackerTest.java547 assertEquals(FAKE_IFNAME, linkProperties.getInterfaceName()); in verifyDataConnected()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java552 argThat(sm -> sm.linkProperties().getInterfaceName().equals(TEST_USB_IFNAME)), in sendIPv6TetherUpdates()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWificondControlTest.java180 when(mClientInterface.getInterfaceName()).thenReturn(TEST_INTERFACE_NAME); in setUp()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java3772 NetworkUtils.numericToInetAddress("192.168.12.1"), lp.getInterfaceName()); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
4133 RouteInfo localRoute = new RouteInfo(address, null, lp.getInterfaceName()); in checkDirectlyConnectedRoutes()
/frameworks/base/services/
Dart-profile673 HSPLandroid/net/wifi/IClientInterface;->getInterfaceName()Ljava/lang/String;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt17020 method public java.lang.String getInterfaceName();
/frameworks/base/config/
Dhiddenapi-public-dex.txt25412 Landroid/net/LinkProperties;->getInterfaceName()Ljava/lang/String;

12