Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/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 …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java455 when(mUpstreamNetworkMonitor.selectPreferredUpstreamType(any())) in prepareUsbTethering()
482 verify(mUpstreamNetworkMonitor, times(1)).selectPreferredUpstreamType(any()); in testUsbConfiguredBroadcastStartsTethering()
647 when(mUpstreamNetworkMonitor.selectPreferredUpstreamType(any())) in workingMobileUsbTethering_v6Then464xlat()
682 verify(mUpstreamNetworkMonitor, never()).selectPreferredUpstreamType(any()); in configTetherUpstreamAutomaticIgnoresConfigTetherUpstreamTypes()
973 when(mUpstreamNetworkMonitor.selectPreferredUpstreamType(any())) in testRegisterTetheringEventCallback()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DUpstreamNetworkMonitor.java224 public NetworkState selectPreferredUpstreamType(Iterable<Integer> preferredTypes) { in selectPreferredUpstreamType() method in UpstreamNetworkMonitor
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java1204 : mUpstreamNetworkMonitor.selectPreferredUpstreamType( in chooseUpstreamType()