Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java293 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
298 assertSatisfiesLegacyType(TYPE_WIFI, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
301 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
305 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
311 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
318 mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
326 assertSatisfiesLegacyType(TYPE_NONE, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
331 mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
335 assertSatisfiesLegacyType(TYPE_WIFI, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
342 assertSatisfiesLegacyType(TYPE_WIFI, mUNM.selectPreferredUpstreamType(preferredTypes)); in testSelectPreferredUpstreamType()
[all …]
DTetheringTest.java574 when(mUpstreamNetworkMonitor.selectPreferredUpstreamType(any())).thenReturn(upstreamState); in initTetheringUpstream()
944 verify(mUpstreamNetworkMonitor, never()).selectPreferredUpstreamType(any()); in configTetherUpstreamAutomaticIgnoresConfigTetherUpstreamTypes()
1533 verify(mUpstreamNetworkMonitor, never()).selectPreferredUpstreamType(any()); in workingWifiP2pGroupOwner()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java266 public UpstreamNetworkState selectPreferredUpstreamType(Iterable<Integer> preferredTypes) { in selectPreferredUpstreamType() method in UpstreamNetworkMonitor
DTethering.java1541 : mUpstreamNetworkMonitor.selectPreferredUpstreamType( in chooseUpstreamType()