Home
last modified time | relevance | path

Searched refs:mSubId (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/datausage/
DCellDataPreference.java50 public int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in CellDataPreference
69 if (mSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in onRestoreInstanceState()
70 mSubId = state.mSubId; in onRestoreInstanceState()
71 setKey(getKey() + mSubId); in onRestoreInstanceState()
81 state.mSubId = mSubId; in onSaveInstanceState()
88 mListener.setListener(true, mSubId, getContext()); in onAttached()
93 mListener.setListener(false, mSubId, getContext()); in onDetached()
104 if (mSubId == SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in setTemplate()
105 mSubId = subId; in setTemplate()
112 setChecked(mTelephonyManager.getDataEnabled(mSubId)); in updateChecked()
[all …]
DBillingCyclePreference.java36 private int mSubId; field in BillingCyclePreference
45 mListener.setListener(true, mSubId, getContext()); in onAttached()
50 mListener.setListener(false, mSubId, getContext()); in onDetached()
58 mSubId = subId; in setTemplate()
70 && mServices.mTelephonyManager.getDataEnabled(mSubId) in updateEnabled()
DDataUsageList.java103 private int mSubId; field in DataUsageList
142 mSubId = args.getInt(EXTRA_SUB_ID, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in onCreate()
185 mDataStateListener.setListener(true, mSubId, getContext()); in onResume()
214 mDataStateListener.setListener(false, mSubId, getContext()); in onPause()
247 if (mSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in updateBody()
249 .getActiveSubscriptionInfo(mSubId); in updateBody()
269 if (isNetworkPolicyModifiable(policy, mSubId) && isMobileDataAvailable(mSubId)) { in updatePolicy()
DTemplatePreferenceCategory.java26 private int mSubId; field in TemplatePreferenceCategory
36 mSubId = subId; in setTemplate()
53 ((TemplatePreference) getPreference(i)).setTemplate(mTemplate, mSubId, services); in pushTemplates()
DDataUsagePreference.java34 private int mSubId; field in DataUsagePreference
44 mSubId = subId; in setTemplate()
56 args.putInt(DataUsageList.EXTRA_SUB_ID, mSubId); in getIntent()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DPerSubscriptionSettingsActivity.java85 private int mSubId; field in PerSubscriptionSettingsActivity.PerSubscriptionSettingsFragment
98 mSubId = (intent != null) ? intent.getIntExtra(UIIntents.UI_INTENT_EXTRA_SUB_ID, in onCreate()
101 final BuglePrefs subPrefs = Factory.get().getSubscriptionPrefs(mSubId); in onCreate()
113 PhoneUtils.get(mSubId).getCanonicalForSelf(false/*allowOverride*/), mSubId); in onCreate() local
117 if (!MmsConfig.get(mSubId).getGroupMmsEnabled()) { in onCreate()
127 GroupMmsSettingDialog.showDialog(getActivity(), mSubId); in onCreate()
134 if (!MmsConfig.get(mSubId).getSMSDeliveryReportsEnabled()) { in onCreate()
174 .getApnSettingsIntent(getPreferenceScreen().getContext(), mSubId)); in onCreate() local
191 if (!MmsConfig.get(mSubId).getShowCellBroadcast()) { in isCellBroadcastAppLinkEnabled()
226 final BuglePrefs subPrefs = BuglePrefs.getSubscriptionPrefs(mSubId); in onSharedPreferenceChanged()
DPhoneNumberPreference.java42 private int mSubId; field in PhoneNumberPreference
51 mSubId = subscriptionId; in setDefaultPhoneNumber()
63 ? PhoneUtils.get(mSubId).formatForDisplay(value) in onBindView()
83 (PhoneUtils.get(mSubId).getCanonicalBySystemLocale(mDefaultPhoneNumber), in onBindDialogView()
94 final PhoneUtils phoneUtils = PhoneUtils.get(mSubId); in onDialogClosed()
DGroupMmsSettingDialog.java34 private final int mSubId; field in GroupMmsSettingDialog
46 mSubId = subId; in GroupMmsSettingDialog()
60 BuglePrefs.getSubscriptionPrefs(mSubId).putBoolean( in changeGroupMmsSettings()
85 final boolean mmsEnabled = BuglePrefs.getSubscriptionPrefs(mSubId).getBoolean( in createView()
DApnSettingsActivity.java131 private int mSubId; field in ApnSettingsActivity.ApnSettingsFragment
145 mSubId = subId; in setSubId()
219 final String mccMnc = PhoneUtils.getMccMncString(PhoneUtils.get(mSubId).getMccMnc()); in fillList()
302 startActivity(UIIntents.get().getApnEditorIntent(getActivity(), null, mSubId)); in addNewApn() local
309 UIIntents.get().getApnEditorIntent(getActivity(), preference.getKey(), mSubId)); in onPreferenceTreeClick() local
DApnPreference.java60 private int mSubId = ParticipantData.DEFAULT_SELF_SUB_ID; field in ApnPreference
111 mSubId = subId; in setSubId()
139 UIIntents.get().getApnEditorIntent(context, getKey(), mSubId)); in onClick()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DParticipantData.java103 private int mSubId; field in ParticipantData
126 pd.mSubId = cursor.getInt(ParticipantsQuery.INDEX_SUB_ID); in getFromCursor()
170 pd.mSubId = OTHER_THAN_SELF_SUB_ID; in getFromRecipientEntry()
204 pd.mSubId = OTHER_THAN_SELF_SUB_ID; in getFromRawPhone()
268 pd.mSubId = subId; in getSelfParticipant()
361 PhoneUtils.get(mSubId).getCanonicalForSelf(true/*allowOverride*/); in updatePhoneNumberForSelfIfChanged()
429 return mSubId; in getSubId()
441 return mSubId == ParticipantData.DEFAULT_SELF_SUB_ID; in isDefaultSelf()
472 return (mSubId != OTHER_THAN_SELF_SUB_ID); in isSelf()
494 values.put(ParticipantColumns.SUB_ID, mSubId); in toContentValues()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java78 protected final int mSubId; field in PhoneUtils
81 mSubId = subId; in PhoneUtils()
459 return mSubscriptionManager.isNetworkRoaming(mSubId); in isRoaming()
483 final String userDefinedNumber = getNumberFromPrefs(mContext, mSubId); in getSelfRawNumber()
497 LogUtil.w(TAG, "PhoneUtils.getSelfRawNumber: subInfo is null for " + mSubId); in getSelfRawNumber()
505 mSubscriptionManager.getActiveSubscriptionInfo(mSubId); in getActiveSubscriptionInfo()
510 + mSubId); in getActiveSubscriptionInfo()
516 + mSubId, e); in getActiveSubscriptionInfo()
547 return SmsManager.getSmsManagerForSubscriptionId(mSubId); in getSmsManager()
600 + mSubId); in isDataRoamingEnabled()
[all …]
DBugleSubscriptionPrefs.java30 private final int mSubId; field in BugleSubscriptionPrefs
34 mSubId = subId; in BugleSubscriptionPrefs()
39 return SHARED_PREFERENCES_PER_SUBSCRIPTION_PREFIX + String.valueOf(mSubId); in getSharedPreferencesName()
/packages/services/Telephony/src/com/android/phone/
DSubscriptionInfoHelper.java51 private static int mSubId = NO_SUB_ID; field in SubscriptionInfoHelper
59 mSubId = intent.getIntExtra(SUB_ID_EXTRA, NO_SUB_ID); in SubscriptionInfoHelper()
71 intent.putExtra(SUB_ID_EXTRA, mSubId); in getIntent()
96 ? PhoneFactory.getPhone(SubscriptionManager.getPhoneId(mSubId)) in getPhone()
121 return mSubId != NO_SUB_ID; in hasSubId()
125 return mSubId; in getSubId()
DGsmUmtsOptions.java47 private int mSubId; field in GsmUmtsOptions
53 mSubId = subId; in GsmUmtsOptions()
71 PhoneGlobals.getInstance().getCarrierConfigForSubId(mSubId); in create()
121 intent.putExtra(EXTRA_SUB_ID, mSubId); in create()
135 intent.putExtra(EXTRA_SUB_ID, mSubId); in create()
/packages/services/Mms/src/com/android/mms/service/
DMmsRequest.java77 protected int mSubId; field in MmsRequest
90 mSubId = subId; in MmsRequest()
98 return mSubId; in getSubId()
104 final Bundle config = MmsConfigManager.getInstance().getMmsConfigBySubId(mSubId); in ensureMmsConfigLoaded()
159 apn = ApnSettings.load(context, apnName, mSubId, requestId); in execute()
168 apn = ApnSettings.load(context, null, mSubId, requestId); in execute()
DMmsNetworkManager.java72 private final int mSubId; field in MmsNetworkManager
116 mSubId = subId; in MmsNetworkManager()
121 .setNetworkSpecifier(Integer.toString(mSubId)) in MmsNetworkManager()
DSendRequest.java91 mSubId, in doHttp()
137 return !TextUtils.isEmpty(address) && PhoneNumberUtils.isEmergencyNumber(mSubId, address); in isEmergencyNumber()
217 values.put(Telephony.Mms.SUBSCRIPTION_ID, mSubId); in persistIfRequired()
395 carrierMessagingService.sendMms(mPduUri, mSubId, locationUri, in onServiceReady()
/packages/apps/Messaging/src/com/android/messaging/sms/
DDatabaseMessages.java147 public int mSubId; field in DatabaseMessages.SmsMessage
170 mSubId = PhoneUtils.getDefault().getSubIdFromTelephony(cursor, INDEX_SUB_ID); in load()
192 return mSubId; in getSubId()
220 mSubId = in.readInt(); in SmsMessage()
251 out.writeInt(mSubId); in writeToParcel()
340 public int mSubId; field in DatabaseMessages.MmsMessage
388 mSubId = PhoneUtils.getDefault().getSubIdFromTelephony(cursor, INDEX_SUB_ID); in load()
454 return mSubId; in getSubId()
486 mSubId = in.readInt(); in MmsMessage()
535 out.writeInt(mSubId); in writeToParcel()
DMmsConfig.java106 private final int mSubId; field in MmsConfig
127 mSubId = subId; in MmsConfig()
171 (mmsConfig.mSubId == ParticipantData.DEFAULT_SELF_SUB_ID)); in addMmsConfig()
172 sSubIdToMmsConfigMap.put(mmsConfig.mSubId, mmsConfig); in addMmsConfig()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperations.java104 private int mSubId; field in FileOperations.IdBuilder
109 mSubId++; in getNext()
111 mSubId = 0; in getNext()
114 return String.valueOf(mLastJobTime) + "-" + String.valueOf(mSubId); in getNext()
/packages/apps/Settings/src/com/android/settings/
DResetNetworkConfirm.java56 private int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in ResetNetworkConfirm
87 telephonyManager.factoryReset(mSubId);
93 String subscriberId = telephonyManager.getSubscriberId(mSubId);
146 mSubId = args.getInt(PhoneConstants.SUBSCRIPTION_KEY, in onCreate()
DApnPreference.java39 private int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; field in ApnPreference
123 editIntent.putExtra(ApnSettings.SUB_ID, mSubId); in onClick()
138 mSubId = subId; in setSubId()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DSubscriptionInfoHelper.java41 private static int mSubId = NO_SUB_ID; field in SubscriptionInfoHelper
47 mSubId = intent.getIntExtra(SUB_ID_EXTRA, NO_SUB_ID); in SubscriptionInfoHelper()
68 return mSubId; in getSubId()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DEnterSelfPhoneNumberDialog.java38 private int mSubId; field in EnterSelfPhoneNumberDialog
42 dialog.mSubId = subId; in newInstance()
85 final BuglePrefs subPrefs = BuglePrefs.getSubscriptionPrefs(mSubId); in savePhoneNumberInPrefs()

12