/frameworks/base/services/core/java/com/android/server/ |
TelephonyRegistry.java | 40 import android.telephony.SubscriptionManager; 76 * compare properly. Because SubscriptionManager.getPhoneId(int subId) handles 100 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 102 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX; 178 private int mDefaultSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 180 private int mDefaultPhoneId = SubscriptionManager.INVALID_PHONE_INDEX; 241 if(r.subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { 265 PhoneConstants.SUBSCRIPTION_KEY, SubscriptionManager.getDefaultSubId())); 267 SubscriptionManager.getPhoneId(mDefaultSubId)); 459 listenForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, pkgForDebug, callback [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsStorageMonitor.java | 29 import android.telephony.SubscriptionManager; 147 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId());
|
PhoneFactory.java | 30 import android.telephony.SubscriptionManager; 236 } else if (phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) { 296 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, phoneId); 325 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 387 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 401 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
|
PhoneSubInfoController.java | 23 import android.telephony.SubscriptionManager; 41 return getDeviceIdForPhone(SubscriptionManager.getPhoneId(getDefaultSubscription())); 218 int phoneId = SubscriptionManager.getPhoneId(subId);
|
/frameworks/base/telephony/java/android/telephony/ |
TelephonyManager.java | 90 private SubscriptionManager mSubscriptionManager; 116 mSubscriptionManager = SubscriptionManager.from(mContext); 678 int[] subId = SubscriptionManager.getSubId(slotId); 758 int[] subId = SubscriptionManager.getSubId(slotId); 787 int[] subId = SubscriptionManager.getSubId(slotId); [all...] |
PhoneStateListener.java | 23 import android.telephony.SubscriptionManager; 233 protected int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 242 this(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, Looper.myLooper()); 251 this(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, looper);
|
SubscriptionManager.java | 42 * SubscriptionManager is the application interface to SubscriptionController 50 public class SubscriptionManager { 51 private static final String LOG_TAG = "SubscriptionManager"; 386 public SubscriptionManager(Context context) { 387 if (DBG) logd("SubscriptionManager created"); 392 * Get an instance of the SubscriptionManager from the Context. 397 * @return SubscriptionManager instance 399 public static SubscriptionManager from(Context context) { 400 return (SubscriptionManager) context.getSystemService( [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelecomAccountRegistry.java | 38 import android.telephony.SubscriptionManager; 39 import android.telephony.SubscriptionManager.OnSubscriptionsChangedListener; 62 // is not supported, i.e. SubscriptionManager.INVALID_SLOT_ID or the 5th SIM in a phone. 102 int slotId = SubscriptionManager.INVALID_SIM_SLOT_INDEX; 141 if (SubscriptionManager.isValidSlotId(slotId)) { 291 private final SubscriptionManager mSubscriptionManager; 303 mSubscriptionManager = SubscriptionManager.from(context); 342 // SubscriptionManager.getInstance(mContext).unregister(mOnSubscriptionsChangedListener); 348 SubscriptionManager.from(mContext).addOnSubscriptionsChangedListener(
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertFullScreen.java | 34 import android.telephony.SubscriptionManager; 439 boolean boolResult = SubscriptionManager.getBooleanSubscriptionProperty( 440 lastMessage.getSubId(), SubscriptionManager.CB_OPT_OUT_DIALOG, true, this); 445 SubscriptionManager.setSubscriptionProperty(lastMessage.getSubId(), 446 SubscriptionManager.CB_OPT_OUT_DIALOG, "0");
|
/packages/apps/Settings/src/com/android/settings/sim/ |
SimSettings.java | 29 import android.telephony.SubscriptionManager; 68 private SubscriptionManager mSubscriptionManager; 86 mSubscriptionManager = SubscriptionManager.from(getActivity()); 98 private final SubscriptionManager.OnSubscriptionsChangedListener mOnSubscriptionsChangeListener 99 = new SubscriptionManager.OnSubscriptionsChangedListener() {
|
SimPreferenceDialog.java | 29 import android.telephony.SubscriptionManager; 52 private SubscriptionManager mSubscriptionManager; 64 mSubscriptionManager = SubscriptionManager.from(mContext); 164 SubscriptionManager.NAME_SOURCE_USER_INPUT);
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
MmsHttpClient.java | 23 import android.telephony.SubscriptionManager; 395 final SubscriptionManager subscriptionManager = SubscriptionManager.from(mContext); 396 final SubscriptionInfo info = subscriptionManager.getActiveSubscriptionInfo( 416 final SubscriptionManager subscriptionManager = SubscriptionManager.from(mContext); 417 final SubscriptionInfo info = subscriptionManager.getActiveSubscriptionInfo( 469 * Invoke hidden SubscriptionManager.getSlotId(int [all...] |
/packages/apps/Settings/src/com/android/settings/ |
IccLockSettings.java | 33 import android.telephony.SubscriptionManager; 215 SubscriptionManager sm = SubscriptionManager.from(this); 226 : PhoneFactory.getPhone(SubscriptionManager.getPhoneId(sir.getSubscriptionId())); 480 final SubscriptionInfo sir = SubscriptionManager.from(getBaseContext()) 484 : PhoneFactory.getPhone(SubscriptionManager.getPhoneId(sir.getSubscriptionId()));
|
ApnSettings.java | 43 import android.telephony.SubscriptionManager; 152 SubscriptionManager.INVALID_SUBSCRIPTION_ID); 163 mSubscriptionInfo = SubscriptionManager.from(activity).getActiveSubscriptionInfo(subId); 240 r = mUiccController.getIccRecords(SubscriptionManager.getPhoneId( 346 : SubscriptionManager.INVALID_SUBSCRIPTION_ID;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
RilMessageDecoder.java | 21 import android.telephony.SubscriptionManager; 68 if (slotId != SubscriptionManager.INVALID_SIM_SLOT_INDEX && slotId < mSimCount) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaServiceCategoryProgramHandler.java | 29 import android.telephony.SubscriptionManager; 108 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId());
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
RespondViaSmsManager.java | 34 import android.telephony.SubscriptionManager; 177 if (SubscriptionManager.isValidSubscriptionId(subId)) {
|
/packages/services/Telephony/src/com/android/phone/ |
CarrierConfigLoader.java | 50 import android.telephony.SubscriptionManager; 376 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, phoneId); 431 if (!SubscriptionManager.isValidPhoneId(phoneId)) { 627 int phoneId = SubscriptionManager.getPhoneId(subId); 629 if (SubscriptionManager.isValidPhoneId(phoneId)) { 642 int phoneId = SubscriptionManager.getPhoneId(subId); 643 if (!SubscriptionManager.isValidPhoneId(phoneId)) { 669 if (!SubscriptionManager.isValidPhoneId(phoneId)) { [all...] |
PhoneGlobals.java | 55 import android.telephony.SubscriptionManager; 499 return PhoneFactory.getPhone(SubscriptionManager.getPhoneId(subId)); 511 return getCarrierConfigForSubId(SubscriptionManager.getDefaultSubId()); [all...] |
/packages/services/Telephony/src/com/android/phone/vvm/omtp/ |
OmtpVvmCarrierConfigHelper.java | 23 import android.telephony.SubscriptionManager; 108 if (!SubscriptionManager.isValidSubscriptionId(mSubId)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NetworkControllerImpl.java | 36 import android.telephony.SubscriptionManager; 37 import android.telephony.SubscriptionManager.OnSubscriptionsChangedListener; 78 private final SubscriptionManager mSubscriptionManager; 139 SubscriptionManager.from(context), Config.readConfig(context), bgLooper, 150 SubscriptionManager subManager, Config config, Looper bgLooper, 258 if (!SubscriptionManager.isValidSubscriptionId(dataSubId)) { 282 if (!SubscriptionManager.isValidSubscriptionId(voiceSubId)) { 389 SubscriptionManager.INVALID_SUBSCRIPTION_ID); 390 if (SubscriptionManager.isValidSubscriptionId(subId)) { [all...] |
/frameworks/opt/net/ims/src/java/com/android/ims/ |
ImsManager.java | 33 import android.telephony.SubscriptionManager; 201 SubscriptionManager.getDefaultVoicePhoneId()); 251 SubscriptionManager.getDefaultVoicePhoneId()); 305 SubscriptionManager.getDefaultVoicePhoneId()); 358 SubscriptionManager.getDefaultVoicePhoneId()); 396 SubscriptionManager.getDefaultVoicePhoneId()); [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
PhoneUtils.java | 33 import android.telephony.SubscriptionManager; 54 * platform APIs, mostly involving TelephonyManager, SubscriptionManager and 253 SubscriptionManager.OnSubscriptionsChangedListener listener); 411 private final SubscriptionManager mSubscriptionManager; 415 mSubscriptionManager = SubscriptionManager.from(Factory.get().getApplicationContext()); 541 SubscriptionManager.OnSubscriptionsChangedListener listener) { 603 return subInfo.getDataRoaming() != SubscriptionManager.DATA_ROAMING_DISABLE; [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/ |
ImportExportDialogFragment.java | 34 import android.telephony.SubscriptionManager; 73 private SubscriptionManager mSubscriptionManager; 118 mSubscriptionManager = SubscriptionManager.from(getActivity());
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
NetworkControllerBaseTest.java | 31 import android.telephony.SubscriptionManager; 66 protected SubscriptionManager mMockSm; 82 mMockSm = mock(SubscriptionManager.class); 110 mSubId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID;
|