Searched refs:preferredUpstreamIfaceTypes (Results 1 – 3 of 3) sorted by relevance
137 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 …]
91 public final Collection<Integer> preferredUpstreamIfaceTypes; field in TetheringConfiguration118 preferredUpstreamIfaceTypes = getUpstreamIfaceTypes(res, isDunRequired); in TetheringConfiguration()163 preferredUpstreamNames(preferredUpstreamIfaceTypes)); in dump()186 makeString(preferredUpstreamNames(preferredUpstreamIfaceTypes)))); in toString()
939 final boolean hasUpstreamConfiguration = !cfg.preferredUpstreamIfaceTypes.isEmpty() in hasTetherableConfiguration()1205 config.preferredUpstreamIfaceTypes); in chooseUpstreamType()