Home
last modified time | relevance | path

Searched refs:IFACE_NAME (Results 1 – 1 of 1) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
DNetdUtilsTest.java52 private static final String IFACE_NAME = "testnet1"; field in NetdUtilsTest
75 }).when(mNetd).networkAddInterface(LOCAL_NET_ID, IFACE_NAME); in setNetworkAddInterfaceOutcome()
93 NetdUtils.tetherInterface(mNetd, IFACE_NAME, TEST_IPPREFIX); in verifyTetherInterfaceSucceeds()
94 verify(mNetd).tetherInterfaceAdd(IFACE_NAME); in verifyTetherInterfaceSucceeds()
95 verify(mNetd, times(expectedTries)).networkAddInterface(LOCAL_NET_ID, IFACE_NAME); in verifyTetherInterfaceSucceeds()
96 verify(mNetd, times(2)).networkAddRoute(eq(LOCAL_NET_ID), eq(IFACE_NAME), any(), any()); in verifyTetherInterfaceSucceeds()
115 NetdUtils.tetherInterface(mNetd, IFACE_NAME, TEST_IPPREFIX, 20, 0); in runTetherInterfaceWithServiceSpecificException()
129 NetdUtils.tetherInterface(mNetd, IFACE_NAME, TEST_IPPREFIX, 20, 0); in runTetherInterfaceWithRemoteException()
138 verify(mNetd).tetherInterfaceAdd(IFACE_NAME); in verifyNetworkAddInterfaceFails()
139 verify(mNetd, times(expectedTries)).networkAddInterface(LOCAL_NET_ID, IFACE_NAME); in verifyNetworkAddInterfaceFails()