/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailPermissions.java | 123 TelephonyManager tm = in callerHasCarrierPrivileges() local 127 if (packageHasCarrierPrivileges(tm, packageName)) { in callerHasCarrierPrivileges() 136 TelephonyManager tm = in packageHasCarrierPrivileges() local 138 return packageHasCarrierPrivileges(tm, packageName); in packageHasCarrierPrivileges() 141 private static boolean packageHasCarrierPrivileges(TelephonyManager tm, String packageName) { in packageHasCarrierPrivileges() argument 142 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()
|
D | TestDialerActivity.java | 122 final TelecomManager tm = (TelecomManager) getSystemService(Context.TELECOM_SERVICE); in cancelMissedCallNotification() local 123 tm.cancelMissedCallsNotification(); in cancelMissedCallNotification()
|
/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/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/Telecomm/src/com/android/server/telecom/ |
D | PhoneNumberUtilsAdapterImpl.java | 27 TelephonyManager tm = (TelephonyManager) context.getSystemService( in isLocalEmergencyNumber() local 29 return tm.isEmergencyNumber(number); in isLocalEmergencyNumber() 34 TelephonyManager tm = (TelephonyManager) context.getSystemService( in isPotentialLocalEmergencyNumber() local 36 return tm.isPotentialEmergencyNumber(number); in isPotentialLocalEmergencyNumber()
|
D | TelephonyUtil.java | 73 TelephonyManager tm = (TelephonyManager) context.getSystemService( in shouldProcessAsEmergency() local 75 return handle != null && tm.isEmergencyNumber(handle.getSchemeSpecificPart()); in shouldProcessAsEmergency()
|
/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/ |
D | SmsManagerTestApp.java | 196 TelephonyManager tm = getSystemService(TelephonyManager.class); in getPhoneNumber() local 197 if (tm != null) { in getPhoneNumber() 198 tm = tm.createForSubscriptionId(defaultSmsSub); in getPhoneNumber() 199 String line1Number = tm.getLine1Number(); in getPhoneNumber()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | AccessibilitySettingsFragment.java | 130 TelephonyManager tm = in onResume() local 132 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in onResume() 138 TelephonyManager tm = in onPause() local 140 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in onPause()
|
/packages/services/Telephony/src/com/android/phone/ |
D | DataUsagePreference.java | 73 TelephonyManager tm = (TelephonyManager) activity in getNetworkTemplate() local 76 tm.getSubscriberId(subId)); in getNetworkTemplate() 78 tm.getMergedSubscriberIds()); in getNetworkTemplate()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipIncomingCallReceiver.java | 76 TelecomManager tm = TelecomManager.from(context); in takeCall() local 77 PhoneAccount phoneAccount = tm.getPhoneAccount(accountHandle); in takeCall() 79 tm.addNewIncomingCall(accountHandle, extras); in takeCall()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
D | Device.java | 98 TelephonyManager tm = in getConsistentDeviceId() local 100 if (tm == null) { in getConsistentDeviceId() 103 deviceId = tm.getDeviceId(); in getConsistentDeviceId()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | ContentTypeParser.java | 171 public ContentTypeParser(ContentTypeParserTokenManager tm) { in ContentTypeParser() argument 172 token_source = tm; in ContentTypeParser() 179 public void ReInit(ContentTypeParserTokenManager tm) { in ReInit() argument 180 token_source = tm; in ReInit()
|
/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()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ |
D | ImeiInfoDialogController.java | 81 TelephonyManager tm = context.getSystemService(TelephonyManager.class); in ImeiInfoDialogController() local 85 } else if(isValidSlotIndex(slotId, tm)) { in ImeiInfoDialogController() 86 mTelephonyManager = tm; in ImeiInfoDialogController()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
D | DateTimeParser.java | 470 public DateTimeParser(DateTimeParserTokenManager tm) { in DateTimeParser() argument 471 token_source = tm; in DateTimeParser() 478 public void ReInit(DateTimeParserTokenManager tm) { in ReInit() argument 479 token_source = tm; in ReInit()
|
/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/Email/tests/src/com/android/emailcommon/ |
D | DeviceTests.java | 31 TelephonyManager tm = in testGetConsistentDeviceId() local 33 if (tm == null) { in testGetConsistentDeviceId()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 777 TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in getLocalTelephonyDetails() local 778 if (tm != null) { in getLocalTelephonyDetails() 779 sLocalPhoneNum = tm.getLine1Number(); in getLocalTelephonyDetails() 780 sLocalPhoneName = tm.getLine1AlphaTag(); in getLocalTelephonyDetails()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | AnalyticsTests.java | 140 TelecomManager tm = (TelecomManager) mSpyContext.getSystemService(Context.TELECOM_SERVICE); in testAnalyticsDumping() local 141 List<ParcelableCallAnalytics> analyticsList = tm.dumpAnalytics().getCallAnalytics(); in testAnalyticsDumping() 291 TelecomManager tm = (TelecomManager) mSpyContext.getSystemService(Context.TELECOM_SERVICE); in testAnalyticsLogSessionTiming() local 292 List<TelecomAnalytics.SessionTiming> sessions = tm.dumpAnalytics().getSessionTimings(); in testAnalyticsLogSessionTiming()
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | TelecomUtils.java | 274 TelephonyManager tm = in isNetworkAvailable() local 276 return tm.getNetworkType() != TelephonyManager.NETWORK_TYPE_UNKNOWN in isNetworkAvailable() 277 && tm.getSimState() == TelephonyManager.SIM_STATE_READY; in isNetworkAvailable()
|
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/ |
D | CallRedirectionProcessorHelper.java | 136 TelephonyManager tm = (TelephonyManager) mContext.getSystemService( in formatNumberToE164() local 139 number = PhoneNumberUtils.formatNumberToE164(number, tm.getNetworkCountryIso()); in formatNumberToE164()
|