Searched refs:selectPreferredUpstreamType (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitorTest.java | 293 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 …]
|
D | TetheringTest.java | 574 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/ |
D | UpstreamNetworkMonitor.java | 266 public UpstreamNetworkState selectPreferredUpstreamType(Iterable<Integer> preferredTypes) { in selectPreferredUpstreamType() method in UpstreamNetworkMonitor
|
D | Tethering.java | 1541 : mUpstreamNetworkMonitor.selectPreferredUpstreamType( in chooseUpstreamType()
|