Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/Exchange/src/com/android/exchange/eas/
DEasOperation.java610 final TelephonyManager tm = (TelephonyManager)context.getSystemService( in expandedAddDeviceInformationToSerializer() local
612 if (tm != null) { in expandedAddDeviceInformationToSerializer()
613 deviceId = tm.getDeviceId(); in expandedAddDeviceInformationToSerializer()
614 phoneNumber = tm.getLine1Number(); in expandedAddDeviceInformationToSerializer()
618 final String operatorName = tm.getNetworkOperatorName(); in expandedAddDeviceInformationToSerializer()
619 final String operatorNumber = tm.getNetworkOperator(); in expandedAddDeviceInformationToSerializer()
639 s.data(Tags.SETTINGS_IMEI, tm.getDeviceId()); in expandedAddDeviceInformationToSerializer()
/packages/services/Telephony/src/com/android/phone/
DMobileNetworkSettings.java228 TelephonyManager tm = (TelephonyManager) getSystemService( in onPreferenceTreeClick() local
230 String imsi = tm.getSubscriberId(); in onPreferenceTreeClick()
507 TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in onResume() local
508 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in onResume()
747 TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in onPause() local
748 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in onPause()
1210 final TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in isWorldMode() local
1220 tm != null && configArray[1].equalsIgnoreCase(tm.getGroupIdLevel1())))) { in isWorldMode()
DCallFeaturesSetting.java286 TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in onPause() local
287 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); in onPause()
1337 TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in onResume() local
1338 tm.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE); in onResume()
/packages/apps/Settings/src/com/android/settings/sim/
DSimSettings.java137 final TelephonyManager tm = in createPreferences() local
144 final int numSlots = tm.getSimCount(); in createPreferences()
162 final TelephonyManager tm = in updateAvailableSubInfos() local
164 final int numSlots = tm.getSimCount(); in updateAvailableSubInfos()
482 final TelephonyManager tm = in getPhoneNumber() local
484 return tm.getLine1NumberForSubscriber(info.getSubscriptionId()); in getPhoneNumber()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
DContentTypeParser.java171 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/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java158 TelephonyManager tm = (TelephonyManager) getSystemService( in onHandleIntent() local
162 "br".equals(tm.getSimCountryIso()); in onHandleIntent()
325 if ("il".equals(tm.getSimCountryIso()) || "il".equals(tm.getNetworkCountryIso())) { in onHandleIntent()
DCellBroadcastSearchIndexableProvider.java134 TelephonyManager tm = (TelephonyManager) getContext().getSystemService( in queryNonIndexableKeys() local
138 "br".equals(tm.getSimCountryIso()); in queryNonIndexableKeys()
DCellBroadcastSettings.java206 TelephonyManager tm = (TelephonyManager) getActivity().getSystemService( in onCreate() local
210 "br".equals(tm.getSimCountryIso()); in onCreate()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DDateTimeParser.java470 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/Email/emailcommon/src/com/android/emailcommon/
DDevice.java98 TelephonyManager tm = in getConsistentDeviceId() local
100 if (tm == null) { in getConsistentDeviceId()
103 deviceId = tm.getDeviceId(); in getConsistentDeviceId()
/packages/apps/Settings/src/com/android/settings/
DSecuritySettings.java300 TelephonyManager tm = TelephonyManager.getDefault(); in createPreferenceHierarchy() local
376 TelephonyManager tm = TelephonyManager.getDefault(); in isSimIccReady() local
382 if (tm.hasIccCard(subInfo.getSimSlotIndex())) { in isSimIccReady()
843 TelephonyManager tm = TelephonyManager.getDefault(); in getNonIndexableKeys() local
844 if (!mIsPrimary || !tm.hasIccCard()) { in getNonIndexableKeys()
DSmsDefaultDialog.java66 TelephonyManager tm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); in buildDialog() local
67 if (!tm.isSmsCapable()) { in buildDialog()
DApnSettings.java208 final TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); in fillList() local
210 : tm.getSimOperator(mSubscriptionInfo.getSubscriptionId()); in fillList()
DIccLockSettings.java164 final TelephonyManager tm = in onCreate() local
166 final int numSims = tm.getSimCount(); in onCreate()
DWirelessSettings.java536 TelephonyManager tm =
538 if (!tm.isSmsCapable() || isRestrictedUser) {
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java490 TelephonyManager tm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); in startObexServerSession() local
491 if (tm != null) { in startObexServerSession()
492 sLocalPhoneNum = tm.getLine1Number(); in startObexServerSession()
493 sLocalPhoneName = tm.getLine1AlphaTag(); in startObexServerSession()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java1211 … TelephonyManager tm = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE); in setFilterInfo() local
1212 if (tm != null) { in setFilterInfo()
1213 fi.mPhoneType = tm.getPhoneType(); in setFilterInfo()
1214 fi.mPhoneNum = tm.getLine1Number(); in setFilterInfo()
1215 fi.mPhoneAlphaTag = tm.getLine1AlphaTag(); in setFilterInfo()
1624 … TelephonyManager tm = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE); in getSmsMessage() local
1634 if (tm.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) { in getSmsMessage()
1636 } else if (tm.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) { in getSmsMessage()
DBluetoothMapContentObserver.java195 … TelephonyManager tm = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE); in getSmsType() local
197 if (tm.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) { in getSmsType()
199 } else if (tm.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) { in getSmsType()
1929 … TelephonyManager tm = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE); in registerPhoneServiceStateListener() local
1930 tm.listen(mPhoneListener, PhoneStateListener.LISTEN_SERVICE_STATE); in registerPhoneServiceStateListener()
1934 … TelephonyManager tm = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE); in unRegisterPhoneServiceStateListener() local
1935 tm.listen(mPhoneListener, PhoneStateListener.LISTEN_NONE); in unRegisterPhoneServiceStateListener()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DAddressListParser.java772 public AddressListParser(AddressListParserTokenManager tm) { in AddressListParser() argument
773 token_source = tm; in AddressListParser()
781 public void ReInit(AddressListParserTokenManager tm) { in ReInit() argument
782 token_source = tm; in ReInit()
/packages/apps/Mms/src/com/android/mms/ui/
DMessageItem.java347 TextModel tm = slide.getText(); in onItemLoaded() local
348 mBody = tm.getText(); in onItemLoaded()
349 mTextContentType = tm.getContentType(); in onItemLoaded()
/packages/apps/Email/tests/src/com/android/emailcommon/
DDeviceTests.java31 TelephonyManager tm = in testGetConsistentDeviceId() local
33 if (tm == null) { in testGetConsistentDeviceId()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertReceiver.java824 TelephonyManager tm = in createCallBroadcastIntent() local
826 if (tm.getPhoneType() == TelephonyManager.PHONE_TYPE_NONE) { in createCallBroadcastIntent()
854 TelephonyManager tm = in createCallActivityIntent() local
856 if (tm.getPhoneType() == TelephonyManager.PHONE_TYPE_NONE) { in createCallActivityIntent()
/packages/apps/InCallUI/src/com/android/incallui/
DInCallPresenter.java1368 final TelecomManager tm = getTelecomManager(); in getColorsFromPhoneAccountHandle() local
1370 if (tm != null) { in getColorsFromPhoneAccountHandle()
1371 final PhoneAccount account = tm.getPhoneAccount(phoneAccountHandle); in getColorsFromPhoneAccountHandle()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapStore.java203 TelephonyManager tm = in getImapId() local
205 String networkOperator = tm.getNetworkOperatorName(); in getImapId()
/packages/apps/Dialer/src/com/android/dialer/
DCallDetailActivity.java363 TelephonyManager tm = (TelephonyManager) in onKeyDown() local
365 if (tm.getCallState() == TelephonyManager.CALL_STATE_IDLE) { in onKeyDown()

12