/packages/apps/Settings/src/com/android/settings/datausage/ |
D | CellDataPreference.java | 50 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 …]
|
D | BillingCyclePreference.java | 36 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()
|
D | DataUsageList.java | 103 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()
|
D | TemplatePreferenceCategory.java | 26 private int mSubId; field in TemplatePreferenceCategory 36 mSubId = subId; in setTemplate() 53 ((TemplatePreference) getPreference(i)).setTemplate(mTemplate, mSubId, services); in pushTemplates()
|
D | DataUsagePreference.java | 34 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/ |
D | PerSubscriptionSettingsActivity.java | 85 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()
|
D | PhoneNumberPreference.java | 42 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()
|
D | GroupMmsSettingDialog.java | 34 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()
|
D | ApnSettingsActivity.java | 131 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
|
D | ApnPreference.java | 60 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/ |
D | ParticipantData.java | 103 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/ |
D | PhoneUtils.java | 78 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 …]
|
D | BugleSubscriptionPrefs.java | 30 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/ |
D | SubscriptionInfoHelper.java | 51 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()
|
D | GsmUmtsOptions.java | 47 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/ |
D | MmsRequest.java | 77 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()
|
D | MmsNetworkManager.java | 72 private final int mSubId; field in MmsNetworkManager 116 mSubId = subId; in MmsNetworkManager() 121 .setNetworkSpecifier(Integer.toString(mSubId)) in MmsNetworkManager()
|
D | SendRequest.java | 91 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/ |
D | DatabaseMessages.java | 147 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()
|
D | MmsConfig.java | 106 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/ |
D | FileOperations.java | 104 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/ |
D | ResetNetworkConfirm.java | 56 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()
|
D | ApnPreference.java | 39 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/ |
D | SubscriptionInfoHelper.java | 41 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/ |
D | EnterSelfPhoneNumberDialog.java | 38 private int mSubId; field in EnterSelfPhoneNumberDialog 42 dialog.mSubId = subId; in newInstance() 85 final BuglePrefs subPrefs = BuglePrefs.getSubscriptionPrefs(mSubId); in savePhoneNumberInPrefs()
|