/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionController.java | 36 import android.telephony.SubscriptionManager; 129 private static int mDefaultFallbackSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 130 private static int mDefaultPhoneId = SubscriptionManager.DEFAULT_PHONE_INDEX; 249 SubscriptionManager.UNIQUE_KEY_SUBSCRIPTION_ID)); in getSubInfoRecord() 251 SubscriptionManager.ICC_ID)); in getSubInfoRecord() 253 SubscriptionManager.SIM_SLOT_INDEX)); in getSubInfoRecord() 255 SubscriptionManager.DISPLAY_NAME)); in getSubInfoRecord() 257 SubscriptionManager.CARRIER_NAME)); in getSubInfoRecord() 259 SubscriptionManager.NAME_SOURCE)); in getSubInfoRecord() 261 SubscriptionManager.COLOR)); in getSubInfoRecord() [all …]
|
D | SubscriptionInfoUpdater.java | 37 import android.telephony.SubscriptionManager; 93 private SubscriptionManager mSubscriptionManager = null; 100 mSubscriptionManager = SubscriptionManager.from(mContext); in SubscriptionInfoUpdater() 121 SubscriptionManager.INVALID_SIM_SLOT_INDEX); 123 if (slotId == SubscriptionManager.INVALID_SIM_SLOT_INDEX) { 174 SubscriptionManager.NAME_SOURCE_DEFAULT_SOURCE && newSubName != null) || in setDisplayNameForNewSub() 175 (oldNameSource == SubscriptionManager.NAME_SOURCE_SIM_SOURCE && newSubName != null in setDisplayNameForNewSub() 301 int subId = SubscriptionManager.DEFAULT_SUBSCRIPTION_ID; in handleSimLoaded() 307 if (SubscriptionManager.isValidSubscriptionId(subId)) { in handleSimLoaded() 323 number.put(SubscriptionManager.NUMBER, msisdn); in handleSimLoaded() [all …]
|
D | IccProvider.java | 29 import android.telephony.SubscriptionManager; 80 private SubscriptionManager mSubscriptionManager; 84 mSubscriptionManager = SubscriptionManager.from(getContext()); in onCreate() 95 return loadFromEf(IccConstants.EF_ADN, SubscriptionManager.getDefaultSubId()); in query() 101 return loadFromEf(IccConstants.EF_FDN, SubscriptionManager.getDefaultSubId()); in query() 107 return loadFromEf(IccConstants.EF_SDN, SubscriptionManager.getDefaultSubId()); in query() 171 subId = SubscriptionManager.getDefaultSubId(); in insert() 181 subId = SubscriptionManager.getDefaultSubId(); in insert() 264 subId = SubscriptionManager.getDefaultSubId(); in delete() 274 subId = SubscriptionManager.getDefaultSubId(); in delete() [all …]
|
D | PhoneFactory.java | 30 import android.telephony.SubscriptionManager; 228 } else if (phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) { in getPhone() 285 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, phoneId); in setDefaultSubscription() 314 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getVoiceSubscription() 376 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getDataSubscription() 390 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getSMSSubscription()
|
D | CellBroadcastHandler.java | 27 import android.telephony.SubscriptionManager; 94 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId()); in handleBroadcastSms()
|
D | UiccSmsController.java | 30 import android.telephony.SubscriptionManager; 278 subInfoList = SubscriptionManager.from(context).getActiveSubscriptionInfoList(); in isSmsSimPickActivityNeeded() 320 injectSmsPdu(SubscriptionManager.getDefaultSmsSubId(), pdu, format, receivedIntent); in injectSmsPdu() 334 if (!SubscriptionManager.isValidPhoneId(phoneId) in getIccSmsInterfaceManager() 335 || phoneId == SubscriptionManager.DEFAULT_PHONE_INDEX) { in getIccSmsInterfaceManager()
|
D | SmsStorageMonitor.java | 29 import android.telephony.SubscriptionManager; 147 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId()); in handleIccFull()
|
D | PhoneSubInfoController.java | 23 import android.telephony.SubscriptionManager; 47 return getDeviceIdForPhone(SubscriptionManager.getPhoneId(getDefaultSubscription())); in getDeviceId() 224 int phoneId = SubscriptionManager.getPhoneId(subId); in getPhoneSubInfoProxy()
|
D | WapPushOverSms.java | 43 import android.telephony.SubscriptionManager; 200 int [] subIds = SubscriptionManager.getSubId(phoneId); in dispatchWapPdu() 240 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, phoneId); in dispatchWapPdu() 281 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, phoneId); in dispatchWapPdu()
|
D | ServiceStateTracker.java | 35 import android.telephony.SubscriptionManager; 36 import android.telephony.SubscriptionManager.OnSubscriptionsChangedListener; 238 protected SubscriptionManager mSubscriptionManager; 255 if (SubscriptionManager.isValidSubscriptionId(subId)) { in onSubscriptionsChanged() 315 mSubscriptionManager = SubscriptionManager.from(phoneBase.getContext()); in ServiceStateTracker()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 88 private SubscriptionManager mSubscriptionManager; 114 mSubscriptionManager = SubscriptionManager.from(mContext); in TelephonyManager() 602 int[] subId = SubscriptionManager.getSubId(slotId); in getDeviceSoftwareVersion() 674 int[] subId = SubscriptionManager.getSubId(slotId); in getImei() 700 int[] subId = SubscriptionManager.getSubId(slotId); in getNai() 856 int phoneId = SubscriptionManager.getPhoneId(subId); in getCurrentPhoneType() 1068 int phoneId = SubscriptionManager.getPhoneId(subId); in getNetworkOperatorName() 1095 int phoneId = SubscriptionManager.getPhoneId(subId); in getNetworkOperatorForSubscription() 1134 int phoneId = SubscriptionManager.getPhoneId(subId); in isNetworkRoaming() 1163 int phoneId = SubscriptionManager.getPhoneId(subId); in getNetworkCountryIsoForSubscription() [all …]
|
D | PhoneStateListener.java | 23 import android.telephony.SubscriptionManager; 30 import android.telephony.SubscriptionManager; 230 protected int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 240 this(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, Looper.myLooper()); in PhoneStateListener() 249 this(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, looper); in PhoneStateListener()
|
D | SubscriptionManager.java | 49 public class SubscriptionManager { class 317 public SubscriptionManager(Context context) { in SubscriptionManager() method in SubscriptionManager 330 public static SubscriptionManager from(Context context) { in from() 331 return (SubscriptionManager) context.getSystemService( in from() 1046 int[] subIds = SubscriptionManager.getSubId(phoneId); in putPhoneIdAndSubIdExtra()
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 38 import android.telephony.SubscriptionManager; 98 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 100 int phoneId = SubscriptionManager.INVALID_PHONE_INDEX; 170 private int mDefaultSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; 172 private int mDefaultPhoneId = SubscriptionManager.INVALID_PHONE_INDEX; 229 if(r.subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) { 253 PhoneConstants.SUBSCRIPTION_KEY, SubscriptionManager.getDefaultSubId())); 255 SubscriptionManager.getPhoneId(mDefaultSubId)); 404 SubscriptionManager.OnSubscriptionsChangedListener in checkOnSubscriptionsChangedListenerPermission() 437 listenForSubscriber(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, pkgForDebug, callback, in listen() [all …]
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardSecurityModel.java | 21 import android.telephony.SubscriptionManager; 84 if (SubscriptionManager.isValidSubscriptionId( in getSecurityMode() 87 } else if (SubscriptionManager.isValidSubscriptionId( in getSecurityMode()
|
D | KeyguardUpdateMonitor.java | 60 import android.telephony.SubscriptionManager; 61 import android.telephony.SubscriptionManager.OnSubscriptionsChangedListener; 155 private SubscriptionManager mSubscriptionManager; 539 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in fromIntent() 675 mSubscriptionManager = SubscriptionManager.from(context); in KeyguardUpdateMonitor() 950 if (!SubscriptionManager.isValidSubscriptionId(subId)) { in handleSimStateChange() 1159 int slotId = SubscriptionManager.getSlotId(subId); in reportSimUnlocked() 1318 int resultId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getNextSubIdForState() 1323 int slotId = SubscriptionManager.getSlotId(id); in getNextSubIdForState()
|
D | KeyguardSimPinView.java | 35 import android.telephony.SubscriptionManager; 78 if (SubscriptionManager.isValidSubscriptionId(mSubId)) { in resetState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DctController.java | 31 import android.telephony.SubscriptionManager; 32 import android.telephony.SubscriptionManager.OnSubscriptionsChangedListener; 80 private SubscriptionManager mSubMgr; 236 mSubMgr = SubscriptionManager.from(mContext); in DctController() 423 int[] subIds = SubscriptionManager.getSubId(activePhoneId); in onSettingsChange() 587 if (!SubscriptionManager.isValidPhoneId(phoneId)) { in getRequestPhoneId() 589 if (!SubscriptionManager.isValidPhoneId(phoneId)) { in getRequestPhoneId() 620 if (!SubscriptionManager.isUsableSubIdValue(mPhone.getSubId())) { in needNetworkFor() 644 if (!SubscriptionManager.isUsableSubIdValue(mPhone.getSubId())) { in releaseNetworkFor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerBaseTest.java | 23 import android.telephony.SubscriptionManager; 51 protected SubscriptionManager mMockSm; 66 mMockSm = mock(SubscriptionManager.class); in setUp() 86 final int subId = SubscriptionManager.getDefaultDataSubId(); in setupNetworkController()
|
/frameworks/opt/telephony/src/java/android/provider/ |
D | Telephony.java | 30 import android.telephony.SubscriptionManager; 341 return addMessageToUri(SubscriptionManager.getDefaultSmsSubId(), in addMessageToUri() 385 return addMessageToUri(SubscriptionManager.getDefaultSmsSubId(), in addMessageToUri() 525 return addMessageToUri(SubscriptionManager.getDefaultSmsSubId(), in addMessage() 584 return addMessageToUri(SubscriptionManager.getDefaultSmsSubId(), in addMessage() 629 return addMessageToUri(SubscriptionManager.getDefaultSmsSubId(), in addMessage() 694 return addMessageToUri(SubscriptionManager.getDefaultSmsSubId(), in addMessage() 1075 SubscriptionManager.getDefaultSmsSubId()); in getMessagesFromIntent()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | RilMessageDecoder.java | 21 import android.telephony.SubscriptionManager; 68 if (slotId != SubscriptionManager.INVALID_SIM_SLOT_INDEX && slotId < mSimCount) { in getInstance()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaServiceCategoryProgramHandler.java | 29 import android.telephony.SubscriptionManager; 108 SubscriptionManager.putPhoneIdAndSubIdExtra(intent, mPhone.getPhoneId()); in handleServiceCategoryProgramData()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerImpl.java | 45 import android.telephony.SubscriptionManager; 46 import android.telephony.SubscriptionManager.OnSubscriptionsChangedListener; 93 private final SubscriptionManager mSubscriptionManager; 150 SubscriptionManager.from(context), Config.readConfig(context), in NetworkControllerImpl() 158 SubscriptionManager subManager, Config config, in NetworkControllerImpl() 268 int dataSubId = SubscriptionManager.getDefaultDataSubId(); in getDataController() 269 if (!SubscriptionManager.isValidSubscriptionId(dataSubId)) { in getDataController() 286 int voiceSubId = SubscriptionManager.getDefaultVoiceSubId(); in isEmergencyOnly() 287 if (!SubscriptionManager.isValidSubscriptionId(voiceSubId)) { in isEmergencyOnly() 401 SubscriptionManager.INVALID_SUBSCRIPTION_ID); in onReceive() [all …]
|
D | MobileDataControllerImpl.java | 36 import android.telephony.SubscriptionManager; 221 SubscriptionManager.getDefaultDataSubId()); in getActiveSubscriberId()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfo.java | 41 import android.telephony.SubscriptionManager; 304 int subId = SubscriptionManager.getDefaultSubId(); in getCallerInfo() 421 int subId = SubscriptionManager.getDefaultSubId(); in markAsVoiceMail()
|