Searched refs:isTetheringApnRequired (Results 1 – 6 of 6) sorted by relevance
225 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()
1334 when(mTelephonyManager.isTetheringApnRequired()).thenReturn(true); in chooseDunUpstreamTestCommon()
376 return (tm != null) ? tm.isTetheringApnRequired() : false; in checkDunRequired()
452 final boolean dunRequired = telephonyManager.isTetheringApnRequired(); in testTetheringUpstream()
8891 public boolean isTetheringApnRequired() { in isTetheringApnRequired() method in TelephonyManager8892 return isTetheringApnRequired(getSubId(SubscriptionManager.getActiveDataSubscriptionId())); in isTetheringApnRequired()8902 public boolean isTetheringApnRequired(int subId) { in isTetheringApnRequired() method in TelephonyManager
12048 …Permission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isTetheringApnRequired();