Home
last modified time | relevance | path

Searched refs:setInterfaceName (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java141 lp.setInterfaceName(NAME); in makeTestObject()
236 source.setInterfaceName(NAME); in testEqualsSameOrder()
253 target.setInterfaceName(NAME); in testEqualsSameOrder()
267 target.setInterfaceName("qmi1"); in testEqualsSameOrder()
279 target.setInterfaceName(NAME); in testEqualsSameOrder()
292 target.setInterfaceName(NAME); in testEqualsSameOrder()
305 target.setInterfaceName(NAME); in testEqualsSameOrder()
318 target.setInterfaceName(NAME); in testEqualsSameOrder()
330 target.setInterfaceName(NAME); in testEqualsSameOrder()
345 source.setInterfaceName(NAME); in testEqualsDifferentOrder()
[all …]
DStaticIpConfigurationTest.java145 expected.setInterfaceName(IFACE); in testToLinkProperties()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataCallResponseTest.java45 .setInterfaceName(FAKE_IFNAME) in testParcel()
72 .setInterfaceName(FAKE_IFNAME) in testEquals()
89 .setInterfaceName(FAKE_IFNAME) in testEquals()
109 .setInterfaceName(FAKE_IFNAME) in testEquals()
DDataConnectionTest.java432 .setInterfaceName(FAKE_IFNAME) in testModemSuggestRetry()
450 .setInterfaceName(FAKE_IFNAME) in testModemSuggestRetry()
468 .setInterfaceName(FAKE_IFNAME) in testModemSuggestRetry()
490 .setInterfaceName(FAKE_IFNAME) in testModemNotSuggestRetry()
508 .setInterfaceName(FAKE_IFNAME) in testModemNotSuggestRetry()
526 .setInterfaceName(FAKE_IFNAME) in testModemNotSuggestRetry()
548 .setInterfaceName(FAKE_IFNAME) in testModemSuggestNoRetry()
744 .setInterfaceName(FAKE_IFNAME) in testSetLinkProperties()
800 .setInterfaceName(FAKE_IFNAME) in testSetLinkPropertiesEmptyAddress()
823 .setInterfaceName(FAKE_IFNAME) in testSetLinkPropertiesEmptyDns()
DDcControllerTest.java128 .setInterfaceName(FAKE_IFNAME) in testDataDormant()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java293 lp.setInterfaceName(testIfName); in testSetUpstreamLinkPropertiesWorking()
361 stacked.setInterfaceName("stacked"); in testSetUpstreamLinkPropertiesWorking()
445 lp.setInterfaceName(ethernetIface); in testGetForwardedStats()
450 lp.setInterfaceName(mobileIface); in testGetForwardedStats()
455 lp.setInterfaceName(ethernetIface); in testGetForwardedStats()
532 lp.setInterfaceName(ethernetIface); in testSetInterfaceQuota()
552 lp.setInterfaceName(mobileIface); in testSetInterfaceQuota()
565 lp.setInterfaceName(ethernetIface); in testSetInterfaceQuota()
574 lp.setInterfaceName(mobileIface); in testSetInterfaceQuota()
616 usbLinkProperties.setInterfaceName(RNDIS0); in testAddRemoveDownstreams()
[all …]
DIPv6TetheringCoordinatorTest.java87 linkProp.setInterfaceName(TEST_INTERFACE); in createDualStackUpstream()
DUpstreamNetworkMonitorTest.java433 wifiLp.setInterfaceName("wlan0"); in testLocalPrefixes()
460 cellLp.setInterfaceName("rmnet_data0"); in testLocalPrefixes()
483 dunLp.setInterfaceName("rmnet_data1"); in testLocalPrefixes()
DPrivateAddressCoordinatorTest.java183 prop.setInterfaceName(testIface); in buildUpstreamLinkProperties()
DTetheringTest.java446 prop.setInterfaceName(TEST_MOBILE_IFNAME); in buildMobileUpstreamState()
466 stackedLink.setInterfaceName(TEST_XLAT_MOBILE_IFNAME); in buildMobileUpstreamState()
1868 prop.setInterfaceName(TEST_WIFI_IFNAME); in buildV4WifiUpstreamState()
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DLinkPropertiesUtilsTest.java69 lp.setInterfaceName(IF_NAME); in createTestObject()
102 target.setInterfaceName("lo"); in testLinkPropertiesIdenticalEqual()
106 target.setInterfaceName(IF_NAME); in testLinkPropertiesIdenticalEqual()
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java89 mLinkProperties.setInterfaceName(mInterfaceName); in NetlinkTracker()
204 mLinkProperties.setInterfaceName(mInterfaceName); in clearLinkProperties()
/frameworks/base/tests/net/java/android/net/
DConnectivityDiagnosticsManagerTest.java93 linkProperties.setInterfaceName(INTERFACE_NAME); in createSampleConnectivityReport()
207 linkProperties.setInterfaceName(INTERFACE_NAME); in createSampleDataStallReport()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java3247 lp.setInterfaceName("foonet_data0"); in testAdditionalStateCallbacks()
4043 lp.setInterfaceName("wlan12"); in testPacketKeepalives()
4182 lp.setInterfaceName("wlan12"); in doTestNattSocketKeepalivesWithExecutor()
4350 lp.setInterfaceName("wlan12"); in doTestTcpSocketKeepalivesWithExecutor()
4420 lp.setInterfaceName("wlan12"); in doTestNattSocketKeepalivesFdWithExecutor()
4735 lp.setInterfaceName(WIFI_IFNAME); in testLinkPropertiesEnsuresDirectlyConnectedRoutes()
4783 cellLp.setInterfaceName(MOBILE_IFNAME); in testStatsIfacesChanged()
4785 wifiLp.setInterfaceName(WIFI_IFNAME); in testStatsIfacesChanged()
4859 cellLp.setInterfaceName(MOBILE_IFNAME); in testBasicDnsConfigurationPushed()
5004 cellLp.setInterfaceName(MOBILE_IFNAME); in testPrivateDnsSettingsChange()
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java211 lp.setInterfaceName(upstreamIface); in initTetheredStateMachine()
806 lp.setInterfaceName(UPSTREAM_IFACE2); in addRemoveipv6ForwardingRules()
835 lp.setInterfaceName(UPSTREAM_IFACE); in addRemoveipv6ForwardingRules()
852 lp.setInterfaceName(UPSTREAM_IFACE); in addRemoveipv6ForwardingRules()
933 linkProp.setInterfaceName(iface); in buildIpv6OnlyLinkProperties()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java155 lp.setInterfaceName(TEST_IFACENAME); in testTrackedValidationUpdates()
339 lp.setInterfaceName(TEST_IFACENAME); in testSendDnsConfiguration()
DNat464XlatTest.java102 mNai.linkProperties.setInterfaceName(BASE_IFACE);
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DIPv6TetheringCoordinator.java233 v6only.setInterfaceName(lp.getInterfaceName()); in getIPv6OnlyLinkProperties()
/frameworks/base/core/java/android/net/
DStaticIpConfiguration.java230 lp.setInterfaceName(iface); in toLinkProperties()
DLinkProperties.java213 public void setInterfaceName(@Nullable String iface) { in setInterfaceName() method in LinkProperties
1852 netProp.setInterfaceName(iface);
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java807 stackedProp.setInterfaceName(stackedIface);
1452 prop.setInterfaceName(TEST_IFACE);
1470 prop.setInterfaceName(TEST_IFACE);
1482 prop.setInterfaceName(iface);
1497 prop.setInterfaceName(TUN_IFACE);
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java267 lp.setInterfaceName(iface);
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java432 stacked.setInterfaceName(mIface); in makeLinkProperties()
/frameworks/base/telephony/java/android/telephony/data/
DDataCallResponse.java465 public @NonNull Builder setInterfaceName(@NonNull String interfaceName) { in setInterfaceName() method in DataCallResponse.Builder
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java1029 mLinkProperties.setInterfaceName(mIfaceName); in resetLinkProperties()

12