Searched refs:TEST_IFNAME (Results 1 – 3 of 3) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 103 private static final String TEST_IFNAME = "test_wlan0"; field in IpClientTest 227 setTestInterfaceParams(TEST_IFNAME); in testInvalidInterfaceDoesNotThrow() 228 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInvalidInterfaceDoesNotThrow() 237 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInterfaceNotFoundFailsImmediately() 258 final IpClient ipc = makeIpClient(TEST_IFNAME); in doProvisioningWithDefaultConfiguration() 273 lp.getLinkAddresses().forEach(la -> mObserver.onInterfaceAddressUpdated(la, TEST_IFNAME)); in doProvisioningWithDefaultConfiguration() 274 mObserver.onInterfaceDnsServerInfo(TEST_IFNAME, TEST_DNS_LIFETIME, in doProvisioningWithDefaultConfiguration() 289 InetAddresses.parseNumericAddress(TEST_IPV4_GATEWAY), TEST_IFNAME); in addIPv4Provisioning() 290 mObserver.onInterfaceAddressUpdated(la, TEST_IFNAME); in addIPv4Provisioning() 319 verify(mCb).onLinkPropertiesChange(makeEmptyLinkProperties(TEST_IFNAME)); in doDefaultIPv6ProvisioningConfigurationAndProvisioningLossTest() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/android/net/networkstack/ |
D | ModuleNetworkStackClientTest.kt | 50 private val TEST_IFNAME = "testiface" constant in android.net.networkstack.ModuleNetworkStackClientTest 89 ModuleNetworkStackClient.getInstance(mContext).makeIpClient(TEST_IFNAME, mIpClientCb) in testIpClientServiceAvailableImmediately() 90 verify(mConnector).makeIpClient(TEST_IFNAME, mIpClientCb) in testIpClientServiceAvailableImmediately() 100 ModuleNetworkStackClient.getInstance(mContext).makeIpClient(TEST_IFNAME, mIpClientCb) in testIpClientServiceAvailableAfterPolling() 111 verify(mConnector, timeout(TEST_TIMEOUT_MS * 4)).makeIpClient(TEST_IFNAME, mIpClientCb) in testIpClientServiceAvailableAfterPolling() 118 ModuleNetworkStackClient.getInstance(mContext).makeDhcpServer(TEST_IFNAME, testParams, in testDhcpServerAvailableImmediately() 120 verify(mConnector).makeDhcpServer(TEST_IFNAME, testParams, mDhcpServerCb) in testDhcpServerAvailableImmediately()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | PrivateAddressCoordinatorTest.java | 60 private static final String TEST_IFNAME = "test0"; field in PrivateAddressCoordinatorTest 234 prop.setInterfaceName(TEST_IFNAME); in buildUpstreamNetworkState()
|