Home
last modified time | relevance | path

Searched refs:isTetheringApnRequired (Results 1 – 6 of 6) sorted by relevance

/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DTetheringConfigurationTest.java225 when(mTelephonyManager.isTetheringApnRequired()).thenReturn(true); in testDunFromTelephonyManagerMeansDun()
249 when(mTelephonyManager.isTetheringApnRequired()).thenReturn(false); in testDunNotRequiredFromTelephonyManagerMeansNoDun()
292 when(mTelephonyManager.isTetheringApnRequired()).thenReturn(false); in testNoDefinedUpstreamTypesAddsEthernet()
315 when(mTelephonyManager.isTetheringApnRequired()).thenReturn(false); in testDefinedUpstreamTypesSansEthernetAddsEthernet()
333 when(mTelephonyManager.isTetheringApnRequired()).thenReturn(false); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
H A DTetheringTest.java1334 when(mTelephonyManager.isTetheringApnRequired()).thenReturn(true); in chooseDunUpstreamTestCommon()
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DTetheringConfiguration.java376 return (tm != null) ? tm.isTetheringApnRequired() : false; in checkDunRequired()
/aosp12/packages/modules/Connectivity/tests/cts/tethering/src/android/tethering/cts/
H A DTetheringManagerTest.java452 final boolean dunRequired = telephonyManager.isTetheringApnRequired(); in testTetheringUpstream()
/aosp12/frameworks/base/telephony/java/android/telephony/
H A DTelephonyManager.java8891 public boolean isTetheringApnRequired() { in isTetheringApnRequired() method in TelephonyManager
8892 return isTetheringApnRequired(getSubId(SubscriptionManager.getActiveDataSubscriptionId())); in isTetheringApnRequired()
8902 public boolean isTetheringApnRequired(int subId) { in isTetheringApnRequired() method in TelephonyManager
/aosp12/frameworks/base/core/api/
H A Dsystem-current.txt12048 …Permission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isTetheringApnRequired();