Searched refs:isTetheringApnRequired (Results 1 – 6 of 6) sorted by relevance
162 when(mTelephonyManager.isTetheringApnRequired()).thenReturn(true); in testDunFromTelephonyManagerMeansDun()186 when(mTelephonyManager.isTetheringApnRequired()).thenReturn(false); in testDunNotRequiredFromTelephonyManagerMeansNoDun()229 when(mTelephonyManager.isTetheringApnRequired()).thenReturn(false); in testNoDefinedUpstreamTypesAddsEthernet()252 when(mTelephonyManager.isTetheringApnRequired()).thenReturn(false); in testDefinedUpstreamTypesSansEthernetAddsEthernet()270 when(mTelephonyManager.isTetheringApnRequired()).thenReturn(false); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
286 return (tm != null) ? tm.isTetheringApnRequired() : false; in checkDunRequired()
8145 public boolean isTetheringApnRequired() { in isTetheringApnRequired() method in TelephonyManager8146 return isTetheringApnRequired(getSubId(SubscriptionManager.getActiveDataSubscriptionId())); in isTetheringApnRequired()8156 public boolean isTetheringApnRequired(int subId) { in isTetheringApnRequired() method in TelephonyManager
823 …Permission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isTetheringApnRequired();
9065 …Permission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isTetheringApnRequired();
8963 …Permission(android.Manifest.permission.MODIFY_PHONE_STATE) public boolean isTetheringApnRequired();