Searched refs:TEST_IFNAME (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 90 private static final String TEST_IFNAME = "test_wlan0"; field in IpClientTest 214 setTestInterfaceParams(TEST_IFNAME); in testInvalidInterfaceDoesNotThrow() 215 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInvalidInterfaceDoesNotThrow() 224 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInterfaceNotFoundFailsImmediately() 245 final IpClient ipc = makeIpClient(TEST_IFNAME); in doProvisioningWithDefaultConfiguration() 260 lp.getLinkAddresses().forEach(la -> mObserver.onInterfaceAddressUpdated(la, TEST_IFNAME)); in doProvisioningWithDefaultConfiguration() 261 mObserver.onInterfaceDnsServerInfo(TEST_IFNAME, TEST_DNS_LIFETIME, in doProvisioningWithDefaultConfiguration() 276 InetAddresses.parseNumericAddress(TEST_IPV4_GATEWAY), TEST_IFNAME); in addIPv4Provisioning() 277 mObserver.onInterfaceAddressUpdated(la, TEST_IFNAME); in addIPv4Provisioning() 306 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 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()
|