Home | History | Annotate | Download | only in phone

Lines Matching defs:subId

251      * @param subId The subscription Id.
253 /* package */ void refreshMwi(int subId) {
254 // In a single-sim device, subId can be -1 which means "no sub id". In this case we will
255 // reference the single subid stored in the mMwiVisible map.
256 if (subId == SubscriptionInfoHelper.NO_SUB_ID) {
263 subId = keyIt.next();
266 if (mMwiVisible.containsKey(subId)) {
267 boolean mwiVisible = mMwiVisible.get(subId);
269 updateMwi(subId, mwiVisible, false /* enableNotificationSound */);
279 /* package */ void updateMwi(int subId, boolean visible) {
280 updateMwi(subId, visible, true /* enableNotificationSound */);
286 * @param subId the subId to update.
290 void updateMwi(int subId, boolean visible, boolean enableNotificationSound) {
298 Log.i(LOG_TAG, "updateMwi(): subId " + subId + " update to " + visible);
299 mMwiVisible.put(subId, visible);
302 Phone phone = PhoneGlobals.getPhone(subId);
304 Log.w(LOG_TAG, "Found null phone for: " + subId);
308 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId);
310 Log.w(LOG_TAG, "Found null subscription info for: " + subId);
362 intent.putExtra(SubscriptionInfoHelper.SUB_ID_EXTRA, subId);
379 PendingIntent.getActivity(mContext, subId /* requestCode */, intent, 0);
410 Integer.toString(subId) /* tag */,
418 Integer.toString(subId) /* tag */,
429 /* package */ void updateCfi(int subId, boolean visible) {
443 SubscriptionInfo subInfo = mSubscriptionManager.getActiveSubscriptionInfo(subId);
445 Log.w(LOG_TAG, "Found null subscription info for: " + subId);
468 intent, mSubscriptionManager.getActiveSubscriptionInfo(subId));
470 PendingIntent.getActivity(mContext, subId /* requestCode */, intent, 0);
481 Integer.toString(subId) /* tag */,
488 Integer.toString(subId) /* tag */,
593 int subId = mPhone.getSubId();
594 if (SubscriptionManager.isValidSubscriptionId(subId)) {
601 sp.getString(PhoneBase.NETWORK_SELECTION_NAME_KEY + subId, "");
604 sp.getString(PhoneBase.NETWORK_SELECTION_KEY + subId, "");
624 serviceState + " not updating network due to invalid subId " + subId);