/packages/apps/Messaging/src/android/support/v7/mms/ |
MmsHttpClient.java | 24 import android.telephony.TelephonyManager; 84 private final TelephonyManager mTelephonyManager; 93 mTelephonyManager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); 487 * Get NAI using hidden TelephonyManager.getNai(int) 499 Log.w(MmsService.TAG, "TelephonyManager.getNai failed " + e);
|
/packages/apps/Settings/src/com/android/settings/ |
IccLockSettings.java | 32 import android.telephony.TelephonyManager; 206 final TelephonyManager tm = 207 (TelephonyManager) getContext().getSystemService(Context.TELEPHONY_SERVICE);
|
WirelessSettings.java | 44 import android.telephony.TelephonyManager; 85 private TelephonyManager mTm; 221 mTm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
DataUsageSummary.java | 34 import android.telephony.TelephonyManager; 326 TelephonyManager telephonyManager = TelephonyManager.from(context); 328 telephonyManager.getSubscriberId(defaultSubId)); 330 telephonyManager.getMergedSubscriberIds());
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
MissedCallNotifierImplTest.java | 32 import android.telephony.TelephonyManager; 99 TelephonyManager fakeTelephonyManager = (TelephonyManager) mContext.getSystemService(
|
/packages/services/Telephony/src/com/android/phone/ |
NetworkSetting.java | 38 import android.telephony.TelephonyManager; 394 TelephonyManager tm = (TelephonyManager) app.getSystemService(Context.TELEPHONY_SERVICE);
|
CdmaOptions.java | 30 import android.telephony.TelephonyManager;
|
/packages/services/Telephony/src/com/android/phone/settings/ |
PhoneAccountSettingsFragment.java | 21 import android.telephony.TelephonyManager; 68 private TelephonyManager mTelephonyManager; 84 mTelephonyManager = TelephonyManager.from(getActivity());
|
/packages/services/Telephony/src/com/android/services/telephony/ |
TelecomAccountRegistry.java | 40 import android.telephony.TelephonyManager; 369 private final TelephonyManager mTelephonyManager; 381 mTelephonyManager = TelephonyManager.from(context);
|
/frameworks/base/telephony/java/android/telephony/ |
TelephonyManager.java | 70 * The returned TelephonyManager will use the default subscription for all calls. 73 * telephonyManager = defaultSubTelephonyManager.createForSubscriptionId(subId); 82 public class TelephonyManager { 83 private static final String TAG = "TelephonyManager"; 130 public TelephonyManager(Context context) { 135 public TelephonyManager(Context context, int subId) { 152 private TelephonyManager() { 157 private static TelephonyManager sInstance = new TelephonyManager(); 161 public static TelephonyManager getDefault() [all...] |
SubscriptionManager.java | [all...] |
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
GenericDeviceInfo.java | 23 import android.telephony.TelephonyManager;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
ProxyController.java | 31 import android.telephony.TelephonyManager; 174 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { 182 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) { 190 if (phoneId >= 0 && phoneId < TelephonyManager.getDefault().getPhoneCount()) {
|
SmsNumberUtils.java | 28 import android.telephony.TelephonyManager; 538 final String networkOperator = TelephonyManager.from(phone.getContext()). 582 String operatorIsoCountry = TelephonyManager.from(phone.getContext()). 584 String simIsoCountry = TelephonyManager.from(phone.getContext()).getSimCountryIsoForPhone(
|
SmsApplication.java | 42 import android.telephony.TelephonyManager; 249 intent = new Intent(TelephonyManager.ACTION_RESPOND_VIA_MESSAGE, 381 TelephonyManager tm = (TelephonyManager) 491 TelephonyManager tm = (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE); [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
TelephonyTest.java | 46 import android.telephony.TelephonyManager; 173 protected TelephonyManager mTelephonyManager; 301 mTelephonyManager = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); 303 replaceInstance(TelephonyManager.class, "sInstance", null,
|
/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
DefaultCarrierConfigService.java | 9 import android.telephony.TelephonyManager;
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 41 import android.telephony.TelephonyManager; 466 TelephonyManager telephonyManager = (TelephonyManager) 468 if (telephonyManager == null) { 474 Method sIsVoiceCapable = TelephonyManager.class.getMethod( 478 Object retobj = sIsVoiceCapable.invoke(telephonyManager, arglist);
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
PhoneUtils.java | 34 import android.telephony.TelephonyManager; 54 * platform APIs, mostly involving TelephonyManager, SubscriptionManager and 77 protected final TelephonyManager mTelephonyManager; 84 (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); 290 return mTelephonyManager.getSimState() != TelephonyManager.SIM_STATE_ABSENT; [all...] |
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
BlockedNumberProvider.java | 45 import android.telephony.TelephonyManager; 500 final TelephonyManager telephonyManager = 501 getContext().getSystemService(TelephonyManager.class); 502 return telephonyManager.checkCarrierPrivilegesForPackage(callingPackage) == 503 TelephonyManager.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS;
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardSimPukView.java | 31 import android.telephony.TelephonyManager; 122 int count = TelephonyManager.getDefault().getSimCount();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
DevicePolicyManagerServiceTestable.java | 31 import android.telephony.TelephonyManager; 357 TelephonyManager getTelephonyManager() { 358 return context.telephonyManager;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsCollectionTest.java | 33 import android.telephony.TelephonyManager; 164 identSet.add(new NetworkIdentity(TYPE_MOBILE, TelephonyManager.NETWORK_TYPE_UNKNOWN,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
UiccController.java | 26 import android.telephony.TelephonyManager; 94 private UiccCard[] mUiccCards = new UiccCard[TelephonyManager.getDefault().getPhoneCount()];
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
DialpadFragment.java | 47 import android.telephony.TelephonyManager; 241 String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE); 242 if ((TextUtils.equals(state, TelephonyManager.EXTRA_STATE_IDLE) || 243 TextUtils.equals(state, TelephonyManager.EXTRA_STATE_OFFHOOK)) 272 private TelephonyManager getTelephonyManager() { 273 return (TelephonyManager) getActivity().getSystemService(Context.TELEPHONY_SERVICE); 343 TelephonyManager.ACTION_PHONE_STATE_CHANGED); [all...] |