Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetheringConfiguration.java89 public final boolean isDunRequired; field in TetheringConfiguration
115 isDunRequired = checkDunRequired(ctx); in TetheringConfiguration()
118 preferredUpstreamIfaceTypes = getUpstreamIfaceTypes(res, isDunRequired); in TetheringConfiguration()
158 pw.println(isDunRequired); in dump()
183 sj.add(String.format("isDunRequired:%s", isDunRequired)); in toString()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DTetheringConfigurationTest.java136 assertFalse(cfg.isDunRequired); in testNoTelephonyManagerMeansNoDun()
157 assertTrue(msg, cfg.isDunRequired); in testDunFromTelephonyManagerMeansDun()
188 assertFalse(msg, cfg.isDunRequired); in testDunNotRequiredFromTelephonyManagerMeansNoDun()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java313 mUpstreamNetworkMonitor.updateMobileRequiresDun(mConfig.isDunRequired); in updateConfiguration()
317 final boolean isDunRequired = TetheringConfiguration.checkDunRequired(mContext); in maybeDunSettingChanged()
318 if (isDunRequired == mConfig.isDunRequired) return; in maybeDunSettingChanged()