/packages/services/Mms/src/com/android/mms/service/ |
MmsRequest.java | 28 import android.telephony.TelephonyManager; 84 // Context used to get TelephonyManager. 108 // TelephonyManager. 109 final TelephonyManager telephonyManager = 110 (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); 111 final String userAgent = telephonyManager.getMmsUserAgent(); 115 final String userAgentProfileUrl = telephonyManager.getMmsUAProfUrl();
|
MmsHttpClient.java | 26 import android.telephony.TelephonyManager; 434 // The raw phone number from TelephonyManager.getLine1Number 466 final TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService( 468 return telephonyManager.getLine1Number(subId); 475 final TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService( 478 telephonyManager, [all...] |
/packages/services/Telephony/src/com/android/phone/ |
PhoneInterfaceManager.java | 52 import android.telephony.TelephonyManager; [all...] |
CallFeaturesSetting.java | 43 import android.telephony.TelephonyManager; 199 TelephonyManager telephonyManager = 200 (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); 203 if (telephonyManager.isMultiSimEnabled() || !SipUtil.isVoipSupported(mPhone.getContext())) { 279 TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
|
EmergencyActionGroup.java | 30 import android.telephony.TelephonyManager; 130 if (TelephonyManager.EMERGENCY_ASSISTANCE_ENABLED) { 147 new Intent(TelephonyManager.ACTION_EMERGENCY_ASSISTANCE) 162 Intent queryIntent = new Intent(TelephonyManager.ACTION_EMERGENCY_ASSISTANCE); 202 Intent queryIntent = new Intent(TelephonyManager.ACTION_EMERGENCY_ASSISTANCE)
|
CarrierConfigLoader.java | 51 import android.telephony.TelephonyManager; 176 for (int i = 0; i < TelephonyManager.from(mContext).getPhoneCount(); ++i) { 186 int numPhones = TelephonyManager.from(mContext).getPhoneCount(); 362 int numPhones = TelephonyManager.from(context).getPhoneCount(); 417 String spn = TelephonyManager.from(mContext).getSimOperatorNameForPhone(phoneId); 418 String simOperator = TelephonyManager.from(mContext).getSimOperatorNumericForPhone(phoneId); 436 List<String> carrierPackageNames = TelephonyManager.from(mContext) 666 int privilegeStatus = TelephonyManager.from(mContext).checkCarrierPrivilegesForPackage( 668 if (privilegeStatus != TelephonyManager.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS) { 711 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) [all...] |
MobileNetworkSettings.java | 57 import android.telephony.TelephonyManager; 148 boolean enabled = (state == TelephonyManager.CALL_STATE_IDLE) && 225 TelephonyManager tm = (TelephonyManager) getSystemService( 508 TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 54 import android.telephony.TelephonyManager; 191 private TelephonyManager mTelephonyManager; 339 mTelephonyManager = (TelephonyManager)getSystemService(TELEPHONY_SERVICE); 410 //FIXME: Replace with TelephonyManager call 535 case TelephonyManager.DATA_CONNECTED: 536 case TelephonyManager.DATA_SUSPENDED: 539 case TelephonyManager.DATA_DISCONNECTED: 551 //FIXME: Replace with a TelephonyManager call 804 case TelephonyManager.CALL_STATE_IDLE: 807 case TelephonyManager.CALL_STATE_RINGING [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
OMADMAdapter.java | 7 import android.telephony.TelephonyManager; 125 TelephonyManager tm = (TelephonyManager) context 342 TelephonyManager tm = (TelephonyManager) context
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
NetworkControllerBaseTest.java | 29 import android.telephony.TelephonyManager; 67 protected TelephonyManager mMockTm; 81 mMockTm = mock(TelephonyManager.class); 165 updateDataConnectionState(TelephonyManager.DATA_CONNECTED, 166 TelephonyManager.NETWORK_TYPE_UMTS);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
OMADMAdapter.java | 7 import android.telephony.TelephonyManager; 127 TelephonyManager tm = (TelephonyManager) context 334 TelephonyManager tm = (TelephonyManager) context
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SmsMessageBodyTest.java | 20 import android.telephony.TelephonyManager; 564 int activePhone = TelephonyManager.getDefault().getPhoneType(); 565 if (TelephonyManager.PHONE_TYPE_GSM == activePhone) { 586 int activePhone = TelephonyManager.getDefault().getPhoneType(); 587 if (TelephonyManager.PHONE_TYPE_CDMA == activePhone) {
|
TelephonyEventLogTest.java | 28 import android.telephony.TelephonyManager; 304 TelephonyManager.NETWORK_TYPE_LTE, 1, ImsConfig.OperationStatusConstants.SUCCESS); 319 TelephonyManager.NETWORK_TYPE_IWLAN, 1, ImsConfig.OperationStatusConstants.SUCCESS); 331 TelephonyManager.NETWORK_TYPE_LTE, 1, ImsConfig.OperationStatusConstants.SUCCESS); 343 TelephonyManager.NETWORK_TYPE_IWLAN, 1, ImsConfig.OperationStatusConstants.SUCCESS);
|
DefaultPhoneNotifierTest.java | 39 import android.telephony.TelephonyManager; 93 eq(TelephonyManager.DATA_ACTIVITY_NONE)); 99 eq(TelephonyManager.DATA_ACTIVITY_IN));
|
/packages/apps/Settings/src/com/android/settings/sim/ |
SimDialogActivity.java | 31 import android.telephony.TelephonyManager; 137 final TelephonyManager telephonyManager = TelephonyManager.from(this); 144 if (subId == telephonyManager.getSubIdForPhoneAccount(phoneAccount)) { 206 final TelephonyManager telephonyManager = TelephonyManager.from(context); 216 int subId = telephonyManager.getSubIdForPhoneAccount(phoneAccount);
|
SimPreferenceDialog.java | 30 import android.telephony.TelephonyManager; 135 final TelephonyManager tm = (TelephonyManager) mContext.getSystemService(
|
/packages/services/Telephony/src/com/android/services/telephony/ |
TelephonyConnectionService.java | 38 import android.telephony.TelephonyManager; 225 if (phone.getServiceState().getDataNetworkType() == TelephonyManager.NETWORK_TYPE_LTE) { 552 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) { 554 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) { 628 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) { 639 if (firstPhoneWithSim == null && TelephonyManager.getDefault().hasIccCard(i)) { 674 if (phone.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) { [all...] |
/packages/apps/Settings/src/com/android/settings/datausage/ |
DataUsageList.java | 40 import android.telephony.TelephonyManager; 67 import static android.telephony.TelephonyManager.SIM_STATE_READY; 444 final TelephonyManager tele = TelephonyManager.from(context); 470 * TODO: consider adding to TelephonyManager or SubscriptionManager. 478 final TelephonyManager tele = TelephonyManager.from(context);
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
PhoneStateListenerTest.java | 26 import android.telephony.TelephonyManager; 45 private TelephonyManager mTelephonyManager; 55 (TelephonyManager)getContext().getSystemService(Context.TELEPHONY_SERVICE);
|
/frameworks/base/core/java/com/android/internal/app/ |
LocaleStore.java | 21 import android.telephony.TelephonyManager; 183 TelephonyManager tm = TelephonyManager.from(context);
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTest.java | 30 import android.telephony.TelephonyManager; 57 private TelephonyManager mTManager; 76 mTManager = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsHelper.java | 37 import android.telephony.TelephonyManager; 47 private TelephonyManager mTelephonyManager; 98 mTelephonyManager = (TelephonyManager) context
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcController.java | 27 import android.telephony.TelephonyManager; 74 TelephonyManager mTelephonyManager; 107 mTelephonyManager = (TelephonyManager) phone.getContext().getSystemService(Context.TELEPHONY_SERVICE);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastSettings.java | 34 import android.telephony.TelephonyManager; 269 TelephonyManager tm = (TelephonyManager) getActivity().getSystemService(
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
GlobalSearchSupport.java | 33 import android.telephony.TelephonyManager; 171 TelephonyManager telman = (TelephonyManager)
|