Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DTetheringConfigurationTest.java137 assertFalse(cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_DUN)); in testNoTelephonyManagerMeansNoDun()
139 assertTrue(cfg.preferredUpstreamIfaceTypes.contains(TYPE_WIFI)); in testNoTelephonyManagerMeansNoDun()
158 assertTrue(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_DUN)); in testDunFromTelephonyManagerMeansDun()
159 assertFalse(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE)); in testDunFromTelephonyManagerMeansDun()
160 assertFalse(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_HIPRI)); in testDunFromTelephonyManagerMeansDun()
162 assertTrue(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_WIFI)); in testDunFromTelephonyManagerMeansDun()
189 assertFalse(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_DUN)); in testDunNotRequiredFromTelephonyManagerMeansNoDun()
190 assertTrue(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_WIFI)); in testDunNotRequiredFromTelephonyManagerMeansNoDun()
196 assertTrue(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE)); in testDunNotRequiredFromTelephonyManagerMeansNoDun()
197 assertTrue(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_HIPRI)); in testDunNotRequiredFromTelephonyManagerMeansNoDun()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetheringConfiguration.java91 public final Collection<Integer> preferredUpstreamIfaceTypes; field in TetheringConfiguration
118 preferredUpstreamIfaceTypes = getUpstreamIfaceTypes(res, isDunRequired); in TetheringConfiguration()
163 preferredUpstreamNames(preferredUpstreamIfaceTypes)); in dump()
186 makeString(preferredUpstreamNames(preferredUpstreamIfaceTypes)))); in toString()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java939 final boolean hasUpstreamConfiguration = !cfg.preferredUpstreamIfaceTypes.isEmpty() in hasTetherableConfiguration()
1205 config.preferredUpstreamIfaceTypes); in chooseUpstreamType()