/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailPermissions.java | 51 TelecomManager tm = mContext.getSystemService(TelecomManager.class); in isDefaultOrSystemDialer() local 52 return (callingPackage.equals(tm.getDefaultDialerPackage()) in isDefaultOrSystemDialer() 53 || callingPackage.equals(tm.getSystemDialerPackage())); in isDefaultOrSystemDialer() 135 TelephonyManager tm = in callerHasCarrierPrivileges() local 139 if (packageHasCarrierPrivileges(tm, packageName)) { in callerHasCarrierPrivileges() 148 TelephonyManager tm = in packageHasCarrierPrivileges() local 150 return packageHasCarrierPrivileges(tm, packageName); in packageHasCarrierPrivileges() 153 private static boolean packageHasCarrierPrivileges(TelephonyManager tm, String packageName) { in packageHasCarrierPrivileges() argument 154 return tm.checkCarrierPrivilegesForPackageAnyPhone(packageName) in packageHasCarrierPrivileges()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedCallingActivity.java | 163 TelecomManager tm = TelecomManager.from(this); in placeOutgoingCall() local 167 if (!tm.isOutgoingCallPermitted(phoneAccountHandle)) { in placeOutgoingCall() 184 tm.placeCall(Uri.parse(mNumber.getText().toString()), extras); in placeOutgoingCall() 188 TelecomManager tm = TelecomManager.from(this); in initiateHandover() local 191 tm.acceptHandover(address, VideoProfile.STATE_BIDIRECTIONAL, phoneAccountHandle); in initiateHandover() 195 TelecomManager tm = TelecomManager.from(this); in placeIncomingCall() local 199 if (!tm.isIncomingCallPermitted(phoneAccountHandle)) { in placeIncomingCall() 214 tm.addNewIncomingCall(getSelectedPhoneAccountHandle(), extras); in placeIncomingCall()
|
D | HandoverActivity.java | 64 TelecomManager tm = TelecomManager.from(this); in onCreate() local 65 tm.showInCallScreen(false); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/sim/ |
D | SimSettings.java | 96 final TelephonyManager tm = in onCreate() local 100 mNumSlots = tm.getSimCount(); in onCreate() 217 final TelephonyManager tm = in onResume() local 223 tm.createForSubscriptionId(subId).listen(getPhoneStateListener(i), in onResume() 233 final TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in onPause() local 236 tm.listen(mPhoneStateListener[i], PhoneStateListener.LISTEN_NONE); in onPause() 327 final TelephonyManager tm = in getPhoneNumber() local 329 return tm.getLine1Number(info.getSubscriptionId()); in getPhoneNumber()
|
D | SimPreferenceDialog.java | 138 final TelephonyManager tm = (TelephonyManager) mContext.getSystemService( in createEditDialog() local 141 final String rawNumber = tm.getLine1Number(mSubInfoRecord.getSubscriptionId()); in createEditDialog() 148 String simCarrierName = tm.getSimOperatorName(mSubInfoRecord.getSubscriptionId()); in createEditDialog()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/ |
D | SimSettings.java | 96 final TelephonyManager tm = in onCreate() local 100 mNumSlots = tm.getSimCount(); in onCreate() 217 final TelephonyManager tm = in onResume() local 223 tm.createForSubscriptionId(subId).listen(getPhoneStateListener(i), in onResume() 233 final TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in onPause() local 236 tm.listen(mPhoneStateListener[i], PhoneStateListener.LISTEN_NONE); in onPause() 327 final TelephonyManager tm = in getPhoneNumber() local 329 return tm.getLine1Number(info.getSubscriptionId()); in getPhoneNumber()
|
D | SimPreferenceDialog.java | 138 final TelephonyManager tm = (TelephonyManager) mContext.getSystemService( in createEditDialog() local 141 final String rawNumber = tm.getLine1Number(mSubInfoRecord.getSubscriptionId()); in createEditDialog() 148 String simCarrierName = tm.getSimOperatorName(mSubInfoRecord.getSubscriptionId()); in createEditDialog()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | AccessibilitySettingsFragment.java | 121 TelephonyManager tm = in onCreate() local 123 boolean isRoaming = tm.isNetworkRoaming( in onCreate() 145 TelephonyManager tm = in onResume() local 147 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in onResume() 153 TelephonyManager tm = in onPause() local 155 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in onPause()
|
/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/ |
D | SmsManagerTestApp.java | 215 TelephonyManager tm = getSystemService(TelephonyManager.class); in getPhoneNumber() local 216 if (tm != null) { in getPhoneNumber() 217 tm = tm.createForSubscriptionId(defaultSmsSub); in getPhoneNumber() 218 String line1Number = tm.getLine1Number(); in getPhoneNumber()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | PstnIncomingCallNotifier.java | 257 TelecomManager tm = mPhone.getContext().getSystemService(TelecomManager.class); in addNewUnknownCall() local 258 tm.addNewUnknownCall(handle, extras); in addNewUnknownCall() 293 TelecomManager tm = mPhone.getContext().getSystemService(TelecomManager.class); in sendIncomingCallIntent() local 295 tm.addNewIncomingConference(handle, extras); in sendIncomingCallIntent() 297 tm.addNewIncomingCall(handle, extras); in sendIncomingCallIntent()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipIncomingCallReceiver.java | 76 TelecomManager tm = context.getSystemService(TelecomManager.class); in takeCall() local 77 PhoneAccount phoneAccount = tm.getPhoneAccount(accountHandle); in takeCall() 79 tm.addNewIncomingCall(accountHandle, extras); in takeCall()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | DataUsagePreferenceController.java | 101 final TelephonyManager tm = TelephonyManager.from(context).createForSubscriptionId(subId); in getNetworkTemplate() local 102 NetworkTemplate mobileAll = NetworkTemplate.buildTemplateMobileAll(tm.getSubscriberId()); in getNetworkTemplate() 104 return NetworkTemplate.normalize(mobileAll, tm.getMergedSubscriberIds()); in getNetworkTemplate()
|
D | NetworkScanHelper.java | 154 public NetworkScanHelper(TelephonyManager tm, NetworkScanCallback callback, Executor executor) { in NetworkScanHelper() argument 155 mTelephonyManager = tm; in NetworkScanHelper()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | GsmCellBroadcastHandler.java | 322 TelephonyManager tm = in getGsmLacAndCid() local 324 List<CellInfo> infos = tm.getAllCellInfo(); in getGsmLacAndCid() 362 TelephonyManager tm = in handleGsmBroadcastSms() local 364 tm.createForSubscriptionId(getSubIdForPhone(mContext, slotIndex)); in handleGsmBroadcastSms() 366 String plmn = tm.getSimOperator(); in handleGsmBroadcastSms()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastChannelManager.java | 308 TelephonyManager tm = in checkScope() 310 tm = tm.createForSubscriptionId(mSubId); in checkScope() 311 ServiceState ss = tm.getServiceState(); in checkScope()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeCertPayload.java | 158 for (TrustManager tm : tmFactory.getTrustManagers()) { in validateCertificates() 159 if (tm instanceof X509TrustManager) { in validateCertificates() 160 trustManager = (X509TrustManager) tm; in validateCertificates()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoDialogController.java | 80 TelephonyManager tm = context.getSystemService(TelephonyManager.class); in ImeiInfoDialogController() local 84 } else if(isValidSlotIndex(slotId, tm)) { in ImeiInfoDialogController() 85 mTelephonyManager = tm; in ImeiInfoDialogController()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | TelecomManagerUtil.java | 28 public static Intent createManageBlockedNumbersIntent(TelecomManager tm) { in createManageBlockedNumbersIntent() argument 29 return CompatUtils.isNCompatible() ? tm.createManageBlockedNumbersIntent() : null; in createManageBlockedNumbersIntent()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileNetworkUtils.java | 302 final TelephonyManager tm = in showEuiccSettings() local 304 final String currentCountry = tm.getNetworkCountryIso().toLowerCase(); in showEuiccSettings() 688 final TelephonyManager tm = in getOperatorNameFromTelephonyManager() local 690 if (tm == null) { in getOperatorNameFromTelephonyManager() 693 return tm.getNetworkOperatorName(); in getOperatorNameFromTelephonyManager()
|
D | NrDisabledInDsdsFooterPreferenceController.java | 99 private boolean is5GSupportedByRadio(TelephonyManager tm) { in is5GSupportedByRadio() argument 100 return (tm.getSupportedRadioAccessFamily() & TelephonyManager.NETWORK_TYPE_BITMASK_NR) > 0; in is5GSupportedByRadio()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelephonyUtil.java | 74 TelephonyManager tm = (TelephonyManager) context.getSystemService( in shouldProcessAsEmergency() local 76 return handle != null && tm.isEmergencyNumber(handle.getSchemeSpecificPart()); in shouldProcessAsEmergency()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | AnalyticsTests.java | 150 TelecomManager tm = (TelecomManager) mSpyContext.getSystemService(Context.TELECOM_SERVICE); in testAnalyticsDumping() local 151 List<ParcelableCallAnalytics> analyticsList = tm.dumpAnalytics().getCallAnalytics(); in testAnalyticsDumping() 301 TelecomManager tm = (TelecomManager) mSpyContext.getSystemService(Context.TELECOM_SERVICE); in testAnalyticsLogSessionTiming() local 302 List<TelecomAnalytics.SessionTiming> sessions = tm.dumpAnalytics().getSessionTimings(); in testAnalyticsLogSessionTiming()
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | UserCallIntentProcessor.java | 193 TelecomManager tm = (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in sendIntentToDestination() local 194 tm.handleCallIntent(intent, callingPackage); in sendIntentToDestination()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyDialer.java | 770 TelecomManager tm = this.getSystemService(TelecomManager.class); in placeCall() local 771 tm.placeCall(Uri.fromParts(PhoneAccount.SCHEME_TEL, number, null), extras); in placeCall() 915 TelephonyManager tm = getSystemService(TelephonyManager.class); in maybeShowWfcEmergencyCallingWarning() 916 boolean isWfcAvailable = tm.isWifiCallingAvailable(); in maybeShowWfcEmergencyCallingWarning() 917 ServiceState ss = tm.getServiceState(); in maybeShowWfcEmergencyCallingWarning()
|
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/ |
D | CallRedirectionProcessorHelper.java | 148 TelephonyManager tm = (TelephonyManager) mContext.getSystemService( in formatNumberToE164() local 151 number = PhoneNumberUtils.formatNumberToE164(number, tm.getNetworkCountryIso()); in formatNumberToE164()
|