Searched refs:preferredUpstreamIfaceTypes (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringConfigurationTest.java | 155 assertFalse(cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_DUN)); in testNoTelephonyManagerMeansNoDun() 157 assertTrue(cfg.preferredUpstreamIfaceTypes.contains(TYPE_WIFI)); in testNoTelephonyManagerMeansNoDun() 176 assertTrue(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_DUN)); in testDunFromTelephonyManagerMeansDun() 177 assertFalse(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE)); in testDunFromTelephonyManagerMeansDun() 178 assertFalse(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_HIPRI)); in testDunFromTelephonyManagerMeansDun() 180 assertTrue(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_WIFI)); in testDunFromTelephonyManagerMeansDun() 207 assertFalse(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_DUN)); in testDunNotRequiredFromTelephonyManagerMeansNoDun() 208 assertTrue(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_WIFI)); in testDunNotRequiredFromTelephonyManagerMeansNoDun() 214 assertTrue(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE)); in testDunNotRequiredFromTelephonyManagerMeansNoDun() 215 assertTrue(msg, cfg.preferredUpstreamIfaceTypes.contains(TYPE_MOBILE_HIPRI)); in testDunNotRequiredFromTelephonyManagerMeansNoDun() [all …]
|
D | TetheringTest.java | 1345 assertArrayEquals(actual.preferredUpstreamIfaceTypes, in assertTetherConfigParcelEqual() 1346 expect.preferredUpstreamIfaceTypes); in assertTetherConfigParcelEqual()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | TetheringConfiguration.java | 101 public final Collection<Integer> preferredUpstreamIfaceTypes; field in TetheringConfiguration 139 preferredUpstreamIfaceTypes = getUpstreamIfaceTypes(res, isDunRequired); in TetheringConfiguration() 219 pw.println(Arrays.toString(toIntArray(preferredUpstreamIfaceTypes))); in dump() 251 toIntArray(preferredUpstreamIfaceTypes))); in toString() 475 parcel.preferredUpstreamIfaceTypes = toIntArray(preferredUpstreamIfaceTypes); in toStableParcelable()
|
D | Tethering.java | 1268 final boolean hasUpstreamConfiguration = !cfg.preferredUpstreamIfaceTypes.isEmpty() in hasTetherableConfiguration() 1542 config.preferredUpstreamIfaceTypes); in chooseUpstreamType()
|
/frameworks/base/packages/Tethering/common/TetheringLib/src/android/net/ |
D | TetheringConfigurationParcel.aidl | 30 int[] preferredUpstreamIfaceTypes;
|