Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java233 final Iterator<Integer> upstreamIterator = cfg.preferredUpstreamIfaceTypes.iterator(); in testNoDefinedUpstreamTypesAddsEthernet() local
234 assertTrue(upstreamIterator.hasNext()); in testNoDefinedUpstreamTypesAddsEthernet()
235 assertEquals(TYPE_ETHERNET, upstreamIterator.next().intValue()); in testNoDefinedUpstreamTypesAddsEthernet()
241 assertTrue(upstreamIterator.hasNext()); in testNoDefinedUpstreamTypesAddsEthernet()
242 assertEquals(TYPE_MOBILE, upstreamIterator.next().intValue()); in testNoDefinedUpstreamTypesAddsEthernet()
243 assertTrue(upstreamIterator.hasNext()); in testNoDefinedUpstreamTypesAddsEthernet()
244 assertEquals(TYPE_MOBILE_HIPRI, upstreamIterator.next().intValue()); in testNoDefinedUpstreamTypesAddsEthernet()
245 assertFalse(upstreamIterator.hasNext()); in testNoDefinedUpstreamTypesAddsEthernet()
256 final Iterator<Integer> upstreamIterator = cfg.preferredUpstreamIfaceTypes.iterator(); in testDefinedUpstreamTypesSansEthernetAddsEthernet() local
257 assertTrue(upstreamIterator.hasNext()); in testDefinedUpstreamTypesSansEthernetAddsEthernet()
[all …]